/* Explain: Styles for navigation, buttons, links, and other UI components, including animations and responsive behaviors. */
.site-header {
    background: transparent;
    transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.7);
}

/* On phones and tablets the brand bar keeps a solid ground of the page's own
   black at every moment. The small mark in the top-left then always sits on a
   clean band of that black, above whatever copy is passing underneath, so the
   logo is never seen through the words of a section. */
@media (max-width: 1023px) {
    .site-header {
        background: var(--background-color);
    }

    .site-header.is-scrolled {
        background: var(--background-color);
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.72);
    }

    /* The solid band the logo needs belongs to the bar itself now, so it stays
       exactly as it was behind the mark while the space the open menu panel
       occupies is left to the page behind it. */
    .site-header > nav {
        background: var(--background-color);
    }

    /* While the phone menu is open the header no longer paints its own black
       behind the panel: the page shows through the panel's faint tint and its
       soft blur, so the menu reads as a light veil rather than a solid card. */
    .site-header:has(#mobileMenu:not(.hidden)) {
        background: transparent;
        box-shadow: none;
    }
}

.nav-link {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 320ms ease, -webkit-text-fill-color 320ms ease, text-shadow 320ms ease, filter 320ms ease;
}

.nav-link {
    transform-origin: center;
}

/* On the narrower laptops the top bar has less room to give, so the links step
   down a notch there and the gaps between them close up. Every page still shows
   in full and the bar never wraps onto a second line. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .nav-link {
        font-size: 0.69rem;
        letter-spacing: 0.07em;
    }
}

/* The top bar's links are set in regular weight now: the same uppercase
   lettering, the same wide spacing and the same gold glow on hover, simply
   unbolded so the bar sits lighter above the artwork. Only the brand bar is
   touched — the links at the foot of the page keep their own weight, and the
   phone menu matches the bar it opens from. */
.site-header .nav-link,
.site-header .mobile-nav-link {
    font-weight: 400;
}

/* The links at the foot of the page are set exactly like the links in the top
   bar — the same uppercase lettering, the same wide spacing, and the same warm
   gold glow that gathers behind a word when the pointer rests on it. They are
   held a little smaller than the brand bar's links so the footer keeps its
   quiet, compact feel, and each one still keeps a generous touch height on a
   phone. */
.nav-link-footer {
    justify-content: flex-end;
    min-height: 44px;
    font-size: 0.78rem;
}

@media (min-width: 768px) {
    .nav-link-footer {
        min-height: 2.1rem;
        font-size: 0.74rem;
    }
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 244, 150, 0.55), 0 0 26px rgba(255, 232, 60, 0.45);
    will-change: text-shadow;
}

/* The nav glow burns like a candle in a draught: never settling on a steady
   brightness, never repeating a mechanical rise and fall. Two tracks run at
   once — a slow warm sway of the letter glow, and a quicker outer bloom that
   jitters on its own rhythm — so the halo lifts, gutters, and swells again at
   every uneven interval, the way a real flame breathes. */
@keyframes nd-nav-glow {
    0%,
    100% {
        text-shadow: 0 0 8px rgba(255, 245, 170, 0.45), 0 0 20px rgba(255, 232, 60, 0.32);
    }
    50% {
        text-shadow: 0 0 26px rgba(255, 253, 214, 1), 0 0 60px rgba(255, 246, 140, 0.98), 0 0 124px rgba(255, 232, 44, 0.9), 0 0 200px rgba(255, 216, 0, 0.8), 0 0 300px rgba(255, 202, 0, 0.64), 0 0 420px rgba(255, 190, 0, 0.44), 0 0 560px rgba(250, 176, 0, 0.28);
    }
}

/* The outer bloom of the flame: a quicker, uneven flicker layered over the
   letter glow, so the halo around the word keeps breathing at its own faster
   pace while the glow inside it sways slowly. */
@keyframes nd-nav-halo {
    0%,
    100% {
        filter: drop-shadow(0 0 128px rgba(134, 84, 20, 1)) drop-shadow(0 0 306px rgba(112, 68, 16, 0.94)) drop-shadow(0 0 602px rgba(88, 48, 10, 0.88)) drop-shadow(0 0 958px rgba(58, 30, 4, 0.8));
    }
    38% {
        filter: drop-shadow(0 0 190px rgba(142, 90, 22, 1)) drop-shadow(0 0 440px rgba(120, 74, 18, 1)) drop-shadow(0 0 834px rgba(94, 52, 12, 1)) drop-shadow(0 0 1258px rgba(64, 34, 5, 0.94));
    }
    66% {
        filter: drop-shadow(0 0 234px rgba(148, 96, 26, 1)) drop-shadow(0 0 526px rgba(124, 78, 20, 1)) drop-shadow(0 0 960px rgba(98, 56, 12, 1)) drop-shadow(0 0 1430px rgba(68, 36, 6, 0.96));
    }
    86% {
        filter: drop-shadow(0 0 166px rgba(138, 88, 22, 1)) drop-shadow(0 0 378px rgba(114, 70, 16, 1)) drop-shadow(0 0 710px rgba(90, 50, 10, 0.96)) drop-shadow(0 0 1092px rgba(60, 32, 4, 0.88));
    }
}

/* The glow also swells and settles: the whole word gently grows and relaxes on
   its own slow breath, so the light reads as a living pulse rather than a
   fixed halo. */
@keyframes nd-nav-grow {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-link:hover,
    .nav-link:focus {
        animation: none;
        transform: none;
        text-shadow: 0 0 28px rgba(255, 255, 202, 0.74), 0 0 70px rgba(255, 253, 126, 0.64), 0 0 140px rgba(255, 244, 30, 0.53), 0 0 236px rgba(255, 230, 0, 0.42);
    }
}

/* The menu button on phones is the studio's own mark: two gold hairlines sitting
   straight on the brand bar, with no circle and no icon behind them. */
.menu-bars {
    display: flex;
    width: 33px;
    flex-direction: column;
    /* The strokes are a hair taller now, so the gap is drawn in a little to keep
       the three resting exactly on the same centre line as before — the mark
       sits in the same place on the bar, it simply carries its own shaped tips. */
    gap: 4.4px;
    pointer-events: none;
    /* The mark is two plain strokes: nothing swells, nothing brightens and
       nothing glows around it. */
    transform-origin: center center;
}

.menu-bar {
    display: block;
    width: 100%;
    /* The stroke is drawn a hair taller than a hairline and then cut into a long
       lens: it keeps its full weight across the middle and narrows away to a fine
       point at each end. That narrowing is the finish on the mark — the way a
       loaded brush is lifted off the page at either tip — so the line reads as a
       drawn stroke with shaped ends rather than a rule that has been chopped off. */
    height: 2px;
    /* The stroke now runs long and fine at both ends: the full weight is held
       only through the middle, and each tip is drawn out over a long taper into
       a single point, the way a loaded brush is lifted from the page. The centre
       stays exactly as thick as it ever was. */
    -webkit-clip-path: polygon(0% 50%, 27% 0%, 73% 0%, 100% 50%, 73% 100%, 27% 100%);
    clip-path: polygon(0% 50%, 27% 0%, 73% 0%, 100% 50%, 73% 100%, 27% 100%);
    /* The tips are shaped by the drawn taper above instead of being rounded off,
       so the corners stay crisp wherever the stroke is at its full width. */
    border-radius: 0;
    /* The strokes are drawn in one plain tone with no gold band, no travelling
       glint and no glow around them — just two quiet lines on the dark bar. */
    background-image: none;
    background-color: var(--accent-color);
    opacity: 0.92;
    /* The hairlines do not simply fade in and out: they slide. The button rests
       on two lines, and the outer hairlines are drawn out of that pair when the
       pointer reaches it (or when the menu is open), so the mark splits into
       three and gathers back into two on the way out. */
    transform: translateY(0);
    transition: opacity 300ms ease, transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* At rest the mark is two clean lines.

   The button now rests as a pair of polished hairlines sitting one above the
   other on the dark bar: the top and bottom strokes are drawn in to the middle
   of the mark — evenly on either side of its own centre line — and the middle
   stroke is faded away between them. The moment the pointer reaches the button —
   or the menu is open — the two resting hairlines are drawn back out to their
   own places and the third stroke appears between them, so the two lines open
   into three and gather back into two as it closes again. */
.menu-bars .menu-bar:first-child {
    opacity: 1;
    transform: translateY(3.2px);
}

.menu-bars .menu-bar:nth-child(2) {
    opacity: 0;
    transform: translateY(0);
}

.menu-bars .menu-bar:last-child {
    opacity: 1;
    transform: translateY(-3.2px);
}

/* A visitor who prefers reduced motion still gets the two resting lines and
   the three-line open state, they simply arrive without the slide. */
@media (prefers-reduced-motion: reduce) {
    .menu-bar {
        transition: none;
    }
}

/* Each hairline runs its own slow pass, so the three never flash together. */
.menu-bar,
.menu-bar:nth-child(2),
.menu-bar:nth-child(3) {
    /* All three strokes keep the same slender weight and the same shaped tips,
       so the resting line and the open three-line mark read as one single mark. */
    height: 2px;
}

.menu-bar:nth-child(2) {
    animation-delay: -3s;
}

.menu-bar:nth-child(3) {
    animation-delay: -6s;
}

/* The line now catches the light again and again: one glint after another
   glides the whole length of the metal, with only a short rest between passes,
   so the small button keeps drawing the eye on the dark bar. */
/* Three unhurried reflections ride the resting line through each turn of the
   cycle — a soft head of light gathers at one end of the metal, travels the
   whole length with a wider warm bloom trailing just behind it, slips away off
   the far edge, and the line rests dark for a moment before the next one comes
   across. */
@keyframes nd-menu-metal-sheen {
    0% {
        background-position: 95% 0, 85% 0, 0% 0;
    }
    9% {
        background-position: 5% 0, 15% 0, 100% 0;
    }
    11% {
        background-position: 95% 0, 85% 0, 0% 0;
    }
    25% {
        background-position: 95% 0, 85% 0, 0% 0;
    }
    34% {
        background-position: 5% 0, 15% 0, 100% 0;
    }
    36% {
        background-position: 95% 0, 85% 0, 0% 0;
    }
    50% {
        background-position: 95% 0, 85% 0, 0% 0;
    }
    59% {
        background-position: 5% 0, 15% 0, 100% 0;
    }
    61% {
        background-position: 95% 0, 85% 0, 0% 0;
    }
    75% {
        background-position: 95% 0, 85% 0, 0% 0;
    }
    84% {
        background-position: 5% 0, 15% 0, 100% 0;
    }
    86%,
    100% {
        background-position: 95% 0, 85% 0, 0% 0;
    }
}

/* The little button itself warms as each reflection crosses it: the mark lifts
   out of the dark into a soft warm glow and settles back again, once for every
   glint that passes, so the gold never sits completely quiet. */
@keyframes nd-menu-mark-glow {
    0%,
    2% {
        filter: drop-shadow(0 0 2px rgba(255, 246, 214, 0.45));
    }
    9% {
        filter: drop-shadow(0 0 6px rgba(255, 252, 226, 0.95)) drop-shadow(0 0 18px rgba(242, 190, 78, 0.82)) drop-shadow(0 0 36px rgba(242, 190, 78, 0.44));
    }
    16%,
    27% {
        filter: drop-shadow(0 0 2px rgba(255, 246, 214, 0.45));
    }
    34% {
        filter: drop-shadow(0 0 6px rgba(255, 252, 226, 0.95)) drop-shadow(0 0 18px rgba(242, 190, 78, 0.82)) drop-shadow(0 0 36px rgba(242, 190, 78, 0.44));
    }
    41%,
    52% {
        filter: drop-shadow(0 0 2px rgba(255, 246, 214, 0.45));
    }
    59% {
        filter: drop-shadow(0 0 6px rgba(255, 252, 226, 0.95)) drop-shadow(0 0 18px rgba(242, 190, 78, 0.82)) drop-shadow(0 0 36px rgba(242, 190, 78, 0.44));
    }
    66%,
    77% {
        filter: drop-shadow(0 0 2px rgba(255, 246, 214, 0.45));
    }
    84% {
        filter: drop-shadow(0 0 6px rgba(255, 252, 226, 0.95)) drop-shadow(0 0 18px rgba(242, 190, 78, 0.82)) drop-shadow(0 0 36px rgba(242, 190, 78, 0.44));
    }
    91%,
    100% {
        filter: drop-shadow(0 0 2px rgba(255, 246, 214, 0.45));
    }
}

/* The mark itself pulses: the whole little mark — the resting line and the split
   three-line state alike — swells a breath larger and eases back on an unhurried
   beat, brightening as it grows, so the button reads as alive on the dark bar
   rather than a fixed stroke of gold. The growth is carried on the independent
   `scale` property, so it composes with the hairlines sliding apart into the open
   state instead of fighting them. */
@keyframes nd-menu-mark-pulse {
    0%,
    100% {
        scale: 1;
        opacity: 0.9;
    }
    46% {
        scale: 1.12;
        opacity: 1;
    }
    62% {
        scale: 1.07;
        opacity: 0.96;
    }
}

#menuToggle:hover .menu-bar,
#menuToggle:focus-visible .menu-bar,
#menuToggle[aria-expanded="true"] .menu-bar {
    opacity: 1;
    transform: translateY(0);
}

#menuToggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .menu-bars {
        animation: none;
        filter: none;
    }

    .menu-bar {
        animation: none;
        filter: none;
    }
}

.mobile-nav-link {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-radius: 0.75rem;
    padding: 0 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-color);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-color);
}

.eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--accent-color);
}

/* The studio's brand line — "NOCTURNAL DIMENSIONS" — now wears the same polished
   metal as the quotation marks over the opening statement: a warm-to-deep gold
   gradient clipped to the lettering, so each word 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. Every long while a narrow band of light slips once
   across the metal, so the line reads as lit gold rather than flat ink. */
.hero-copy > p.hero-eyebrow,
#gallery .gallery-eyebrow {
    text-shadow: none;
    background-image:
        linear-gradient(102deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 32%,
            rgba(255, 251, 226, 0.14) 39%,
            rgba(255, 251, 226, 0.34) 45%,
            rgba(255, 255, 252, 0.62) 50%,
            rgba(255, 251, 226, 0.34) 55%,
            rgba(255, 251, 226, 0.14) 61%,
            rgba(255, 255, 255, 0) 68%,
            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: 280% 100%, 100% 100%;
    background-position: 100% 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-eyebrow-metal-sheen 15s cubic-bezier(0.33, 0, 0.35, 1) infinite, nd-eyebrow-glimmer 14s ease-in-out infinite;
    will-change: background-position, filter;
}

/* The statement's own brand line still settles in on its slow clock when the
   page opens, then the metal glint begins. */
.hero-copy > p.hero-eyebrow {
    animation: nd-hero-smalltext-in 4600ms cubic-bezier(0.33, 0, 0.2, 1) 2.4s backwards, nd-eyebrow-metal-sheen 15s cubic-bezier(0.33, 0, 0.35, 1) 3.6s infinite, nd-eyebrow-glimmer 14s ease-in-out 3.6s infinite;
}

/* One quiet reflection every long while: the glint waits out of sight for most of
   the cycle, crosses the metal in one unhurried pass, then stays away again. */
/* One quiet reflection every long while: the glint waits out of sight for most of
   the cycle, then slips across the metal in one unhurried pass with a soft fade
   at each edge, and stays away again. The band is held faint and wide, so the
   lettering simply catches the light for a moment instead of flashing. */
@keyframes nd-eyebrow-metal-sheen {
    0%,
    26% {
        background-position: 104% 0, 0 0;
    }
    56% {
        background-position: 18% 0, 0 0;
    }
    72% {
        background-position: -6% 0, 0 0;
    }
    100% {
        background-position: -6% 0, 0 0;
    }
}

/* The metal breathes. Between the passing glints a very faint warm shine gathers
   around the lettering and eases back on its own slow cycle, so the gold reads as
   quietly alive rather than perfectly flat — held low enough that the line never
   brightens into a glow. */
@keyframes nd-eyebrow-glimmer {
    0%,
    100% {
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
    }
    50% {
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 7px rgba(255, 236, 176, 0.08)) drop-shadow(0 0 20px rgba(242, 190, 78, 0.052));
    }
}

/* The brand line warms a step further under the pointer: a soft pool of gold
   gathers behind the lettering, so the metal reads as lit rather than flat. The
   pool sits behind the words and hugs the line — it is held low and heavily
   blurred, so resting on the words only ever makes them glow a little more,
   nothing switches and nothing flashes. */
.hero-copy > p.hero-eyebrow,
#gallery .gallery-eyebrow {
    position: relative;
    isolation: isolate;
}

/* The gallery's brand line sits in a full-width block, so it is narrowed to the
   lettering itself — its glow then hugs the words exactly the way the opening
   line's does, without the pool spreading off into the empty space beside it. */
#gallery .gallery-eyebrow {
    width: fit-content;
}

.hero-copy > p.hero-eyebrow::after,
#gallery .gallery-eyebrow::after {
    content: '';
    position: absolute;
    inset: -1.5em -1em;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
    /* Two pools of light sit behind the lettering: a tight, deep amber ring that
       hugs the words, and a wider, darker bronze bloom spreading out beyond it.
       Together they give the glow real depth — shadowed metal catching light
       rather than one flat haze. */
    background:
        radial-gradient(44% 44% at 50% 50%,
            rgba(255, 214, 128, 0.24) 0%,
            rgba(212, 148, 38, 0.2) 32%,
            rgba(138, 88, 14, 0.144) 60%,
            rgba(84, 52, 8, 0) 100%),
        radial-gradient(82% 74% at 50% 50%,
            rgba(170, 112, 20, 0.164) 0%,
            rgba(112, 70, 11, 0.124) 46%,
            rgba(58, 35, 5, 0.068) 74%,
            rgba(34, 20, 3, 0) 100%);
    filter: blur(12px);
    opacity: 0;
    scale: 0.88;
    transition: opacity 720ms ease, scale 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, scale;
}

.hero-copy > p.hero-eyebrow:hover::after,
.hero-copy > p.hero-eyebrow:focus-visible::after,
#gallery .gallery-eyebrow:hover::after,
#gallery .gallery-eyebrow:focus-visible::after {
    opacity: 1;
    scale: 1.06;
    /* Once the glow has eased in it keeps a slow, deep breath: the bloom swells
       wider while thinning a little, then gathers back in, so the light behind
       the lettering reads as alive instead of frozen at one strength. */
    animation: nd-eyebrow-glow-breathe 6.8s ease-in-out 0.75s infinite;
}

@keyframes nd-eyebrow-glow-breathe {
    0%,
    100% {
        opacity: 1;
        scale: 1.06;
    }
    50% {
        opacity: 0.95;
        scale: 1.17;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-copy > p.hero-eyebrow,
    #gallery .gallery-eyebrow {
        animation: none;
        background-position: 100% 0, 0 0;
    }

    .hero-copy > p.hero-eyebrow::after,
    #gallery .gallery-eyebrow::after {
        transition: none;
        animation: none;
    }
}

/* The studio's name sits quietly above the opening statement and over the print
   wall: a small line of polished metal, held modest at every screen size so it
   never competes with the artwork or the statement beneath it. */
#gallery .gallery-eyebrow {
    font-size: 0.6rem;
}

@media (min-width: 768px) {
    #gallery .gallery-eyebrow {
        font-size: 0.69rem;
    }
}

@media (min-width: 1024px) {
    #gallery .gallery-eyebrow {
        font-size: 0.74rem;
    }
}

.nd-btn-primary {
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.9rem;
    background: var(--text-color);
    color: #000000;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

.nd-btn-primary:hover,
.nd-btn-primary:focus {
    background: var(--accent-color);
    color: #000000;
    transform: translateY(-2px);
}

.nd-btn-gold {
    background: var(--accent-color);
    color: #000000;
}

.nd-btn-gold:hover,
.nd-btn-gold:focus {
    background: var(--accent-hover);
    color: #000000;
}

.nd-btn-primary.nd-btn-sm {
    min-height: 40px;
    padding: 0.5rem 1.2rem;
    font-size: 0.66rem;
}

.nd-btn-ghost.nd-btn-sm {
    min-height: 40px;
    padding: 0.5rem 1.2rem;
    font-size: 0.66rem;
}

.nd-btn-ghost {
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    padding: 0.85rem 1.9rem;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.nd-btn-ghost:hover,
.nd-btn-ghost:focus {
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.33);
    transform: translateY(-2px);
}

.print-frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 0;
    border-radius: 1.1rem;
    padding: 0;
    background: var(--surface-color);
    cursor: pointer;
}

.gallery-item.is-wide .print-frame {
    aspect-ratio: 16 / 9;
}

.print-frame img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 800ms ease;
}

.print-frame:hover img,
.print-frame:focus-visible img {
    transform: scale(1.04);
}

.print-frame-hint {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    height: 2.5rem;
    width: 2.5rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.66);
    color: var(--accent-color);
    opacity: 0;
    transition: opacity 260ms ease;
}

.print-frame:hover .print-frame-hint,
.print-frame:focus-visible .print-frame-hint {
    opacity: 1;
}

/* Next-work cue beside the gallery button on a print page — the same hollow
   chevron as the home-page scroll cue, turned to face right so it steps forward
   to the next piece in the collection. */
.next-work-cue {
    display: inline-grid;
    flex-shrink: 0;
    height: 44px;
    width: 44px;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--accent-color);
    transition: border-color 220ms ease, color 220ms ease, background 220ms ease, transform 220ms ease;
}

.next-work-cue:hover,
.next-work-cue:focus-visible {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-hover);
    transform: translateX(3px);
}

.next-work-cue:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.next-work-arrow {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    opacity: 0.85;
    filter: drop-shadow(0 0 5px rgba(242, 190, 78, 0.85)) drop-shadow(0 0 16px rgba(242, 190, 78, 0.6));
    animation: nd-next-cue-fade 2.4s ease-in-out infinite;
    will-change: opacity, filter, transform;
}

@keyframes nd-next-cue-fade {
    0%,
    100% {
        opacity: 0.55;
        transform: translateX(-2px);
        filter: drop-shadow(0 0 4px rgba(242, 190, 78, 0.6)) drop-shadow(0 0 12px rgba(242, 190, 78, 0.32));
    }
    50% {
        opacity: 1;
        transform: translateX(2px);
        filter: drop-shadow(0 0 9px rgba(255, 214, 90, 0.95)) drop-shadow(0 0 26px rgba(242, 190, 78, 0.75)) drop-shadow(0 0 44px rgba(242, 190, 78, 0.45));
    }
}

@media (prefers-reduced-motion: reduce) {
    .next-work-arrow {
        animation: none;
        opacity: 0.95;
        transform: none;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 4.5rem 1.25rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(6px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-figure {
    position: relative;
    display: flex;
    max-height: 72vh;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.lightbox-image {
    width: auto;
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    transition: opacity 260ms ease;
}

.lightbox.is-loading .lightbox-image {
    opacity: 0;
}

.lightbox-spinner {
    display: none;
    position: absolute;
    height: 2rem;
    width: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 999px;
    animation: nd-spin 800ms linear infinite;
}

.lightbox.is-loading .lightbox-spinner {
    display: block;
}

@keyframes nd-spin {
    to {
        transform: rotate(360deg);
    }
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    display: grid;
    height: 44px;
    width: 44px;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-color);
    cursor: pointer;
    transition: background 220ms ease, color 220ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus {
    background: rgba(255, 255, 255, 0.16);
    color: var(--accent-color);
}

.lightbox-caption p:first-child {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-color);
}

.lightbox-caption p:last-child {
    margin-top: 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.status-success {
    background: rgba(217, 169, 63, 0.14);
    color: var(--accent-hover);
}

.status-error {
    background: rgba(220, 90, 90, 0.14);
    color: #FF9E9E;
}

.artist-portrait {
    display: block;
    width: 100%;
    max-width: 42rem;
    height: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.22) 10%, rgba(0, 0, 0, 0.6) 24%, #000 42%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.22) 10%, rgba(0, 0, 0, 0.6) 24%, #000 42%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
    animation: nd-artist-drift 12s ease-in-out infinite alternate;
    will-change: transform;
}

/* The artist portrait drifts gently sideways so the still photograph keeps a
   quiet sense of life, sliding left and easing back without ever leaving frame. */
@keyframes nd-artist-drift {
    0% {
        transform: translate3d(1.7%, -0.6%, 0) scale(1);
    }
    50% {
        transform: translate3d(-1.85%, 0.6%, 0) scale(1.12);
    }
    100% {
        transform: translate3d(-5.4%, 1.8%, 0) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .artist-portrait {
        animation: none;
    }
}

.artist-fade {
    opacity: 0;
    filter: brightness(0.42) saturate(0.5);
    transition: opacity 2400ms ease, filter 2600ms ease;
    will-change: opacity, filter;
}

.artist-fade.is-visible {
    opacity: 0.66;
    filter: brightness(1) saturate(1);
}

@media (prefers-reduced-motion: reduce) {
    .artist-fade {
        opacity: 0.66;
        filter: none;
        transition: none;
    }
}

.artist-signature {
    display: block;
    width: 100%;
    max-width: 11.4rem;
    height: auto;
    margin-top: calc(1.5rem - 20px);
    opacity: 1;
    filter: url(#ndSignatureFine);
    -webkit-mask-image: linear-gradient(82deg, #000 0 48.4%, rgba(0, 0, 0, 0) 51.6% 100%);
    mask-image: linear-gradient(82deg, #000 0 48.4%, rgba(0, 0, 0, 0) 51.6% 100%);
    -webkit-mask-size: 250% 100%;
    mask-size: 250% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
    transition: -webkit-mask-position 2500ms cubic-bezier(0.33, 0, 0.2, 1), mask-position 2500ms cubic-bezier(0.33, 0, 0.2, 1);
    will-change: mask-position;
}

.artist-signature.is-visible {
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
}

@media (prefers-reduced-motion: reduce) {
    .artist-signature {
        transition: none;
        -webkit-mask-image: none;
        mask-image: none;
        -webkit-mask-position: 0% 0;
        mask-position: 0% 0;
    }
}

/* The artist's initials now open the gallery: the signature sits centered at the
   very top of the print wall, lifted a little so it reads as rising out of the
   bottom of the studio statement above instead of starting the section flat. */
.gallery-signature {
    position: relative;
    margin-top: -1.5rem;
}

.gallery-signature .artist-signature {
    margin-top: 0;
}

@media (min-width: 768px) {
    .gallery-signature {
        margin-top: -3rem;
    }
}

.studio-stat {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.studio-stat strong {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.studio-stat span {
    display: block;
    margin-top: 0.5rem;
    /* The supporting lines under each studio fact (Size, Editions, Canvas,
       Authenticity) are set a single point smaller than they used to be, so the
       edition line reads "Limited editions of 50" on one line instead of
       stranding the number on a second row. Only the small type under each
       fact is touched — the gold labels above them keep their own size. */
    font-size: calc(0.9rem - 1pt);
    line-height: 1.6;
    color: var(--text-muted);
}

.interior-slide {
    display: flex;
    width: 100%;
    max-width: 68rem;
    flex-direction: column;
    margin: 0 auto;
}

/* On phones the featured interior is held to a smaller square, so the room
   photograph, its caption, and the arrows all fit comfortably on screen at
   once instead of the frame filling the whole view. */
@media (max-width: 767px) {
    .interior-swiper .interior-slide .interior-frame {
        max-width: 15rem;
        margin: 0 auto;
    }

    /* Phones: keep the caption tight and lift the previous/next arrows up under
       the frame, so the controls sit close to the artwork instead of hanging at
       the bottom of the slide. */
    .interior-caption {
        min-height: 5.5rem;
        margin-top: 0.9rem;
    }

    .interior-nav-row {
        margin-top: -2.5rem;
    }

    .interior-swiper {
        padding-bottom: 0;
    }
}

.interior-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 0;
    border-radius: 1.75rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.interior-frame img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* A room photograph is dragged as part of the carousel, never as an image
       of its own — without this a press on the picture can start the browser's
       own image drag and strand the swipe half-finished. */
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
}

.interior-frame-link {
    display: block;
    width: 100%;
    border-radius: 1.75rem;
    color: inherit;
}

.interior-frame-link .interior-frame {
    transition: border-color 320ms ease, box-shadow 320ms ease;
}

.interior-frame-link .interior-frame img {
    transition: transform 900ms ease;
}

.interior-frame-link:hover .interior-frame,
.interior-frame-link:focus-visible .interior-frame {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-cinematic);
}

.interior-frame-link:hover .interior-frame img,
.interior-frame-link:focus-visible .interior-frame img {
    transform: scale(1.05);
}

.interior-frame-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.interior-frame-hint {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: rgba(0, 0, 0, 0.72);
    color: var(--text-color);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 280ms ease;
}

.interior-frame-link:hover .interior-frame-hint,
.interior-frame-link:focus-visible .interior-frame-hint {
    opacity: 1;
}

.interior-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.9rem;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: inherit;
    text-transform: uppercase;
    color: var(--accent-color);
    cursor: pointer;
    transition: color 220ms ease;
}

.interior-slide:hover .interior-cta,
.interior-slide:focus-within .interior-cta {
    color: var(--accent-hover);
}

@media (prefers-reduced-motion: reduce) {
    .interior-frame-link .interior-frame img,
    .interior-frame-hint,
    .interior-cta {
        transition: none;
    }
}

.interior-caption {
    display: flex;
    min-height: 8rem;
    flex-direction: column;
    align-items: center;
    margin-top: 1.25rem;
    text-align: center;
}

.interior-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-color);
}

.interior-caption p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.interior-swiper {
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* The browser keeps ownership of vertical scrolling and hands horizontal
       gestures to the carousel, so a swipe across a room never fights the page
       for the gesture and never leaves the strip stranded between two rooms. */
    touch-action: pan-y;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%);
}

/* Slide height comes from the slide content (image frame plus caption) rather
   than from Swiper's auto-height measurement, so the carousel never measures
   itself while it is still settling. */
.interior-swiper .swiper-wrapper,
.interior-swiper .swiper-slide {
    height: auto;
}

.interior-swiper .swiper-slide {
    display: flex;
    align-items: flex-start;
}

.interior-swiper .swiper-slide {
    opacity: 0.45;
    transition: opacity 340ms ease;
}

.interior-swiper .swiper-slide-active {
    opacity: 1;
}

@media (min-width: 768px) {
    .interior-swiper {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
    }
}

.interior-swiper .swiper-slide .interior-frame {
    transform: none;
    transition: border-color 320ms ease, box-shadow 320ms ease;
}

.interior-nav-btn {
    display: grid;
    height: 44px;
    width: 44px;
    place-items: center;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--accent-color);
    cursor: pointer;
    transition: color 220ms ease, transform 220ms ease;
}

.interior-nav-btn:hover,
.interior-nav-btn:focus-visible {
    color: var(--accent-hover);
    transform: scale(1.14);
}

.interior-nav-icon {
    display: block;
    width: 1.5rem;
    height: auto;
    overflow: visible;
}

.interior-pagination {
    position: static;
    display: flex;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    overflow: hidden;
}

.interior-pagination .swiper-pagination-bullet {
    margin: 0 !important;
    height: 8px;
    width: 8px;
    background: var(--text-muted);
    opacity: 0.6;
}

.interior-pagination .swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

.gallery-logo-wrap {
    position: relative;
    display: block;
}

.gallery-logo-mark {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.gallery-logo-moon-haze {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    background-image: url('https://files.cdn-files-a.com/uploads/12665262/normal_6afdbf8da92eb.png?ratio=26:9&format=avif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    filter: url(#ndMoonHaze);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.95;
    animation: nd-moon-haze 7s ease-in-out infinite alternate;
    will-change: opacity;
}

@keyframes nd-moon-haze {
    from {
        opacity: 0.88;
    }
    to {
        opacity: 1;
    }
}

.footer-logo-moon-haze {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    background-image: url('https://files.cdn-files-a.com/uploads/12665262/normal_6afdbf8da92eb.png?ratio=26:9&format=avif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    filter: url(#ndFooterMoonHaze);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.95;
    animation: nd-moon-haze 7s ease-in-out infinite alternate;
    will-change: opacity;
}

@media (prefers-reduced-motion: reduce) {
    .footer-logo-moon-haze {
        animation: none;
        opacity: 1;
    }
}

.header-logo-moon-haze {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    background-image: url('https://files.cdn-files-a.com/uploads/12665262/normal_6afdbf8da92eb.png?ratio=26:9&format=avif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    filter: url(#ndHeaderMoonHaze);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.95;
    /* The gold light gathers only once the mark has been laid down: the haze is
       held back in the dark while the letters are drawn in from the left, then
       blooms up over the finished wordmark and takes up its own slow breath. */
    animation: nd-logo-haze-in 1000ms ease-out 1100ms both, nd-moon-haze 7s ease-in-out 2100ms infinite alternate;
    will-change: opacity;
}

/* The halo of gold waits out of sight while the wordmark is being written, then
   rises over the completed letters and settles into its quiet pulse. */
@keyframes nd-logo-haze-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.88;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-logo-moon-haze,
    .header-logo-moon-haze,
    .footer-logo-moon-haze {
        animation: none;
        opacity: 1;
    }

    .header-logo-moon-haze {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.reel-frame {
    display: flex;
    justify-content: center;
    width: 100%;
}

.reel-video {
    display: block;
    width: 100%;
    max-width: min(78vh, 40rem);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 0;
    border-radius: var(--radius-xl);
    background: #000000;
    box-shadow: var(--shadow-cinematic);
}

.story-fade {
    opacity: 0;
    color: #000000;
    -webkit-text-fill-color: #000000;
    transition: opacity 2400ms ease, color 2400ms ease, -webkit-text-fill-color 2400ms ease;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
    will-change: opacity, color;
}

.story-fade.is-visible {
    opacity: 0.85;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
}

.story-fade .story-accent {
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
}

@media (prefers-reduced-motion: reduce) {
    .story-fade {
        opacity: 0.85;
        color: #FFFFFF;
        -webkit-text-fill-color: #FFFFFF;
        transform: none;
        transition: none;
    }
}

/* The six breathing headlines — "An exploration of emotion.", "A vision nearly
   three decades in the making.", "Bringing emotion to every space.", "Emotion
   in motion.", "Wear the Art.", and "Everything to know before you collect
   your first work." — each carry the gallery-word spans, so they all sit one
   point larger than the standard heading scale at every breakpoint. */
h2:has(.gallery-word),
h3:has(.gallery-word) {
    font-size: calc(2.25rem + 1pt);
}

@media (min-width: 768px) {
    h2:has(.gallery-word),
    h3:has(.gallery-word) {
        font-size: calc(3rem + 1pt);
    }
}

/* The gallery's own headline — "An exploration of emotion." — sits a fifth
   larger than the shared gallery-word heading scale, so it stands out on the
   print wall without touching the other breathing headlines on the page. */
h2.gallery-heading {
    font-size: calc(2.916rem + 1pt);
}

@media (min-width: 768px) {
    h2.gallery-heading {
        font-size: calc(3.888rem + 1pt);
    }
}

/* Gallery heading: once the section reveals, each word keeps a slow, staggered
   breath — a quiet fade in and out, stepping across the line, so it never sits
   completely still. */
.gallery-word {
    display: inline-block;
    opacity: 0.6;
    animation: nd-gallery-word-breathe 7s ease-in-out infinite backwards;
    will-change: opacity, transform, filter, text-shadow;
}

@keyframes nd-gallery-word-breathe {
    0% {
        opacity: 0.6;
        transform: translate3d(0, 3px, 0);
        filter: blur(0.6px);
        text-shadow: 0 0 0 rgba(242, 190, 78, 0);
    }
    30% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
        text-shadow: 0 0 12px rgba(242, 190, 78, 0.24), 0 0 24px rgba(242, 190, 78, 0.12);
    }
    60% {
        opacity: 0.92;
        transform: translate3d(0, -2px, 0);
        filter: blur(0);
        text-shadow: 0 0 10px rgba(242, 190, 78, 0.18);
    }
    100% {
        opacity: 0.6;
        transform: translate3d(0, 3px, 0);
        filter: blur(0.6px);
        text-shadow: 0 0 0 rgba(242, 190, 78, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-word {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
        text-shadow: none;
    }
}

/* On a phone the headline words rest at full strength instead of each carrying
   its own slow breath. Dozens of small glowing words breathing at once is far
   more work than it looks, and the handset was spending itself on it while the
   rest of the page waited. The words still read exactly as before. */
@media (max-width: 767px) {
    .gallery-word {
        animation: none;
        opacity: 1;
        filter: none;
        text-shadow: none;
    }
}

/* Subtle gold hairline that separates the homepage sections without breaking the
   matte-black flow — a thin centered rule that fades away at both ends. */
.section-divider {
    display: block;
    width: min(100%, 28rem);
    height: 1px;
    margin: clamp(5rem, 11vw, 11rem) auto;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 234, 176, 0) 0%, rgba(255, 234, 176, 0.5) 50%, rgba(255, 234, 176, 0) 100%);
    filter: none;
}

/* On phones the hairline above the inquiry block is pulled up into the space
   after the FAQ, so the contact section rises higher into view. */
@media (max-width: 767px) {
    .section-divider-contact {
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* Short gold hairline sitting above the "Curated interiors" heading, marking the
   step from the commissioned-works copy into the interiors carousel. */
.curated-divider {
    display: block;
    width: min(100%, 28rem);
    height: 1px;
    margin: clamp(9rem, 18vw, 17rem) auto;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 234, 176, 0) 0%, rgba(255, 234, 176, 0.5) 50%, rgba(255, 234, 176, 0) 100%);
    filter: none;
}

/* Larger top navigation glow override — a broad, dense pool of dark-amber gold
   that rises behind the word and keeps swelling while the pointer rests on it.
   The wide halo is carried by a soft radial pool set behind the lettering
   (see .nav-link::after just below): a huge text-shadow blur spreads a glyph's
   faint alpha over such a wide radius that the light all but vanished, while a
   pool behind the word keeps its colour dense and its edge soft, so a large
   dark-gold halo actually reads against the black. */
.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 168%;
    height: 268%;
    border-radius: 50%;
    translate: -50% -50%;
    background: radial-gradient(closest-side,
        rgba(255, 214, 110, 0.62) 0%,
        rgba(242, 190, 78, 0.54) 24%,
        rgba(214, 162, 56, 0.4) 48%,
        rgba(170, 122, 32, 0.24) 72%,
        rgba(112, 78, 16, 0) 100%);
    filter: blur(16px);
    opacity: 0;
    scale: 0.65;
    pointer-events: none;
    transition: opacity 800ms ease, scale 1400ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, scale;
}

.nav-link:hover::after,
.nav-link:focus::after {
    opacity: 1;
    scale: 1;
    animation: nd-nav-pool-swell 13s ease-in-out infinite;
}

/* The lettering itself takes a warm rim as the pool rises: a tight, dense gold
   halo right around the word with a softer dark-amber falloff beyond it, so the
   word reads as lit from within while the broad halo spreads behind it. */
.nav-link:hover,
.nav-link:focus {
    color: var(--text-color) !important;
    -webkit-text-fill-color: var(--text-color) !important;
    text-shadow:
        0 0 8px rgba(255, 216, 116, 0.9),
        0 0 18px rgba(242, 190, 78, 0.78),
        0 0 38px rgba(233, 182, 72, 0.62),
        0 0 72px rgba(208, 156, 50, 0.46),
        0 0 120px rgba(172, 126, 36, 0.32);
    filter: drop-shadow(0 0 14px rgba(242, 190, 78, 0.6)) drop-shadow(0 0 40px rgba(208, 156, 50, 0.5)) drop-shadow(0 0 82px rgba(160, 116, 30, 0.36));
    transition: color 900ms ease, -webkit-text-fill-color 900ms ease, text-shadow 900ms ease, filter 900ms ease;
    animation: nd-nav-rim 17s ease-in-out infinite, nd-nav-rim-pulse 23s ease-in-out infinite;
    will-change: text-shadow, filter;
}

/* The broad pool behind the word breathes: it swells a little larger and eases
   back on a long, uneven cycle, so the halo keeps growing and settling instead
   of freezing at one size. */
@keyframes nd-nav-pool-swell {
    0%,
    100% {
        scale: 1;
        opacity: 0.5;
    }
    38% {
        scale: 1.08;
        opacity: 0.6;
    }
    64% {
        scale: 1.04;
        opacity: 0.56;
    }
    86% {
        scale: 1.12;
        opacity: 0.64;
    }
}

/* The rim of light on the lettering itself swells through an uneven breath: it
   lifts out of a low ember, throws a broad dark-gold rim past the word, gutters,
   and swells again — never settling on a steady brightness. */
@keyframes nd-nav-rim {
    0%,
    100% {
        text-shadow:
            0 0 6px rgba(255, 212, 108, 0.56),
            0 0 14px rgba(242, 190, 78, 0.49),
            0 0 30px rgba(224, 174, 66, 0.39),
            0 0 58px rgba(198, 146, 44, 0.29),
            0 0 98px rgba(164, 118, 32, 0.2),
            0 0 158px rgba(132, 92, 24, 0.12);
    }
    38% {
        text-shadow:
            0 0 9px rgba(255, 226, 148, 0.7),
            0 0 21px rgba(250, 202, 96, 0.64),
            0 0 44px rgba(238, 186, 78, 0.52),
            0 0 84px rgba(214, 162, 52, 0.39),
            0 0 142px rgba(176, 128, 34, 0.27),
            0 0 224px rgba(140, 98, 26, 0.16);
    }
    68% {
        text-shadow:
            0 0 6px rgba(255, 208, 100, 0.53),
            0 0 13px rgba(238, 186, 72, 0.46),
            0 0 28px rgba(218, 166, 58, 0.38),
            0 0 52px rgba(192, 140, 42, 0.28),
            0 0 90px rgba(158, 114, 30, 0.18),
            0 0 146px rgba(126, 88, 22, 0.11);
    }
}

/* The soft aureole around the word swells on its own second clock, so the tight
   rim and the wider bloom never rise and fall on the same beat. */
@keyframes nd-nav-rim-pulse {
    0%,
    100% {
        filter: drop-shadow(0 0 9px rgba(242, 190, 78, 0.39)) drop-shadow(0 0 28px rgba(196, 146, 42, 0.29)) drop-shadow(0 0 56px rgba(150, 108, 28, 0.18)) drop-shadow(0 0 96px rgba(120, 86, 22, 0.11));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(255, 216, 118, 0.5)) drop-shadow(0 0 44px rgba(214, 162, 52, 0.41)) drop-shadow(0 0 92px rgba(168, 122, 30, 0.27)) drop-shadow(0 0 152px rgba(134, 96, 24, 0.16));
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-link:hover::after,
    .nav-link:focus::after {
        animation: none !important;
        opacity: 1;
        scale: 1;
    }
}

/* Give the gold section rule more breathing room on both sides, so the hairline
   sits with open space above and below it instead of crowding the sections it
   divides. The contact rule keeps its own tighter spacing on phones. */
.section-divider:not(.section-divider-contact) {
    margin-top: clamp(5rem, 11vw, 11rem);
    margin-bottom: clamp(5rem, 11vw, 11rem);
}

/* On phones the rule keeps a much shorter breath above and below it, so the work
   runs on from one section into the next instead of every section being separated
   by long stretches of empty black. The line itself is drawn exactly as before. */
@media (max-width: 767px) {
    .section-divider,
    .section-divider:not(.section-divider-contact),
    .curated-divider {
        margin-top: 2.5rem;
        margin-bottom: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-link {
        transition: none !important;
    }

    .nav-link:hover,
    .nav-link:focus {
        animation: none !important;
        transition: none !important;
        color: var(--text-color) !important;
        -webkit-text-fill-color: var(--text-color) !important;
        text-shadow: 0 0 60px rgba(238, 186, 76, 0.3), 0 0 150px rgba(214, 162, 52, 0.27), 0 0 320px rgba(178, 130, 34, 0.22), 0 0 560px rgba(132, 94, 22, 0.16) !important;
    }
}

/* The RM initials mark at the top of the gallery arrives the way a signature
   does: it is drawn on from left to right, the way a hand travels across the
   page, and once the last stroke lands it settles into a slow, quiet pulse.
   The reveal is a soft-edged mask swept across the mark, so the leading edge
   reads as the tip of a pen rather than a hard wipe. */
/* The initials band carries the screen blend, not the mark itself: a plain
   wrapper with no transform and no animation of its own stays in the page's
   own stacking context, so the mark's dark backdrop really does fall away into
   the page behind it instead of compositing into a layer of its own and
   showing as a box. */
.rm-mark-band {
    position: relative;
}

.rm-mark {
    /* The initials arrive as a JPG, so its own black backdrop would otherwise
       sit as a solid box on the wall. The band behind the mark screens that
       black away into the page, leaving only the gold linework of the
       signature showing. */
    /* Crush the mark's near-black backdrop down to true black before it is
       screened, so the dark box disappears completely and only the gold
       linework of the signature is left showing. */
    filter: none;
    transform-origin: center center;
    -webkit-mask-image: linear-gradient(90deg, #000 0 50%, rgba(0, 0, 0, 0) 56% 100%);
    mask-image: linear-gradient(90deg, #000 0 50%, rgba(0, 0, 0, 0) 56% 100%);
    -webkit-mask-size: 200% 100%;
    mask-size: 200% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: 130% 0;
    mask-position: 130% 0;
    will-change: transform, -webkit-mask-position, mask-position;
}

.rm-mark.is-visible {
    animation: nd-rm-write 2.6s cubic-bezier(0.55, 0.05, 0.25, 1) forwards, nd-rm-pulse 7s ease-in-out 2.7s infinite;
}

/* The mark is laid down in one steady pass: the pen starts at the left, travels
   across the initials, and lifts away at the far edge. */
@keyframes nd-rm-write {
    from {
        -webkit-mask-position: 130% 0;
        mask-position: 130% 0;
    }
    to {
        -webkit-mask-position: 0% 0;
        mask-position: 0% 0;
    }
}

@keyframes nd-rm-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rm-mark {
        animation: none;
        transform: none;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* The top navigation keeps the highest-priority links on view and gathers the
   remaining pages into a "More" menu, so the bar never wraps or runs off the
   edge of a laptop screen. */
.nav-more {
    position: relative;
}

.nav-more-toggle {
    gap: 0.4rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-more-caret {
    font-size: 0.58rem;
    transition: transform 240ms ease;
}

.nav-more:hover .nav-more-caret,
.nav-more:focus-within .nav-more-caret,
.nav-more.is-open .nav-more-caret {
    transform: rotate(180deg);
}

.nav-more-panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    display: flex;
    min-width: 11rem;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

/* A continuous hover area bridges the small gap between the trigger and the
   panel, so the menu stays open while the pointer travels down into it. */
.nav-more-panel::before {
    content: '';
    position: absolute;
    top: -0.6rem;
    left: 0;
    right: 0;
    height: 0.6rem;
}

.nav-more:hover .nav-more-panel,
.nav-more:focus-within .nav-more-panel,
.nav-more.is-open .nav-more-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 0s;
}

.nav-more-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    border-radius: 0.7rem;
    padding: 0 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: background 220ms ease, color 220ms ease;
}

.nav-more-link:hover,
.nav-more-link:focus {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-color);
}

@media (prefers-reduced-motion: reduce) {
    .nav-more-caret,
    .nav-more-panel {
        transition: none;
    }
}

/* The page's colour wash melts into the footer. A soft gradient cap sits in the
   empty space just above the footer and eases the coloured background above
   down into the footer's own dark, so the two never meet on a hard horizontal
   line — the hues simply sink away into the black at the foot of the page. */
/* A soft shadow sits above the foot of the page, so the last stretch of the
   home view eases down into the footer on a gentle fall rather than meeting it
   on a hard edge. The gradient cap below carries the colour wash away into the
   footer's own dark, and this quiet shadow lifts just above that cap to finish
   the fade. */
.site-footer {
    position: relative;
    box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.42);
}

.site-footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: clamp(5rem, 12vw, 9rem);
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(5, 5, 5, 0) 0%,
        rgba(5, 5, 5, 0.24) 28%,
        rgba(5, 5, 5, 0.58) 56%,
        rgba(5, 5, 5, 0.88) 80%,
        var(--background-color) 100%
    );
}

/* A quiet backing frame behind the wording on the home view. Every passage of
   text that sits over the moving artwork and the plain black field now rests
   on a soft, darkened plate with a hairline edge, so the words stay legible
   whether the work behind them is bright or dark. The plate is deliberately
   almost invisible — the faintest shadow of a panel, its edges eased and its
   corners rounded — so it reads as the page softly backing the words rather
   than a box drawn around them. Nothing changes size or position: the plate
   only sits behind the text and grows with it. */
.text-backplate {
    position: relative;
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* The plate that sits under a single artwork's caption: the same quiet frame,
   held smaller and without the blurring layer — a long wall of captions must
   stay light to scroll, so these read only as a soft dark backing behind the
   title and size. */
.text-backplate-sm {
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* Where the soft blurring layer is not available at all, the plate is simply
   laid down a little darker, so the words stay just as readable. */
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
    .text-backplate {
        background: none;
    }
}

/* The designer credit at the foot of the page catches the same gold light the
   nav words do: resting on the name lifts the lettering to a warmer gold and
   gathers a soft halo around it, then lets the light sink away again. The glow
   is held tight to the words — a bright near rim and a wide, quiet falloff —
   so it reads as the same lit gold used across the site rather than a flare. */
.footer-credit-link {
    display: inline-block;
    border-radius: 0.35rem;
    transition: color 420ms ease, text-shadow 520ms ease, filter 520ms ease;
    will-change: text-shadow, filter;
}

.footer-credit-link:hover,
.footer-credit-link:focus-visible {
    color: var(--accent-hover);
    text-shadow:
        0 0 6px rgba(255, 230, 160, 0.72),
        0 0 16px rgba(242, 190, 78, 0.58),
        0 0 34px rgba(228, 168, 56, 0.4),
        0 0 62px rgba(196, 140, 34, 0.26);
    filter: drop-shadow(0 0 12px rgba(242, 190, 78, 0.32));
    animation: nd-credit-glow-breathe 5.4s ease-in-out infinite;
}

/* Once the light has settled on the name it keeps breathing: the halo swells a
   little and eases back, so the glow reads as living rather than frozen. */
@keyframes nd-credit-glow-breathe {
    0%,
    100% {
        text-shadow:
            0 0 6px rgba(255, 230, 160, 0.72),
            0 0 16px rgba(242, 190, 78, 0.58),
            0 0 34px rgba(228, 168, 56, 0.4),
            0 0 62px rgba(196, 140, 34, 0.26);
    }
    50% {
        text-shadow:
            0 0 9px rgba(255, 238, 186, 0.94),
            0 0 24px rgba(248, 200, 92, 0.8),
            0 0 52px rgba(236, 178, 62, 0.56),
            0 0 96px rgba(204, 148, 38, 0.36);
    }
}

.footer-credit-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .footer-credit-link {
        transition: none;
    }

    .footer-credit-link:hover,
    .footer-credit-link:focus-visible {
        animation: none;
    }
}

/* One word inside the gallery statement — "perspective" — carries the link down
   to the artist section. It is left exactly as the line it sits in: same face,
   same size, same place. Only its light changes. A soft warm gold hue gathers
   over the word and eases away again on a slow, even breath, so it quietly
   glows where the sentence pauses instead of being underlined or boxed. The
   gold sits close to the letters with only a faint bloom beyond them, so the
   paragraph still reads as one piece of writing with one lit word in it. */
.about-word-link {
    display: inline;
    border-radius: 0.25rem;
    color: var(--text-muted);
    text-decoration: none;
    animation: nd-about-word-hue 9.5s ease-in-out infinite;
    transition: color 420ms ease, text-shadow 420ms ease;
    will-change: color, text-shadow;
}

@keyframes nd-about-word-hue {
    0%,
    100% {
        color: var(--text-muted);
        text-shadow: 0 0 0 rgba(242, 190, 78, 0);
    }
    46% {
        color: rgba(242, 190, 78, 0.62);
        text-shadow: 0 0 5px rgba(255, 226, 148, 0.14), 0 0 14px rgba(242, 190, 78, 0.07);
    }
    62% {
        color: rgba(255, 212, 107, 0.74);
        text-shadow: 0 0 7px rgba(255, 236, 176, 0.18), 0 0 18px rgba(242, 190, 78, 0.09);
    }
}

/* Resting on the word holds the light at its warmest, so the link answers the
   pointer without the glow ever running away from the letters. */
.about-word-link:hover,
.about-word-link:focus-visible {
    animation: none;
    color: rgba(255, 212, 107, 0.86);
    text-shadow: 0 0 8px rgba(255, 238, 186, 0.24), 0 0 18px rgba(242, 190, 78, 0.12);
}

.about-word-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .about-word-link {
        animation: none;
        color: var(--accent-color);
    }

    .about-word-link:hover,
    .about-word-link:focus-visible {
        transition: none;
    }
}

/* The BST link alone answers the pointer in blood red.

   Every other word in the bar warms toward the studio's gold. This one door —
   the apparel line — turns instead to the deep red the collection is painted
   in: the lettering takes the blood colour itself, a dark red rim gathers
   around it, and the broad pool of light behind the word swells in that same
   red rather than gold. Nothing else in the bar changes, and the link rests
   exactly as it always did until the pointer reaches it. */

.nav-link.nav-link-bst::after {
    /* The pool of red behind the BST word is spread wider and taller than the
       gold pools of the other links, so the blood-red halo around the apparel
       door reaches a little further across the bar. */
    width: 222%;
    height: 366%;
    background: radial-gradient(closest-side,
        rgba(226, 62, 70, 0.86) 0%,
        rgba(198, 18, 32, 0.78) 24%,
        rgba(160, 10, 24, 0.62) 48%,
        rgba(116, 5, 14, 0.42) 72%,
        rgba(66, 2, 8, 0) 100%);
}

.nav-link.nav-link-bst:hover,
.nav-link.nav-link-bst:focus,
.nav-link.nav-link-bst:focus-visible {
    color: var(--text-color) !important;
    -webkit-text-fill-color: var(--text-color) !important;
    text-shadow:
        0 0 8px rgba(232, 58, 66, 1),
        0 0 20px rgba(204, 18, 30, 0.98),
        0 0 46px rgba(178, 11, 24, 0.9),
        0 0 92px rgba(142, 6, 16, 0.74),
        0 0 160px rgba(104, 3, 10, 0.54);
    filter: drop-shadow(0 0 14px rgba(200, 18, 30, 0.82)) drop-shadow(0 0 44px rgba(164, 10, 22, 0.66)) drop-shadow(0 0 96px rgba(114, 3, 10, 0.46));
    animation: nd-bst-rim 15s ease-in-out infinite, nd-bst-rim-pulse 21s ease-in-out infinite;
    will-change: text-shadow, filter;
}

/* The red rim breathes on the same slow, uneven rhythm the gold rim uses: it
   lifts out of a low ember, throws a broad dark-red halo past the word, gutters,
   and swells again — so the link reads as lit blood rather than a flat colour
   swap. */
@keyframes nd-bst-rim {
    0%,
    100% {
        text-shadow:
            0 0 9px rgba(226, 44, 54, 0.92),
            0 0 23px rgba(200, 15, 28, 0.88),
            0 0 51px rgba(174, 11, 22, 0.76),
            0 0 104px rgba(140, 6, 14, 0.6),
            0 0 178px rgba(102, 3, 9, 0.42);
    }
    40% {
        text-shadow:
            0 0 13px rgba(232, 84, 88, 1),
            0 0 33px rgba(210, 24, 36, 1),
            0 0 74px rgba(190, 13, 26, 0.96),
            0 0 150px rgba(152, 7, 17, 0.8),
            0 0 264px rgba(110, 3, 9, 0.6);
    }
    70% {
        text-shadow:
            0 0 10px rgba(230, 56, 64, 0.96),
            0 0 28px rgba(202, 17, 30, 0.92),
            0 0 61px rgba(178, 12, 22, 0.82),
            0 0 122px rgba(142, 6, 15, 0.66),
            0 0 208px rgba(104, 3, 9, 0.48);
    }
}

@keyframes nd-bst-rim-pulse {
    0%,
    100% {
        filter: drop-shadow(0 0 15px rgba(198, 17, 30, 0.7)) drop-shadow(0 0 43px rgba(164, 10, 22, 0.56)) drop-shadow(0 0 90px rgba(120, 3, 10, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 26px rgba(228, 64, 72, 0.9)) drop-shadow(0 0 72px rgba(192, 14, 28, 0.76)) drop-shadow(0 0 152px rgba(140, 6, 14, 0.6));
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-link.nav-link-bst:hover,
    .nav-link.nav-link-bst:focus,
    .nav-link.nav-link-bst:focus-visible {
        animation: none !important;
        color: var(--text-color) !important;
        -webkit-text-fill-color: var(--text-color) !important;
        text-shadow: 0 0 14px rgba(222, 24, 38, 0.92), 0 0 40px rgba(190, 12, 24, 0.82), 0 0 92px rgba(142, 6, 14, 0.62) !important;
        filter: drop-shadow(0 0 16px rgba(198, 17, 30, 0.7)) !important;
    }
}