/* ==========================================================================
   Chestoria — landing page
   Dedicated stylesheet. Kept separate from styles.css, which the game app
   still uses.

   The hero is a scripted sequence: an iron-bound chest falls out of a dusk
   sky, lands in a grass clearing, and opens. landing.js writes progress
   values onto <html> and every layer here is positioned from them.

     --fall  0 → 1   descent (eased for gravity)
     --land  0 → 1   impact, a single pulse
     --open  0 → 1   lid rotation
     --glow  0 → 1   light coming out of the chest
     --p     0 → 1   raw hero progress, used for parallax
   ========================================================================== */

:root {
    /* Earth and iron, not black. */
    --ink-900: #0b0805;
    --ink-850: #120d08;
    --ink-800: #17110b;
    --ink-700: #1e1710;
    --ink-600: #2a2016;

    --text: #ece2d2;
    --text-dim: #a89b89;
    --text-faint: #6f6558;

    /* Firelight, muted metals. */
    --flame: #e8632c;
    --flame-2: #f08a3a;
    --ember: #ffb055;
    --gold: #d9a53f;
    --gold-2: #ffe3ab;
    --bronze: #c9a05a;
    --iron: #45414c;

    --grad-brand: linear-gradient(45deg, var(--flame), var(--ember));
    --grad-treasure: linear-gradient(180deg, #ffeec4, var(--gold) 46%, var(--flame));
    --grad-bronze: linear-gradient(180deg, #e6c489, #b98b3f 46%, #6d4b17);

    --stroke: rgba(201, 160, 90, .16);
    --stroke-strong: rgba(201, 160, 90, .34);
    --glass: rgba(255, 236, 200, .035);

    --radius: 6px;
    --radius-sm: 4px;
    --shell: min(1160px, 92vw);
    --header-h: 68px;

    /* Scene geometry. --horizon is the height of the ground band; the chest
       comes to rest at --ground-line, both measured from the stage bottom. */
    --horizon: 46%;
    --ground-line: 24%;
    /* Declared on :root so .scorch, a sibling of .chest, can size itself to
       the chest and stay anchored under it at any viewport shape. */
    --chest-w: clamp(260px, min(58vh, 88vw), 620px);

    /* Live values, written by landing.js. */
    --p: 0;
    --fall: 0;
    --land: 0;
    --open: 0;
    --glow: 0;
    --sqx: 1;
    --sqy: 1;
    --scroll: 0;
    --mx: 50%;
    --my: 30%;
    --pull: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
    background: var(--ink-900);
}

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    /* No background here: html owns it. An opaque body background would paint
       over .bg (z-index:-1) and hide the star canvas. */
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display {
    font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
    font-weight: 700;
    letter-spacing: .01em;
}

::selection { background: rgba(232, 99, 44, .4); color: #fff; }

:focus-visible {
    outline: 2px solid var(--bronze);
    outline-offset: 3px;
    border-radius: 3px;
}

.shell { width: var(--shell); margin-inline: auto; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Night sky behind the page
   ========================================================================== */

.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 50% 100%, rgba(90, 48, 20, .22), transparent 62%),
        linear-gradient(180deg, #07070c 0%, #0b0908 55%, var(--ink-900) 100%);
}

.bg__dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.bg__noise {
    position: absolute;
    inset: 0;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(130% 100% at 50% 38%, transparent 42%, rgba(0, 0, 0, .78) 100%);
}

/* ==========================================================================
   Header — arrives only once the sequence has played
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(12, 9, 6, .86);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    border-bottom: 1px solid var(--stroke);
    box-shadow: 0 1px 0 rgba(255, 220, 160, .05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1), visibility .45s;
}

.site-header.is-revealed { opacity: 1; visibility: visible; transform: none; }

.site-header__inner {
    width: var(--shell);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.brand__mark {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 0 8px rgba(255, 176, 85, .5));
}

.brand__text {
    background: var(--grad-treasure);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--text-dim);
    transition: color .25s ease, background .25s ease;
}

.nav a:hover { color: var(--text); background: rgba(255, 220, 160, .07); }

.nav .nav__cta {
    margin-left: 8px;
    color: #2a1607;
    font-weight: 600;
    background: var(--grad-bronze);
    border: 1px solid rgba(255, 226, 170, .35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 245, 220, .5);
}

.nav .nav__cta:hover {
    color: #2a1607;
    background: var(--grad-bronze);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--stroke-strong);
    border-radius: var(--radius-sm);
    background: var(--glass);
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s ease, opacity .2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after { content: ''; position: absolute; }

.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* ==========================================================================
   Hero — the drop
   ========================================================================== */

.hero {
    position: relative;
    height: 190vh;
}

.hero__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

/* ---- The chamber -------------------------------------------------------- */

.dungeon {
    position: absolute;
    inset: -8% 0 0;
    pointer-events: none;
    transform: translate3d(0, calc(var(--p) * -16vh), 0);
    will-change: transform;
}

.dungeon__wall {
    position: absolute;
    left: -4%;
    right: -4%;
    top: 0;
    height: calc(100% - var(--horizon) + 10%);
    background: url("../images/dungeon-wall.svg") 50% 100% / 100% 100% no-repeat;
}

/* Everything above eye level is lost in the dark. */
.dungeon__dark {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 62%;
    background: linear-gradient(180deg,
        #05050a 0%, rgba(6, 6, 10, .92) 34%, rgba(8, 8, 12, .55) 72%, transparent 100%);
}

/* The hole the chest fell through, and the daylight coming down it. */
.dungeon__shaft {
    position: absolute;
    left: 50%;
    top: -6%;
    width: min(46vw, 520px);
    height: 74%;
    translate: -50% 0;
    background: linear-gradient(180deg,
        rgba(180, 196, 224, .16) 0%,
        rgba(150, 168, 200, .07) 38%,
        transparent 84%);
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
    opacity: calc(1 - var(--fall) * .55);
}

/* ---- Torches ------------------------------------------------------------ */

.torch {
    position: absolute;
    top: 26%;
    width: 10px;
    height: 46px;
    border-radius: 3px;
    background: linear-gradient(180deg, #3a332b, #16130f);
}

.torch--l { left: 13%; }
.torch--r { right: 13%; }

.torch i {
    position: absolute;
    left: 50%;
    bottom: 78%;
    width: 46px;
    height: 62px;
    translate: -50% 0;
    border-radius: 50% 50% 46% 46%;
    background: radial-gradient(ellipse at 50% 72%,
        #fff3cf 0%, var(--ember) 26%, rgba(232, 99, 44, .5) 52%, transparent 76%);
    animation: torch-flicker 2.6s ease-in-out infinite;
}

/* Opacity only: scaling a flame this size repaints it every frame. */
@keyframes torch-flicker {
    0%, 100% { opacity: .68; }
    30%      { opacity: 1; }
    55%      { opacity: .78; }
    80%      { opacity: .94; }
}

/* ---- What else is down here -------------------------------------------- */

.lurkers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: #06060a;
    /* They resolve out of the dark as the chest's light comes up. */
    opacity: calc(.16 + var(--glow) * .84);
    transform: translate3d(0, calc((1 - var(--fall)) * 12vh), 0);
    will-change: transform, opacity;
}

.lurker {
    position: absolute;
    display: block;
    /* Warm spill behind a black silhouette reads as rim light off the chest. */
    filter: drop-shadow(0 0 7px rgba(255, 150, 60, .38));
}

.lurker svg { width: 100%; height: auto; display: block; }

.lurker__eyes {
    fill: #ffd27a;
    animation: eyes-blink 5.5s ease-in-out infinite;
}

@keyframes eyes-blink {
    0%, 42%, 100% { opacity: .55; }
    46%           { opacity: .06; }
    52%           { opacity: 1; }
    70%           { opacity: .7; }
}

.lurker--spider   { left: 4%;   bottom: calc(var(--ground-line) + 11%); width: min(15vw, 190px); }
.lurker--goblin   { left: 15%;  bottom: calc(var(--ground-line) - 4%);  width: min(14vw, 172px); }
.lurker--skeleton { right: 15%; bottom: calc(var(--ground-line) - 5%);  width: min(14vw, 176px); }
.lurker--warden   { right: 3%;  bottom: calc(var(--ground-line) - 1%);  width: min(15vw, 186px); }

.lurker--bats {
    left: 50%;
    top: 12%;
    width: min(28vw, 330px);
    translate: -50% 0;
    filter: drop-shadow(0 0 5px rgba(255, 150, 60, .22));
    animation: bats-drift 9s ease-in-out infinite alternate;
}

.lurker--goblin   .lurker__eyes { animation-delay: -1.4s; }
.lurker--skeleton .lurker__eyes { animation-delay: -3.1s; }
.lurker--warden   .lurker__eyes { animation-delay: -2.2s; }

@keyframes bats-drift {
    from { transform: translate3d(-4%, 0, 0); }
    to   { transform: translate3d(4%, -6%, 0); }
}

/* ---- Wordmark ----------------------------------------------------------- */

.wordmark {
    position: absolute;
    left: 50%;
    top: clamp(7%, 10vh, 13%);
    translate: -50% 0;
    margin: 0;
    font-size: clamp(1.8rem, 7.4vw, 4.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .2em;
    text-indent: .2em;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--grad-treasure);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .7))
            drop-shadow(0 0 calc(8px + var(--glow) * 40px) rgba(255, 150, 50, calc(.14 + var(--glow) * .55)));
    transform: translate3d(0, calc(var(--p) * -5vh), 0);
    will-change: transform, filter;
}

/* ---- Ground ------------------------------------------------------------- */

.world {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform: translate3d(0, calc((1 - var(--fall)) * 12vh), 0);
    will-change: transform;
}

.ground {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--horizon);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 13%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 13%);
}

.ground__field {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 100%;
}

/* Haze along the horizon, so the turf recedes instead of ending in a line. */
.ground__far {
    position: absolute;
    left: 0;
    right: 0;
    top: -6%;
    height: 46%;
    background: linear-gradient(180deg,
        rgba(29, 21, 14, 0) 0%,
        rgba(29, 21, 14, .8) 26%,
        rgba(26, 20, 15, .45) 56%,
        transparent 100%);
}

/* The clearing. Anchored to the chest's base rather than to the frame, so it
   stays under the chest at any viewport shape. */
.scorch {
    position: absolute;
    left: 50%;
    bottom: var(--ground-line);
    width: calc(var(--chest-w) * 2.05);
    aspect-ratio: 760 / 320;
    translate: -50% 50%;
    opacity: calc(.35 + var(--fall) * .65);
}

.scorch img { width: 100%; height: 100%; }

/* Blades in front of the chest. */
.ground__fore {
    position: absolute;
    left: -4%;
    right: -4%;
    bottom: 0;
    width: 108%;
    height: 15%;
    object-fit: cover;
    object-position: 50% 100%;
    pointer-events: none;
    transform: translate3d(0, calc((1 - var(--fall)) * 13vh), 0);
    will-change: transform;
}

/* ---- Light cast onto the ground ---------------------------------------- */

/* soft-light lifts the turf's own colour, which is what a real light does;
   a screen pass on top adds the bloom. */
.ground__lit,
.ground__bloom {
    position: absolute;
    left: 50%;
    bottom: var(--ground-line);
    width: min(125vw, 1400px);
    aspect-ratio: 3 / 1;
    translate: -50% 44%;
    pointer-events: none;
}

.ground__lit {
    background: radial-gradient(ellipse at center,
        rgba(255, 224, 168, 1) 0%,
        rgba(255, 164, 74, .62) 20%,
        rgba(184, 86, 32, .24) 42%,
        transparent 66%);
    mix-blend-mode: soft-light;
    opacity: var(--glow);
}

.ground__bloom {
    width: min(78vw, 860px);
    background: radial-gradient(ellipse at center,
        rgba(255, 200, 120, .55) 0%,
        rgba(255, 126, 52, .18) 26%,
        transparent 58%);
    mix-blend-mode: screen;
    opacity: calc(var(--glow) * var(--glow));
    filter: blur(16px);
}

/* Everything the light does not reach stays night. Without this the pool
   just lifts the whole frame and the scene reads flat. */
.ground__falloff {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--horizon);
    pointer-events: none;
    background: radial-gradient(64% 130% at 50% calc(100% - var(--ground-line)),
        transparent 0%,
        rgba(6, 6, 10, .35) 46%,
        rgba(4, 4, 8, .78) 100%);
    opacity: calc(1 - var(--glow) * .4);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 15%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%);
}

/* Warm ground fog for the light to scatter through. */
.haze {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    pointer-events: none;
    background:
        radial-gradient(70% 100% at 50% 100%,
            rgba(255, 158, 70, .22) 0%, transparent 70%),
        linear-gradient(180deg, transparent 0%, rgba(255, 128, 52, .07) 70%, transparent 100%);
    mix-blend-mode: screen;
    opacity: calc(var(--glow) * .8);
    filter: blur(10px);
}

/* ---- Contact effects ---------------------------------------------------- */

.landfx {
    position: absolute;
    left: 50%;
    bottom: var(--ground-line);
    width: min(90vw, 760px);
    translate: -50% 0;
}

.landfx__shadow {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: calc(44% + var(--fall) * 24%);
    aspect-ratio: 4 / 1;
    translate: -50% 40%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .9), transparent 70%);
    filter: blur(calc(22px - var(--fall) * 12px));
    opacity: calc(.2 + var(--fall) * .62);
}

.landfx__ring {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 62%;
    aspect-ratio: 4 / 1;
    translate: -50% 50%;
    border: 3px solid rgba(226, 186, 128, .7);
    border-radius: 50%;
    filter: blur(3px);
    opacity: calc(var(--land) * (1 - var(--land)) * 3.4);
    transform: scale(calc(.25 + var(--land) * 2.1));
}

.landfx__ring--2 {
    border-color: rgba(255, 226, 180, .3);
    filter: blur(7px);
    opacity: calc(var(--land) * (1 - var(--land)) * 2.2);
    transform: scale(calc(.15 + var(--land) * 3.1));
}

/* ---- Scroll cue --------------------------------------------------------- */

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    translate: -50% 0;
    width: 20px;
    height: 32px;
    border: 1.5px solid rgba(226, 200, 160, .3);
    border-radius: 11px;
    opacity: calc(1 - var(--p) * 6);
    pointer-events: none;
    z-index: 3;
}

.scroll-cue span {
    position: absolute;
    left: 50%;
    top: 6px;
    width: 3px;
    height: 6px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--ember);
    animation: cue 1.9s ease-in-out infinite;
}

@keyframes cue {
    0%, 100% { transform: translateY(0); opacity: 1; }
    60%      { transform: translateY(11px); opacity: .15; }
}

/* ==========================================================================
   The chest
   Art box is 560 x 460. The lid element ends exactly on the lid/body seam
   (250/460 = 54.348%), so its transform-origin sits on the hinge line.
   ========================================================================== */

.chest {
    /* Pivot depth: how far behind the chest the hinge sits, as a fraction of
       the width so it scales with the art. */
    --hinge-z: calc(var(--chest-w) * .15);

    position: absolute;
    left: 50%;
    bottom: var(--ground-line);
    width: var(--chest-w);
    aspect-ratio: 560 / 460;
    translate: -50% 0;
    transform-origin: 50% 100%;
    /* On screen and centred from the first frame; it only settles the last
       stretch onto the ground. The sense of a long drop comes from the world
       rushing past, not from moving the chest. */
    transform:
        translate3d(0, calc((1 - var(--fall)) * -13vh), 0)
        scale(calc(.9 + var(--fall) * .1))
        scale(var(--sqx), var(--sqy));
    z-index: 2;
    will-change: transform;
}

.chest__stage {
    position: absolute;
    inset: 0;
    perspective: calc(var(--chest-w) * 2.4);
    perspective-origin: 50% 58%;
}

.chest__inside,
.chest__lid,
.chest__front {
    position: absolute;
    left: 0;
    width: 100%;
}

.chest__inside,
.chest__front { top: 0; height: 100%; }

.chest__inside svg,
.chest__front svg,
.chest__lid svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chest__lid {
    top: 0;
    height: 54.348%;
    transform-origin: 50% 100%;
    /* Rotating about the seam alone only foreshortens the lid in place and
       never uncovers the mouth. Pivoting behind the chest lifts its front
       edge clear, the way a real hinge does. */
    transform:
        translateZ(calc(var(--hinge-z) * -1))
        rotateX(calc(var(--open) * 62deg))
        translateZ(var(--hinge-z));
    will-change: transform;
}

.chest__front svg {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .7));
}

.chest__lid svg {
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .75));
}

/* Warm light falling on the wood and iron from the open mouth. */
.chest-lit { opacity: calc(var(--glow) * var(--glow) * .95); }

/* Interior: dark until the lid moves, then a proper source. */
.chest__inside .loot-glow {
    opacity: calc(.12 + var(--glow) * .88);
    transform-origin: 280px 240px;
    transform: scale(calc(.68 + var(--glow) * .5));
}

.chest__inside .loot-core {
    opacity: calc(var(--glow) * var(--glow));
    transform-origin: 280px 228px;
    transform: scale(calc(.5 + var(--glow) * .7));
    mix-blend-mode: screen;
}

.chest__inside .loot {
    opacity: calc(.3 + var(--glow) * .7);
    transform-origin: 280px 266px;
    transform: translateY(calc(var(--glow) * -8px));
}

.loot-spark {
    opacity: calc(var(--glow) * .9);
    transform-box: fill-box;
    transform-origin: center;
    animation: twinkle 2.4s ease-in-out infinite;
}

.loot-spark--b { animation-delay: .8s; }
.loot-spark--c { animation-delay: 1.5s; }

@keyframes twinkle {
    0%, 100% { scale: .6; }
    50%      { scale: 1.15; }
}

/* Light finding its way out of a chest that is still shut. This is the hook:
   something is clearly alive in there before you have opened anything. */
.chest__seam {
    position: absolute;
    left: 12%;
    top: 41.5%;
    width: 76%;
    height: 2.4%;
    border-radius: 50%;
    background: linear-gradient(90deg,
        transparent 0%, rgba(255, 160, 70, .35) 16%,
        rgba(255, 214, 150, .8) 50%, rgba(255, 160, 70, .35) 84%, transparent 100%);
    opacity: calc((1 - var(--open)) * .85);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: seep 3.4s ease-in-out infinite;
}

.chest__keyhole {
    position: absolute;
    left: 50%;
    top: 58%;
    width: 22%;
    height: 16%;
    translate: -50% 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
        rgba(255, 226, 160, .7) 0%, rgba(255, 150, 60, .3) 36%, transparent 70%);
    opacity: calc((1 - var(--open)) * .9);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: seep 3.4s ease-in-out .5s infinite;
}

/* A halo, so the chest sits in the room's light rather than on top of it.
   This is what was making it look pasted on a phone. */
.chest__halo {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 215%;
    height: 195%;
    translate: -50% -50%;
    pointer-events: none;
    background: radial-gradient(closest-side,
        rgba(255, 178, 96, .3) 0%,
        rgba(226, 118, 52, .15) 36%,
        transparent 72%);
    animation: seep 3.4s ease-in-out infinite;
}

/* Opacity only; scaling a glow this size repaints it every frame. */
@keyframes seep {
    0%, 100% { opacity: .5; }
    50%      { opacity: 1; }
}

/* Bloom right at the mouth. */
.chest__mouth {
    position: absolute;
    left: 8%;
    top: 38%;
    width: 84%;
    height: 20%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
        #fffaf0 0%, var(--gold-2) 24%, var(--ember) 48%, rgba(232, 99, 44, .25) 70%, transparent 82%);
    filter: blur(16px);
    opacity: calc(var(--glow) * var(--glow) * .9);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Embers carried up on the heat. */
.chest__sparks {
    position: absolute;
    left: 16%;
    right: 16%;
    top: 44%;
    height: 10%;
    opacity: calc(max(0, var(--glow) - .22) * 1.5);
    pointer-events: none;
}

.spark {
    position: absolute;
    bottom: 0;
    width: var(--size, 5px);
    height: var(--size, 5px);
    border-radius: 50%;
    background: radial-gradient(circle, #fff3d4, var(--ember) 45%, rgba(232, 99, 44, 0) 72%);
    animation: spark-rise var(--dur, 3s) linear var(--delay, 0s) infinite;
}

@keyframes spark-rise {
    0%   { transform: translate3d(0, 0, 0) scale(.4); opacity: 0; }
    12%  { opacity: 1; }
    100% { transform: translate3d(var(--drift, 10px), -240px, 0) scale(1.1); opacity: 0; }
}

/* ---- Volumetric shafts leaving the chest -------------------------------- */

.shafts {
    position: absolute;
    left: 50%;
    bottom: calc(var(--ground-line) + var(--chest-w) * 0.375);
    width: min(62vw, 660px);
    height: min(46vh, 460px);
    translate: -50% 0;
    pointer-events: none;
    z-index: 3;
    /* Rides with the chest so the shafts stay attached to the mouth. */
    transform: translate3d(0, calc((1 - var(--fall)) * -13vh), 0);
}

.shaft {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: var(--w);
    height: var(--h);
    transform-origin: 50% 100%;
    transform: translateX(-50%) rotate(var(--a)) scaleY(calc(.15 + var(--glow) * .85));
    background: linear-gradient(to top,
        rgba(255, 232, 186, .5) 0%,
        rgba(255, 176, 85, .22) 34%,
        rgba(232, 99, 44, .05) 72%,
        transparent 100%);
    clip-path: polygon(46% 100%, 0 0, 100% 0, 54% 100%);
    filter: blur(10px);
    mix-blend-mode: screen;
    opacity: calc(var(--glow) * var(--glow) * var(--o));
    will-change: transform, opacity;
}

/* ==========================================================================
   Below ground — the app, in the same weathered register as the chest
   ========================================================================== */

.section {
    position: relative;
    z-index: 1;
    padding: clamp(64px, 11vh, 120px) 0;
}

/* The first section under the horizon: light still spilling from above. */
.section--surface {
    padding-top: clamp(76px, 14vh, 150px);
    background: linear-gradient(180deg,
        rgba(255, 150, 60, .16) 0%,
        rgba(120, 60, 24, .07) 18%,
        transparent 42%);
    border-top: 2px solid rgba(201, 160, 90, .3);
    box-shadow: 0 -20px 70px rgba(255, 150, 60, .1);
}

/* Strata, as if looking at the underside of the turf. */
.section--surface::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 130px;
    background-image: repeating-linear-gradient(
        180deg,
        rgba(201, 160, 90, .07) 0 1px,
        transparent 1px 19px);
    mask-image: linear-gradient(to bottom, #000, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
    pointer-events: none;
}

.section--tint {
    background: linear-gradient(180deg, transparent, rgba(201, 160, 90, .04) 45%, transparent);
}

.section__head {
    text-align: center;
    max-width: 62ch;
    margin: 0 auto clamp(32px, 6vh, 56px);
}

.section__kicker {
    display: block;
    margin-bottom: 14px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--bronze);
}

.section__title {
    font-size: clamp(1.6rem, 4.2vw, 2.4rem);
    line-height: 1.2;
    letter-spacing: .01em;
    background: var(--grad-treasure);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-wrap: balance;
}

.section__title--lead {
    font-size: clamp(1.9rem, 5vw, 3.1rem);
    max-width: 20ch;
    margin-inline: auto;
}

/* A small forged ornament under the section titles. */
.section__title::after {
    content: '';
    display: block;
    width: 120px;
    height: 1px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, transparent, var(--bronze), transparent);
    opacity: .6;
}

.section__sub {
    margin-top: 16px;
    color: var(--text-dim);
    font-size: clamp(.92rem, 2.6vw, 1.02rem);
}

.section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

/* ---- Buttons: cast bronze ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: 1px solid rgba(255, 226, 170, .3);
    border-radius: var(--radius);
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.btn--primary {
    color: #2a1607;
    background: var(--grad-bronze);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 248, 226, .6),
                inset 0 -2px 0 rgba(80, 46, 8, .5);
}

.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn--ghost {
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 236, 200, .07), rgba(255, 236, 200, .02));
    border-color: var(--stroke-strong);
    box-shadow: inset 0 1px 0 rgba(255, 236, 200, .12);
}

.btn--ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 160, 90, .55);
    background: rgba(255, 236, 200, .1);
}

.btn:active { transform: translateY(0); }

/* ---- Cards: iron-bound panels ---- */

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }

.grid--features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
    position: relative;
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background:
        linear-gradient(165deg, rgba(255, 220, 170, .05), rgba(0, 0, 0, .2)),
        var(--ink-800);
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, .07), 0 10px 30px rgba(0, 0, 0, .5);
    overflow: hidden;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
    /* <button> centres its contents by default; force normal block flow so
       every card's icon and heading line up across the row. */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s ease, box-shadow .4s ease;
}

/* Corner rivets. */
.card::after {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 3px;
    pointer-events: none;
    background:
        radial-gradient(circle 3px at 0 0, rgba(201, 160, 90, .5), transparent),
        radial-gradient(circle 3px at 100% 0, rgba(201, 160, 90, .5), transparent),
        radial-gradient(circle 3px at 0 100%, rgba(201, 160, 90, .5), transparent),
        radial-gradient(circle 3px at 100% 100%, rgba(201, 160, 90, .5), transparent);
}

.card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--cx, 50%) var(--cy, 0%),
        rgba(255, 150, 60, .16), transparent 65%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.card:hover,
.card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(201, 160, 90, .45);
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, .1), 0 22px 46px rgba(0, 0, 0, .6);
}

.card:hover::before,
.card:focus-visible::before { opacity: 1; }

.card__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 160, 90, .3);
    background: linear-gradient(180deg, rgba(255, 176, 85, .14), rgba(0, 0, 0, .2));
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, .16);
    color: var(--bronze);
}

.card__icon svg { width: 24px; height: 24px; }

.card h3 {
    font-size: 1.06rem;
    letter-spacing: .05em;
    margin-bottom: 10px;
    color: var(--gold-2);
}

.card p { color: var(--text-dim); font-size: .93rem; }

.card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--flame-2);
}

.card__more svg { width: 14px; height: 14px; transition: transform .3s ease; }

.card:hover .card__more svg { transform: translateX(4px); }

/* ---- Character journey ---- */

.grid--journey {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 900px;
    margin-inline: auto;
}

.hero-card {
    position: relative;
    padding: 30px 20px 26px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 220, 170, .05), rgba(0, 0, 0, .22)),
        var(--ink-800);
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, .07), 0 10px 30px rgba(0, 0, 0, .5);
    text-align: center;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .45s ease, box-shadow .45s ease;
}

.hero-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 160, 90, .45);
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, .1), 0 22px 46px rgba(0, 0, 0, .6);
}

.hero-card__ring {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 18px;
    border-radius: 50%;
    padding: 3px;
    background: var(--grad-bronze);
    box-shadow: 0 0 22px rgba(201, 160, 90, .3), inset 0 1px 0 rgba(255, 245, 220, .5);
}

.hero-card__ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ink-700);
}

.hero-card__level {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 12px;
    border-radius: var(--radius-sm);
    background: rgba(201, 160, 90, .1);
    border: 1px solid rgba(201, 160, 90, .28);
    font-family: 'Cinzel', Georgia, serif;
    color: var(--gold-2);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-card h3 { font-size: 1.05rem; letter-spacing: .05em; }

.hero-card p { margin-top: 8px; color: var(--text-dim); font-size: .88rem; }

/* ---- Early access ---- */

.access-panel {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--stroke-strong);
    border-radius: var(--radius);
    background:
        linear-gradient(165deg, rgba(255, 160, 70, .1), rgba(0, 0, 0, .3)),
        var(--ink-800);
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, .1), 0 28px 60px rgba(0, 0, 0, .6);
    text-align: center;
}

.progress {
    margin: 28px auto 10px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, .6);
    border: 1px solid var(--stroke);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7);
    overflow: hidden;
    position: relative;
}

.progress__fill {
    width: 0;
    height: 100%;
    background: linear-gradient(180deg, #ffcf87, var(--flame-2) 55%, #a8451a);
    box-shadow: 0 0 20px rgba(255, 150, 60, .5);
    transition: width 1.1s cubic-bezier(.2, .8, .2, 1);
    position: relative;
    overflow: hidden;
}

.progress__fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .3) 50%, transparent 80%);
    transform: translateX(-100%);
    animation: sheen 2.6s ease-in-out infinite;
}

@keyframes sheen { to { transform: translateX(100%); } }

.progress__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: 'Cinzel', Georgia, serif;
    font-size: .82rem;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

.progress__caption { font-size: .84rem; color: var(--text-dim); }

.signup {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.signup input {
    flex: 1 1 260px;
    max-width: 340px;
    padding: 13px 18px;
    border: 1px solid var(--stroke-strong);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .5);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6);
    color: var(--text);
    font: inherit;
    font-size: .95rem;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.signup input::placeholder { color: var(--text-faint); }

.signup input:focus {
    outline: none;
    border-color: rgba(201, 160, 90, .7);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6), 0 0 0 3px rgba(201, 160, 90, .14);
}

.form-note {
    min-height: 1.4em;
    margin-top: 16px;
    font-size: .88rem;
    color: var(--text-dim);
}

.form-note.is-ok    { color: var(--gold-2); }
.form-note.is-error { color: var(--flame); }

.socials { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }

.socials a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(255, 220, 170, .06), rgba(0, 0, 0, .25));
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, .1);
    transition: transform .3s ease, border-color .3s ease;
}

.socials a:hover { transform: translateY(-3px); border-color: rgba(201, 160, 90, .5); }

.socials img { width: 22px; height: 22px; }

/* ---- Footer ---- */

.site-footer {
    position: relative;
    z-index: 1;
    padding: 40px 0 34px;
    border-top: 1px solid var(--stroke);
    text-align: center;
    color: var(--text-faint);
    font-size: .86rem;
}

.site-footer__links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.site-footer a { color: var(--text-dim); transition: color .25s ease; }
.site-footer a:hover { color: var(--bronze); }

/* ==========================================================================
   What it tracks - bare stat tiles, no plot
   ========================================================================== */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: clamp(12px, 1.8vw, 20px);
}

.stat {
    padding: clamp(20px, 2.6vw, 28px);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background:
        linear-gradient(165deg, rgba(255, 226, 180, .06), rgba(0, 0, 0, .26)),
        var(--ink-800);
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, .1);
    text-align: left;
}

.stat__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 160, 90, .26);
    background: rgba(255, 176, 85, .1);
    color: var(--bronze);
}

.stat__icon svg { width: 21px; height: 21px; }

/* Label is sentence case, no trailing colon. */
.stat__label {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-faint);
}

/* The value wears the body sans, never the display serif, and keeps the
   font's proportional figures - tabular widths look loose at this size. */
.stat__value {
    margin-top: 6px;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(1.9rem, 5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--gold-2);
}

.stat__note {
    margin-top: 8px;
    font-size: .84rem;
    color: var(--text-dim);
}

.stats__caption {
    max-width: 62ch;
    margin: 22px auto 0;
    text-align: center;
    font-size: .84rem;
    color: var(--text-faint);
}

/* ---- The loop ---- */

.loop {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: clamp(12px, 2vw, 22px);
    counter-reset: step;
    list-style: none;
    margin-top: clamp(30px, 5vh, 52px);
}

.loop li {
    position: relative;
    counter-increment: step;
    padding: 20px 20px 20px 62px;
    border-left: 2px solid rgba(201, 160, 90, .3);
}

.loop li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 18px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(201, 160, 90, .35);
    background: rgba(255, 176, 85, .1);
    font-family: 'Cinzel', Georgia, serif;
    font-size: .86rem;
    color: var(--gold-2);
}

.loop span {
    display: block;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.02rem;
    letter-spacing: .07em;
    color: var(--gold-2);
}

.loop em {
    display: block;
    margin-top: 5px;
    font-style: normal;
    font-size: .9rem;
    color: var(--text-dim);
}

/* ==========================================================================
   Feature modal
   ========================================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(6, 4, 2, .8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__panel {
    position: relative;
    width: min(460px, 100%);
    padding: 32px;
    border: 1px solid var(--stroke-strong);
    border-radius: var(--radius);
    background: linear-gradient(165deg, #1d160e, #100c07);
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, .1), 0 30px 80px rgba(0, 0, 0, .75);
    transform: translateY(16px) scale(.97);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.modal.is-open .modal__panel { transform: translateY(0) scale(1); }

.modal__title {
    font-size: 1.2rem;
    letter-spacing: .05em;
    margin-bottom: 12px;
    background: var(--grad-treasure);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.modal__body { color: var(--text-dim); font-size: .95rem; }

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-sm);
    background: var(--glass);
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease;
}

.modal__close:hover { color: var(--text); border-color: var(--stroke-strong); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
    :root { --header-h: 60px; }

    .nav-toggle { display: flex; position: relative; }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 16px 20px;
        /* Fully opaque: at 96% the page behind still showed through. */
        background: #0d0a07;
        border-bottom: 1px solid var(--stroke);
        box-shadow: 0 24px 40px rgba(0, 0, 0, .7);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    }

    .nav.is-open { opacity: 1; visibility: visible; transform: none; }

    .nav a { padding: 13px 16px; font-size: 1rem; }

    .nav .nav__cta { margin-left: 0; margin-top: 6px; justify-content: center; }

    .hero { height: 175vh; }
}

@media (max-width: 560px) {
    .hero { height: 160vh; }

    :root { --ground-line: 22%; --horizon: 44%; }

    .section__actions { width: 100%; flex-direction: column; }
    .section__actions .btn { width: 100%; }

    .signup { flex-direction: column; align-items: stretch; }

    /* flex-basis becomes the *height* once the row turns into a column, so
       the 260px basis has to go or the input inflates into a huge pill. */
    .signup input { flex: none; width: 100%; max-width: none; }

    .socials a { width: 44px; height: 44px; }
}

/* --------------------------------------------------------------------------
   Short viewports. The hero is pinned to the viewport height, so what fits is
   governed by height, not width.
   -------------------------------------------------------------------------- */

@media (max-height: 820px) {
    :root { --chest-w: clamp(230px, min(52vh, 84vw), 520px); }
    .wordmark { top: clamp(5%, 7vh, 10%); }
}

@media (max-height: 700px) {
    :root { --ground-line: 19%; --horizon: 40%; }
    :root { --chest-w: min(48vh, 78vw); }
    .scroll-cue { display: none; }
}

@media (max-height: 560px) {
    :root { --chest-w: min(42vh, 48vw); }

    .wordmark {
        top: 5%;
        font-size: clamp(1.3rem, 5.6vh, 2.2rem);
        /* No headroom left to parallax into. */
        transform: translate3d(0, calc(var(--p) * -1.5vh), 0);
    }
}

@media (hover: none) {
    .card::before { opacity: 0 !important; }
}

/* ==========================================================================
   Reduced motion — keep the scroll-linked sequence, drop everything
   autonomous (it is the page's content, not decoration).
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .bg__dust,
    .chest__sparks,
    .scroll-cue { display: none; }

    .reveal { opacity: 1; transform: none; }
}
