

/* =========================================
   ABOUT US HERO
========================================= */

.beano-about-hero {
    position: relative;
    width: 100%;
    min-height: 0;
    height: auto;

    display: block;
    overflow: hidden;

    background: #f8f2e5;
}

.beano-about-hero__image {
    position: relative;
    width: 100%;
    height: auto;
    line-height: 0;
}

.beano-about-hero__image picture {
    display: block;
    width: 100%;
    height: auto;
}

.beano-about-hero__image img {
    display: block;
    width: 100%;
    height: auto;

    object-fit: contain;
    object-position: center;
}


/* =========================================
   DESKTOP HERO
========================================= */
@media screen and (min-width: 901px) {

    .beano-about-hero {
        position: relative;
        width: 100%;
        height: clamp(980px, 48vw, 720px);
        min-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .beano-about-hero__image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .beano-about-hero__image picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    .beano-about-hero__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}


/* STORY */

.beano-about-story {
    padding: 80px 28px;

    background:
        linear-gradient(
            180deg,
            #f7f3e9 0%,
            #fffdf7 100%
        );
}

.beano-about-story__text {
    max-width: 650px;
    margin: 0 auto;
}

.beano-about-story h2,
.beano-about-section-heading h2,
.beano-about-heritage h2,
.beano-about-promise h2 {
    margin: 0;

    color: #07512f;

    font-size: clamp(36px, 9vw, 58px);
    line-height: .98;
    letter-spacing: -2px;
    font-weight: 950;
}

.beano-about-story p {
    margin: 22px 0 0;

    color: #59635c;

    font-size: 16px;
    line-height: 1.7;
}


/* JOURNEY */

.beano-about-journey {
    padding: 70px 0 55px;

    background: #07512f;
    color: #fff;

    overflow: hidden;
}

.beano-about-section-heading {
    padding: 0 28px;
}

.beano-about-section-heading .beano-eyebrow {
    color: #e4bd3b;
}

.beano-about-section-heading h2 {
    color: #fff;
}

.beano-about-section-heading p {
    max-width: 500px;

    margin: 20px 0 0;

    color: rgba(255,255,255,.72);

    font-size: 15px;
    line-height: 1.6;
}


/* CAROUSEL */

.beano-about-carousel {
    display: flex;
    gap: 15px;

    overflow-x: auto;

    padding: 35px 28px 10px;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;
}

.beano-about-carousel::-webkit-scrollbar {
    display: none;
}

.beano-about-card {
    flex: 0 0 82%;
    max-width: 350px;

    overflow: hidden;

    border-radius: 28px;

    background: #f8f3e8;

    color: #173e2d;

    scroll-snap-align: start;
}

.beano-about-card__image {
    height: 245px;
    overflow: hidden;
}

.beano-about-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beano-about-card__content {
    padding: 22px;
}

.beano-about-card__content > span {
    display: block;

    margin-bottom: 9px;

    color: #c79a22;

    font-size: 11px;
    font-weight: 900;
}

.beano-about-card h3 {
    margin: 0;

    font-size: 23px;
    line-height: 1;
}

.beano-about-card p {
    margin: 12px 0 0;

    color: #68716b;

    font-size: 13px;
    line-height: 1.55;
}

.beano-about-dots {
    display: flex;
    justify-content: center;
    gap: 7px;

    margin-top: 20px;
}

.beano-about-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: rgba(255,255,255,.35);
}

.beano-about-dots span.active {
    width: 27px;
    border-radius: 20px;
    background: #e4bd3b;
}


/* =========================================
   BEANO LOGO STRIP
========================================= */

.beano-logo-strip {
    width: 100%;
    overflow: hidden;
    padding: 18px 0;
    background: #f6f0dc;

    border-top: 1px solid rgba(7, 81, 47, 0.08);
    border-bottom: 1px solid rgba(7, 81, 47, 0.08);
}

.beano-logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: clamp(14px, 1.5vw, 26px);

    animation: beanoLogoRun 22s linear infinite;
    will-change: transform;
}

.beano-logo-track img {
    display: block;
    flex: 0 0 auto;

    width: clamp(80px, 7vw, 105px);
    height: auto;
    object-fit: contain;
}

.beano-logo-track span {
    flex: 0 0 auto;
    color: #d4aa24;
    font-size: clamp(14px, 1.2vw, 18px);
}

@keyframes beanoLogoRun {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* QUALITY */

.beano-about-quality {
    padding: 75px 28px;

    background: #edf3df;
}

.beano-quality-grid {
    display: grid;
    gap: 14px;

    margin-top: 35px;
}

.beano-quality-grid article {
    padding: 25px;

    border-radius: 25px;

    background: rgba(255,255,255,.56);

    border: 1px solid rgba(7,81,47,.08);
}

.beano-quality-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 50%;

    background: #07512f;
    color: #e4bd3b;

    font-size: 19px;
}

.beano-quality-grid h3 {
    margin: 0;

    color: #07512f;

    font-size: 20px;
}

.beano-quality-grid p {
    margin: 10px 0 0;

    color: #637068;

    font-size: 14px;
    line-height: 1.6;
}


/* HERITAGE */

.beano-about-heritage {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    padding: 70px 28px;

    background:
        linear-gradient(
            90deg,
            rgba(7,39,26,.92),
            rgba(7,39,26,.45)
        ),
        url("../images/fields.jpg")
        center / cover no-repeat;

    color: #fff;
}

.beano-about-heritage__content {
    position: relative;

    max-width: 600px;
}

.beano-about-heritage .beano-eyebrow {
    color: #e4bd3b;
}

.beano-about-heritage h2 {
    color: #fff;
}

.beano-about-heritage p {
    max-width: 550px;

    margin: 20px 0 0;

    color: rgba(255,255,255,.82);

    font-size: 15px;
    line-height: 1.65;
}


/* PROMISE */

.beano-about-promise {
    display: grid;

    background: #f7f3e9;
}

.beano-about-promise__image {
    min-height: 330px;
}

.beano-about-promise__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.beano-about-promise__content {
    padding: 55px 28px 70px;
}

.beano-about-promise__content p {
    max-width: 520px;

    margin: 22px 0 28px;

    color: #5e685f;

    font-size: 16px;
    line-height: 1.65;
}

.beano-about-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    padding: 15px 20px;

    border-radius: 30px;

    background: #07512f;
    color: #fff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 900;
}

.beano-about-button span {
    font-size: 19px;
}


/*========================== FOOTER======================== */

.beano-about-footer {
    padding: 50px 28px 30px;

    background: #063b24;
    color: #fff;
}

.beano-about-footer__brand img {
    width: 125px;
}

.beano-about-footer__brand p {
    margin: 10px 0 0;

    color: rgba(255,255,255,.65);

    font-size: 12px;
}

.beano-about-footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;

    margin-top: 40px;
}

.beano-about-footer__links div {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.beano-about-footer__links strong {
    margin-bottom: 5px;

    color: #e4bd3b;

    font-size: 12px;
    letter-spacing: 1px;
}

.beano-about-footer__links a {
    color: rgba(255,255,255,.72);

    font-size: 12px;

    text-decoration: none;
}

.beano-about-footer__bottom {
    margin-top: 40px;
    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,.10);

    color: rgba(255,255,255,.42);

    font-size: 10px;
}


/*============================ DESKTOP=========================== */

@media (min-width: 768px) {

    .beano-about-header {
        height: 90px;
        padding: 0 50px;
    }

    .beano-about-menu {
        width: 48px;
        height: 48px;
    }

    .beano-about-logo img {
        width: 145px;
    }

    .beano-about-cart {
        width: 48px;
        height: 48px;
    }

    .beano-about-hero {
        min-height: 700px;
    }

    .beano-about-hero__content {
        padding: 90px 8%;
    }

    .beano-about-story {
        padding: 110px 8%;
    }

    .beano-about-section-heading {
        padding: 0 8%;
    }

    .beano-about-carousel {
        padding-left: 8%;
        padding-right: 8%;
    }

    .beano-about-card {
        flex-basis: 31%;
    }

    .beano-about-quality {
        padding: 100px 8%;
    }

    .beano-quality-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .beano-about-heritage {
        min-height: 600px;
        padding-left: 8%;
    }

    .beano-about-promise {
        grid-template-columns: 1fr 1fr;
    }

    .beano-about-promise__image {
        min-height: 500px;
    }

    .beano-about-promise__content {
        display: flex;
        flex-direction: column;
        justify-content: center;

        padding: 80px;
    }

    .beano-about-footer {
        padding-left: 8%;
        padding-right: 8%;
    }

}


/* =========================================
   DESKTOP: OUR STORY + OUR JOURNEY
========================================= */

@media screen and (min-width: 901px) {


    .beano-about-story-journey {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    /* Two-column layout */
    body {
        overflow-x: hidden;
    }

    .beano-about-story,
    .beano-about-journey {
        box-sizing: border-box;
        min-width: 0;
        min-height: 700px;
        margin: 0;
        border-radius: 0;
    }

    .beano-about-story {
        width: 100%;
        padding: 70px 45px;

        display: flex;
        align-items: center;
        justify-content: center;

        background: linear-gradient(
            180deg,
            #f7f3e9 0%,
            #fffdf7 100%
        );
    }

    .beano-about-story__text {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .beano-about-story h2 {
        font-size: clamp(38px, 3.2vw, 54px);
        line-height: 1.05;
        letter-spacing: -1.5px;
    }

    .beano-about-story p {
        font-size: 20px;
        line-height: 1.75;
    }


    /* Journey green panel */
    .beano-about-journey {
        width: 100%;
        padding: 60px 35px 45px;

        background: #07512f;
        color: #fff;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .beano-about-section-heading {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 0;
    }

    .beano-about-section-heading h2 {
        font-size: clamp(38px, 3vw, 52px);
        line-height: 1.04;
    }

    .beano-about-section-heading p {
        font-size: 14px;
        line-height: 1.65;
    }


    /* Show all three journey cards in one row */
    .beano-about-carousel {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;

        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;

        padding: 30px 0 10px;

        overflow: visible;
        box-sizing: border-box;
    }

    .beano-about-card {
        width: 100%;
        min-width: 0;
        max-width: none;
        flex: initial;

        border-radius: 18px;
        scroll-snap-align: none;
    }

    .beano-about-card__image {
        height: clamp(210px, 12vw, 165px);
    }

    .beano-about-card__content {
        padding: 14px 12px 18px;
    }

    .beano-about-card h3 {
        font-size: clamp(15px, 1.25vw, 19px);
        line-height: 1.15;
    }

    .beano-about-card p {
        font-size: 18px;
        line-height: 1;
    }

    .beano-about-dots {
        display: none;
    }
}


/* Wider desktop screens */
@media screen and (min-width: 1200px) {

    .beano-about-story {
        padding-right: 6%;
        padding-left: 6%;
    }

    .beano-about-journey {
        padding-right: 45px;
        padding-left: 45px;
    }
}


/* DESKTOP: CENTER QUALITY SECTION HEADING */

@media screen and (min-width: 901px) {

    .beano-about-quality > .beano-about-section-heading {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .beano-about-quality > .beano-about-section-heading .beano-eyebrow {
        display: block;
        text-align: center;
    }

    .beano-about-quality > .beano-about-section-heading h2 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}



/* AFN ENTERPRISES LOGO STRIP */

.afn-logo-strip {
    width: 100%;
    overflow: hidden;
    padding: 18px 0;
    background: #ffffff;
    border-top: 1px solid rgba(7, 81, 47, 0.08);
    border-bottom: 1px solid rgba(7, 81, 47, 0.08);
    box-sizing: border-box;
}

.afn-logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: clamp(38px, 2vw, 82px);
    animation: afnLogoRun 94s linear infinite;
    will-change: transform;
}

.afn-logo-track img {
    display: block;
    flex: 0 0 auto;
    width: clamp(100px, 10vw, 160px);
    height: 48px;
    object-fit: contain;
}

.afn-logo-track span {
    flex: 0 0 auto;
    color: #d4aa24;
    font-size: 18px;
}

@keyframes afnLogoRun {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .afn-logo-track {
        animation: none;
    }
}



/* FOUNDATION SECTION: DESKTOP LAYOUT */
@media screen and (min-width: 901px) {

    .beano-about-heritage {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: clamp(24px, 3vw, 48px);

        width: 100%;
        min-height: 520px;
        height: auto;
        box-sizing: border-box;
        padding: clamp(40px, 5vw, 80px);

        background:
            linear-gradient(
                90deg,
                rgba(7, 39, 26, .96),
                rgba(7, 39, 26, .82)
            ),
            url("../images/about-field.jpg") center / cover no-repeat;
    }

    .beano-about-heritage__content {
        flex: 0 1 40%;
        max-width: 600px;
        min-width: 0;
    }

    .beano-about-heritage__process {
        flex: 1 1 60%;
        min-width: 0;
        overflow: hidden;
        border-radius: 18px;
    }

    .beano-about-heritage__process img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 440px;
        object-fit: contain;
        border-radius: 18px;
    }
}

/* MOBILE: IMAGE BELOW THE TEXT */
@media screen and (max-width: 900px) {

    .beano-about-heritage {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        min-height: 0;
        height: auto;
        padding: 40px 22px;
        box-sizing: border-box;
    }

    .beano-about-heritage__content,
    .beano-about-heritage__process {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .beano-about-heritage__process img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        border-radius: 16px;
    }
}
