:is(.homepage, .story-page) {
    .shaped.story-band {
        padding-block: 72px;
        background: var(--color-navy-band);
    }

    .shaped__head {
        text-align: center;
        margin: 0 auto 28px;
        max-width: 720px;
    }

    .shaped__title {
        font-weight: 400;
        font-size: clamp(1.75rem, 1.15rem + 1.5vw, 2.5rem);
        line-height: 1.2;
        letter-spacing: -.005em;
        color: var(--color-gold);
        text-transform: none;
        text-wrap: balance;
        margin: 0;
    }

    .shaped__hook {
        margin: 10px 0 0;
        font-weight: 400;
        font-style: italic;
        font-size: 1.0625rem;
        line-height: 1.6;
        color: color-mix(in srgb, var(--color-cream) 74%, transparent);
        text-wrap: balance;
    }

    .shaped__rail {
        --rail-gutter: max(24px, calc((100% - var(--wrapper-standard)) / 2 + 24px));
        --rail-fade: max(56px, var(--rail-gutter));
        position: relative;
    }

    .shaped__cards {
        display: flex;
        gap: 16px;
        list-style: none;
        margin: -6px 0 0;
        padding: 6px var(--rail-gutter) 24px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--rail-gutter);
        scrollbar-width: none;
    }

    .shaped__cards::-webkit-scrollbar {
        display: none;
    }

    .shaped__cell {
        display: flex;
        flex: 0 0 138px;
        margin: 0;
        scroll-snap-align: start;
    }

    .shaped__cell:first-child {
        margin-inline-start: auto;
    }

    .shaped__cell:last-child {
        margin-inline-end: auto;
    }

    .shaped__rail::before,
    .shaped__rail::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 1;
        width: var(--rail-fade);
        pointer-events: none;
        opacity: 0;
        transition: opacity .2s;
    }

    .shaped__rail::before {
        left: 0;
        background: linear-gradient(to right, var(--color-navy-band), transparent);
    }

    .shaped__rail::after {
        right: 0;
        background: linear-gradient(to left, var(--color-navy-band), transparent);
    }

    .shaped__rail.can-prev::before,
    .shaped__rail.can-next::after {
        opacity: 1;
    }

    .shaped__arrow {
        position: absolute;
        top: 85px;
        z-index: 2;
        display: none;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--color-gold-button);
        color: var(--color-dark-blue);
        font-size: 1.125rem;
        box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .7);
        cursor: pointer;
        transform: translateY(-50%);
        transition: opacity .2s, background .2s;
    }

    .shaped__arrow:hover {
        background: var(--color-gold-button-hover);
    }

    .shaped__arrow:focus-visible {
        outline: 2px solid var(--color-gold-button);
        outline-offset: 3px;
    }

    .shaped__arrow:disabled {
        opacity: 0;
        pointer-events: none;
    }

    .shaped__arrow--prev {
        left: max(8px, calc(var(--rail-fade) / 2 - 22px));
    }

    .shaped__arrow--next {
        right: max(8px, calc(var(--rail-fade) / 2 - 22px));
    }

    .shaped__rail.is-scrollable .shaped__arrow {
        display: flex;
    }

    .shaped__progress {
        display: none;
        position: relative;
        width: min(200px, 50%);
        height: 3px;
        margin: 0 auto;
        border-radius: 3px;
        background: color-mix(in srgb, var(--color-cream) 18%, transparent);
        overflow: hidden;
    }

    .shaped__rail.is-scrollable .shaped__progress {
        display: block;
    }

    .shaped__progress-thumb {
        position: absolute;
        inset-block: 0;
        left: 0;
        border-radius: inherit;
        background: var(--color-gold-button);
    }

    .shaped__card {
        display: flex;
        flex-direction: column;
        flex: 1;
        width: 100%;
        background: var(--color-cream);
        padding: 7px 7px 0;
        border-radius: 3px;
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--color-gold-deep) 25%, transparent),
            0 18px 30px -18px rgba(0, 0, 0, .65);
        color: var(--color-blue);
        text-decoration: none;
    }

    a.shaped__card:hover {
        text-decoration: none;
        color: var(--color-blue);
    }

    .shaped__photo {
        display: block;
        position: relative;
        aspect-ratio: 5 / 6;
        overflow: hidden;
        border-radius: 1px;
    }

    .shaped__photo::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 1px;
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-gold-deep) 30%, transparent);
        pointer-events: none;
    }

    .shaped__photo img {
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: cover;
        object-position: 50% 30%;
        filter: sepia(.22) saturate(.85) contrast(1.04);
    }

    .shaped__photo--empty {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-lavender-light);
    }

    .shaped__initials {
        font-family: var(--ff-body);
        font-size: 2rem;
        line-height: 1;
        color: var(--color-lavender-dark);
    }

    .shaped__cap {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px 6px 12px;
        min-height: 58px;
    }

    .shaped__name {
        font-weight: 700;
        font-size: .84375rem;
        line-height: 1.3;
        color: var(--color-blue);
        text-wrap: balance;
    }

    a.shaped__card:hover .shaped__name,
    a.shaped__card:focus-visible .shaped__name {
        text-decoration: underline;
        text-decoration-thickness: 2px;
    }

    a.shaped__card:focus-visible {
        outline: 2px solid var(--color-gold-button);
        outline-offset: 3px;
    }

    .shaped__actions {
        display: flex;
        justify-content: center;
        margin: 4px 0 0;
    }

    .shaped__rail.is-scrollable + .wrapper-standard .shaped__actions {
        margin-top: 22px;
    }

    @media (max-width: 720px) {
        .shaped.story-band {
            padding-block: 56px;
        }

        .shaped__head {
            text-align: left;
            margin-bottom: 28px;
        }

        .shaped__hook {
            margin-top: 12px;
            font-size: 1rem;
            text-wrap: pretty;
        }

        .shaped__cell {
            flex-basis: 116px;
        }

        .shaped__rail.is-scrollable .shaped__arrow {
            display: none;
        }

        .shaped__cap {
            min-height: 52px;
        }

        .shaped__name {
            font-size: .8125rem;
        }

        .shaped__initials {
            font-size: 1.625rem;
        }

        .shaped__actions {
            margin-top: 12px;
        }

        .shaped__rail.is-scrollable + .wrapper-standard .shaped__actions {
            margin-top: 18px;
        }
    }
}
