:root {
    /* Design typography tokens: IBM Plex Mono** sparingly so the abstract-tech motif feels precise without taking over the page. Work Sans** for quiet readability. For small technical labels */
    --smoked-plum: #17131A;
    --parchment-rose: #D8B7A6;
    --oxidized-sage: #7F8D7A;
    --tarnished-brass: #B79A62;
    --frosted-pearl: #ECE3D4;
    --neon-mauve: #D96BAF;
    --tube-cyan: #74C7C4;
    --wine-shadow: #3A2430;
    --glass-light: rgba(236, 227, 212, 0.10);
    --glass-warm: rgba(216, 183, 166, 0.14);
    --glass-border: rgba(236, 227, 212, 0.28);
    --font-display: "Jost", "Work Sans", sans-serif;
    --font-body: "Work Sans", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--frosted-pearl);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 18% 12%, rgba(216, 183, 166, 0.18), transparent 28rem),
        radial-gradient(circle at 82% 28%, rgba(127, 141, 122, 0.20), transparent 32rem),
        linear-gradient(145deg, var(--smoked-plum), #211723 46%, var(--wine-shadow));
    overflow-x: hidden;
}

.ambient-field,
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.ambient-field {
    z-index: -3;
    overflow: hidden;
}

.grain {
    z-index: -1;
    opacity: 0.26;
    background-image: radial-gradient(circle, rgba(236, 227, 212, 0.22) 0 1px, transparent 1px);
    background-size: 23px 23px;
    mix-blend-mode: soft-light;
}

.aura {
    position: absolute;
    width: 34rem;
    height: 34rem;
    border-radius: 999px;
    filter: blur(72px);
    opacity: 0.42;
    animation: drift 18s ease-in-out infinite alternate;
}

.aura-one {
    left: -8rem;
    top: 6vh;
    background: var(--neon-mauve);
}

.aura-two {
    right: -10rem;
    top: 38vh;
    background: var(--tube-cyan);
    animation-delay: -7s;
}

.aura-three {
    left: 28vw;
    bottom: -14rem;
    background: var(--tarnished-brass);
    animation-delay: -12s;
    opacity: 0.28;
}

.progress-rail {
    position: fixed;
    right: clamp(1rem, 3vw, 2.5rem);
    top: 50%;
    z-index: 10;
    display: grid;
    gap: 1.05rem;
    transform: translateY(-50%);
}

.rail-line {
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: 50%;
    width: 1px;
    background: linear-gradient(var(--tarnished-brass), rgba(236, 227, 212, 0.1));
}

.rail-bead {
    position: relative;
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    border: 1px solid rgba(236, 227, 212, 0.34);
    border-radius: 50%;
    background: rgba(23, 19, 26, 0.72);
    box-shadow: 0 0 0 rgba(217, 107, 175, 0);
    cursor: pointer;
    transition: transform 350ms ease, background 350ms ease, box-shadow 350ms ease;
}

.rail-bead.active {
    background: var(--neon-mauve);
    transform: scale(1.28);
    box-shadow: 0 0 24px rgba(217, 107, 175, 0.68);
}

.vitrine-sequence {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.scene {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 4rem);
    isolation: isolate;
}

.scene-halo {
    position: absolute;
    width: min(60vw, 42rem);
    height: min(60vw, 42rem);
    border-radius: 50%;
    filter: blur(68px);
    opacity: 0.28;
    z-index: -1;
}

.halo-mauve { background: var(--neon-mauve); transform: translate(-20%, -10%); }
.halo-cyan { background: var(--tube-cyan); transform: translate(22%, 6%); }
.halo-brass { background: var(--tarnished-brass); transform: translate(-18%, 18%); }
.halo-final { background: var(--oxidized-sage); transform: translate(14%, -12%); }

.glass-pane {
    position: relative;
    width: 100%;
    border: 1px solid var(--glass-border);
    border-radius: clamp(1.5rem, 4vw, 3rem);
    background:
        linear-gradient(145deg, rgba(236, 227, 212, 0.13), rgba(58, 36, 48, 0.42)),
        linear-gradient(315deg, rgba(216, 183, 166, 0.14), rgba(116, 199, 196, 0.04));
    backdrop-filter: blur(26px) saturate(132%);
    box-shadow:
        inset 0 1px 0 rgba(236, 227, 212, 0.28),
        inset 0 -28px 70px rgba(23, 19, 26, 0.28),
        0 36px 110px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    transition: transform 600ms cubic-bezier(.2,.8,.2,1), border-color 600ms ease, box-shadow 600ms ease;
}

.glass-pane::before,
.glass-pane::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.glass-pane::before {
    inset: 1rem;
    border: 1px solid rgba(183, 154, 98, 0.24);
    border-radius: inherit;
}

.glass-pane::after {
    inset: -35%;
    background: radial-gradient(circle, rgba(217, 107, 175, 0.22), transparent 35%);
    opacity: 0;
    transition: opacity 600ms ease;
}

.scale-hover:hover {
    transform: translateY(-0.45rem) scale(1.018);
    border-color: rgba(236, 227, 212, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(236, 227, 212, 0.38),
        inset 0 -28px 70px rgba(23, 19, 26, 0.24),
        0 44px 130px rgba(0, 0, 0, 0.42),
        0 0 62px rgba(217, 107, 175, 0.18);
}

.scale-hover:hover::after {
    opacity: 1;
}

.etched-label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    color: var(--tarnished-brass);
    font-family: var(--font-mono);
    font-size: clamp(0.64rem, 1.2vw, 0.76rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-monolith {
    min-height: min(82vh, 760px);
    display: grid;
    align-content: center;
    justify-items: center;
    padding: clamp(2rem, 7vw, 5rem);
}

.hero-label {
    position: absolute;
    top: clamp(1.4rem, 4vw, 3rem);
    left: clamp(1.4rem, 4vw, 3rem);
}

.wordmark {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    gap: clamp(0.12rem, 1vw, 0.8rem);
    color: var(--frosted-pearl);
    font-family: var(--font-display);
    font-size: clamp(4.6rem, 17vw, 13.5rem);
    font-weight: 500;
    line-height: 0.8;
    letter-spacing: 0.08em;
    text-shadow: 0 0 36px rgba(236, 227, 212, 0.26), 0 0 70px rgba(217, 107, 175, 0.16);
}

.specimen-letter {
    display: inline-block;
    padding: 0.06em 0.02em;
    border-radius: 0.08em;
    background: linear-gradient(180deg, rgba(236, 227, 212, 0.16), rgba(216, 183, 166, 0.04));
    -webkit-text-stroke: 1px rgba(236, 227, 212, 0.28);
}

.specimen-letter.ghost {
    color: transparent;
    -webkit-text-stroke: 1.4px var(--frosted-pearl);
}

.specimen-letter.needle {
    color: var(--tube-cyan);
    text-shadow: 0 0 42px rgba(116, 199, 196, 0.58);
}

.specimen-letter.bridge {
    color: var(--parchment-rose);
}

.specimen-letter.shard {
    color: var(--tarnished-brass);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 38rem;
    margin: 2rem auto 0;
    color: rgba(236, 227, 212, 0.76);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    text-align: center;
}

.calibration-strip {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    bottom: clamp(1rem, 4vw, 3rem);
    display: flex;
    gap: 0.58rem;
}

.calibration-strip span {
    width: 1px;
    height: 1.2rem;
    background: rgba(183, 154, 98, 0.72);
}

.calibration-strip span:nth-child(3n) {
    height: 2rem;
}

.monolith-linework {
    position: absolute;
    inset: auto 4% 7% auto;
    width: min(58vw, 42rem);
    opacity: 0.28;
}

.monolith-linework path,
.monolith-linework circle,
.observatory-arc path,
.observatory-arc line {
    fill: none;
    stroke: var(--tube-cyan);
    stroke-width: 1.4;
    vector-effect: non-scaling-stroke;
}

.manifesto-pane,
.specimen-index,
.observatory-pane {
    padding: clamp(2rem, 6vw, 4.5rem);
}

.manifesto-pane h1 {
    position: relative;
    z-index: 2;
    max-width: 12ch;
    margin: 1.6rem 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.manifesto-pane p,
.observatory-pane p,
.specimen-row p {
    position: relative;
    z-index: 2;
    max-width: 40rem;
    color: rgba(236, 227, 212, 0.74);
    font-size: clamp(1rem, 1.9vw, 1.16rem);
    line-height: 1.85;
}

.fragment-stage {
    position: relative;
    height: clamp(18rem, 42vw, 28rem);
    margin-top: 2.5rem;
    border-top: 1px solid rgba(183, 154, 98, 0.24);
}

.abstract-letter {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 600;
    color: rgba(236, 227, 212, 0.08);
    -webkit-text-stroke: 1px rgba(236, 227, 212, 0.30);
}

.letter-l { left: 4%; top: 9%; font-size: clamp(11rem, 29vw, 22rem); }
.letter-i { left: 46%; top: 4%; font-size: clamp(9rem, 24vw, 18rem); color: rgba(116, 199, 196, 0.12); }
.letter-t { right: 2%; top: 15%; font-size: clamp(10rem, 27vw, 21rem); color: rgba(216, 183, 166, 0.11); }

.neon-thread {
    position: absolute;
    height: 2px;
    border-radius: 999px;
    filter: blur(0.2px);
    box-shadow: 0 0 24px currentColor;
}

.thread-one {
    left: 16%;
    top: 54%;
    width: 66%;
    color: var(--neon-mauve);
    background: currentColor;
    transform: rotate(-8deg);
}

.thread-two {
    left: 30%;
    top: 30%;
    width: 42%;
    color: var(--tube-cyan);
    background: currentColor;
    transform: rotate(17deg);
}

.coordinate-cross {
    position: absolute;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(183, 154, 98, 0.42);
    border-radius: 50%;
}

.coordinate-cross::before,
.coordinate-cross::after {
    content: "";
    position: absolute;
    background: rgba(183, 154, 98, 0.62);
}

.coordinate-cross::before { left: 50%; top: -0.8rem; width: 1px; height: 4.2rem; }
.coordinate-cross::after { top: 50%; left: -0.8rem; width: 4.2rem; height: 1px; }
.cross-one { left: 8%; bottom: 12%; }
.cross-two { right: 10%; top: 16%; }

.specimen-index {
    display: grid;
    gap: clamp(1.2rem, 3vw, 2rem);
}

.specimen-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1.4rem;
    padding: clamp(1.2rem, 3vw, 2rem) 0;
    border-top: 1px solid rgba(236, 227, 212, 0.16);
}

.inventory-tag {
    grid-row: span 2;
    min-width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(183, 154, 98, 0.42);
    border-radius: 999px;
    color: var(--tarnished-brass);
    font-family: var(--font-mono);
}

.specimen-row h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 4.2rem);
    font-weight: 400;
}

.specimen-row p {
    margin: 0.6rem 0 0;
}

.observatory-pane {
    min-height: 72vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.observatory-arc {
    position: absolute;
    width: min(78vw, 42rem);
    opacity: 0.35;
}

.seal {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    padding: 0.85rem 1.25rem;
    border: 1px solid rgba(236, 227, 212, 0.34);
    border-radius: 999px;
    color: var(--frosted-pearl);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 7vw, 5.4rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    box-shadow: 0 0 44px rgba(217, 107, 175, 0.22), inset 0 0 28px rgba(236, 227, 212, 0.06);
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(4vw, -3vh, 0) scale(1.12); }
}

@media (max-width: 760px) {
    .progress-rail {
        right: 0.7rem;
    }

    .wordmark {
        letter-spacing: 0.025em;
    }

    .specimen-row {
        grid-template-columns: 1fr;
    }

    .inventory-tag {
        margin-bottom: 1rem;
    }
}
