.immersive, .archive-immersive {
    --abyss: #06161d;
    --surface: #0b252d;
    --surface-deep: #091d25;
    --ink: #aee8ed;
    --quiet-ink: #81b7c1;
    --accent: #53deee;
    --glow: #0099bb;
    --hairline: #23505a;
    --paper: var(--abyss);
    color: var(--ink);
    background: var(--abyss);
    color-scheme: dark;
}
.immersive [data-world="skin"] {
    --abyss: #06161d;
    --surface: #0b252d;
    --surface-deep: #091d25;
    --ink: #aee8ed;
    --quiet-ink: #81b7c1;
    --accent: #53deee;
    --glow: #0099bb;
    --hairline: #23505a;
}
:is(.immersive, .immersive [data-world])[data-world="daily"] {
    --abyss: #241813; --surface: #432e24; --surface-deep: #34241c;
    --ink: #e6c1ab; --quiet-ink: #c9a58e; --accent: #f2b08c; --glow: #d47e51; --hairline: #795545;
}
:is(.immersive, .immersive [data-world])[data-world="scent"] {
    --abyss: #23130e; --surface: #382317; --surface-deep: #2e1b13;
    --ink: #efc09a; --quiet-ink: #c39a77; --accent: #f5a455; --glow: #db6d23; --hairline: #6b4936;
}
:is(.immersive, .immersive [data-world])[data-world="sleep"] {
    --abyss: #12162f; --surface: #212444; --surface-deep: #181d39;
    --ink: #cac7f4; --quiet-ink: #aaa6d8; --accent: #a9a6ff; --glow: #6059e4; --hairline: #484977;
}
:is(.immersive, .immersive [data-world])[data-world="home"] {
    --abyss: #101c13; --surface: #1b2d1d; --surface-deep: #142519;
    --ink: #c1dca6; --quiet-ink: #9cb591; --accent: #92be76; --glow: #4f8d5a; --hairline: #446448;
}
:is(.immersive, .immersive [data-world])[data-world="gifts"] {
    --abyss: #240e19; --surface: #3b1a2b; --surface-deep: #301424;
    --ink: #e9b6c9; --quiet-ink: #c998ac; --accent: #ed8ead; --glow: #b9336b; --hairline: #743951;
}
.immersive[data-world="studio"] {
    --abyss: #171328; --surface: #26203a; --surface-deep: #211a32;
    --ink: #cbbce8; --quiet-ink: #ab9ec9; --accent: #c7a7fa; --glow: #8867ce; --hairline: #574668;
}
.immersive :is(a,button,select,input):focus-visible { outline-color: var(--accent); }
.immersive ::selection { color: var(--abyss); background: var(--accent); }
.immersive .house-header {
    background: color-mix(in srgb, var(--abyss), transparent 11%);
    border-color: color-mix(in srgb, var(--accent), transparent 76%);
    backdrop-filter: blur(19px) saturate(120%);
}
.immersive .house-logo { color: var(--accent); }
.immersive .house-nav a[aria-current] { color: var(--accent); }
.immersive .house-menu {
    padding-top: clamp(35px, 6vw, 72px);
    background: radial-gradient(ellipse at right top, var(--surface), var(--abyss) 72%);
    border-left: 1px solid var(--hairline);
}
.immersive .house-menu::backdrop, .immersive dialog::backdrop { background: #020b11c9; backdrop-filter: blur(7px); }
.immersive :is(.house-close,.dialog-close) {
    background: var(--surface-deep);
    color: var(--ink);
    border-color: var(--hairline);
}
.immersive :is(.house-close,.dialog-close):hover { border-color: var(--accent); }
.immersive .house-search input { border-color: var(--hairline); background: var(--surface-deep); }
.immersive .house-search input::placeholder { color: var(--quiet-ink); }
.immersive .skip, .archive-immersive .skip:focus { background: var(--surface); color: var(--accent); }
.immersive .house-footer {
    color: var(--quiet-ink);
    background: radial-gradient(ellipse at 0 50%, var(--surface), var(--abyss) 69%);
    border-top: 1px solid var(--hairline);
}

/* Pressed states and image layers use the active scene's colour. */
.immersive .campaign {
    color: var(--ink);
    isolation: isolate;
    overflow: hidden;
    background: var(--abyss);
    touch-action: pan-y;
}
.immersive .campaign-slide {
    min-height: clamp(635px, 49vw, 940px);
    background: var(--abyss);
    color: var(--ink);
}
.immersive .campaign-slide picture {
    transform: perspective(1400px) translate3d(calc(var(--depth-x,0) * 12px),calc(var(--depth-y,0) * 8px),0)
        rotateY(calc(var(--depth-x,0) * -2.8deg)) rotateX(calc(var(--depth-y,0) * 2deg)) scale(1.047);
    transform-origin: 65% 50%;
    transition: transform .62s cubic-bezier(.2,.65,.3,1);
}
.immersive .campaign-slide::after {
    background: linear-gradient(88deg,var(--abyss) 0%,color-mix(in srgb,var(--abyss),transparent 32%) 36%,transparent 65%),
        linear-gradient(0deg,#06161d 0%,#06161d77 16%,transparent 45%);
}
.immersive .campaign-copy { padding-bottom: 128px; }
.immersive .campaign-copy :is(h1,h2) { color: var(--ink); }
.immersive .campaign-copy em { color: var(--accent); }
.immersive .campaign-description { color: var(--ink); }
.immersive .campaign-copy .editorial-label { color: var(--accent); }
.immersive .campaign-cta { color: var(--accent); border-color: currentColor; }
.campaign-orbit {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
}
.campaign-bottom {
    position: absolute;
    z-index: 2;
    left: var(--edge);
    bottom: 23px;
    display: flex;
    gap: clamp(13px,3vw,37px);
    align-items: center;
    color: var(--quiet-ink);
}
.descend-link {
    min-height: 34px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: inherit;
    font: 560 12px/1.25 var(--sans);
}
.descend-link:hover { color: var(--accent); }
.descend-link span { color: var(--accent); font-size: 15px; }
.immersive .campaign-tabs { z-index: 2; bottom: 22px; gap: 17px; }
.immersive .campaign-tabs button { color: var(--quiet-ink); border-color: var(--hairline); }
.immersive .campaign-tabs button:is([aria-selected="true"],:hover) { color: var(--accent); border-color: currentColor; }

.immersive .rituals {
    isolation: isolate;
    overflow: clip;
    color: var(--ink);
    padding-top: clamp(69px,9vw,150px);
    background: radial-gradient(ellipse at 74% 59%,color-mix(in srgb,var(--glow),transparent 78%),transparent 64%),
        linear-gradient(#06161d 0%,var(--abyss) 31%,var(--abyss) 75%,#06161d);
}
.immersive .rituals > h2 { text-align: left; margin-bottom: clamp(25px,4vw,56px); }
.immersive .rituals > h2 em { color: var(--accent); }
.world-controls {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 22px;
    margin-bottom: 21px;
}
.immersive .ritual-tabs { border-color: var(--hairline); margin-bottom: 0; }
.immersive .ritual-tabs button { color: var(--quiet-ink); }
.immersive .ritual-tabs button span { background: var(--swatch); box-shadow: 0 0 9px var(--swatch); }
.immersive .ritual-tabs button:is([aria-selected="true"],:hover) {
    color: var(--ink);
    background: color-mix(in srgb,var(--swatch),transparent 89%);
    border-color: var(--swatch);
}
.world-arrows { display: flex; gap: 8px; }
.world-arrows button {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    font-size: 18px;
}
.world-arrows button:hover { background: var(--surface); border-color: var(--accent); }
.immersive .ritual-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 59%) minmax(0, 41%);
    min-height: clamp(390px,36.5vw,600px);
    color: var(--ink);
    background: linear-gradient(125deg,var(--surface),var(--surface-deep) 58%,var(--abyss));
    border: 1px solid color-mix(in srgb,var(--accent),transparent 72%);
    border-radius: 14px;
    transform: perspective(1300px) rotateX(calc(var(--depth-y,0) * -2.2deg)) rotateY(calc(var(--depth-x,0) * 3.1deg));
    transition: transform .65s cubic-bezier(.2,.65,.3,1);
    box-shadow: 0 23px 66px #02070d73,0 0 36px color-mix(in srgb,var(--glow),transparent 85%);
    overflow: hidden;
    touch-action: pan-y;
}
.immersive .ritual-panel.is-active { animation: panel-arrive .43s cubic-bezier(.2,.65,.3,1) both; }
@keyframes panel-arrive { from { opacity: .42; filter: brightness(.8); } to { opacity: 1; filter: brightness(1); } }
.immersive .ritual-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,transparent 70%,var(--surface-deep) 106%);
}
.immersive .ritual-image img {
    transform: translate3d(calc(var(--depth-x,0) * 13px),calc(var(--depth-y,0) * 10px),0) scale(1.06);
    transition: transform .55s cubic-bezier(.2,.65,.3,1);
}
.immersive .ritual-copy { position: relative; padding: clamp(28px,4.5vw,79px); }
.world-palette {
    color: var(--accent);
    font-size: 10px !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 660;
    margin-bottom: 14px;
}
.immersive .ritual-link { color: var(--accent); }
.immersive .ritual-copy p:not(.world-palette) { color: var(--quiet-ink); }

.immersive .first-editions { background: linear-gradient(var(--abyss) 12%,var(--surface-deep)); }
.immersive .editions-heading { border-color: var(--hairline); }
.immersive .editions-heading em { color: var(--accent); }
.immersive .product-feature-photo, .immersive .design-card-image, .immersive .featured-design img {
    background: var(--surface);
    border-radius: 6px;
    box-shadow: 0 12px 39px #02080c82;
}
.immersive .arrow-circle { color: var(--accent); }
.immersive .product-feature:hover .arrow-circle { background: var(--accent); color: var(--abyss); }
.immersive .studio-invitation {
    --ink: #cbbce8; --accent: #c7a7fa;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(110deg,#1c1533,#191429 58%,#201735);
    color: var(--ink);
}
.immersive .studio-invitation img {
    transform: translate3d(calc(var(--depth-x,0) * 9px),calc(var(--depth-y,0) * 6px),0) scale(1.045);
    transition: transform .55s ease;
}
.immersive .studio-invitation figcaption, .immersive .studio-hero-image figcaption {
    background: #171328d9; color: #cbbce8;
}
.immersive .studio-invitation figure { overflow: hidden; }
.immersive .invitation-copy em { color: var(--accent); }

.immersive .category-main {
    --tint: var(--surface);
    --tint-ink: var(--ink);
    color: var(--ink);
    background: var(--abyss);
}
.immersive :is(.category-hero,.studio-hero) {
    overflow: hidden;
    background: linear-gradient(110deg,var(--surface),var(--abyss) 72%);
    color: var(--ink);
}
.immersive :is(.category-name,.section-title) { color: var(--ink); }
.immersive :is(.category-name,.section-title) em { color: var(--accent); }
.immersive :is(.category-picture,.studio-hero-image) img {
    transform: translate3d(calc(var(--depth-x,0) * 14px),calc(var(--depth-y,0) * 9px),0) scale(1.044);
    transition: transform .55s ease;
}
.immersive :is(.category-picture,.studio-hero-image) { overflow: hidden; }
.immersive :is(.category-picture,.studio-hero-image)::after {
    position: absolute; inset: 0; content: ""; pointer-events: none;
    background: linear-gradient(90deg,var(--abyss),transparent 24%);
}
.immersive .studio-hero-image figcaption { z-index: 1; }
.immersive :is(.category-items,.category-nav,.design-section,.studio-gallery) { background: var(--abyss); }
.immersive .category-list article { color: var(--ink); background: var(--surface-deep); border-color: var(--hairline); }
.immersive .category-nav a { border-color: var(--hairline); }
.immersive .category-nav a:is(:hover,[aria-current]) { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.immersive .product-status, .immersive .category-items a, .immersive .design-heading a { color: var(--accent); }

.immersive .studio { color: var(--ink); }
.immersive .studio-controls, .immersive .dialog-pager { border-color: var(--hairline); }
.immersive .studio-field label, .immersive .design-card-meta, .immersive .compare-design figcaption { color: var(--quiet-ink); }
.immersive .studio-field :is(select,input), .immersive .compare-design select {
    background: var(--surface-deep); border-color: var(--hairline); color: var(--ink);
}
.immersive .studio-field input::placeholder { color: var(--quiet-ink); }
.immersive :is(.studio-save-filter,.studio-compare-button,.studio-more,.dialog-options button,.dialog-pager button) {
    background: var(--surface-deep); border-color: var(--hairline); color: var(--ink);
}
.immersive :is(.studio-save-filter,.studio-compare-button,.studio-more,.dialog-options button,.dialog-pager button):is(:hover,[aria-pressed="true"]):not(:disabled) {
    background: var(--accent); border-color: var(--accent); color: var(--abyss);
}
.immersive :is(.design-dialog,.compare-dialog) { background: var(--surface-deep); color: var(--ink); }
.immersive .design-saved { background: var(--surface-deep); color: var(--accent); }
.immersive .dialog-image-wrap { background: var(--abyss); }

.archive-immersive {
    --muted: var(--quiet-ink);
    --border: var(--hairline);
    --sea: var(--accent);
}
.archive-immersive :is(.aqua-section,.archive,.format,.format-picture,.edition-image,.aqua-image,.tone-rise,.tone-flow,.tone-unwind) {
    background: var(--surface-deep); color: var(--ink); border-color: var(--hairline);
}
.archive-immersive :is(.primary,.outline-link:hover,.expand,.filters button[aria-pressed="true"],.switcher button[aria-pressed="true"]) {
    background: var(--accent); color: var(--abyss);
}
.archive-immersive :is(.stage,.switcher,.format-circle,.viewer-art) { background-color: var(--surface); }
.archive-immersive .hero { color: var(--ink); }
.archive-immersive .archive-return {
    position: fixed; bottom: 14px; right: 14px; z-index: 25; padding: 8px 14px; border-radius: 20px;
    background: var(--surface-deep); color: var(--accent); border: 1px solid var(--hairline); font-size: 13px;
}

.immersive[data-motion="paused"] *, .immersive[data-motion="paused"] *::before, .immersive[data-motion="paused"] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
@media (max-width: 700px) {
    .world-controls { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .world-arrows { justify-content: end; }
}
@media (max-width: 640px) {
    .immersive .campaign-slide { min-height: clamp(600px,155vw,715px); }
    .immersive .campaign-slide::after {
        background: linear-gradient(0deg,var(--abyss) 29%,color-mix(in srgb,var(--abyss),transparent 12%) 45%,transparent 77%);
    }
    .immersive .campaign-copy { padding-bottom: 130px; }
    .immersive .campaign-tabs { bottom: 49px; }
    .campaign-bottom { bottom: 10px; right: var(--edge); justify-content: space-between; }
    .immersive .ritual-panel { display: flex; min-height: 0; }
    .immersive .ritual-image::after { background: linear-gradient(0deg,var(--surface-deep),transparent 17%); }
    .immersive :is(.category-picture,.studio-hero-image)::after { background: linear-gradient(0deg,var(--abyss),transparent 16%); }
}
html[data-aura-motion="paused"] { scroll-behavior: auto; }

.immersive .campaign-slide.is-active .campaign-copy { animation: none; }
.immersive .campaign[data-switched] .campaign-slide.is-active .campaign-copy {
    animation: campaign-copy-arrive .36s ease-out both;
}
@keyframes campaign-copy-arrive {
    from { opacity: .83; transform: translateY(5px); }
    to { opacity: 1; transform: none; }
}
@media (min-width: 641px) {
    .immersive .category-hero {
        background: linear-gradient(90deg,var(--surface-deep),var(--abyss) 42%);
    }
    .immersive .studio-hero {
        background: linear-gradient(90deg,var(--surface-deep),var(--abyss) 46%);
    }
    .immersive :is(.category-picture,.studio-hero-image)::after {
        background: linear-gradient(90deg,var(--abyss),transparent 21%),
                    linear-gradient(0deg,var(--abyss),transparent 9%);
    }
}
