/* Store page --------------------------------------------------------------- */

.st-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 60vh;
    height: 60svh;
    min-height: 60vh;
    min-height: 60svh;
    overflow: hidden;
    background: var(--ink);
    color: var(--cream);
}

.st-hero__media,
.st-hero__scrim {
    position: absolute;
    inset: 0;
}

.st-hero__media { z-index: 0; }

.st-hero__media img,
.st-hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 50%;
}

.st-hero__scrim {
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(8, 5, 4, .88) 0%, rgba(8, 5, 4, .5) 42%, rgba(8, 5, 4, .22) 100%),
        linear-gradient(to bottom, rgba(8, 5, 4, .5) 0%, transparent 40%, rgba(8, 5, 4, .55) 100%);
}

.st-hero__inner {
    position: relative;
    z-index: 2;
    width: min(100% - (var(--gutter) * 2), 1180px);
    margin-inline: auto;
    padding: calc(var(--header-h, 88px) + 8px) 0 28px;
}

.st-crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--cream-55);
}

.st-crumb .st-icon {
    width: 16px;
    height: 16px;
}

.st-hero__title {
    margin-top: 10px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    line-height: .95;
}

.st-hero__lede {
    margin-top: 6px;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(16px, 1.8vw, 26px);
    color: #c5a07f;
}

.st-hero__text {
    margin-top: 10px;
    max-width: 42ch;
    font-size: clamp(13px, .95vw, 15px);
    line-height: 1.55;
    color: var(--cream-70);
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    height: 40px;
    padding: 0 24px;
    border-radius: 8px;
    background: #8b5a3c;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.st-hero__photo.is-placeholder {
    background: linear-gradient(160deg, #3d2a1e 0%, #1a0f0a 80%);
}

.st-props {
    background: #f7f3ea;
    color: var(--brown);
}

.st-props__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(100% - (var(--gutter) * 2), 1180px);
    margin-inline: auto;
    padding-block: clamp(28px, 4vh, 48px);
}

.st-props li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px clamp(16px, 2vw, 28px);
    text-align: center;
}

.st-props li + li {
    border-left: 1px solid rgba(62, 22, 20, .12);
}

.st-props__mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(12, 8, 6, .06);
}

.st-props .st-icon {
    width: 28px;
    height: 28px;
    color: #8b5a3c;
}

.st-props h2 {
    font-size: clamp(11px, .9vw, 13px);
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #8b5a3c;
}

.st-props p {
    max-width: 28ch;
    font-size: clamp(13px, .95vw, 14.5px);
    line-height: 1.6;
    color: var(--brown-70);
}

.st-shop {
    background: #f7f3ea;
    color: var(--brown);
    padding: clamp(36px, 5vw, 64px) 0;
}

.st-wrap {
    width: min(100% - (var(--gutter) * 2), 1180px);
    margin-inline: auto;
}

.st-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(20px, 2.6vw, 32px);
}

.st-head h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(18px, 1.6vw, 24px);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.st-more {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brown);
}

.st-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.st-cat {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 240px;
    padding: 22px;
    overflow: hidden;
    color: var(--cream);
    background: #1a0f0a;
}

.st-cat__media,
.st-cat__overlay {
    position: absolute;
    inset: 0;
}

.st-cat__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-cat__media.is-placeholder {
    background: linear-gradient(160deg, #3d2a1e 0%, #1a0f0a 80%);
}

.st-cat__overlay {
    background: linear-gradient(to top, rgba(8, 5, 4, .82), rgba(8, 5, 4, .2));
}

.st-cat .st-icon,
.st-cat strong,
.st-cat__link {
    position: relative;
    z-index: 1;
}

.st-cat .st-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.st-cat strong {
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.st-cat__link {
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #c5a07f;
}

.st-grid {
    display: grid;
    gap: 16px;
}

.st-grid--4 { grid-template-columns: repeat(4, 1fr); }

.st-grid--5 { grid-template-columns: repeat(5, 1fr); }

.st-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.st-card__media {
    position: relative;
    aspect-ratio: 1;
    background: #1a0f0a;
}

.st-soon {
    position: absolute;
    inset: auto 10px 10px auto;
    z-index: 1;
    padding: 5px 9px;
    border-radius: 99px;
    background: rgba(26, 15, 10, .82);
    color: #fbf3e4;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.st-soon-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8b5a3c;
}

.st-card__media--pale { background: #efeae1; }

.st-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-card__img.is-placeholder {
    height: 100%;
    background: linear-gradient(160deg, #3d2a1e 0%, #1a0f0a 80%);
}

.st-card__media--pale .st-card__img.is-placeholder {
    background: linear-gradient(160deg, #e8dfd0 0%, #cbbba6 80%);
}

.st-card__body { padding: 16px 16px 14px; }

.st-card__body h3 {
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 500;
}

.st-card__meta {
    margin-top: 4px;
    font-size: 12px;
    color: var(--brown-70);
}

.st-card__row {
    display: flex;
    align-items: center;
    margin-top: 14px;
}

.st-add {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a0f0a;
    color: #fff;
    text-decoration: none;
    transition: background .3s var(--ease), transform .3s var(--ease);
}

.st-add svg {
    width: 16px;
    height: 16px;
}

.st-add:hover,
.st-add:focus-visible {
    background: #3e1614;
    color: #fff;
}

#shop,
#beans,
#gear {
    scroll-margin-top: calc(var(--header-h, 88px) + 16px);
}

@media (max-width: 1080px) {
    .st-grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .st-props__grid,
    .st-cats,
    .st-grid--4 { grid-template-columns: 1fr 1fr; }

    .st-props li + li { border-left: 0; }

    .st-props li:nth-child(even) {
        border-left: 1px solid rgba(62, 22, 20, .12);
    }

    .st-props li:nth-child(n+3) {
        border-top: 1px solid rgba(62, 22, 20, .12);
        padding-top: 22px;
        margin-top: 8px;
    }
}

@media (max-width: 720px) {
    .st-hero {
        display: flex;
        align-items: flex-end;
        height: auto;
        min-height: 72svh;
        overflow: hidden;
    }

    .st-hero__inner {
        height: auto;
        min-height: 0;
        width: 100%;
        padding-top: calc(var(--header-h, 64px) + 20px);
        padding-inline: var(--gutter);
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    .st-hero__title { font-size: clamp(40px, 12vw, 56px); }

    .st-hero__media img,
    .st-hero__photo { object-position: 78% 46%; }

    .st-props__grid { grid-template-columns: 1fr; }

    .st-props li + li,
    .st-props li:nth-child(even) { border-left: 0; }

    .st-props li + li {
        border-top: 1px solid rgba(62, 22, 20, .12);
        padding-top: 22px;
        margin-top: 8px;
    }

    .st-cats,
    .st-grid--4,
    .st-grid--5 { grid-template-columns: 1fr 1fr; }

    .st-head { flex-wrap: wrap; }
}
