/* Explain: Styles for the hero section, including artwork transitions and responsive adjustments. */
.hero-intro {
    background: transparent;
}

/* Carry the artwork smoothly into the section below: the bottom of the opening
   view melts into the exact background color of the next section, so the frame
   no longer ends on a hard horizontal edge — the image simply dissolves away. */
.hero-intro::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    height: clamp(13rem, 40vh, 28rem);
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(5, 5, 5, 0) 0%,
        rgba(5, 5, 5, 0.02) 20%,
        rgba(5, 5, 5, 0.07) 36%,
        rgba(5, 5, 5, 0.15) 52%,
        rgba(5, 5, 5, 0.28) 66%,
        rgba(5, 5, 5, 0.46) 79%,
        rgba(5, 5, 5, 0.68) 89%,
        rgba(5, 5, 5, 0.88) 96%,
        var(--background-color) 100%);
}

/* The top of the opening artwork melts up into the matte-black brand bar, so the
   painting never meets the header on a hard horizontal line — the image simply
   dissolves into the background at the top edge. */
.hero-intro::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 22;
    height: 34vh;
    pointer-events: none;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--background-color) 34%, rgba(10, 10, 10, 0.93) 45%, rgba(10, 10, 10, 0.8) 56%, rgba(10, 10, 10, 0.63) 67%, rgba(10, 10, 10, 0.45) 78%, rgba(10, 10, 10, 0.27) 88%, rgba(10, 10, 10, 0.1) 95%, rgba(10, 10, 10, 0) 100%);
}

.hero-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    /* No backdrop of its own: the stage carries only the painting, so the
       opening view has nothing solid to end on. The artwork is faded away along
       the lower stretch, and whatever is left melts straight into the page's
       own colour field, so there is never an edge where the hero stops. */
    background: transparent;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 28%, rgba(0, 0, 0, 0.97) 40%, rgba(0, 0, 0, 0.92) 50%, rgba(0, 0, 0, 0.85) 59%, rgba(0, 0, 0, 0.76) 67%, rgba(0, 0, 0, 0.65) 74%, rgba(0, 0, 0, 0.53) 80%, rgba(0, 0, 0, 0.42) 85%, rgba(0, 0, 0, 0.31) 89%, rgba(0, 0, 0, 0.21) 92%, rgba(0, 0, 0, 0.13) 95%, rgba(0, 0, 0, 0.06) 97%, rgba(0, 0, 0, 0.02) 99%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 28%, rgba(0, 0, 0, 0.97) 40%, rgba(0, 0, 0, 0.92) 50%, rgba(0, 0, 0, 0.85) 59%, rgba(0, 0, 0, 0.76) 67%, rgba(0, 0, 0, 0.65) 74%, rgba(0, 0, 0, 0.53) 80%, rgba(0, 0, 0, 0.42) 85%, rgba(0, 0, 0, 0.31) 89%, rgba(0, 0, 0, 0.21) 92%, rgba(0, 0, 0, 0.13) 95%, rgba(0, 0, 0, 0.06) 97%, rgba(0, 0, 0, 0.02) 99%, rgba(0, 0, 0, 0) 100%);
    transform: translateY(var(--hero-art-drop, 8%)) scale(var(--hero-art-scale, 1.12));
    transform-origin: center center;
}

.hero-stage .hero-slide {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 34%;
    opacity: 0;
    transform: translate3d(var(--pan-from-x, -10%), var(--pan-from-y, 14%), 0) scale(var(--scale-from, 1.22));
    /* Every painting rests at one fixed grade — the same for every work — so the
       long dissolve between two of them never dims or lifts as they cross. The
       per-work dimming step (--hero-dim) is applied on top of it. */
    filter: brightness(0.9) saturate(1.42) contrast(1.14) brightness(var(--hero-dim, 1));
    /* The rotation is built and driven from js/hero.js, which knows how many
       paintings the hero carries and can time the dissolve precisely. Until it
       starts, the first painting simply holds the frame. */
    animation: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.28) 6%, rgba(0, 0, 0, 0.66) 14%, #000 24%, #000 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.28) 6%, rgba(0, 0, 0, 0.66) 14%, #000 24%, #000 100%);
    will-change: opacity, transform, filter;
}

/* Once the opening view has been scrolled away its rotation is held exactly
   where it stands. A wall of full-frame paintings was being reworked behind the
   rest of the page the whole time the visitor moved down the site, and that was
   the heaviest thing the handset was carrying. */
.hero-intro.is-offscreen .hero-slide {
    animation-play-state: paused;
}

/* On wide screens the top of every painting is drawn down into the matte black
   over a much longer, slower stretch: the fade climbs gently from fully clear
   to fully solid across the upper half of the frame, so the blend finishes well
   below the brand bar and the artwork emerges from the dark with no edge left
   where the fade ends. */
@media (min-width: 768px) {
    .hero-stage .hero-slide {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.012) 6%, rgba(0, 0, 0, 0.035) 12%, rgba(0, 0, 0, 0.07) 18%, rgba(0, 0, 0, 0.12) 24%, rgba(0, 0, 0, 0.19) 29%, rgba(0, 0, 0, 0.27) 34%, rgba(0, 0, 0, 0.37) 38%, rgba(0, 0, 0, 0.47) 42%, rgba(0, 0, 0, 0.57) 46%, rgba(0, 0, 0, 0.68) 50%, rgba(0, 0, 0, 0.78) 53%, rgba(0, 0, 0, 0.87) 56%, rgba(0, 0, 0, 0.94) 58%, #000 61%, #000 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.012) 6%, rgba(0, 0, 0, 0.035) 12%, rgba(0, 0, 0, 0.07) 18%, rgba(0, 0, 0, 0.12) 24%, rgba(0, 0, 0, 0.19) 29%, rgba(0, 0, 0, 0.27) 34%, rgba(0, 0, 0, 0.37) 38%, rgba(0, 0, 0, 0.47) 42%, rgba(0, 0, 0, 0.57) 46%, rgba(0, 0, 0, 0.68) 50%, rgba(0, 0, 0, 0.78) 53%, rgba(0, 0, 0, 0.87) 56%, rgba(0, 0, 0, 0.94) 58%, #000 61%, #000 100%);
    }

    /* The matte cap above the artwork is eased on the same long, even fall, so
       the black it carries melts into the painting without meeting it on a hard
       horizontal edge. */
    .hero-intro::before {
        height: 50vh;
        background: linear-gradient(180deg, var(--background-color) 0%, var(--background-color) 14%, rgba(10, 10, 10, 0.98) 22%, rgba(10, 10, 10, 0.95) 30%, rgba(10, 10, 10, 0.91) 37%, rgba(10, 10, 10, 0.86) 44%, rgba(10, 10, 10, 0.79) 51%, rgba(10, 10, 10, 0.7) 58%, rgba(10, 10, 10, 0.6) 65%, rgba(10, 10, 10, 0.49) 72%, rgba(10, 10, 10, 0.37) 79%, rgba(10, 10, 10, 0.25) 86%, rgba(10, 10, 10, 0.13) 93%, rgba(10, 10, 10, 0) 100%);
    }
}

/* The opening painting waits in the dark until the rotation takes over, so it
   never shows for a single frame at full strength and then dips away into its
   own fade: the script brings it up out of the black as the page settles. These
   values are kept identical to the opening frame of the keyframes the hero
   script builds, so the artwork never shifts as the rotation takes over. */
.hero-stage .hero-slide[data-hero-first] {
    opacity: 0;
    animation: none;
    --pan-from-x: 12%;
    --pan-from-y: 17%;
    --pan-mid-x: 0%;
    --pan-mid-y: 8%;
    --pan-to-x: -12%;
    --pan-to-y: -2%;
    --scale-from: 1.22;
    --scale-mid: 1.32;
    --scale-to: 1.18;
}

/* Each painting fades away into black, the screen holds a quiet beat of pure
   darkness, and only then does the next work fade up out of it. The visible
   stretch of each piece is kept shorter than the gap between the paintings, so
   no two works are ever on screen together — there is always black between. */
@keyframes nd-painting-bloom-mobile {
    0% {
        opacity: 0;
        transform: translate3d(var(--pan-from-x, -12%), var(--pan-from-y, 17%), 0) scale(var(--scale-from, 1.22));
        filter: brightness(0.2) saturate(1.05);
    }
    2% {
        opacity: 1;
        filter: brightness(1.06) saturate(1.55) contrast(1.2);
    }
    6% {
        transform: translate3d(var(--pan-mid-x, 0%), var(--pan-mid-y, 8%), 0) scale(var(--scale-mid, 1.32));
    }
    9.5% {
        opacity: 1;
        filter: brightness(1.06) saturate(1.55) contrast(1.2);
    }
    12.5% {
        opacity: 0;
        transform: translate3d(var(--pan-to-x, 12%), var(--pan-to-y, -2%), 0) scale(var(--scale-to, 1.18));
        filter: brightness(1.02) saturate(1.45) contrast(1.14);
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--pan-from-x, -12%), var(--pan-from-y, 17%), 0) scale(var(--scale-from, 1.22));
        filter: brightness(0.04) saturate(0.35);
    }
}

/* Phones open with the artwork lifted and enlarged: the opening piece is pulled
   up past the top of the frame and scaled larger, so no hard edge or dark band
   shows along the top of the screen while it holds the view. The lower fade is
   also held well down the screen on phones, so the bottom of each painting
   stays on view instead of dissolving away too early. */
@media (max-width: 767px) {
    .hero-stage {
        --hero-art-drop: -0.5%;
        --hero-art-scale: 1.06;
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0, 0, 0, 0.96) 46%, rgba(0, 0, 0, 0.87) 56%, rgba(0, 0, 0, 0.74) 64%, rgba(0, 0, 0, 0.6) 71%, rgba(0, 0, 0, 0.44) 78%, rgba(0, 0, 0, 0.28) 84%, rgba(0, 0, 0, 0.14) 89%, rgba(0, 0, 0, 0) 94%);
        mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0, 0, 0, 0.96) 46%, rgba(0, 0, 0, 0.87) 56%, rgba(0, 0, 0, 0.74) 64%, rgba(0, 0, 0, 0.6) 71%, rgba(0, 0, 0, 0.44) 78%, rgba(0, 0, 0, 0.28) 84%, rgba(0, 0, 0, 0.14) 89%, rgba(0, 0, 0, 0) 94%);
    }

    /* The paintings carry no fading edge of their own on a phone. The matte cap
       above the artwork already draws every piece down into the black at the
       crown, so a second gradient on each full-screen painting would only be one
       more blend for the handset to keep up with on every frame. */
    .hero-stage .hero-slide {
        -webkit-mask-image: none;
        mask-image: none;
    }

    /* The soft dissolve into the next section begins lower on the phone, so the
       bottom of the painting is still clearly on view instead of being dimmed
       away over the lower half of the screen. */
    .hero-intro::after {
        height: clamp(12rem, 38vh, 24rem);
        background: linear-gradient(180deg,
            rgba(5, 5, 5, 0) 0%,
            rgba(5, 5, 5, 0.04) 22%,
            rgba(5, 5, 5, 0.12) 40%,
            rgba(5, 5, 5, 0.24) 57%,
            rgba(5, 5, 5, 0.42) 72%,
            rgba(5, 5, 5, 0.64) 85%,
            rgba(5, 5, 5, 0.86) 94%,
            var(--background-color) 100%);
    }

    .hero-stage .hero-slide {
        animation-name: nd-painting-bloom-mobile;
    }
}

/* Each painting fades away into black, the screen holds a quiet beat of pure
   darkness, and only then does the next work fade up out of it. The visible
   stretch of each piece is kept shorter than the gap between the paintings, so
   no two works are ever on screen together — there is always black between. */
@keyframes nd-painting-bloom {
    0% {
        opacity: 0;
        transform: translate3d(var(--pan-from-x, -12%), var(--pan-from-y, 17%), 0) scale(var(--scale-from, 1.22));
        filter: brightness(0.2) saturate(1.05);
    }
    2% {
        opacity: 1;
        filter: brightness(1.06) saturate(1.55) contrast(1.2);
    }
    6% {
        transform: translate3d(var(--pan-mid-x, 0%), var(--pan-mid-y, 8%), 0) scale(var(--scale-mid, 1.32));
    }
    9.5% {
        opacity: 1;
        filter: brightness(1.06) saturate(1.55) contrast(1.2);
    }
    12.5% {
        opacity: 0;
        transform: translate3d(var(--pan-to-x, 12%), var(--pan-to-y, -2%), 0) scale(var(--scale-to, 1.18));
        filter: brightness(1.02) saturate(1.45) contrast(1.14);
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--pan-from-x, -12%), var(--pan-from-y, 17%), 0) scale(var(--scale-from, 1.22));
        filter: brightness(0.04) saturate(0.35);
    }
}

.hero-copy {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 14px rgba(0, 0, 0, 0.12);
}

/* A soft pool of darkness settles behind the opening statement at every screen
   size, so the words stay clearly legible against whatever passage of the
   painting sits behind them. It deepens the centre and fades away at the edges,
   so no hard box is ever drawn around the line. */
.hero-copy::before {
    content: '';
    position: absolute;
    inset: -12% -10%;
    z-index: -1;
    pointer-events: none;
    background: none;
}

/* Every work is given the frame to itself for a beat: just before a new
   painting arrives the opening words step back out of the way, stay away while
   the work blooms on its own, and then ease back over it. The hold repeats on
   the same cycle the paintings change on (js/hero.js hands it the length), so
   the overlay always steps away in step with each arriving work. */
.hero-lines {
    width: 100%;
    max-width: 72rem;
    /* The three lines are lifted well up the frame so the statement reads as
       the true centre of the opening view: the small brand line rides above the
       headline while the artist credit and the two buttons sit below, and only a
       small balance pad remains so the quote rises toward the middle of the
       screen instead of sitting low. */
    /* The statement is held evenly between the brand line above it and the two
       pills below: the pad that opens the block is matched to the space the
       buttons leave under the artist credit, so the quote and the name beneath
       it sit in the true middle of the stretch they occupy. */
    padding-top: 1.625rem;
}

@media (min-width: 640px) {
    .hero-lines {
        padding-top: 1.75rem;
    }
}

/* Wide screens: the statement rides higher up the frame and the credit is drawn
   close beneath it, so the quote and the name read as one compact block sitting
   in the middle of the stretch between the NOCTURNAL DIMENSIONS line above and
   the two pills below. The credit keeps the step larger type it was given along
   with the line it belongs to. */
@media (min-width: 1024px) {
    .hero-lines {
        padding-top: 1.6rem;
    }

    .hero-copy .hero-headline {
        margin-top: 1.1rem;
    }

    .hero-attribution {
        margin-top: 0.5rem;
        font-size: 0.92rem;
    }
}

/* The opening statement and the credit beneath it dissolve slowly into the next
   quote: the whole block — all three lines together with the name — is faded
   away as one, the next quote is set while nothing is showing, and then it eases
   back over the work. The dissolve is deliberately long, so two quotes read as
   melting into one another instead of the words switching. */
.hero-quote-fade {
    transition: opacity 2600ms cubic-bezier(0.45, 0, 0.55, 1);
    will-change: opacity;
}

.hero-quote-fade.is-away {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-quote-fade {
        transition: none;
    }
}

/* The small caption above the statement (the "NOCTURNAL DIMENSIONS" line) and
   the artist credit below it are eased on their own slower, gentler clock: they
   lead the statement away and trail it back around each quote change, so the two
   small lines dissolve softly instead of blinking with the words. On first load
   they also settle in more slowly than the rest of the copy, arriving well after
   the buttons so they read as the last quiet note of the opening. */
.hero-copy > .hero-attribution {
    opacity: 1;
    transition: opacity 3000ms cubic-bezier(0.4, 0, 0.2, 1);
    animation: nd-hero-smalltext-in 4200ms cubic-bezier(0.33, 0, 0.2, 1) 5.4s backwards;
    will-change: opacity;
}

/* The small studio line above the statement arrives on its own slower clock and
   then stays: it settles in gently, well after the rest of the opening copy, and
   holds there through every quote change instead of dissolving away with the
   words. Only the artist credit beneath the statement travels with the quote. */
.hero-copy > .hero-eyebrow {
    opacity: 1;
    transition: opacity 3000ms cubic-bezier(0.4, 0, 0.2, 1);
    animation: nd-hero-smalltext-in 4600ms cubic-bezier(0.33, 0, 0.2, 1) 2.4s backwards;
    will-change: opacity;
}

@keyframes nd-hero-smalltext-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-copy > .hero-attribution.is-away {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-copy > .hero-eyebrow,
    .hero-copy > .hero-attribution {
        opacity: 1;
        animation: none;
        transition: none;
    }
}



/* The intro reads in three beats: the page opens straight on the artwork, which
   holds the screen on its own for a couple of seconds, then the supporting copy
   fades in, and last the centered headline fades in and grows into place. */
.hero-copy > :not(.hero-lines):not(.hero-eyebrow):not(.hero-attribution) {
    opacity: 0;
    animation: nd-hero-copy-in 2200ms cubic-bezier(0.4, 0, 0.2, 1) 2.4s both;
}

/* Inside the hero the headline reads as one living block: the whole line swells
   and dims on its slow breath, while every single word carries its own quieter
   pulse of life — lifting a hair, brightening to a faint gold halo, then
   settling again. Each word steps through the cycle a beat behind the last (the
   inline delays seed that stagger), so the words drift in and out of phase and
   the line keeps breathing like something alive under the dark. */
.hero-headline .gallery-word {
    display: inline-block;
    vertical-align: baseline;
    opacity: 1;
    transform: none;
    filter: none !important;
    /* The headline rests at about seven-tenths white, so the paintings keep
       showing faintly through the letters and the words sit gently under the
       dark. Where the pointer settles, the words near the light ease the rest
       of the way to full white — as if a lamp were being brought up to them —
       and soften back as it drifts away. A soft white halo gathers with the
       light: the letters themselves take on light and a gentle bloom rises
       around the words nearest the pointer, then both ease away together. The
       strength comes from a per-word reading of its distance to the light, so
       the brightening and the halo spread out slowly instead of stopping on a
       hard ring, and the dark shadow stays underneath so the line never loses
       its contrast against the painting. */
    text-shadow: 0 0 calc(5px + 9px * var(--hero-word-glow, 0)) rgba(255, 255, 255, calc(0.55 * var(--hero-word-glow, 0))), 0 0 calc(14px + 24px * var(--hero-word-glow, 0)) rgba(255, 255, 255, calc(0.3 * var(--hero-word-glow, 0))), 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 0, 0, 0.13);
    /* The torch is eased frame by frame from the script, so the words carry no
       transition on their colour — a fixed transition restarting on every frame
       is what made the light stutter as it travelled across the line. The slow
       drift between dark and light is carried on the words' opacity instead,
       which the script now changes at random — a different brightness over a
       different length on every pass — so the statement never repeats one fixed
       loop. The generic heading shimmer is switched off here, so nothing else
       moves the words' opacity underneath the script. */
    /* The words rest at a soft sixty percent white; the light handed to each word
       from the script (see js/hero.js) lifts the words nearest the pointer the
       rest of the way to full white, so the brightening gathers in the area
       around the pointer while the rest of the line keeps its shadow. */
    color: rgba(255, 255, 255, calc(0.42 + 0.58 * var(--hero-word-glow, 0)));
    /* The light is carried entirely by the script, frame by frame. No transition
       sits on the words: a fixed transition restarting on every frame is exactly
       what made the change stutter and pop as the cursor crossed the line. */
    transition: none;
    animation: none;
    pointer-events: auto;
}

/* The white headline glistens like a water surface catching light: each word
   slowly gathers a brighter, more solid white and then just as slowly eases
   back toward the shadow, so a soft wave of light keeps rolling across the
   line. Every word runs the same slow breath but sits at its own point in the
   cycle (see js/hero.js, which hands each word a fresh offset and length on
   every load), so the brightness drifts across the words like light moving
   over still water instead of the whole statement switching on and off in
   step. */
@keyframes nd-hero-glisten {
    0%,
    100% {
        opacity: 0.94;
    }
    38% {
        opacity: 1;
    }
    62% {
        opacity: 1;
    }
    86% {
        opacity: 0.97;
    }
}

/* The light over the opening statement is cast word by word from the script
   (see js/hero.js): each word stays one unbroken run of text, so its letters
   keep their natural spacing and kerning while the glow passes across them. */

/* The words' change of light and dark is no longer a fixed keyframe cycle: each
   word is now moved to a fresh brightness after a random wait, over a random
   length, from the script (see js/hero.js), so the statement never repeats. */

/* Each word changes its own dark and light on its own clock. The wait before a
   word drifts again, the brightness it drifts to, and the length of that drift
   are all drawn at random (see js/hero.js), so no two words ever rise and sink
   together and the line never settles into a repeating pattern — it reads as a
   slow, wandering shimmer of light and shadow. */

@media (prefers-reduced-motion: reduce) {
    .hero-headline .gallery-word {
        animation: none;
        opacity: 1;
        color: #ffffff;
        transform: none;
        text-shadow: none;
        transition: none;
    }
}

.hero-intro .scroll-cue {
    opacity: 0;
    animation: nd-hero-cue-in 2200ms ease-out 7.4s both;
}

@keyframes nd-hero-copy-in {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes nd-hero-cue-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-copy > *,
    .hero-intro .scroll-cue {
        opacity: 1;
        animation: none;
        transform: none;
        filter: none;
    }
}

/* A flat, even 20% black veil is laid over the whole painting first, at every
   screen size, on its own layer above the artwork and below the copy. It sits
   as one plain screen of shadow — no gradient — so the lettering and the
   supporting lines read cleanly against any part of the work, whether the
   painting beneath is bright or dark. The warmer radial and top-down gradients
   then settle on top of the veil to deepen the centre and the crown. */
.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    /* A deep, even screen of black now settles over every painting, so the
       statement stays clearly legible no matter how bright or busy the work
       behind it is: a flat veil dims the whole frame back, a soft pool of
       darkness gathers in the centre where the words sit, and the crown and
       base are laid down a little heavier still. The paintings keep their own
       colour and movement welling up through the dark around the words. */
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(180deg, rgba(4, 4, 4, 0.24) 0%, rgba(4, 4, 4, 0.24) 100%),
        radial-gradient(64% 66% at 50% 48%, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.4) 46%, rgba(0, 0, 0, 0.15) 74%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.28) 44%, rgba(0, 0, 0, 0.44) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .hero-stage {
        opacity: 1;
        animation: none;
    }

    .hero-stage .hero-slide {
        animation: none;
    }

    .hero-stage .hero-slide:first-child {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* Hero headline emerges from the darkness: each line fades in slowly, one line
   after the next from the top down, holds, then every line fades out together
   as a single group before the sequence repeats. The pacing is driven from JS. */
.hero-title {
    display: inline-block;
    perspective: 1100px;
    transform-style: preserve-3d;
    transform: scale(1);
    will-change: transform;
}

.hero-word {
    display: inline-block;
    white-space: nowrap;
    transform-style: preserve-3d;
}

.hero-letter {
    display: inline-block;
    opacity: 0;
    color: var(--text-color);
    -webkit-text-fill-color: var(--text-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 9px 22px rgba(0, 0, 0, 0.62), 0 20px 52px rgba(0, 0, 0, 0.42);
    will-change: opacity;
}

@media (prefers-reduced-motion: reduce) {
    .hero-letter {
        opacity: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 9px 22px rgba(0, 0, 0, 0.62), 0 20px 52px rgba(0, 0, 0, 0.42);
    }
}

/* The small line above the hero headline is held a touch under the standard
   eyebrow scale and given room to breathe, so it reads as a quiet label above
   the statement rather than a title of its own. */
.hero-eyebrow {
    font-size: 0.74rem;
    font-weight: 700;
    /* The studio line is settled a step lower over the artwork — on a phone and
       on a wide screen alike — so it sits clear of the crown of the frame and
       leaves the statement beneath it its own open air. */
    margin-top: 2.25rem;
    margin-bottom: 0.6rem;
}

@media (min-width: 640px) {
    .hero-eyebrow {
        font-size: 0.84rem;
    }
}

@media (min-width: 1024px) {
    .hero-eyebrow {
        font-size: 0.92rem;
    }
}

/* The opening statement is set as a quotation: the headline is drawn in an
   elegant italic serif and framed by a pair of gold quote marks, with the
   artist credited beneath in the same gold, so the line reads as the studio's
   own words rather than a flat title. The artwork's shadow and light effects,
   and the light that follows the pointer on wide screens, are left untouched. */
/* The pair of quotation marks framing the opening statement are dressed as
   polished metal rather than flat gold: a warm-to-deep gold gradient is clipped
   to the glyphs, so each mark catches light along its upper edge and falls into
   shadow lower down, with a soft warm drop-shadow lifting it off the painting
   behind it — the same lit-metal treatment the site's buttons carry. */
.hero-quote {
    display: inline-block;
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 800;
    font-size: 1.131em;
    line-height: 1;
    vertical-align: -0.06em;
    pointer-events: none;
    background-image:
        linear-gradient(96deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 39%, rgba(255, 255, 255, 0.6) 47%, rgba(255, 253, 235, 0.18) 53%, rgba(255, 255, 255, 0) 61%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(158deg, #5c4414 0%, #a87f2c 7%, #f0d795 15%, #fffbe0 24%, #fdeb9f 31%, #b98c33 40%, #6f5020 48%, #d4a954 57%, #fff6d0 68%, #fffbeb 76%, #e0ba62 85%, #97712a 93%, #5c4414 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: 260% 100%, 100% 100%;
    background-position: -80% 0, 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
    animation: nd-quote-sheen 30s ease-in-out infinite;
    will-change: background-position;
}

/* A soft, brushed sheen drifts slowly across the quotation marks: a narrow band
   of light slides over the gold, then eases back, so the marks read as subtly
   polished metal catching the light rather than flat foil. The movement is
   deliberately slow and low-key, so the metal only ever glints. */
@keyframes nd-quote-sheen {
    0% {
        background-position: -80% 0, 0 0;
    }
    10% {
        background-position: 180% 0, 0 0;
    }
    100% {
        background-position: 180% 0, 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-quote {
        animation: none;
        background-position: -80% 0, 0 0;
    }
}

.hero-quote-open {
    margin-right: 0.02em;
}

.hero-quote-close {
    margin-left: 0.08em;
}

.hero-attribution {
    margin-top: 1.1rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-color);
}

/* The credit beneath the statement belongs to the quote above it, so it changes
   with the quote. It eases out and back in while the lines are already stepped
   away for a new painting, so the name is never seen to switch in plain sight. */
.hero-attribution-text {
    display: inline-block;
    white-space: nowrap;
    /* The names of the quoted voices sit softened back to sixty percent white, so
       they read as a quiet credit beneath the statement instead of competing with
       the words themselves. */
    color: rgba(255, 255, 255, 0.6);
    transition: opacity 300ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .hero-attribution-text {
        transition: none;
    }
}

@media (min-width: 640px) {
    .hero-attribution {
        margin-top: 1.4rem;
        font-size: 0.81rem;
        letter-spacing: 0.4em;
    }
}

/* The supporting line under the headline is held to a single line at every
   width: it steps down in size and tightens its letter-spacing on small
   screens so "SHADOW, CONTRAST, AND EXPRESSION." never wraps onto a second
   line. */
.hero-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    white-space: nowrap;
    margin-top: 0.95rem;
}

@media (min-width: 640px) {
    .hero-tagline {
        font-size: 0.81rem;
        letter-spacing: 0.36em;
    }
}

/* The hero headline hangs a breath lighter than solid white, so the paintings
   keep showing faintly through the letters — the words stay emerging from the
   shadows instead of sitting flat on top of them. */
.hero-copy h1 {
    margin-top: 1.25rem;
    margin-bottom: 0.85rem;
    filter: opacity(100%);
    transition: filter 240ms ease;
}

@media (min-width: 640px) {
    .hero-copy h1 {
        margin-top: 1.75rem;
        margin-bottom: 1.1rem;
    }
}

/* The opening statement is locked to exactly three lines. Each line is its own
   block that is never allowed to wrap, so the headline always reads
   "Where emotion / emerges from / the shadows." at every screen size, and the
   stepped sizes keep the longest line comfortably inside the frame. */
.hero-headline .hero-line {
    display: block;
    /* Every quote is held to exactly three lines: a line is never allowed to fold
       onto a second row, and the block is narrowed to the width of its own
       wording, so the statement reads as three clean, centred lines at every
       screen size. js/hero.js measures the longest line after each quote change
       and eases the whole statement down a size only where the frame is too
       narrow to hold it, so a quote can never break onto a fourth line. */
    white-space: nowrap;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* Even leading across the whole statement: every line box is held to one
       identical height, so the gaps between the three lines read the same
       regardless of which letters, ascenders, or descenders a line carries. */
    line-height: 1.26;
    opacity: 0;
    animation: nd-hero-smoke-form 5400ms cubic-bezier(0.22, 1, 0.36, 1) 4.4s both, nd-hero-line-brighten 8.5s ease-in-out 9.9s infinite;
    will-change: filter, opacity, transform;
}

/* On the narrowest phones the statement steps down one size, so every quote
   still settles onto exactly three lines — each line of the wording fits the
   frame without ever wrapping onto a fourth. */
@media (max-width: 380px) {
    .hero-headline {
        font-size: 2.05rem;
    }
}

/* Each of the three lines gathers its own soft area of warm white light and
   lets it back down again on a long, uneven breath — the lines rise on
   separate delayed cycles, so the brightening keeps drifting slowly across the
   statement instead of ever sitting still. */
.hero-headline .hero-line:nth-child(2) {
    animation-delay: 4.4s, 9.9s;
}

.hero-headline .hero-line:nth-child(3) {
    animation-delay: 4.4s, 9.9s;
}

/* The three lines simply fade up out of the dark: no blur, no drift, no change
   of size — the statement is sharp and final from the very first moment it
   becomes visible, and only its clarity of presence rises. Each line still
   arrives a beat after the one above it. */
@keyframes nd-hero-smoke-form {
    0% {
        opacity: 0;
    }
    34% {
        opacity: 0.5;
    }
    66% {
        opacity: 0.88;
    }
    100% {
        opacity: 1;
    }
}

@keyframes nd-hero-line-brighten {
    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
    30% {
        filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 40px rgba(0, 0, 0, 0.16));
    }
    52% {
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
    }
    74% {
        filter: drop-shadow(0 0 22px rgba(0, 0, 0, 0.36)) drop-shadow(0 0 54px rgba(0, 0, 0, 0.2));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-headline .hero-line {
        opacity: 1;
        animation: none;
        filter: none;
        transform: none;
    }
}

/* The headline arrives by fading up out of nothing and then holds its steady
   size — it never grows. Once it has faded in, soft pockets of shadow begin
   their slow drift across the letters (see nd-hero-shadow-drift below). */
@property --hero-ink-alpha {
    syntax: '<number>';
    inherits: true;
    initial-value: 0.96;
}

/* The three-line headline lets the painting show straight through its letters:
   the white is held slightly see-through, so the artwork's own shadows and
   shading read inside the words. That transparency breathes slowly on its own
   unhurried cycle, so the light and shade behind the letters keeps drifting
   across the line instead of sitting at one fixed see-through level. */
@keyframes nd-hero-shade-breathe {
    0%,
    100% {
        --hero-ink-alpha: 0.68;
    }
    50% {
        --hero-ink-alpha: 0.92;
    }
}

.hero-headline {
    opacity: 0;
    /* The statement rests at a soft sixty percent white, so the paintings keep
       showing clearly through the letters. The words nearest the pointer are
       brought the rest of the way up from the script (see js/hero.js), so the
       light gathers in the area around the pointer while every other word in the
       line keeps its shadow. */
    color: rgba(255, 255, 255, 0.42);
    transform-origin: center center;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.01em;
    pointer-events: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.32), 0 0 16px rgba(0, 0, 0, 0.12);
    -webkit-mask-image: none;
    mask-image: none;
    animation: nd-hero-fade-in 3800ms ease-out 4.4s both, nd-hero-slow-grow 26s ease-in-out 4.4s infinite backwards;
    transition: color 900ms cubic-bezier(0.45, 0, 0.55, 1);
    will-change: opacity, scale;
}

/* The pair of quotation marks framing the opening statement are dressed in
   polished metal: a warm-to-deep gold gradient is clipped to the glyphs, so
   each mark catches light along its upper edge and falls into shadow lower
   down, with a soft warm drop-shadow lifting it off the painting behind it.
   This sits on the statement with its own specificity, so it holds the marks
   gold no matter what colour the words around them are resting at. */
.hero-headline .hero-quote {
    background-image:
        linear-gradient(96deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 39%, rgba(255, 255, 255, 0.5) 47%, rgba(255, 254, 240, 0.18) 53%, rgba(255, 255, 255, 0) 61%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(158deg, #66491a 0%, #ad842f 7%, #f2d489 15%, #fffce8 24%, #fdeeaa 31%, #b78d36 40%, #7d5820 48%, #d4ab55 57%, #fbeec8 68%, #fffbee 76%, #e5be63 85%, #9d7429 93%, #66491a 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: 260% 100%, 100% 100%;
    background-position: -80% 0, 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
    animation: nd-quote-sheen 34s ease-in-out infinite;
    will-change: background-position;
}

/* The light is brought up word by word: the words nearest the pointer ease the
   rest of the way to full white while every other word in the statement rests at
   its soft sixty percent. */



/* The headline keeps one single, fixed set of animations at all times. It used
   to change its own timing the moment the pointer rested on a word, and every
   one of those swaps restarted the line's breathing from a new position — which
   is exactly what made the light jerk as the cursor crossed the words. With no
   swap, the line breathes evenly and the torch glides over it without a hitch. */

/* Linger on the line and the whole headline lifts to full brightness while the
   gold gathers around it, so the pulse reads clearly instead of sitting under a
   dimmed veil. */
/* The whiter reading now follows the pointer as one small, soft pool instead of
   lifting the whole line: each word brightens on its own by how near it sits to
   the light (see js/hero.js), so only the words close to the cursor turn white
   while the rest of the statement keeps its shadow. The rest of the statement
   is never touched. */





/* Two soft pockets of shadow drift slowly across the headline on their own
   wandering path — not a straight wipe from one side. Each pocket settles over
   a different stretch of the letters, sinking that part of the line into the
   dark before lifting and moving on to another area, so different words keep
   emerging from shadow instead of sitting flat and lit the whole time. The
   drift runs on its own slow rhythm, never in lockstep with the headline's
   grow-and-fade breath. */
@keyframes nd-hero-shadow-drift {
    0% {
        -webkit-mask-position: 26% 24%;
        mask-position: 26% 24%;
    }
    32% {
        -webkit-mask-position: 74% 34%;
        mask-position: 74% 34%;
    }
    66% {
        -webkit-mask-position: 42% 78%;
        mask-position: 42% 78%;
    }
    100% {
        -webkit-mask-position: 26% 24%;
        mask-position: 26% 24%;
    }
}

/* The headline simply fades up out of nothing and settles fully lit, holding
   the exact same size the whole time — no growth, no drift of the line itself.
   The only movement after it arrives is the shadow drifting across the letters. */
@keyframes nd-hero-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Wide areas of the headline open straight through to the painting: the letters
   are cut by a set of broad, soft-edged windows, and wherever a window passes
   the words stop being painted at all — the artwork behind shows straight
   through, so those stretches of the line read as the painting itself emerging
   from the dark instead of turning grey. Several windows ride on their own
   slow, uneven path, so different wide areas of the text open up over time
   instead of one fixed part of the line. */
@keyframes nd-hero-veil-drift {
    0% {
        -webkit-mask-position: 16% 28%, 82% 44%, 30% 84%;
        mask-position: 16% 28%, 82% 44%, 30% 84%;
        -webkit-mask-size: 168% 180%, 174% 176%, 164% 184%;
        mask-size: 168% 180%, 174% 176%, 164% 184%;
    }
    50% {
        -webkit-mask-position: 84% 70%, 18% 86%, 76% 20%;
        mask-position: 84% 70%, 18% 86%, 76% 20%;
        -webkit-mask-size: 242% 228%, 232% 236%, 248% 224%;
        mask-size: 242% 228%, 232% 236%, 248% 224%;
    }
    100% {
        -webkit-mask-position: 88% 72%, 14% 88%, 78% 18%;
        mask-position: 88% 72%, 14% 88%, 78% 18%;
        -webkit-mask-size: 178% 188%, 186% 182%, 172% 190%;
        mask-size: 178% 188%, 186% 182%, 172% 190%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-headline {
        animation: none;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* A warm white light gathers around the headline and eases back on its own slow,
   uneven breath — the words lift out of the dark into a soft halo of warm white,
   then settle to almost nothing before the light swells again. It never sits on
   a steady brightness. */
@keyframes nd-hero-glow {
    0%,
    100% {
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72), 0 0 13px rgba(0, 0, 0, 0.34);
    }
    36% {
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8), 0 0 17px rgba(0, 0, 0, 0.42), 0 0 34px rgba(0, 0, 0, 0.22);
    }
    58% {
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.74), 0 0 13px rgba(0, 0, 0, 0.36);
    }
    80% {
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.3);
    }
}

/* Once the headline has faded up out of nothing, it keeps a slow, steady swell:
   a long, unhurried breath that lifts the line gradually over roughly half a
   minute and eases it back down, so the white headline reads as gently growing
   over time as the shadow drifts across it. */
/* The opening statement quietly changes how much of the paintings behind it
   shows through: the white letters settle a touch more transparent, then lift
   back, on a long, even breath. Each pass lets the shadows of the artwork read
   more clearly across the words before the light returns. */
@keyframes nd-hero-shade-breathe {
    0%,
    100% {
        filter: opacity(1);
    }
    50% {
        filter: opacity(0.97);
    }
}

/* The white headline never sits completely still. On a long, unhurried cycle it
   swells a little larger and eases a touch back, then swells again — a quiet,
   continuous breath of life under the drifting shadows. The growth is carried on
   the independent `scale` property, so it composes cleanly with the fade-in, the
   glow, and the shadow drift instead of fighting them over `transform`. */
@keyframes nd-hero-slow-grow {
    0% {
        scale: 1;
    }
    50% {
        scale: 1.05;
    }
    100% {
        scale: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-headline {
        animation: none;
        opacity: 1;
        transform: none;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* A rare sliver of warm light that laps the rim of the outlined pill button —
   once every long while a soft gold glint fades up out of nothing, slides once
   around the outline, and slips away again, so the button only ever seems to
   catch a passing light. */
.nd-btn-ring {
    position: relative;
    isolation: isolate;
    border-color: transparent;
    background: rgba(0, 0, 0, 0.2);
    transition: box-shadow 640ms ease, transform 260ms ease, border-color 260ms ease, background 260ms ease;
    animation: nd-cta-breathe 19s ease-in-out infinite;
    transform-origin: center center;
    will-change: scale, opacity;
}

/* Hovering the pill warms it a touch more: the dark fill deepens and the gold
   frame brightens a step, so the button answers the pointer without throwing
   any light off the outline. */
.nd-btn-ring:hover,
.nd-btn-ring:focus-visible {
    background: rgba(0, 0, 0, 0.44);
}

/* The two pills breathe the way the headline does: each swells a hair and dims
   a touch, then holds that pose and only reluctantly eases back — so the
   buttons keep a slow, living pulse instead of ever sitting completely still.
   The independent `scale` property carries the growth, so the button's own
   hover lift still composes on top of it. */
@keyframes nd-cta-breathe {
    0% {
        opacity: 1;
        scale: 1;
    }
    38% {
        opacity: 1;
        scale: 1.05;
    }
    64% {
        opacity: 1;
        scale: 1.05;
    }
    100% {
        opacity: 1;
        scale: 1;
    }
}

/* The two pills drift in and out of phase — the second lags the first by
   most of a cycle, so they never swell and dim together. */
.hero-copy .nd-btn-ring:nth-of-type(2) {
    animation-delay: -8.6s;
}

/* The two pills are held a touch smaller than the site's standard buttons, so
   the opening statement keeps open room around them instead of being crowded.
   Both pills are also given one shared minimum width, so STORY and COLLECTION
   sit as a matched pair of the same size instead of one being wider than the
   other just because its label is longer. The label always stays on a single
   line inside that width. */
.hero-copy .nd-btn-ring {
    min-height: 46px;
    min-width: 10.5rem;
    padding: 0.78rem 1.72rem;
    font-size: 0.7rem;
    white-space: nowrap;
}

/* The primary pill in the opening view is held shorter than the studio's
   standard button. Instead of stretching across a fixed width, it hugs its own
   label inside a narrower band of padding, so "View the Collection" reads as a
   compact pill next to "The Story" rather than a long bar. The label always
   stays on one line, and the pill keeps its height, its rounded shape and its
   gold rim exactly as they were. */
.hero-copy .nd-btn-ring.nd-btn-collection {
    padding-inline: 1.3rem;
    letter-spacing: 0.17em;
    white-space: nowrap;
}

/* The second pill in the opening view — "The Story" — is held shorter on the
   same terms as the collection pill beside it: instead of stretching across a
   fixed width, it hugs its own label inside the same narrow band of padding, so
   the two read as a matched pair of compact pills. The label stays on one line,
   and the pill keeps its height, its rounded shape and its gold rim exactly as
   they were. */
.hero-copy .nd-btn-ring.nd-btn-story {
    padding-inline: 1.3rem;
    letter-spacing: 0.17em;
    white-space: nowrap;
}



/* The ring layer sits exactly on the button's edge and is cut down to a
   hairline ring, so the light can only ever travel along the outline — never
   across the button face. */
.nd-btn-ring-glow {
    position: absolute;
    inset: -1.5px;
    z-index: 2;
    display: block;
    border-radius: 999px;
    padding: 1px;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(168deg,
        #fff4c9 0%,
        #e6c05c 15%,
        #a8791d 38%,
        #7d5a12 50%,
        #cf9f2f 66%,
        #f6e5a2 85%,
        #b8891f 100%);
    -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: xor;
    mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    mask-clip: content-box, border-box;
    mask-composite: exclude;
    opacity: 0;
    animation: nd-ring-load-fade 6s ease-out 2.6s both;
    transition: opacity 640ms ease;
    will-change: opacity;
}

/* On hover the frame lifts a step brighter — a lit gold band — while the
   travelling glint below rides along the outer rim. */
.nd-btn-ring:hover .nd-btn-ring-glow,
.nd-btn-ring:focus-visible .nd-btn-ring-glow {
    opacity: 1;
    background: linear-gradient(168deg,
        #fffbe6 0%,
        #f7dd8f 15%,
        #cf9f2f 38%,
        #9a7118 50%,
        #e8c266 66%,
        #fff0b8 85%,
        #d9ac3c 100%);
}

/* The gold frame arrives slowly when the page first opens: the rim fades up
   out of the dark over several seconds, so the two buttons ease into their
   light well after the copy has landed instead of snapping on the moment the
   view loads. */
@keyframes nd-ring-load-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* The pill carries no outer bloom: the only light on it is the gold highlight
   that runs around its own outline. */

/* A long ray of light spun slowly behind the ring: the bright head of the
   gradient is the glint, and everything trailing it fades off to nothing. */
.nd-btn-ring-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    background: conic-gradient(
        from 0deg,
        rgba(255, 254, 244, 0.4) 0deg,
        rgba(255, 254, 244, 1) 5deg,
        rgba(255, 248, 210, 0.95) 13deg,
        rgba(255, 232, 140, 0.8) 26deg,
        rgba(250, 214, 96, 0.45) 46deg,
        rgba(244, 198, 74, 0.18) 70deg,
        rgba(240, 190, 70, 0) 102deg,
        rgba(240, 190, 70, 0) 360deg
    );
    display: block;
    opacity: 0;
    transition: opacity 520ms ease;
    /* The pill does not shine all the time: the gold highlight sits dark and
       only glides around the rim now and then — a passing glisten that draws
       the eye without ever turning into a constant light. Two unrelated clocks
       drive it, so the glint is somewhere different on the rim each time it
       surfaces. */
    animation: nd-ring-wander 9s cubic-bezier(0.45, 0, 0.55, 1) infinite, nd-ring-beacon 13s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Rolling over the pill calls up a soft gold glisten that travels around the
   outline. As long as the pointer stays on the button the light keeps circling
   the rim, so it reads as a moving metallic sheen rather than a still ring. */
.nd-btn-ring:hover .nd-btn-ring-glow::before,
.nd-btn-ring:focus-visible .nd-btn-ring-glow::before {
    display: block;
    opacity: 1;
    animation: nd-ring-wander 4.5s linear infinite;
}

/* The glint never repeats on a fixed beat: it creeps, then slips quickly past a
   stretch of the rim, then dawdles again — so the light wanders the outline at
   its own uneven pace instead of sweeping round on a metronome. */
@keyframes nd-ring-wander {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    12% {
        transform: translate(-50%, -50%) rotate(46deg);
    }
    30% {
        transform: translate(-50%, -50%) rotate(122deg);
    }
    48% {
        transform: translate(-50%, -50%) rotate(184deg);
    }
    66% {
        transform: translate(-50%, -50%) rotate(258deg);
    }
    86% {
        transform: translate(-50%, -50%) rotate(330deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* The glint is mostly dark and only rises now and then: it waits out of sight,
   fades up into a soft gleam that laps the rim, slips away again, and then
   stays dark for a long stretch — so the two pills catch the light only
   occasionally and pull the eye, instead of shining all the time. */
@keyframes nd-ring-beacon {
    0%,
    72%,
    100% {
        opacity: 0;
    }
    78% {
        opacity: 0.3;
    }
    85% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.2;
    }
}

/* The glint also brightens and dims on its own uneven rhythm — a run of quick
   lifts and near-blackouts that never lands twice in the same order, so the
   outline keeps catching the light at unpredictable moments. */
@keyframes nd-ring-flicker {
    0%,
    44% {
        opacity: 0;
    }
    52% {
        opacity: 0.95;
    }
    60% {
        opacity: 0.68;
    }
    68% {
        opacity: 1;
    }
    76% {
        opacity: 0.84;
    }
    84% {
        opacity: 1;
    }
    90%,
    100% {
        opacity: 0;
    }
}

/* Each pill gets its own offset and pace, so the two glints never travel or
   brighten in step — one is always somewhere different on its rim from the
   other. */
.hero-copy .nd-btn-ring:nth-of-type(2) .nd-btn-ring-glow::before {
    animation-delay: -4.5s;
}

/* The whole gold border comes and goes on its own slow cycle: the ring fades up
   out of the dark, holds a moment as a full bright outline, then slips back
   into the dark, so both buttons only ever catch a passing glisten. */
@keyframes nd-ring-glisten {
    0%,
    100% {
        opacity: 0.14;
    }
    38% {
        opacity: 1;
    }
    62% {
        opacity: 1;
    }
    88% {
        opacity: 0.34;
    }
}

@keyframes nd-ring-pulse {
    0%,
    100% {
        opacity: 0.55;
    }
    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nd-btn-ring,
    .nd-btn-ring:hover .nd-btn-ring-glow,
    .nd-btn-ring:focus-visible .nd-btn-ring-glow {
        animation: none;
    }

    .nd-btn-ring-glow::before {
        display: none;
    }
}

/* Rare white glisten around the solid white "View the Collection" button. The
   glow layer sits just outside the pill and is cut down to a thin ring, so the
   sheen laps the outer rim and reads clearly against the dark background
   instead of over the white face. It lifts for a moment every long while, then
   slips back into the dark. */
.nd-btn-glisten {
    position: relative;
    isolation: isolate;
    background: rgba(255, 255, 255, 0.7);
}

.nd-btn-glisten-glow {
    position: absolute;
    inset: -2px;
    z-index: -1;
    display: block;
    border-radius: 999px;
    padding: 2px;
    pointer-events: none;
    background: rgba(242, 190, 78, 0.78);
    -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: xor;
    mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    mask-clip: content-box, border-box;
    mask-composite: exclude;
}

.nd-btn-glisten-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    aspect-ratio: 1 / 1;
    translate: -50% -50% 0;
    background: conic-gradient(
        from 0deg,
        rgba(255, 216, 112, 1) 0deg,
        rgba(242, 190, 78, 0.88) 22deg,
        rgba(217, 169, 63, 0) 80deg,
        rgba(217, 169, 63, 0) 280deg,
        rgba(242, 190, 78, 0.88) 338deg,
        rgba(255, 216, 112, 1) 360deg
    );
    opacity: 0;
    animation: nd-glisten-lap 8.5s linear infinite, nd-glisten-show 11.5s ease-in-out 3.4s infinite;
    will-change: rotate, opacity;
}

@keyframes nd-glisten-lap {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}

@keyframes nd-glisten-show {
    0% {
        opacity: 0.55;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nd-btn-glisten-glow {
        display: none;
    }
}

/* The "View the Collection" pill keeps its solid white face, but the lettering
   is cut out — the artwork behind the button shows straight through the words
   instead of a flat ink fill, so the letters pick up whatever color sits behind
   them. A dark fallback keeps the words readable if the image is slow. */
.nd-btn-glisten-text {
    background-color: #0A0A0A;
    background-image: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('https://files.cdn-files-a.com/uploads/12665262/normal_6b00ef16ef666.jpg?ratio=1.03:1&format=avif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* The hero's primary call to action is drawn as a true cut-out: the label is
   punched straight through the white pill, so whatever sits behind the button —
   the painting itself — shows through the letters instead of a flat ink fill.
   The pill and its knocked-out lettering are one small inline SVG, so the whole
   button scales as a single unit and the letters stay perfectly aligned with
   the hole they are cut from. */
.nd-btn-cutout {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: transform 260ms ease;
}

.nd-btn-cutout:hover,
.nd-btn-cutout:focus-visible {
    background: transparent;
    transform: translateY(-2px);
}

.nd-btn-cutout:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 6px;
}

.nd-btn-cutout-svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

/* A softly brightened pad of light, shaped exactly like the pill and sitting
   just behind it. The white pill covers all of it except the knocked-out
   letters, so the painting shows through the words at a full, crisp color
   instead of the darker wash it carries behind the button. */
.nd-btn-cutout-boost {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    border-radius: 999px;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.32);
}

.nd-btn-cutout-pill {
    transition: fill 260ms ease;
}

.nd-btn-cutout:hover .nd-btn-cutout-pill,
.nd-btn-cutout:focus-visible .nd-btn-cutout-pill {
    fill: var(--accent-color);
}

@media (min-width: 640px) {
    .nd-btn-cutout {
        width: auto;
    }

    .nd-btn-cutout-svg {
        width: 17rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nd-btn-cutout,
    .nd-btn-cutout-pill {
        transition: none;
    }
}

/* On desktop the crown of every painting stays open: the black cap held over
   the top of the artwork is pulled up short and eased far lighter, so the upper
   stretch of each piece reads through the dark instead of sitting under a solid
   band of black. The artwork simply emerges higher in the frame, and the
   headline keeps its contrast because the fade still finishes well above it. */
@media (min-width: 1024px) {
    .hero-intro::before {
        height: 24vh;
        background: linear-gradient(180deg, var(--background-color) 0%, var(--background-color) 8%, rgba(10, 10, 10, 0.9) 22%, rgba(10, 10, 10, 0.62) 40%, rgba(10, 10, 10, 0.38) 58%, rgba(10, 10, 10, 0.18) 76%, rgba(10, 10, 10, 0.06) 90%, rgba(10, 10, 10, 0) 100%);
    }

    /* The painting itself is held solid much higher up too, so the top of each
       work is actually on view rather than being masked away into transparency
       across the upper half of the screen. */
    .hero-stage .hero-slide {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 6%, rgba(0, 0, 0, 0.78) 13%, #000 24%, #000 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 6%, rgba(0, 0, 0, 0.78) 13%, #000 24%, #000 100%);
    }
}

/* On phones the statement sits over the brightest stretch of the artwork, where
   the letters — held slightly see-through so the painting still reads inside
   them — can sink into a busy or light passage and grow hard to read. Here the
   words carry a little more of their own white and a deeper, tighter shadow
   beneath them, and a soft pool of darkness settles behind the whole block, so
   the line stays clearly legible on a phone. The desktop is left untouched. */
/* Phones carry a stronger reading of the statement: the words sit nearly solid
   white on a deeper pool of shadow, the see-through windows over the line are
   held much lighter, and the shimmer keeps a higher floor, so the headline
   stays clearly legible against the busy artwork on a small screen. */
/* The statement keeps a quiet breath on a phone, but a shallower one than
   before: the letters stay close to their near-solid white and only ease a
   little, so the line never sinks far from the 90% it is set at. */
@keyframes nd-hero-glisten-mobile {
    0%,
    100% {
        opacity: 0.96;
    }
    24% {
        opacity: 1;
    }
    44% {
        opacity: 1;
    }
    62% {
        opacity: 0.98;
    }
}

/* The shadow on a phone is no longer a band travelling along the line. Each
   word carries two soft pools of darkness over its own glyphs, and every pool
   drifts slowly from one stretch of that word to another and back — so the
   shadow simply sits over different areas of the letters and quietly eases
   somewhere else, never sweeping across the words as one rolling mark. Each
   word runs these drifts on its own unrelated clock, so no two pools reach the
   same spot at the same time. */
@keyframes nd-hero-shadow-pools {
    0% {
        -webkit-mask-position: 16% 44%, 84% 36%;
        mask-position: 16% 44%, 84% 36%;
        -webkit-mask-size: 150% 188%, 166% 188%;
        mask-size: 150% 188%, 166% 188%;
    }
    35% {
        -webkit-mask-position: 44% 58%, 58% 50%;
        mask-position: 44% 58%, 58% 50%;
        -webkit-mask-size: 206% 216%, 224% 216%;
        mask-size: 206% 216%, 224% 216%;
    }
    68% {
        -webkit-mask-position: 78% 40%, 22% 62%;
        mask-position: 78% 40%, 22% 62%;
        -webkit-mask-size: 170% 200%, 186% 200%;
        mask-size: 170% 200%, 186% 200%;
    }
    100% {
        -webkit-mask-position: 16% 44%, 84% 36%;
        mask-position: 16% 44%, 84% 36%;
        -webkit-mask-size: 150% 188%, 166% 188%;
        mask-size: 150% 188%, 166% 188%;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    .hero-copy {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    }

    .hero-copy::before {
        content: '';
        position: absolute;
        inset: -10% -8%;
        z-index: -1;
        pointer-events: none;
        background: none;
    }

    /* The see-through windows over the headline are eased only partway back on
       phones, so the artwork still reads through the words while the line keeps
       a touch more of its own white than on wide screens. */
    .hero-headline {
        -webkit-mask-image: none;
        mask-image: none;
    }

    /* On a phone the statement is set nearly solid again: the letters hold at
       90% white, so the line reads clearly against the busy artwork. The
       lettering is painted with a soft band of darkness clipped to the glyphs,
       and that band rolls across the words — stepping from one word to the next,
       so a moving shadow keeps travelling along the line, dimming the letters it
       passes and letting them lift back to bright. The words keep their own dark
       shadow, carried as a shadow that follows the exact shape of the letters,
       and the light that follows the pointer still brings the nearest words the
       rest of the way to white. */
    /* The statement stays see-through on a phone: the white letters hold no
       solid fill of their own, so the painting reads straight through them.
       A couple of soft patches over each word simply lift the white away —
       nothing is laid over the letters, so wherever a patch settles the dark
       artwork behind shows through and that stretch of the word reads darker
       on its own. Each patch eases slowly from one area of its word to another
       on its own clock, so the see-through stretches keep drifting quietly. */
    .hero-headline .gallery-word {
        animation: none;
        background-image: none;
        color: #FFFFFF;
        -webkit-text-fill-color: #FFFFFF;
        text-shadow:
            0 0 6px rgba(255, 255, 255, 0.5),
            0 0 18px rgba(255, 255, 255, 0.32),
            0 0 36px rgba(255, 255, 255, 0.16),
            0 1px 2px rgba(0, 0, 0, 0.38);
        filter: none !important;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* An occasional sheen across the metallic quotation marks.

   The marks keep exactly the softened gold-and-bronze metal they wear now —
   nothing about their resting contrast changes. Over that metal sits one more
   narrow band of light, clipped to the glyphs like the rest: for most of the
   cycle it waits off the edge of the mark, then every long while it slips once
   across the gold, lifting a soft white glint over the metal before travelling
   on out of sight and leaving the marks to rest again. So the quotation marks
   catch a passing light only now and then, the way polished metal does when
   something moves across it, instead of shining on a constant loop. */
.hero-headline .hero-quote {
    background-image:
        linear-gradient(102deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 43%,
            rgba(255, 251, 226, 0.3) 47%,
            rgba(255, 255, 250, 0.72) 50%,
            rgba(255, 251, 226, 0.3) 53%,
            rgba(255, 255, 255, 0) 57%,
            rgba(255, 255, 255, 0) 100%),
        linear-gradient(96deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 39%, rgba(255, 255, 255, 0.5) 47%, rgba(255, 254, 240, 0.18) 53%, rgba(255, 255, 255, 0) 61%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(158deg, #66491a 0%, #ad842f 7%, #f2d489 15%, #fffce8 24%, #fdeeaa 31%, #b78d36 40%, #7d5820 48%, #d4ab55 57%, #fbeec8 68%, #fffbee 76%, #e5be63 85%, #9d7429 93%, #66491a 100%);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 280% 100%, 260% 100%, 100% 100%;
    background-position: 100% 0, -80% 0, 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    animation: nd-quote-metal-sheen 18s cubic-bezier(0.33, 0, 0.35, 1) infinite;
    will-change: background-position;
}

/* The glint waits out of sight for most of the cycle, crosses the mark in one
   unhurried pass, then stays away again until the next round — one quiet
   reflection every eighteen seconds rather than a sheen that keeps running. */
@keyframes nd-quote-metal-sheen {
    0%,
    58% {
        background-position: 100% 0, -80% 0, 0 0;
    }
    72% {
        background-position: 0% 0, -80% 0, 0 0;
    }
    100% {
        background-position: 0% 0, -80% 0, 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-headline .hero-quote {
        animation: none;
        background-position: 100% 0, -80% 0, 0 0;
    }
}

/* Phones only: the whole opening is set larger. The copy loosens its side
   padding and the statement is allowed to reach a little past it, so the line
   that has to fit the frame is measured against every pixel the screen can
   spare and settles in at a bigger size — while every quote still holds exactly
   one size and three lines. The studio line above the statement, the credit
   beneath it and the two pills all step up together too, so the opening reads
   larger from the first word to the last. The wider screens keep their own
   sizes exactly as they are. */
@media (max-width: 639px) {
    /* The whole opening block settles a step lower in the frame on a phone, so
       the studio line above the statement is never left stranded high up the
       screen. */
    .hero-copy {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 3rem;
    }

    /* The statement carries its own air below the studio line instead of the
       line being pushed away from it, so the white quote is drawn to sit evenly
       between "NOCTURNAL DIMENSIONS" above and the name beneath it. */
    .hero-lines {
        padding-top: 0;
    }

    .hero-copy .hero-headline {
        width: calc(100% + 1.5rem);
        max-width: none;
        margin-top: 0;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        font-size: 2.85rem;
    }

    /* The studio line above the opening statement is held on exactly one line on
       a phone: it steps down with the width of the screen and never wraps, so
       "NOCTURNAL DIMENSIONS" always reads as one unbroken label instead of
       folding onto a second row. */
    .hero-eyebrow {
        margin-top: 0;
        margin-bottom: 1.5rem;
        font-size: clamp(0.6rem, 3.6vw, 0.88rem);
        letter-spacing: 0.22em;
        white-space: nowrap;
    }

    .hero-attribution {
        margin-top: 0.65rem;
        font-size: 0.94rem;
        letter-spacing: 0.32em;
    }

    .hero-copy .nd-btn-ghost {
        min-height: 44px;
        padding: 0.72rem 1.55rem;
        font-size: 0.78rem;
    }

    /* On a phone the two opening pills now sit as a compact, matched pair in
       the middle of the frame instead of stretching edge to edge: each one
       hugs its own short label, so STORY and COLLECTION read cleanly and the
       pair looks exactly like the buttons on a wide screen. */
    .hero-copy .nd-btn-ring {
        align-self: center;
        min-width: 10.5rem;
        padding-inline: 1.55rem;
    }

    .hero-copy .nd-btn-ring.nd-btn-story,
    .hero-copy .nd-btn-ring.nd-btn-collection {
        padding-inline: 1.55rem;
        letter-spacing: 0.17em;
    }
}

/* The narrowest phones step back down a size, so every quote still settles onto
   exactly three lines instead of wrapping onto a fourth. */
@media (max-width: 380px) {
    .hero-copy .hero-headline {
        font-size: 2.47rem;
    }
}

/* A phone keeps only a handful of the opening paintings: any beyond the first
   few are taken out of the frame before anything is drawn there, so the handset
   never begins holding a whole wall of large pictures at once — the load that was
   making the mobile view fall over. The few that stay still rise out of the dark
   one after another, so the opening reads exactly as it does on a wide screen. */
@media (max-width: 767px) {
    .hero-stage .hero-slide:nth-child(n+5) {
        display: none;
    }
}