/* Explain: Styles for the homepage apparel section, including background, typography, and animations. */
/* Homepage BST apparel scene.

   The apparel block is no longer a photo sitting beside the copy: one continuous
   New York street at night now runs behind the whole row — behind the words on
   the left and behind the model on the right — so the copy and the figure stand
   in the same place instead of the model framing a picture of her own. The
   street is a looping night clip that drifts very slowly, and it dissolves away
   to nothing before it reaches any edge, so the scene never reads as a box, a
   panel, or a rectangle around the figure.

   A different one of the four BST models steps into that street on every page
   load (see js/lookbook.js). */

.bst-apparel-row {
    isolation: isolate;
}

/* The apparel block sits on its own quiet plate of near-black. The page's colour
   wash drifts through crimson, violet and blue behind most of the site, and a
   hint of that hue was showing through around the night scenes — so the block is
   now grounded on a deep charcoal field instead. The plate is black enough that
   the models and the night street read as true night, and it is eased away to
   nothing at the crown and at the foot, so it never meets the sections above and
   below on a hard horizontal line — the dark simply gathers behind the apparel
   and sinks back into the page at either end. */
#apparel {
    background-image: linear-gradient(180deg,
        rgba(10, 10, 10, 0) 0,
        rgba(10, 10, 10, 0.88) 6rem,
        #0a0a0a 14rem,
        #0c0c0c 50%,
        #0a0a0a calc(100% - 14rem),
        rgba(10, 10, 10, 0.88) calc(100% - 6rem),
        rgba(10, 10, 10, 0) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* The city is one soft, open pool of the night street: fullest in the middle of
   the block and melted away to nothing before any edge, so there is never a
   straight line, seam, or panel where the scene meets the page. */
.bst-apparel-stage {
    position: absolute;
    top: -4rem;
    bottom: -4rem;
    /* The night street now runs the full width of the screen instead of ending
       on the two straight vertical lines of the content column: it reaches past
       both edges of the page, so there is no longer a rectangle drawn around
       the scene. */
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    z-index: 0;
    display: block;
    overflow: hidden;
    pointer-events: none;
    /* The whole night scene — the street, the veil over it and the curtains at
       its sides — is now melted away into the page on every edge. The scene is
       at full strength through its middle, then eases gently out to nothing
       before it ever reaches the crown, the foot, or either side, so there is
       no straight horizontal or vertical line left anywhere around it: the
       street simply rises out of the dark above, sinks back into it below, and
       thins away at both ends of the screen. */
    /* Nothing is cut out of the scene any more.

       The street and the copy over it used to be held inside a masked layer,
       and a masked, full-width layer was exactly what kept leaving a copy of the
       page's own words — the statement, the paragraph, stray letters — lying
       over the night picture. The melt into the page's own black is painted by
       the veil and the two side curtains instead, so nothing is clipped and
       nothing can be left standing inside the backdrop. */
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-mask-composite: initial;
    mask-composite: initial;
    /* The backdrop is painted in one pass inside its own paint boundary: the
       street, the veil and the two side curtains are drawn together as a single
       flat scene behind the copy and the model. Nothing that sits behind the
       block can be folded into it, and no layer of it is split into pieces, so
       the night street can never be cut by a vertical seam.
    */
    /* Neither contained nor isolated: the street is one plain field painted
       straight into the page, with no separate compositing layer of its own to
       be re-rasterized behind the copy — a layer of its own is exactly what left
       a strip of the page showing through the scene. */
    /* The scene is cut by two masks at once. The wide radial one keeps the
       street open through the middle of the block and melts it away toward the
       sides; the vertical one carries the entire scene — the clip, the veil and
       the black curtains together — down to nothing at the crown and the foot.
       Because the top of the block now thins away completely before the stage
       begins, there is no edge left where the street starts: it simply rises
       out of the page's own dark instead of meeting it on a hard line. */
    /* The scene is held in one soft, open pool of the night street: a single
       fade that melts away to nothing before it ever reaches an edge. The clip
       is never cut twice and never blended from two fades at once, so there is
       no seam for the browser to draw part way across the block — the street
       simply sinks into the page's own dark all the way round, and the soft
       curtains over the crown and the foot below carry the last of the melt. */
    /* Nothing is cut out of the scene any more. A soft mask laid over a moving
       clip makes the browser hold a copy of everything sitting behind it, and
       that copy is what kept surfacing as a torn band down the block. The street
       is now carried into the dark entirely by the curtains painted over it, so
       there is no mask and nothing to leave behind. */
}

/* The street clip is held a little larger than its frame so the slow drift never
   uncovers an edge, and graded down to a monochrome night so it belongs with the
   rest of the site's black-and-gold palette. */
.bst-apparel-city {
    position: absolute;
    top: -9%;
    left: -9%;
    display: block;
    height: 118%;
    width: 118%;
    /* The night street is held as one still frame of the city instead of a
       looping picture: it is painted flat into the background and given a
       single quiet grade, so the whole backdrop is perfectly even from edge to
       edge. A full-width clip redrawing itself behind the copy was what kept
       leaving a torn band down the scene, so the street now simply stands still
       and reads cleanly behind the words and the model. */
    /* The street is graded to a monochrome night entirely inside its own
       background: one layer drains the colour and another deepens the dark.
       Nothing is filtered, so the browser draws the photograph once, flat, in
       the same pass as the page — there is no separate copy of the scene for a
       seam or a ghost of the lettering to appear in.
    */
    /* The street is one plain photograph graded in a single pass on its own
       layer. Nothing is blended against a second layer of the scene, so the
       browser never keeps a copy of it behind the block — which is what left a
       hard tear down the middle of the scene. */
    /* The street is drained of colour and carried down into the night by its own
       layers — a neutral grey laid over the photograph takes its colour away, and
       a veil of black darkens what is left — so the picture is never drawn
       through a filter. A filtered full-screen layer is what kept leaving a
       ghost of the page's own lettering lying over the image; without it the
       night street is painted once, flat, with the page. */
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.58) 100%),
        linear-gradient(180deg, #6b6b6b 0%, #6b6b6b 100%),
        url('https://files.cdn-files-a.com/uploads/12665262/normal_6b07761020081.jpg?ratio=16:9&format=avif');
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center 48%, 0 0, center 48%;
    background-size: cover, 100% 100%, cover;
    background-blend-mode: multiply, saturation, normal;
    filter: none;
    /* The avenue is alive again: the street creeps one way and eases back the
       other on a long, unhurried pass while its light swells and settles over
       it, so the block keeps the quiet night movement it had before. Only the
       street plate itself is moved and faded — the veil, the two side curtains
       and the copy above it never change — so nothing can be torn, doubled, or
       left behind on the page. */
    transform-origin: center center;
    /* The avenue now stands perfectly still: the street holds its one frame, at
       its own resting size and light, so nothing behind the copy or the model
       ever drifts. */
    transform: none;
    scale: 1.16;
    opacity: 0.9;
    animation: none;
    will-change: auto;
}

/* The street moves the way a city does from a long way off: a slow, uneven drift
   with a whisper of zoom, never fast enough to pull the eye off the copy or the
   figure standing in it. */
@keyframes bst-apparel-city-drift {
    0% {
        transform: translate3d(-3.4%, 1.1%, 0) scale(1.15);
    }
    100% {
        transform: translate3d(3.4%, -1.1%, 0) scale(1.05);
    }
}

/* The lights of the avenue coming and going: the street brightens a step as a
   run of headlamps and windows passes, holds its light, and settles back into
   the deeper night — slow, uneven, and never repeating on an obvious beat, so
   the block reads as a living city instead of a still picture. */
@keyframes bst-apparel-city-lights {
    0%,
    100% {
        opacity: 0.66;
    }
    34% {
        opacity: 1;
    }
    58% {
        opacity: 0.8;
    }
    82% {
        opacity: 0.97;
    }
}

/* The night is laid back down where the words sit: a deep scrim on the left for
   the copy, and only a light touch over the right, where the street stays open
   behind the model so she reads as a silhouette against it. */
.bst-apparel-veil {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    /* The crown and the foot of the street are carried all the way down into the
       page's own black, in a long, many-stepped fall with no band and no seam
       anywhere in it. The avenue now rises out of the dark above and sinks back
       into it below instead of meeting an edge, while the broad middle of the
       scene stays open. The left keeps the deep scrim the copy sits on and the
       right stays lit, so the street still passes behind the model. */
    background:
        linear-gradient(90deg,
            rgba(5, 5, 5, 0.95) 0%,
            rgba(5, 5, 5, 0.9) 10%,
            rgba(5, 5, 5, 0.8) 22%,
            rgba(5, 5, 5, 0.65) 33%,
            rgba(5, 5, 5, 0.48) 44%,
            rgba(5, 5, 5, 0.33) 55%,
            rgba(5, 5, 5, 0.2) 66%,
            rgba(5, 5, 5, 0.105) 77%,
            rgba(5, 5, 5, 0.04) 88%,
            rgba(5, 5, 5, 0) 100%),
        linear-gradient(180deg,
            var(--background-color) 0%,
            rgba(5, 5, 5, 0.97) 3%,
            rgba(5, 5, 5, 0.92) 7%,
            rgba(5, 5, 5, 0.85) 11%,
            rgba(5, 5, 5, 0.76) 15%,
            rgba(5, 5, 5, 0.66) 19%,
            rgba(5, 5, 5, 0.55) 23%,
            rgba(5, 5, 5, 0.44) 27%,
            rgba(5, 5, 5, 0.33) 31%,
            rgba(5, 5, 5, 0.23) 35%,
            rgba(5, 5, 5, 0.15) 39%,
            rgba(5, 5, 5, 0.085) 44%,
            rgba(5, 5, 5, 0.04) 50%,
            rgba(5, 5, 5, 0.012) 57%,
            rgba(5, 5, 5, 0) 64%,
            rgba(5, 5, 5, 0) 72%,
            rgba(5, 5, 5, 0.02) 76%,
            rgba(5, 5, 5, 0.06) 79%,
            rgba(5, 5, 5, 0.12) 82%,
            rgba(5, 5, 5, 0.2) 85%,
            rgba(5, 5, 5, 0.3) 88%,
            rgba(5, 5, 5, 0.41) 91%,
            rgba(5, 5, 5, 0.53) 94%,
            rgba(5, 5, 5, 0.65) 96%,
            rgba(5, 5, 5, 0.79) 98%,
            rgba(5, 5, 5, 0.9) 99.3%,
            var(--background-color) 100%);
}

/* The two side curtains of the night scene.

   The street is no longer clipped to a shape at all: a soft curtain of the
   page's own black lies down each end of the scene and melts away toward the
   middle, so the avenue sinks into the dark at both sides instead of stopping on
   a straight vertical line. The crown and the foot are melted by the veil over
   the clip, and because nothing is masked, no copy of the page can be left
   standing inside the backdrop. */
.bst-apparel-stage::before,
.bst-apparel-stage::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    display: block;
    width: 24%;
    pointer-events: none;
}

/* Each end of the avenue is carried down into the page's own black over a long,
   many-stepped fall, so the street simply thins away toward the sides instead of
   meeting an edge: no band, no seam and no straight line anywhere along the
   melt. The curtains only touch the street — the model and the copy sit above
   them — so the edges darkening does nothing but let the figure stand out. */
.bst-apparel-stage::before {
    left: 0;
    background: linear-gradient(90deg,
        var(--background-color) 0%,
        rgba(5, 5, 5, 0.985) 8%,
        rgba(5, 5, 5, 0.955) 16%,
        rgba(5, 5, 5, 0.905) 24%,
        rgba(5, 5, 5, 0.835) 31%,
        rgba(5, 5, 5, 0.745) 38%,
        rgba(5, 5, 5, 0.64) 45%,
        rgba(5, 5, 5, 0.525) 52%,
        rgba(5, 5, 5, 0.41) 59%,
        rgba(5, 5, 5, 0.3) 66%,
        rgba(5, 5, 5, 0.2) 73%,
        rgba(5, 5, 5, 0.125) 80%,
        rgba(5, 5, 5, 0.065) 86%,
        rgba(5, 5, 5, 0.028) 92%,
        rgba(5, 5, 5, 0.008) 96.5%,
        rgba(5, 5, 5, 0) 100%);
}

.bst-apparel-stage::after {
    right: 0;
    background: linear-gradient(270deg,
        var(--background-color) 0%,
        rgba(5, 5, 5, 0.985) 8%,
        rgba(5, 5, 5, 0.955) 16%,
        rgba(5, 5, 5, 0.905) 24%,
        rgba(5, 5, 5, 0.835) 31%,
        rgba(5, 5, 5, 0.745) 38%,
        rgba(5, 5, 5, 0.64) 45%,
        rgba(5, 5, 5, 0.525) 52%,
        rgba(5, 5, 5, 0.41) 59%,
        rgba(5, 5, 5, 0.3) 66%,
        rgba(5, 5, 5, 0.2) 73%,
        rgba(5, 5, 5, 0.125) 80%,
        rgba(5, 5, 5, 0.065) 86%,
        rgba(5, 5, 5, 0.028) 92%,
        rgba(5, 5, 5, 0.008) 96.5%,
        rgba(5, 5, 5, 0) 100%);
}

/* On phones and tablets the scene is a little squarer, so the two side curtains
   reach a touch further in from the edges and the melt stays just as soft. */
@media (max-width: 1023px) {
    .bst-apparel-stage::before,
    .bst-apparel-stage::after {
        width: 28%;
    }
}

/* The lookbook frame holds nothing of its own now: no picture, no panel, no
   vignette cut around it. The figure simply stands on the street that runs
   behind the whole block, so there is no rectangle left to see. */
.bst-apparel-row .apparel-lookbook {
    background: none;
    border: 0;
    box-shadow: none;
    /* The figure no longer arrives as a framed photograph standing on the
       street. The picture is carried a long way down into the dark along its own
       left edge, so it simply emerges inside the street that runs behind the
       block instead of meeting it on a straight vertical line. */
    -webkit-mask-image: none;
    mask-image: none;
    /* The figure is at full strength from the very first frame — it is never
       eased up out of nothing — so it is never seen half dissolved with the
       words showing through it. */
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
}

@media (max-width: 1023px) {
    .bst-apparel-row .apparel-lookbook {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* The figure and the model are the same flat picture: nothing is promoted,
   filtered or masked, so the whole scene is painted once with the page. The
   figure itself keeps its own light-of-show rule further down this file, since
   the lookbook now steps from one model to the next on its own slow beat. */
.bst-apparel-row .apparel-figure {
    transform: none;
    will-change: auto;
    filter: none;
}

.bst-apparel-row .apparel-model {
    transform: none;
    will-change: auto;
    filter: none;
    -webkit-mask-image: none;
    mask-image: none;
    /* The photograph of the model is drawn solid from the very first frame:
       nothing is eased in from transparent, so the words beside it can never be
       read through the picture. */
    opacity: 1;
    transition: none;
}

/* The lookbook no longer paints a dark curtain of its own beside the figure:
   that curtain was the hard vertical line standing next to the model. The
   photograph itself is melted into the street instead (see the mask below), so
   there is no second dark shape left to read as an edge. */
.bst-apparel-row .apparel-lookbook::after {
    content: none;
    display: none;
}

/* The featured figure melts into the night street it stands on.

   Only the outer edges of the picture dissolve — the left side, the crown and
   the foot — so the model never meets the scene on a straight vertical line,
   while the body itself stays drawn fully solid from the first frame. Because
   the melt is cut from the photograph itself, the street behind shows softly
   through the edges and the two scenes join as one continuous night. */
.bst-apparel-row .apparel-figure .apparel-model {
    -webkit-mask-image:
        linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 6%, rgba(0, 0, 0, 0.72) 14%, #000 26%, #000 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 9%, #000 80%, rgba(0, 0, 0, 0.72) 89%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 6%, rgba(0, 0, 0, 0.72) 14%, #000 26%, #000 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 9%, #000 80%, rgba(0, 0, 0, 0.72) 89%, rgba(0, 0, 0, 0) 100%);
    mask-composite: intersect;
}

.bst-apparel-row .apparel-lookbook .apparel-model {
    object-position: center bottom;
}

@media (max-width: 1023px) {
    .bst-apparel-stage {
        top: -3.5rem;
        bottom: -3.5rem;
        left: calc(50% - 50vw);
        right: calc(50% - 50vw);
        /* Phones keep the same soft pool: the street stays open across the
           middle of the block and thins away to nothing at the crown and the
           foot, so the scene never meets the page on a straight edge here
           either — and, as on a wide screen, only one fade is drawn. */
        /* No mask on a phone either — the side curtains and the veil carry the
           whole melt, so nothing is clipped and nothing can be left behind. */
    }

    .bst-apparel-city {
        /* A small screen keeps the very same grade: the street is drained and
           darkened by its own layers, so nothing is filtered here either. */
        filter: none;
    }

    /* The copy sits above the lookbook on a phone, so the scene is darkened more
       evenly all the way down and both the words and the figure stay readable. */
    .bst-apparel-veil {
        background:
            linear-gradient(180deg,
                var(--background-color) 0%,
                rgba(5, 5, 5, 0.97) 3%,
                rgba(5, 5, 5, 0.93) 7%,
                rgba(5, 5, 5, 0.87) 11%,
                rgba(5, 5, 5, 0.81) 15%,
                rgba(5, 5, 5, 0.74) 19%,
                rgba(5, 5, 5, 0.67) 24%,
                rgba(5, 5, 5, 0.61) 30%,
                rgba(5, 5, 5, 0.57) 36%,
                rgba(5, 5, 5, 0.55) 44%,
                rgba(5, 5, 5, 0.56) 52%,
                rgba(5, 5, 5, 0.59) 60%,
                rgba(5, 5, 5, 0.63) 67%,
                rgba(5, 5, 5, 0.69) 73%,
                rgba(5, 5, 5, 0.76) 79%,
                rgba(5, 5, 5, 0.84) 84%,
                rgba(5, 5, 5, 0.9) 89%,
                rgba(5, 5, 5, 0.955) 94%,
                rgba(5, 5, 5, 0.985) 97.5%,
                var(--background-color) 100%),
            linear-gradient(90deg,
                rgba(5, 5, 5, 0.62) 0%,
                rgba(5, 5, 5, 0.47) 20%,
                rgba(5, 5, 5, 0.32) 40%,
                rgba(5, 5, 5, 0.22) 60%,
                rgba(5, 5, 5, 0.27) 78%,
                rgba(5, 5, 5, 0.4) 90%,
                rgba(5, 5, 5, 0.52) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bst-apparel-city {
        animation: none;
        transform: scale(1.03);
    }
}

/* Phones keep the same living street, only at a gentler pace: the avenue drifts
   and its light comes and goes exactly as it does on a wide screen, just a
   little slower, so the small screen is never asked to move the scene quickly. */
@media (max-width: 1023px) {
    .bst-apparel-city {
        animation: none;
        transform: none;
        scale: 1.2;
        will-change: auto;
    }
}

/* The BST lookbook: the figure now stands alone against the night city. The
   street she was photographed on has been cut away, and a moving New York
   street runs behind her inside the frame — a monochrome scene that drifts very
   slowly and eases a little closer, so the backdrop keeps a quiet sense of life
   while the model herself stays the clear subject. */
.apparel-lookbook {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    margin: 0;
    aspect-ratio: 11 / 13;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    /* The lookbook is no longer a picture sitting on the page: the street behind
       the model and the model herself are held inside one soft field that eases
       away to nothing on every side. There is no frame edge left to see — the
       scene simply fades out into the page's own black all the way round. */
    /* The picture itself is never clipped to a shape: the fading is laid over
       the frame as a soft vignette (see .apparel-lookbook::after below), so the
       edge of the scene can never be left standing as a square. */
    -webkit-mask-image: none;
    mask-image: none;
}

/* The vignette that melts the lookbook into the page.

   Four soft curtains of the page's own black are laid over the edges of the
   frame — heaviest at the very border, and completely gone long before they
   reach the figure — so the night street and the model simply sink into the
   dark on every side. Because the fade is painted over the picture instead of
   cut from it, no straight line, box or panel can ever appear around it, on
   phones or on wide screens. */
.apparel-lookbook::after {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: 3;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--background-color) 0%, rgba(5, 5, 5, 0.88) 3%, rgba(5, 5, 5, 0.52) 8%, rgba(5, 5, 5, 0.18) 14%, rgba(5, 5, 5, 0) 20%, rgba(5, 5, 5, 0) 80%, rgba(5, 5, 5, 0.18) 86%, rgba(5, 5, 5, 0.52) 92%, rgba(5, 5, 5, 0.88) 97%, var(--background-color) 100%),
        linear-gradient(to bottom, var(--background-color) 0%, rgba(5, 5, 5, 0.86) 3%, rgba(5, 5, 5, 0.46) 7%, rgba(5, 5, 5, 0.15) 11%, rgba(5, 5, 5, 0) 16%, rgba(5, 5, 5, 0) 62%, rgba(5, 5, 5, 0.14) 70%, rgba(5, 5, 5, 0.4) 79%, rgba(5, 5, 5, 0.7) 88%, rgba(5, 5, 5, 0.92) 96%, var(--background-color) 100%);
}

/* Each lookbook figure now stands in a frame of its own, so the model and the
   signature printed on her shirt travel together: the mark is positioned
   against the same box the figure is drawn in, and only one figure is shown per
   visit (see js/lookbook.js). */
.apparel-figure {
    position: absolute;
    inset: 0;
    display: block;
}

/* The foot of the lookbook figure settles into the dark of the block through a
   plain curtain of shadow laid over the picture — a simple painted gradient, so
   the model's legs give way to the night without anything being cut out of the
   photograph itself. */
.apparel-model-fade {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 3;
    display: block;
    height: 38%;
    pointer-events: none;
    /* The foot of the figure now settles into the night through a soft pool of
       shadow rather than a band laid across the bottom of the frame. The pool
       gathers under the model and thins away to nothing on every side of
       itself, so it carries no straight edge, no corner and no filled plate of
       its own: the legs simply give way to the dark the street behind her is
       already in, and nothing rectangular is left standing under the figure. */
    background-image: radial-gradient(96% 104% at 66% 100%, rgba(10, 10, 10, 0.52) 0%, rgba(10, 10, 10, 0.36) 36%, rgba(10, 10, 10, 0.16) 66%, rgba(10, 10, 10, 0.05) 86%, rgba(10, 10, 10, 0) 100%);
}

/* The BST signature, printed on the shirt of the lookbook figure.

   The same red brush mark the collection wears everywhere else is set small on
   the chest of the model standing in the street, so the homepage lookbook shows
   the garment carrying its own brand rather than the brand only sitting beside
   it. Each of the four figures hands in its own placement (see the model list in
   sections/index.apparel.html), because the four photographs are framed
   differently and a single shared spot would land off the shirt on some of
   them. */
.apparel-chest-mark {
    /* The same signature, the same size and the same spot on the shirt as every
       other model in the collection: low in the bottom-right corner of the
       print, turned a touch so it reads as ink pressed into the cotton. */
    position: absolute;
    right: 38%;
    bottom: 13%;
    z-index: 3;
    display: block;
    width: 9.5%;
    aspect-ratio: 11 / 10;
    translate: 0 0;
    rotate: -4deg;
    background-image: url('https://files.cdn-files-a.com/uploads/12665262/normal_6b0a53bc246b0.png?ratio=11:10&format=avif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    pointer-events: none;
    filter: brightness(0.8) saturate(1.12) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.62)) drop-shadow(0 0 8px rgba(193, 18, 31, 0.2));
    opacity: 0.94;
    will-change: transform;
}

/* The layer that carries the print on the lookbook figure. The model is fitted
   whole inside its frame, so a tall shot always leaves dark margins beside it.
   This box is made exactly as wide and as tall as the fitted picture, so the
   mark always lands on the same patch of the same shirt instead of drifting off
   the garment on a differently shaped shot. */
.apparel-print-anchor {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 3;
    display: block;
    height: 100%;
    aspect-ratio: var(--print-ratio, 1 / 1);
    transform: translateX(-50%);
    pointer-events: none;
}

/* The city behind the figure: one long, monochrome stretch of the New York
   street, held a little larger than the frame so it can drift without ever
   showing an edge. */
.apparel-city {
    position: absolute;
    inset: -7%;
    z-index: 0;
    display: block;
    pointer-events: none;
    background-image: url('https://files.cdn-files-a.com/admin/system_photos_stock/normal_6af7cb0723422.jpg?ratio=2:3&format=avif');
    background-position: center 52%;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(1) brightness(0.62) contrast(1.18);
    /* The street no longer sits inside a rectangle: it is drawn as a soft,
       open pool of the city that reaches its fullest down the middle and melts
       away to nothing before it ever meets an edge, so there is no frame, no
       panel and no black box behind the model — only the street itself, with
       the page's own dark showing through around it. */
    /* The street fills its frame solid now — the fading is carried by the
       lookbook itself (see .apparel-lookbook above), so no separate oval mask
       is drawn inside the picture where a edge could read as a box. */
    -webkit-mask-image: none;
    mask-image: none;
    animation: apparel-city-drift 64s ease-in-out infinite alternate;
    will-change: transform;
}

/* The street is drawn back into the dark toward every edge of the frame, so the
   scene never meets the page on a hard line and the model stays the brightest
   thing inside the frame. */
.apparel-city-haze {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    pointer-events: none;
    /* The hard dark bands that used to sit over the top and sides of the city
       are gone — they were what closed the scene into a box. What is left is a
       soft pool of shadow only at the base, so the model is grounded on the
       street while the rest of the city stays open and airy around her. */
    /* The night street is brought down into the page's own black well before it
       ever reaches the frame, so its edge is never drawn: the city simply sinks
       into the dark on all four sides and the model stands clear of any seam. */
    /* Only a gentle settling of shadow at the base remains: the night street is
       brought down into the dark under the model's feet, and every other edge is
       left to the lookbook's own four-sided fade — so no pool, ring, or panel of
       black can ever read as a shape inside the scene. */
    background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.14) 46%, rgba(5, 5, 5, 0.5) 74%, rgba(5, 5, 5, 0.82) 91%, rgba(5, 5, 5, 0.94) 100%);
}

/* The drift is deliberately slow: the street creeps one way and eases back the
   other over a full minute, with only a whisper of zoom, so the city reads as
   alive from a long way off rather than as a moving picture. */
@keyframes apparel-city-drift {
    0% {
        transform: translate3d(-1.6%, 0.7%, 0) scale(1.04);
    }
    100% {
        transform: translate3d(1.8%, -0.9%, 0) scale(1.1);
    }
}

/* The model herself: shown whole on the baseline of the frame, lifted off the
   street by a soft shadow, and drifting barely a pixel so she keeps her own
   quiet life in front of the moving city. */
.apparel-model {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    /* The model now arrives as a finished night-street photograph rather than a
       cut-out, so the frame is filled with the picture and cropped to the figure
       at the right of the shot — the shirt art and the signature printed on the
       garment are what the frame holds. */
    object-fit: cover;
    object-position: 86% center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    /* The photograph is drawn whole and untouched, and the melt into the dark at
       her feet is carried by a plain curtain laid over the picture (see
       .apparel-model-fade above) rather than by cutting the image away. */
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
    animation: none;
}

@keyframes apparel-model-drift {
    0% {
        transform: translate3d(-0.7%, 0, 0);
    }
    100% {
        transform: translate3d(0.8%, -0.4%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .apparel-city,
    .apparel-model {
        animation: none;
    }
}

/* The figure arrives a beat after the street: the city eases up out of the dark
   first, and the model follows right behind it, so the scene reads as the night
   coming up and then her stepping into it rather than both appearing at once. */
.apparel-model {
    opacity: 0;
    transition: opacity 1700ms cubic-bezier(0.33, 0, 0.2, 1) 700ms;
}

.apparel-lookbook.is-visible .apparel-model {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .apparel-model {
        opacity: 1;
        transition: none;
    }
}

/* On phones and tablets the same melt is carried a little further up the body,
   so the legs give way to the dark well above the bottom edge of the block. */
@media (max-width: 1023px) {
    .apparel-model-fade {
        height: 44%;
    }
}

/* The BST page's figures wear the same treatment: the base of every model is
   carried down into the dark instead of ending on a hard horizontal cut. */
.apparel-lookbook .apparel-model,
.bst-apparel-row .apparel-model,
.bst-scene .bst-photo {
    --nd-model-foot-fade: 1;
}

.bst-scene .bst-photo {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, rgba(0, 0, 0, 0.96) 78%, rgba(0, 0, 0, 0.86) 84%, rgba(0, 0, 0, 0.7) 89%, rgba(0, 0, 0, 0.48) 94%, rgba(0, 0, 0, 0.24) 97%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 70%, rgba(0, 0, 0, 0.96) 78%, rgba(0, 0, 0, 0.86) 84%, rgba(0, 0, 0, 0.7) 89%, rgba(0, 0, 0, 0.48) 94%, rgba(0, 0, 0, 0.24) 97%, rgba(0, 0, 0, 0) 100%);
}

.bst-scene .bst-model.is-cutout {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 74%, rgba(0, 0, 0, 0.94) 82%, rgba(0, 0, 0, 0.76) 88%, rgba(0, 0, 0, 0.48) 93%, rgba(0, 0, 0, 0.18) 97%, rgba(0, 0, 0, 0) 100%) !important;
    mask-image: linear-gradient(to bottom, #000 0%, #000 74%, rgba(0, 0, 0, 0.94) 82%, rgba(0, 0, 0, 0.76) 88%, rgba(0, 0, 0, 0.48) 93%, rgba(0, 0, 0, 0.18) 97%, rgba(0, 0, 0, 0) 100%) !important;
}

/* ==========================================================================
   The opening statements of the apparel block on the home page.

   The block used to open on one fixed two-line headline. It now carries the
   three statements of the collection, one for each figure in the lookbook, and
   only the line belonging to the model standing in the street on this visit is
   shown (see js/lookbook.js). The three are stacked in the same place, so the
   words change without the copy beneath them ever moving, and the stack is held
   as tall as its longest statement, so the block keeps a steady height whichever
   line is on screen.
   ========================================================================== */

.bst-home-headline {
    display: grid;
    width: 100%;
    /* The statements are set as fixed sets of lines (see the break list in
       sections/index.apparel.html), so no phrase is ever left with a lone word
       stranded on a row of its own — "the darkness wears you." reads whole on
       its line. The type is then sized from the room the block actually has, so
       every written line fits where it stands instead of folding its last word
       away onto a new row. */
    max-width: 52rem;
    font-size: clamp(1.08rem, 5.5vw, 2.4rem);
}

@media (min-width: 640px) {
    .bst-home-headline {
        font-size: 2.05rem;
    }
}

@media (min-width: 768px) {
    .bst-home-headline {
        font-size: 2.4rem;
    }
}

/* From the two-column layout up the statement shares its row with the lookbook,
   so its size follows the width of the column it is set in rather than the width
   of the whole screen. */
@media (min-width: 1024px) {
    .bst-home-headline {
        /* On a wide screen every statement of the apparel block is set a good
           deal larger again, so the written lines carry right across the street
           beside the model. The lines are still held whole by their own breaks,
           so nothing re-wraps — the wording simply reads bigger. The block is
           given the wider of the two columns (see sections/index.apparel.html),
           so the longest line still lands inside the frame at every desktop
           width. */
        font-size: clamp(1.9rem, 3.8vw, 3.1rem);
    }
}

.bst-home-statement {
    grid-area: 1 / 1;
    display: block;
    /* Every written line of a statement is held whole: a line breaks only where
       the wording is written to break, so "help you" ends the first line and
       "blend out." sits entire on the second — no phrase is ever split across
       two rows at any screen size. */
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    /* The statement leaving the block is taken all the way down before the next
       one rises, so no wording of a previous line is ever left standing behind
       the line on screen. */
    transition: opacity 480ms cubic-bezier(0.33, 0, 0.2, 1), visibility 0s linear 480ms;
    will-change: opacity;
}

.bst-home-statement.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 900ms cubic-bezier(0.33, 0, 0.2, 1) 560ms, visibility 0s linear 0s;
}

/* One word of a statement is set a step bolder than the rest of its line — the
   "out." that closes "help you blend out." The word keeps the same size, the
   same wide letter-spacing and the same place at the end of its line; only its
   weight lifts, so the phrase lands a touch harder without the line shifting. */
.bst-home-statement .bst-home-statement-emph {
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    .bst-home-statement {
        transition: none;
    }
}

/* ==========================================================================
   The lookbook steps from one model to the next.

   The four figures are laid in exactly the same frame, one over the other, and
   only the one holding the street is drawn: the next model eases in over the
   one already standing there, so a figure simply appears in front of the city
   while the city itself never stops. The first figure is drawn solid from the
   very first frame — she is never faded up out of nothing — so the copy beside
   her can never be read through the picture.
   ========================================================================== */

.bst-lookbook-rotate .apparel-figure {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1000ms cubic-bezier(0.33, 0, 0.2, 1), visibility 0s linear 1000ms;
}

.bst-lookbook-rotate .apparel-figure.is-shown {
    opacity: 1;
    visibility: visible;
    transition: opacity 1600ms cubic-bezier(0.33, 0, 0.2, 1) 200ms, visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
    .bst-lookbook-rotate .apparel-figure,
    .bst-lookbook-rotate .apparel-figure.is-shown {
        transition: none;
    }
}

/* ==========================================================================
   The lights of the avenue — the city glowing behind the BST scene.

   The night street behind the block is no longer a still plate: soft pools of
   warm streetlamp light and cooler window light gather over it and ease away
   again, each on its own slow clock, so the city reads as lit and alive while
   the street itself stays perfectly still. Every pool sits in the scene's own
   layer — over the street, over the scrim that darkens the copy, and under the
   two curtains that melt the ends of the scene into the page — so the glow never
   reaches the lettering or the edge of the frame.
   ========================================================================== */

.bst-apparel-lights {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    pointer-events: none;
    background-image:
        radial-gradient(16% 22% at 30% 68%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.045) 44%, rgba(255, 255, 255, 0) 74%),
        radial-gradient(13% 18% at 62% 30%, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.05) 46%, rgba(255, 255, 255, 0) 76%),
        radial-gradient(20% 26% at 86% 72%, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0) 78%),
        radial-gradient(11% 15% at 46% 84%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 76%);
    background-repeat: no-repeat;
    opacity: 0;
    animation: bst-apparel-lights-swell 18s ease-in-out infinite;
}

.bst-apparel-lights::before,
.bst-apparel-lights::after {
    content: '';
    position: absolute;
    inset: 0;
    display: block;
    background-repeat: no-repeat;
    opacity: 0;
}

.bst-apparel-lights::before {
    background-image:
        radial-gradient(9% 13% at 14% 40%, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 74%),
        radial-gradient(15% 20% at 70% 22%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 76%),
        radial-gradient(11% 15% at 94% 46%, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 76%);
    animation: bst-apparel-lights-swell 12s ease-in-out 1.8s infinite;
}

.bst-apparel-lights::after {
    background-image:
        radial-gradient(18% 24% at 34% 22%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 78%),
        radial-gradient(13% 17% at 78% 88%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 78%),
        radial-gradient(8% 11% at 52% 52%, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0) 76%);
    animation: bst-apparel-lights-swell 24s ease-in-out 3.6s infinite;
}

/* Each pool rises out of the dark, holds at its brightest, and sinks away again
   on an uneven breath — so the avenue keeps catching the light instead of ever
   sitting at one steady level. */
@keyframes bst-apparel-lights-swell {
    0%,
    100% {
        opacity: 0;
    }
    22% {
        opacity: 0.34;
    }
    48% {
        opacity: 0.55;
    }
    74% {
        opacity: 0.22;
    }
}

/* Phones hold the same glow, only a little gentler, so the narrower block stays
   quiet behind the lettering. */
@media (max-width: 1023px) {
    .bst-apparel-lights {
        animation-duration: 22s;
    }
}

/* A visitor who prefers reduced motion meets the city lit at one steady glow. */
@media (prefers-reduced-motion: reduce) {
    .bst-apparel-lights,
    .bst-apparel-lights::before,
    .bst-apparel-lights::after {
        animation: none;
        opacity: 0.34;
    }
}

/* ==========================================================================
   The block drawn up closer to the page above it.

   The apparel block now begins a step nearer the section it follows, so it
   reads as part of the page rather than a plate of its own, while the BST copy
   that opens it settles a touch lower inside the night street — which leaves
   clear air above the larger wordmark and sets the whole block into the middle
   of the moving city.
   ========================================================================== */

#apparel {
    padding-top: 0.25rem;
}

/* The BST wordmark opens the apparel block a step higher: the mark rises about
   twenty pixels nearer the top of the night street, while the headline, the gold
   rule and the paragraph beneath it all keep the exact places they hold now. */
#apparel .bst-mark-drip-hero {
    /* The mark is drawn larger now (see .bst-logo-hero). It grows upward from the
       spot it already holds — the extra height is taken back out of the air above
       it — and it is tapped a few points higher still, so the headline, the gold
       rule and the paragraph beneath it keep the places they hold. */
    margin-top: calc(-26px - 2.31rem);
}

@media (min-width: 640px) {
    #apparel .bst-mark-drip-hero {
        margin-top: calc(-26px - 2.7rem);
    }
}

.bst-apparel-copy {
    padding-top: 0.75rem;
}

@media (min-width: 768px) {
    #apparel {
        padding-top: 0.5rem;
    }

    .bst-apparel-copy {
        padding-top: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .bst-apparel-copy {
        padding-top: 6.5rem;
    }
}

/* The gold rule under the BST statement stays exactly where it always stood.
   The wordmark has been settled lower in the frame, so the air the headline
   used to take above the rule is gathered back up here: the three-line
   statement keeps its last line on the same spot, and the paragraph, the drop
   line and the two buttons beneath it keep their own place. */
#apparel .bst-rule {
    /* The wordmark and the headline keep the lower place they were given, and
       the gold line takes its open air back beneath them: the gap between the
       last line of the statement and the bar is restored, so the three read at
       the same spacing as before the block was lifted. */
    margin-top: 2.25rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   The deep night behind the lookbook.

   The night street running behind the models carries a few faint, blurred
   patches of lettering in its own far background. They sit well away from the
   figure, but they are no part of the scene, so the street is graded deeper:
   the dark pushed down and the contrast lifted until only true night is left,
   while the model in front of it keeps her own light — and the curtains around
   the frame are drawn a little further in, so the block still melts into the
   page with no edge anywhere.
   ========================================================================== */

.bst-apparel-city {
    /* The street is laid a step deeper by its own layers rather than by a
       filter, so the last faint patches of lettering far behind the figure sink
       into true night while nothing is ever drawn into a separate copy of
       itself. */
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.74) 100%),
        linear-gradient(180deg, #6b6b6b 0%, #6b6b6b 100%),
        url('https://files.cdn-files-a.com/uploads/12665262/normal_6b07761020081.jpg?ratio=16:9&format=avif');
}

.apparel-city {
    filter: grayscale(1) brightness(0.46) contrast(1.44);
}

.bst-apparel-row .apparel-lookbook .apparel-model {
    filter: brightness(1.02) contrast(1.32) saturate(1.03);
}

.apparel-lookbook::after {
    background-image:
        linear-gradient(to right, var(--background-color) 0%, rgba(5, 5, 5, 0.92) 3%, rgba(5, 5, 5, 0.66) 8%, rgba(5, 5, 5, 0.3) 14%, rgba(5, 5, 5, 0) 22%, rgba(5, 5, 5, 0) 78%, rgba(5, 5, 5, 0.24) 86%, rgba(5, 5, 5, 0.6) 93%, rgba(5, 5, 5, 0.9) 97%, var(--background-color) 100%),
        linear-gradient(to bottom, var(--background-color) 0%, rgba(5, 5, 5, 0.9) 3%, rgba(5, 5, 5, 0.6) 8%, rgba(5, 5, 5, 0.26) 13%, rgba(5, 5, 5, 0) 19%, rgba(5, 5, 5, 0) 60%, rgba(5, 5, 5, 0.18) 69%, rgba(5, 5, 5, 0.46) 79%, rgba(5, 5, 5, 0.76) 88%, rgba(5, 5, 5, 0.94) 95%, var(--background-color) 100%);
}