/* ==========================================================================
   RAWBURTZ BUILD 046 — PUBLIC NERVOUS SYSTEM
   Motion and responsive behavior layered over BUILD 043/044/045.
   ========================================================================== */

.rb046-nervous-system {
    --rb046-ease: cubic-bezier(.2,.8,.2,1);
    --rb046-fast: 180ms;
    --rb046-medium: 420ms;
    --rb046-slow: 780ms;
}

/* ------------------------------------------------------------
   VIEWPORT REVEAL
   ------------------------------------------------------------ */

.rb046-reveal {
    --rb046-reveal-y: 26px;
    opacity: 0;
    transform: translate3d(0, var(--rb046-reveal-y), 0);
    transition:
        opacity var(--rb046-slow) var(--rb046-ease),
        transform var(--rb046-slow) var(--rb046-ease);
    transition-delay: var(--rb046-delay, 0ms);
}

.rb046-reveal.is-rb046-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.rb046-reveal[data-rb046-reveal="left"] {
    --rb046-reveal-y: 0px;
    transform: translate3d(-28px, 0, 0);
}

.rb046-reveal[data-rb046-reveal="left"].is-rb046-visible {
    transform: translate3d(0, 0, 0);
}

.rb046-reveal[data-rb046-reveal="right"] {
    --rb046-reveal-y: 0px;
    transform: translate3d(28px, 0, 0);
}

.rb046-reveal[data-rb046-reveal="right"].is-rb046-visible {
    transform: translate3d(0, 0, 0);
}

/* ------------------------------------------------------------
   SIGNAL TRACE
   ------------------------------------------------------------ */

.rb046-signal-trace {
    position: relative;
}

.rb046-signal-trace::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--rb044-signal, #ff1a1a);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 520ms var(--rb046-ease);
    pointer-events: none;
}

.rb046-signal-trace.is-rb046-visible::after,
.rb046-signal-trace:hover::after,
.rb046-signal-trace:focus-within::after {
    transform: scaleX(1);
}

/* ------------------------------------------------------------
   ARTWORK PRESENCE / MICRO DRIFT
   ------------------------------------------------------------ */

.rb046-art-presence {
    --rb046-art-x: 0px;
    --rb046-art-y: 0px;
    --rb046-art-rx: 0deg;
    --rb046-art-ry: 0deg;
    transform:
        perspective(1100px)
        translate3d(var(--rb046-art-x), var(--rb046-art-y), 0)
        rotateX(var(--rb046-art-rx))
        rotateY(var(--rb046-art-ry));
    transform-style: preserve-3d;
    transition: transform 380ms var(--rb046-ease);
    will-change: transform;
}

.rb046-art-presence.is-rb046-active {
    transition-duration: 90ms;
}

.rb046-art-presence img {
    transition:
        transform 560ms var(--rb046-ease),
        filter 360ms ease;
}

.rb046-art-presence:hover img {
    filter: saturate(1.04) contrast(1.025);
}

/* Slightly lift artwork cards, never enough to feel like generic ecommerce. */
.rb046-card-response {
    position: relative;
    transition:
        transform 280ms var(--rb046-ease),
        background-color 280ms ease,
        border-color 280ms ease;
}

.rb046-card-response::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: #ff1a1a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms var(--rb046-ease);
    pointer-events: none;
}

.rb046-card-response:hover {
    transform: translate3d(0,-3px,0);
}

.rb046-card-response:hover::after,
.rb046-card-response:focus-within::after {
    transform: scaleX(1);
}

/* ------------------------------------------------------------
   BUTTON / LINK RESPONSE
   ------------------------------------------------------------ */

.rb046-nervous-system .button-primary,
.rb046-nervous-system .button-secondary,
.rb046-nervous-system .text-link,
.rb046-nervous-system .nav-link,
.rb046-nervous-system button[type="submit"] {
    --rb046-button-x: 0px;
    --rb046-button-y: 0px;
}

.rb046-magnetic {
    transform: translate3d(var(--rb046-button-x), var(--rb046-button-y), 0);
    transition: transform 160ms var(--rb046-ease);
    will-change: transform;
}

.rb046-magnetic.is-rb046-active {
    transition-duration: 60ms;
}

/* ------------------------------------------------------------
   SECTION SIGNAL PULSE
   ------------------------------------------------------------ */

.rb046-section-pulse {
    position: relative;
}

.rb046-section-pulse::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: #ff1a1a;
    opacity: .9;
    transition: height 720ms var(--rb046-ease);
    pointer-events: none;
    z-index: 5;
}

.rb046-section-pulse.is-rb046-visible::before {
    height: min(100%, 120px);
}

/* ------------------------------------------------------------
   RANDOMIZED MARK RESPONSE
   ------------------------------------------------------------ */

.rb045-mark-layer.is-visible {
    transition:
        opacity .85s var(--rb046-ease),
        transform 1.1s var(--rb046-ease),
        filter .5s ease;
}

.rb046-mark-reacting {
    --rb046-mark-shift-x: 0px;
    --rb046-mark-shift-y: 0px;
}

.rb046-mark-reacting > .rb045-mark-layer.is-visible {
    transform:
        translate3d(
            calc(var(--rb045-x, 0px) + var(--rb046-mark-shift-x)),
            calc(var(--rb045-y, 0px) + var(--rb046-mark-shift-y)),
            0
        )
        rotate(var(--rb045-rotate, -6deg))
        scale(var(--rb045-scale, 1));
}

/* ------------------------------------------------------------
   HERO BREATHING
   ------------------------------------------------------------ */

.rb043-hero-title,
.rb044-realm > section:first-child h1 {
    text-wrap: balance;
}

.rb046-nervous-system .rb043-hero-actions,
.rb046-nervous-system .rb043-hero-note {
    transition: transform 460ms var(--rb046-ease);
}

.rb046-nervous-system .rb043-hero:hover .rb043-hero-actions {
    transform: translate3d(4px,0,0);
}

.rb046-nervous-system .rb043-hero:hover .rb043-hero-note {
    transform: translate3d(-3px,0,0);
}

/* ------------------------------------------------------------
   FORMS
   ------------------------------------------------------------ */

.rb046-nervous-system input,
.rb046-nervous-system textarea,
.rb046-nervous-system select {
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.rb046-nervous-system input:focus,
.rb046-nervous-system textarea:focus,
.rb046-nervous-system select:focus {
    box-shadow: inset 3px 0 0 #ff1a1a;
}

/* ------------------------------------------------------------
   MOBILE / REDUCED MOTION
   ------------------------------------------------------------ */

@media (max-width: 820px) {
    .rb046-art-presence,
    .rb046-magnetic {
        transform: none !important;
    }

    .rb046-card-response:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rb046-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .rb046-art-presence,
    .rb046-magnetic,
    .rb046-mark-reacting > .rb045-mark-layer.is-visible {
        transform: none !important;
        transition: none !important;
    }

    .rb046-signal-trace::after,
    .rb046-card-response::after,
    .rb046-section-pulse::before {
        transition: none !important;
    }
}

@media print {
    .rb046-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .rb046-section-pulse::before,
    .rb046-card-response::after,
    .rb046-signal-trace::after {
        display: none !important;
    }
}

/* ==========================================================================
   RAWBURTZ BUILD 046 R2 — ALL-SCREEN SIGNAL MARQUEE
   Continuous, measured, seamless signal strip on desktop + mobile.
   ========================================================================== */

.rb043-signal-strip {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.rb043-signal-track.rb046-mobile-marquee,
.rb043-signal-track.rb046-all-screen-marquee {
    display: flex;
    width: max-content;
    min-width: max-content;
    justify-content: flex-start;
    gap: var(--rb046-marquee-gap, 42px);
    padding-left: 24px;
    padding-right: 24px;
    will-change: transform;
    animation:
        rb046-signal-marquee
        var(--rb046-marquee-duration, 24s)
        linear
        infinite;
}

.rb043-signal-track.rb046-mobile-marquee > span,
.rb043-signal-track.rb046-all-screen-marquee > span {
    flex: 0 0 auto;
}

@keyframes rb046-signal-marquee {
    from {
        transform: translate3d(0,0,0);
    }
    to {
        transform: translate3d(
            calc(-1 * var(--rb046-marquee-distance, 600px)),
            0,
            0
        );
    }
}

@media (min-width: 821px) {
    .rb043-signal-track.rb046-mobile-marquee,
    .rb043-signal-track.rb046-all-screen-marquee {
        gap: var(--rb046-marquee-gap, 54px);
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rb043-signal-strip {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .rb043-signal-strip::-webkit-scrollbar {
        display: none;
    }

    .rb043-signal-track.rb046-mobile-marquee,
    .rb043-signal-track.rb046-all-screen-marquee {
        animation: none !important;
        transform: none !important;
    }
}


/* ==========================================================================
   RAWBURTZ BUILD 047 — CONTINUITY / OBSERVER LAYER
   Progressive cross-document continuity + session-scoped observation memory.
   ========================================================================== */

/* Modern MPA continuity: unsupported browsers simply navigate normally. */
@view-transition {
    navigation: auto;
}

/* Root transition stays quiet so artwork continuity can be the event. */
::view-transition-old(root) {
    animation: rb047-root-out 180ms ease both;
}

::view-transition-new(root) {
    animation: rb047-root-in 360ms cubic-bezier(.2,.8,.2,1) both;
}

@keyframes rb047-root-out {
    to {
        opacity: .84;
        filter: brightness(.82);
    }
}

@keyframes rb047-root-in {
    from {
        opacity: .72;
        filter: brightness(.78);
    }
    to {
        opacity: 1;
        filter: brightness(1);
    }
}

/* JS marks artwork transition participants with this class. */
.rb047-view-artwork {
    view-transition-class: rb047-artwork;
}

::view-transition-group(*.rb047-artwork) {
    animation-duration: 620ms;
    animation-timing-function: cubic-bezier(.2,.8,.2,1);
}

/* Keep the global chrome visually stable where supported. */
.rb043-header {
    view-transition-name: rb047-header;
}

::view-transition-group(rb047-header) {
    animation-duration: 260ms;
}

.rb043-signal-strip {
    view-transition-name: rb047-signal;
}

::view-transition-group(rb047-signal) {
    animation-duration: 340ms;
}

/* ------------------------------------------------------------
   OBSERVATION MEMORY
   ------------------------------------------------------------ */

.rb047-seen-work {
    position: relative;
}

.rb047-seen-badge {
    position: absolute;
    z-index: 12;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.42);
    background: rgba(5,5,5,.88);
    color: #f4f1ea;
    font-size: .52rem;
    font-weight: 950;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
    backdrop-filter: blur(7px);
}

.rb047-seen-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #ff1a1a;
}

.rb047-seen-work:hover .rb047-seen-badge {
    border-color: #ff1a1a;
}

/* ------------------------------------------------------------
   OBSERVER RAIL
   ------------------------------------------------------------ */

.rb047-observer {
    position: fixed;
    z-index: 44;
    right: 14px;
    top: 50%;
    display: grid;
    grid-template-columns: 2px minmax(0, 145px);
    gap: 12px;
    align-items: stretch;
    min-height: 180px;
    transform: translateY(-50%);
    pointer-events: none;
}

.rb047-observer-track {
    position: relative;
    overflow: hidden;
    width: 2px;
    height: 100%;
    min-height: 180px;
    background: rgba(255,255,255,.12);
}

.rb047-observer-fill {
    position: absolute;
    inset: 0;
    background: #ff1a1a;
    transform: scaleY(var(--rb047-progress, 0));
    transform-origin: top;
    transition: transform 80ms linear;
}

.rb047-observer-copy {
    display: grid;
    align-content: center;
    gap: 9px;
}

.rb047-observer-index,
.rb047-observer-session {
    color: #ff1a1a;
    font-size: .50rem;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.rb047-observer-label {
    max-width: 145px;
    color: rgba(244,241,234,.72);
    font-size: .58rem;
    font-weight: 850;
    letter-spacing: .1em;
    line-height: 1.35;
    text-transform: uppercase;
}

.rb047-observer-session {
    color: rgba(244,241,234,.35);
}

/* Native scroll timeline progressively owns the bar when supported. */
@supports (animation-timeline: scroll()) {
    .rb047-observer-fill {
        transform: scaleY(0);
        animation: rb047-native-scroll-progress linear both;
        animation-timeline: scroll(root block);
        transition: none;
    }

    @keyframes rb047-native-scroll-progress {
        from { transform: scaleY(0); }
        to { transform: scaleY(1); }
    }
}

/* ------------------------------------------------------------
   CURRENT ARTWORK RECORD
   ------------------------------------------------------------ */

.rb047-current-observation {
    position: fixed;
    z-index: 43;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 10px;
    border-left: 3px solid #ff1a1a;
    background: rgba(5,5,5,.78);
    color: rgba(244,241,234,.64);
    font-size: .53rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 420ms cubic-bezier(.2,.8,.2,1),
        transform 420ms cubic-bezier(.2,.8,.2,1);
}

.rb047-current-observation.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rb047-current-observation strong {
    color: #fff;
    font-weight: 950;
}

/* ------------------------------------------------------------
   NAVIGATION FEEDBACK
   ------------------------------------------------------------ */

html.rb047-navigating .rb043-signal-strip {
    filter: brightness(1.12);
}

html.rb047-navigating .rb043-header {
    border-bottom-color: rgba(255,26,26,.7);
}

/* Mobile keeps continuity but removes fixed observer furniture. */
@media (max-width: 900px) {
    .rb047-observer {
        display: none;
    }

    .rb047-current-observation {
        left: 8px;
        bottom: 8px;
        min-height: 25px;
        max-width: calc(100vw - 16px);
        padding: 0 8px;
        font-size: .46rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root),
    ::view-transition-group(*.rb047-artwork),
    ::view-transition-group(rb047-header),
    ::view-transition-group(rb047-signal) {
        animation-duration: .01ms !important;
    }

    .rb047-current-observation {
        transition: none !important;
    }
}

@media print {
    .rb047-observer,
    .rb047-current-observation,
    .rb047-seen-badge {
        display: none !important;
    }
}

/* ==========================================================================
   RAWBURTZ BUILD 052 — SILENT OBSERVER
   Preserve the observation system while removing its intrusive text panel.
   ========================================================================== */

.rb047-observer {
    right: 10px;
    width: 2px;
    min-width: 2px;
    grid-template-columns: 2px;
    gap: 0;
}

.rb047-observer-copy {
    display: none !important;
}

.rb047-observer-track {
    width: 2px;
    min-height: 220px;
    background: rgba(255,255,255,.10);
}

.rb047-observer-fill {
    width: 2px;
    background: #ff1a1a;
}

/* The observer becomes a signal, not a panel. */
@media (min-width: 901px) {
    .rb047-observer {
        opacity: .82;
        transition: opacity 220ms ease;
    }

    .rb047-observer:hover {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .rb047-observer {
        display: none !important;
    }
}


/* ==========================================================================
   RAWBURTZ BUILD 053 — DESKTOP NAVIGATION COMPRESSION
   WORK owns contextual destinations. SEARCH becomes icon. CART anchors right.
   Mobile navigation remains untouched.
   ========================================================================== */

@media (min-width: 901px) {
    .rb053-desktop-nav {
        display: flex !important;
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        align-items: stretch;
        justify-content: flex-start !important;
        gap: 0 !important;
    }

    .rb053-desktop-nav > * {
        flex: 0 0 auto;
    }

    .rb053-work-menu {
        position: relative;
        display: flex;
        align-items: stretch;
    }

    .rb053-work-trigger {
        appearance: none;
        display: inline-flex;
        min-height: 100%;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 0;
        border-left: 1px solid rgba(255,255,255,.13);
        border-right: 1px solid rgba(255,255,255,.13);
        background: transparent;
        color: inherit;
        padding: 0 30px;
        font: inherit;
        font-size: inherit;
        font-weight: inherit;
        letter-spacing: inherit;
        line-height: inherit;
        text-transform: inherit;
        cursor: pointer;
    }

    .rb053-work-trigger:hover,
    .rb053-work-trigger:focus-visible,
    .rb053-work-menu.is-open .rb053-work-trigger {
        background: #ff1a1a;
        color: #fff;
        outline: 0;
    }

    .rb053-work-chevron {
        width: 8px;
        height: 8px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform 180ms ease;
    }

    .rb053-work-menu.is-open .rb053-work-chevron {
        transform: translateY(2px) rotate(225deg);
    }

    .rb053-work-dropdown {
        position: absolute;
        z-index: 150;
        left: 0;
        top: 100%;
        display: grid;
        width: min(320px, 28vw);
        min-width: 240px;
        border: 1px solid rgba(255,255,255,.16);
        border-top: 3px solid #ff1a1a;
        background: rgba(5,5,5,.98);
        box-shadow: 0 28px 70px rgba(0,0,0,.48);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    }

    .rb053-work-menu.is-open .rb053-work-dropdown,
    .rb053-work-menu:hover .rb053-work-dropdown,
    .rb053-work-menu:focus-within .rb053-work-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .rb053-work-dropdown a {
        display: flex !important;
        min-height: 58px;
        align-items: center;
        justify-content: space-between;
        border: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.11) !important;
        padding: 0 20px !important;
        background: transparent !important;
        color: rgba(244,241,234,.78) !important;
        text-decoration: none;
    }

    .rb053-work-dropdown a:last-child {
        border-bottom: 0 !important;
    }

    .rb053-work-dropdown a::after {
        content: "↗";
        color: rgba(255,255,255,.26);
        font-size: 12px;
        transition: transform 160ms ease, color 160ms ease;
    }

    .rb053-work-dropdown a:hover,
    .rb053-work-dropdown a:focus-visible {
        color: #fff !important;
        background: #ff1a1a !important;
        outline: 0;
    }

    .rb053-work-dropdown a:hover::after,
    .rb053-work-dropdown a:focus-visible::after {
        color: #fff;
        transform: translate(2px,-2px);
    }

    .rb053-search-link {
        display: inline-flex !important;
        width: 68px;
        min-width: 68px;
        align-items: center;
        justify-content: center;
        margin-left: auto !important;
        padding: 0 !important;
        font-size: 0 !important;
        line-height: 0;
    }

    .rb053-search-link svg {
        display: block;
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

    .rb053-search-link:hover svg,
    .rb053-search-link:focus-visible svg {
        stroke: #ff1a1a;
    }

    .rb053-cart-anchor {
        margin-left: 0 !important;
        flex: 0 0 auto;
    }

    .rb043-header .rb053-desktop-nav,
    header .rb053-desktop-nav {
        align-self: stretch;
    }
}


/* ==========================================================================
   RAWBURTZ BUILD 053 R1 — HEADER REFINEMENT
   Cleaner desktop lockup, direct WORK link, separate dropdown toggle, logo.
   ========================================================================== */

@media (min-width: 901px) {
    .rb053r1-header-row {
        display: grid !important;
        grid-template-columns: clamp(340px, 31vw, 390px) minmax(0, 1fr) !important;
        align-items: stretch !important;
        min-height: 96px !important;
        width: 100%;
    }

    .rb053r1-brand {
        display: flex !important;
        min-width: 0;
        min-height: 96px;
        align-items: center;
        gap: 14px;
        padding: 0 22px !important;
        border-right: 1px solid rgba(255,255,255,.12);
        overflow: hidden;
    }

    .rb053r1-brand-logo {
        display: block !important;
        flex: 0 0 44px;
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        object-fit: contain;
    }

    .rb053r1-brand .rb043-brand-mark-shell,
    .rb053r1-brand > .brand-logo:not(.rb053r1-brand-logo) {
        display: none !important;
    }

    .rb053r1-brand .brand-text,
    .rb053r1-brand-copy {
        display: flex !important;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .rb053r1-brand .brand-name {
        order: -1;
        margin: 0 !important;
        font-size: clamp(30px, 2.7vw, 38px) !important;
        font-weight: 700 !important;
        line-height: .92 !important;
        letter-spacing: .035em !important;
        white-space: nowrap;
    }

    .rb053r1-brand .brand-kicker {
        margin: 0 !important;
        font-size: 8px !important;
        line-height: 1.2 !important;
        letter-spacing: .18em !important;
        white-space: nowrap;
        opacity: .64;
    }

    .rb053-desktop-nav {
        width: auto !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        align-self: stretch !important;
        overflow: visible;
    }

    .rb053-work-menu {
        min-height: 96px;
        align-items: stretch;
        border-right: 1px solid rgba(255,255,255,.12);
    }

    .rb053r1-work-direct {
        display: inline-flex !important;
        min-height: 96px;
        align-items: center;
        justify-content: center;
        border: 0 !important;
        background: transparent !important;
        padding: 0 13px 0 28px !important;
        color: #f4f1ea !important;
        font-size: 17px !important;
        font-weight: 500 !important;
        letter-spacing: .035em !important;
        text-decoration: none;
    }

    .rb053r1-work-direct:hover,
    .rb053r1-work-direct:focus-visible {
        color: #ff1a1a !important;
        outline: 0;
    }

    .rb053r1-work-toggle {
        display: inline-flex !important;
        width: 44px;
        min-width: 44px;
        min-height: 96px;
        align-items: center;
        justify-content: center;
        border: 0 !important;
        background: transparent !important;
        padding: 0 !important;
        color: rgba(244,241,234,.78) !important;
        cursor: pointer;
    }

    .rb053r1-work-toggle:hover,
    .rb053r1-work-toggle:focus-visible,
    .rb053-work-menu.is-open .rb053r1-work-toggle {
        background: rgba(255,255,255,.035) !important;
        color: #ff1a1a !important;
        outline: 0;
    }

    .rb053r1-work-toggle .rb053-work-chevron {
        width: 9px;
        height: 9px;
    }

    .rb053-work-menu.is-open .rb053r1-work-direct {
        color: #fff !important;
    }

    .rb053-work-dropdown {
        top: 100%;
        left: 0;
        width: 270px;
        min-width: 270px;
    }

    .rb053-desktop-nav > a:not(.rb053-search-link):not(.rb053-cart-anchor) {
        display: inline-flex !important;
        min-height: 96px;
        align-items: center;
        justify-content: center;
        padding: 0 28px !important;
        border-left: 0 !important;
        border-right: 1px solid rgba(255,255,255,.12) !important;
        font-size: 12px !important;
        letter-spacing: .18em !important;
    }

    .rb053-search-link {
        width: 62px !important;
        min-width: 62px !important;
        min-height: 96px;
        border-left: 1px solid rgba(255,255,255,.12) !important;
        border-right: 1px solid rgba(255,255,255,.12) !important;
    }

    .rb053-cart-anchor {
        display: inline-flex !important;
        min-width: 128px;
        min-height: 96px;
        align-items: center;
        justify-content: center;
        margin-left: 0 !important;
        padding: 0 22px !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .rb053-cart-anchor .cart-badge,
    .rb053-cart-anchor .rbz-cart-count {
        margin-left: 8px;
    }
}

/* Preserve the existing mobile header exactly. */
@media (max-width: 900px) {
    .rb053r1-brand-logo {
        display: none !important;
    }
}


/* ==========================================================================
   RAWBURTZ BUILD 053 R2 — HOVER HERE / LOGO ONLY
   Desktop brand reduced to mark only; WORK returns to dropdown.
   ========================================================================== */

@media (min-width: 901px) {
    .rb053r1-header-row {
        grid-template-columns: 104px minmax(0, 1fr) !important;
        min-height: 92px !important;
    }

    .rb053r1-brand {
        min-height: 92px !important;
        justify-content: center !important;
        gap: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .rb053r1-brand-logo {
        flex: 0 0 52px !important;
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        margin: 0 !important;
    }

    /* Desktop brand language is now visual only: mark, no adjacent copy. */
    .rb053r1-brand .brand-text,
    .rb053r1-brand .rb053r1-brand-copy,
    .rb053r1-brand .brand-name,
    .rb053r1-brand .brand-kicker {
        display: none !important;
    }

    .rb053-work-menu {
        min-height: 92px !important;
    }

    /* R2 turns the former chevron-only control into the complete HOVER HERE trigger. */
    .rb053r1-work-toggle {
        width: auto !important;
        min-width: 168px !important;
        min-height: 92px !important;
        gap: 14px !important;
        padding: 0 26px !important;
        font-size: 12px !important;
        font-weight: 850 !important;
        letter-spacing: .16em !important;
        text-transform: uppercase !important;
        white-space: nowrap;
    }

    .rb053r1-work-toggle .rb053r2-hover-label {
        display: inline-block;
    }

    .rb053-work-menu.is-open .rb053r1-work-toggle,
    .rb053r1-work-toggle:hover,
    .rb053r1-work-toggle:focus-visible {
        background: #ff1a1a !important;
        color: #fff !important;
    }

    /* WORK is once again a menu destination, not a separate top-level control. */
    .rb053r1-work-direct {
        min-height: 58px !important;
        width: 100% !important;
        justify-content: space-between !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.11) !important;
        padding: 0 20px !important;
        background: transparent !important;
        color: rgba(244,241,234,.78) !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        letter-spacing: inherit !important;
        text-transform: inherit !important;
    }

    .rb053r1-work-direct::after {
        content: "↗";
        color: rgba(255,255,255,.26);
        font-size: 12px;
    }

    .rb053r1-work-direct:hover,
    .rb053r1-work-direct:focus-visible {
        background: #ff1a1a !important;
        color: #fff !important;
        outline: 0;
    }

    .rb053r1-work-direct:hover::after,
    .rb053r1-work-direct:focus-visible::after {
        color: #fff;
    }

    .rb053-desktop-nav > a:not(.rb053-search-link):not(.rb053-cart-anchor) {
        min-height: 92px !important;
    }

    .rb053-search-link,
    .rb053-cart-anchor {
        min-height: 92px !important;
    }
}

/* Mobile remains intentionally unchanged. */
@media (max-width: 900px) {
    .rb053r1-brand .brand-text,
    .rb053r1-brand .rb053r1-brand-copy,
    .rb053r1-brand .brand-name,
    .rb053r1-brand .brand-kicker {
        display: initial;
    }
}
