/* A short photographic pause between the product shelf and the company story. */
.page-home .home-cocoa {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #281b13;
    color: #fff5e6;
}
.page-home .home-cocoa[hidden] { display: none; }
.page-home .home-cocoa-photo {
    position: absolute;
    z-index: -1;
    inset: 0;
    margin: 0;
}
.page-home .home-cocoa-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 54%;
}
.page-home .home-cocoa-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #281b13 0%, #281b13f2 25%, #281b13b8 43%, #281b1326 72%);
}
.page-home .home-cocoa-inner {
    min-height: 300px;
    display: flex;
    align-items: center;
    padding-block: 42px;
}
.page-home .home-cocoa-copy { max-width: 38ch; }
.page-home .home-cocoa h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 3.2vw, 46px);
    line-height: 1.12;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.page-home .home-cocoa-copy > p {
    margin: 0;
    max-width: 34ch;
    color: #ead9c1;
    font-size: 15px;
    line-height: 1.75;
}
.page-home .home-cocoa .text-link {
    margin-top: 18px;
    min-height: 44px;
    border-bottom-color: #bd9a61;
    color: #f0d39b;
    font-size: var(--editorial-type-support, .875rem);
}
.page-home .home-cocoa .text-link:hover { color: #fff8ed; }
.page-home .home-cocoa .text-link:focus-visible { outline: 2px solid #f0d39b; outline-offset: 6px; }
.page-home .home-cocoa.home-reveal-pending:focus-within { opacity: 1; transform: none; }

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .page-home .home-cocoa-photo img {
            animation: cocoa-photograph-drift linear both;
            animation-timeline: view();
            animation-range: entry 0% exit 100%;
        }
        @keyframes cocoa-photograph-drift {
            from { transform: translateY(-3%) scale(1.08); }
            to { transform: translateY(3%) scale(1.08); }
        }
    }
}
@media (max-width: 780px) {
    .page-home .home-cocoa-inner { min-height: 280px; padding-block: 32px; }
    .page-home .home-cocoa-copy { max-width: 31ch; }
    .page-home .home-cocoa-photo img { object-position: 64% center; }
    .page-home .home-cocoa-photo::after {
        background: linear-gradient(90deg, #281b13f5, #281b13cc 48%, #281b1366),
            linear-gradient(0deg, #281b1366, transparent);
    }
    .page-home .home-cocoa-copy > p { font-size: var(--editorial-type-body, 1rem); line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
    .page-home .home-cocoa-photo img { animation: none; transform: none; }
    .page-home .home-cocoa.home-reveal-pending { opacity: 1; transform: none; }
}
