.about-hero {
    height: 800px;
    color: white;
     /* background: linear-gradient(90deg, #100b07a6, #100b0759, #100b0780), url('../images/asta/coffee-hero.png') center/cover */
    background: linear-gradient(90deg, #100b07a6, #100b0759, #100b0780), url('../images/history/qui_sommes_nous.png') center/cover;
}

.about-hero-copy {
    text-align: center;
    padding: 200px 20px 45px
}

.about-hero-copy .eyebrow {
    font-size: 11px
}

.about-hero h1 {
    font: 600 clamp(44px, 5.5vw, 76px)/1.15 'Playfair Display', Georgia, serif;
    margin: 9px 0 12px
}

.about-hero h1 span {
    color: #c49e5d
}

.about-hero-copy>p:not(.eyebrow) {
    font-size: 17px
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding: 13px 22px;
    border-radius: 30px;
    background: #285e37;
    font-size: 13px;
    font-weight: 700
}

.about-cta:hover {
    background: #397647
}

.about-cta span {
    font-size: 21px;
    line-height: 1
}

.about-page {
    overflow: hidden;
    /* background: radial-gradient(ellipse at 35% 30%, #eae1d42e, transparent 45%), repeating-linear-gradient(125deg, #f8f6f2 0, #f8f6f2 2px, #f6f3ee 2px, #f6f3ee 4px) */
/* background-image: url(https://astagroupe.ma/wp-content/uploads/2024/04/bg_histoire_asta.png); */
 background-image: url('../images/bg_histoire_asta.png');
}

.about-container {
    width: calc(100% - 120px);
    max-width: 1100px;
    margin: auto
}

.about-roots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 85px;
    padding-top: 65px;
    padding-bottom: 45px
}

.about-text .about-eyebrow,
.about-eyebrow {
    color: #315d38;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 13px;
    line-height: 1.6
}

.about-page h2 {
    font: 600 clamp(27px, 3vw, 39px)/1.2 'Playfair Display', Georgia, serif;
    letter-spacing: -.8px;
    margin: 0 0 18px
}

.about-text>p:not(.about-eyebrow) {
    font-size: 15px;
    line-height: 1.65;
    max-width: 470px
}

.about-rule {
    display: block;
    height: 2px;
    width: 45px;
    background: #b98e4e;
    margin-top: 20px
}

.about-figure {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    isolation: isolate
}

.about-figure:before {
    content: '';
    position: absolute;
    inset: 6% -5% 2% -5%;
    /* background: #ede4d7; */
    transform: rotate(-13deg);
    border-radius: 60% 40% 64% 36% / 47% 50% 50% 53%;
    z-index: -1
}

.about-figure img,
.about-origin {
    /* display: block;
    width: 100%;
    height: 265px;
    object-fit: cover;
    border-radius: 59% 41% 38% 62% / 50% 61% 39% 50% */
    display: block;
    width: 100%;
    /* height: 265px; */
    height: 399px;
    /* object-fit: cover; */
    border-radius: 103% 41% 38% 62% / 50% 61% 39% 50%;
}

.about-figure figcaption {
    position: absolute;
    right: -125px;
    top: 40%;
    font: 29px/1.05 'Allura', cursive;
    color: black;
    transform: rotate(-12deg)
}

.roots-photo img,
.about-monochrome {
    filter: grayscale(1)
}

.about-section-heading {
    text-align: center;
    margin-bottom: 30px
}

.about-section-heading h2 span {
    color: #315d38
}

.about-section-heading .about-rule {
    margin: 23px auto
}

.about-timeline {
    position: relative;
    padding-bottom: 35px
}

.about-timeline:before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 60px;
    left: 50%;
    width: 1px;
    background: #77726c
}

.about-milestone {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 145px 1fr;
    align-items: center;
    gap: 0;
    min-height: 290px;
    padding: 15px 0
}

.about-milestone>.about-figure {
    grid-column: 1;
    grid-row: 1;
    width: 90%;
    max-width: 330px
}

.about-milestone>.about-text {
    grid-column: 3;
    grid-row: 1;
    padding-left: 0
}

.about-date {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 20px
}

.about-date h3 {
    font: 600 25px/1.3 'Playfair Display', Georgia, serif;
    color: #926c32;
    background: #f8f5ef;
    padding: 5px 0;
    white-space: nowrap;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: max-content
}

.about-date i {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #595650;
    margin: 12px auto
}

.about-page h4 {
      font-family: "Arial", Sans-serif;
    margin: 0 0 14px;
    letter-spacing: -.5px;
        font-size: 16px;
}

.about-milestone .about-text p {
    font-size: 14px;
    line-height: 1.65
}

.about-milestone:nth-child(even)>.about-figure {
    grid-column: 3
}

.about-milestone:nth-child(even)>.about-text {
    grid-column: 1;
    padding-right: 10px
}

.about-milestone:nth-child(even) .about-figure img {
    border-radius: 45% 55% 62% 38% / 60% 60% 40% 40%
}

.about-future {
    padding: 55px 0 40px;
    /* background: #eee6da4d */
}

.about-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 85px;
    padding: 22px 0;
    min-height: 310px
}

.about-feature:nth-child(even) .about-text {
    grid-column: 2;
    grid-row: 1
}

.about-feature:nth-child(even) .about-figure {
    grid-column: 1;
    grid-row: 1
}

.about-origin {
    background-image: url('../images/asta/about-origins.png');
    background-size: 300% 100%;
    background-repeat: no-repeat
}

.origin-hands {
    background-position: 0 center
}

.origin-cherries {
    background-position: 50% center;
    border-radius: 44% 56% 47% 53% / 47% 67% 33% 53%
}

.origin-landscape {
    background-position: 100% center;
    border-radius: 60% 40% 37% 63% / 69% 55% 45% 31%
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px max(20px, calc((100% - 1100px)/2));
    color: white;
    background: linear-gradient(#160c07cf, #160c07df), url('../images/asta/coffee-banner.jpg') center/cover
}

.about-stats>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 14px
}

.about-stats>div+div {
    border-left: 1px solid #b7996666
}

.about-stats strong {
    font: 600 38px/1.15 'Playfair Display', Georgia, serif;
    color: #dbb56e
}

.about-stats span {
    font-size: 12px;
    margin-top: 7px
}

.reveal-photo {
    opacity: 1;
    transform: none
}

.reveal-photo.is-pending {
    opacity: 0;
    transform: translateY(35px) scale(.96)
}

.reveal-photo.is-revealed {
    animation: about-photo-reveal .8s cubic-bezier(.2, .7, .2, 1) both
}

@keyframes about-photo-reveal {
    from {
        opacity: 0;
        transform: translateY(35px) scale(.96)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:950px) {
    .about-container {
        width: calc(100% - 80px)
    }

    .about-roots,
    .about-feature {
        gap: 45px
    }

    .about-figure figcaption {
        right: -25px;
        font-size: 24px
    }

    .about-milestone {
        grid-template-columns: 1fr 115px 1fr;
        min-height: 320px
    }

    .about-date h3 {
        font-size: 20px
    }

    .about-figure img,
    .about-origin {
        height: 230px
    }

    .about-page h4 {
        font-size: 23px
    }
}

@media(max-width:640px) {
    .about-hero {
        height: 380px;
        background-position: unset;
    }

    .about-hero-copy {
        padding-top: 33px
    }

    .about-hero h1 {
        font-size: 45px
    }

    .about-hero-copy>p:not(.eyebrow) {
        font-size: 14px
    }

    .about-container {
        width: calc(100% - 44px)
    }

    .about-roots,
    .about-feature {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 35px;
        padding-bottom: 35px
    }

    .about-page h2 {
        font-size: 29px
    }

    .about-figure {
        max-width: 290px
    }

    .about-figure figcaption {
        right: -70px;
        top: 60%;
        font-size: 25px;
        text-shadow: 0 1px 4px #fff
    }

    .about-figure img,
    .about-origin {
        height: 230px
    }

    .about-section-heading {
        margin-top: 20px
    }

    .about-eyebrow,
    .about-text .about-eyebrow {
        font-size: 10px;
        letter-spacing: 3px
    }

    .about-timeline:before {
        left: 8px;
        top: 23px;
        bottom: 55px
    }

    .about-milestone {
        grid-template-columns: 28px 1fr;
        gap: 15px;
        min-height: 0;
        padding: 10px 0 36px
    }

    .about-date {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        margin: 0
    }

    .about-date h3 {
        transform: none;
        left: 0;
        font-size: 23px;
        padding: 0 8px 0 0
    }

    .about-date i {
        position: absolute;
        left: -40px;
        top: 0;
        margin-top: 10px
    }

    .about-milestone>.about-figure,
    .about-milestone:nth-child(even)>.about-figure {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        max-width: 290px
    }

    .about-milestone>.about-text,
    .about-milestone:nth-child(even)>.about-text {
        grid-column: 2;
        grid-row: 3;
        padding: 0
    }

    .about-page h4 {
        font-size: 23px
    }

    .about-milestone .about-text p {
        font-size: 14px
    }

    .about-future {
        padding: 0 0 15px
    }

    .about-feature:nth-child(even) .about-text,
    .about-feature:nth-child(even) .about-figure {
        grid-column: 1;
        grid-row: auto
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 28px 0;
        padding: 30px 12px
    }

    .about-stats>div:nth-child(3) {
        border: 0
    }

    .about-stats strong {
        font-size: 33px
    }

    .about-stats span {
        font-size: 11px
    }
}

@media(prefers-reduced-motion:reduce) {
    .reveal-photo.is-pending {
        opacity: 1;
        transform: none
    }

    .reveal-photo.is-revealed {
        animation: none
    }
}