/* Explain: Styles for the BST apparel collection hero, city glow, and model scenes. */
/* BST apparel collection: rotating NYC model scenes, design cards, and the early-access notify form. */

.bst-hero {
    position: relative;
    isolation: isolate;
    background: var(--background-color);
}

.bst-city {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, #0b0b0d 0%, #121215 46%, #1a1208 100%);
}

.bst-models {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    transform: translateY(12%) scale(0.82);
    transform-origin: center top;
}

.bst-scene {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(var(--scene-shift-x, 0px), var(--scene-shift-y, 0px), 0);
    transition: opacity 1.8s ease, visibility 0s linear 1.8s;
}

.bst-scene.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.8s ease, visibility 0s linear 0s;
}

.bst-model {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    transform-origin: center center;
    filter: brightness(1.24) saturate(1.28) contrast(1.06);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 3%, #000 97%, transparent 100%);
    animation: bst-model-drift 9s ease-in-out infinite alternate;
    will-change: transform;
}

.bst-model.bst-fade-right {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 3%, #000 97%, transparent 100%), linear-gradient(to right, #000 14%, rgba(0, 0, 0, 0.96) 30%, rgba(0, 0, 0, 0.86) 44%, rgba(0, 0, 0, 0.72) 56%, rgba(0, 0, 0, 0.54) 68%, rgba(0, 0, 0, 0.34) 79%, rgba(0, 0, 0, 0.16) 89%, rgba(0, 0, 0, 0.05) 95%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 3%, #000 97%, transparent 100%), linear-gradient(to right, #000 14%, rgba(0, 0, 0, 0.96) 30%, rgba(0, 0, 0, 0.86) 44%, rgba(0, 0, 0, 0.72) 56%, rgba(0, 0, 0, 0.54) 68%, rgba(0, 0, 0, 0.34) 79%, rgba(0, 0, 0, 0.16) 89%, rgba(0, 0, 0, 0.05) 95%, rgba(0, 0, 0, 0) 100%);
    mask-composite: intersect;
}

@keyframes bst-model-drift {
    0% {
        transform: translate3d(var(--drift-from-x, -2.6%), var(--drift-from-y, 2.2%), 0) scale(var(--zoom-from, 1.06));
    }
    100% {
        transform: translate3d(var(--drift-to-x, 3%), var(--drift-to-y, -2.4%), 0) scale(var(--zoom-to, 1.18));
    }
}

.bst-scenery {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    display: block;
    height: 100%;
    width: 62%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    filter: brightness(0.66) saturate(1.08);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 22%, rgba(0, 0, 0, 0.7) 48%, rgba(0, 0, 0, 0.26) 72%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 22%, rgba(0, 0, 0, 0.7) 48%, rgba(0, 0, 0, 0.26) 72%, transparent 100%);
    animation: bst-scenery-drift 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes bst-scenery-drift {
    0% {
        transform: translate3d(-2.5%, 1%, 0) scale(1.05);
    }
    100% {
        transform: translate3d(2.6%, -1.4%, 0) scale(1.12);
    }
}

.bst-scenery-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 0;
    display: block;
    height: 100%;
    width: 62%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    filter: brightness(0.66) saturate(1.08);
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 22%, rgba(0, 0, 0, 0.7) 48%, rgba(0, 0, 0, 0.26) 72%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 22%, rgba(0, 0, 0, 0.7) 48%, rgba(0, 0, 0, 0.26) 72%, transparent 100%);
    animation: bst-scenery-drift-right 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes bst-scenery-drift-right {
    0% {
        transform: translate3d(2.5%, 1%, 0) scale(1.05);
    }
    100% {
        transform: translate3d(-2.6%, -1.4%, 0) scale(1.12);
    }
}

.bst-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.74) 0%, rgba(24, 24, 24, 0.32) 26%, rgba(24, 24, 24, 0.46) 52%, rgba(24, 24, 24, 1) 100%);
}

@media (min-width: 1024px) {
    .bst-models {
        inset: 0 0 0 auto;
        width: 66%;
        transform: translateY(9%) scale(0.88);
        transform-origin: top right;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 34%);
        mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 34%);
    }

    .bst-model {
        object-position: center;
    }

    .bst-scrim {
        background:
            linear-gradient(180deg, rgba(24, 24, 24, 0) 62%, rgba(24, 24, 24, 0.46) 84%, rgba(24, 24, 24, 1) 100%),
            linear-gradient(90deg, rgba(24, 24, 24, 1) 0%, rgba(24, 24, 24, 0.9) 30%, rgba(24, 24, 24, 0.28) 54%, rgba(24, 24, 24, 0.05) 72%, rgba(24, 24, 24, 0.22) 100%);
    }
}

.bst-copy {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}

.bst-rule {
    display: block;
    width: 5rem;
    height: 3px;
    margin: 1.75rem 0;
    border-radius: 999px;
    background: var(--accent-color);
}

.bst-coming {
    margin-top: 0.6rem;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4.5vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--text-color);
}

.bst-designs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 640px) {
    .bst-designs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bst-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--surface-color);
    transition: border-color 300ms ease, transform 300ms ease;
}

.bst-card:hover,
.bst-card:focus-within {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.bst-card-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0d0d0d;
}

.bst-card-frame img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 900ms ease;
}

.bst-card:hover .bst-card-frame img {
    transform: scale(1.05);
}

.bst-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    background: rgba(0, 0, 0, 0.7);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.bst-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.4rem;
}

.bst-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-color);
    transition: color 220ms ease;
}

.bst-card-cta:hover,
.bst-card-cta:focus-visible {
    color: var(--accent-hover);
}

@media (prefers-reduced-motion: reduce) {
    .bst-model,
    .bst-scenery,
    .bst-scenery-right,
    .bst-card,
    .bst-card-frame img {
        animation: none;
        transition: none;
    }

    .bst-scene {
        transition: none;
    }
}

.bst-drop-mark {
    display: block;
    width: 2rem;
    height: 3.56rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

@media (min-width: 640px) {
    .bst-drop-mark {
        width: 2.4rem;
        height: 4.27rem;
    }
}