/* lrx.wiki — License. Right. Exchange.
   Glassmorphism + archival cartography
*/

/* ---------- Tokens ---------- */
:root {
    --c-vault: #0a1628;          /* Midnight Abyss */
    --c-glass-bg: #0f2038;       /* Frosted Indigo */
    --c-frost-edge: #3a5a7c;     /* Steel Mist */
    --c-text: #c8d8e8;           /* Archive Silver */
    --c-text-mute: #7a92aa;      /* Dulled Pewter */
    --c-teal: #4ecdc4;           /* Transfer Teal */
    --c-coral: #ff6b6b;          /* Claim Coral */
    --c-gold: #ffd93d;           /* Seal Gold */
    --c-glass-fill: rgba(200, 216, 232, 0.08);
    --c-glass-border: rgba(200, 216, 232, 0.15);

    --f-display: "Cormorant Garamond", "Inter", serif;
    --f-body: "Inter", system-ui, sans-serif;
    --f-mono: "IBM Plex Mono", "Courier New", monospace;
    --f-accent: "Outfit", "Inter", sans-serif;

    --pane-radius: 16px;
    --pane-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--c-vault);
    color: var(--c-text);
    font-family: var(--f-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background-image:
        radial-gradient(ellipse at 20% 10%, rgba(78, 205, 196, 0.06), transparent 55%),
        radial-gradient(ellipse at 90% 80%, rgba(255, 107, 107, 0.04), transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(15, 32, 56, 0.7), var(--c-vault) 75%);
}

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: 0.02em; margin: 0; color: var(--c-text); }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* ---------- Background layers ---------- */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

.bg-noise {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.78 0 0 0 0 0.84 0 0 0 0 0.92 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
    opacity: 0.045;
    mix-blend-mode: screen;
}

.bg-frost { overflow: hidden; }
.frost-blob {
    position: absolute;
    width: 60vmax; height: 60vmax;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(200, 216, 232, 0.06), transparent 60%);
    filter: blur(12px);
    animation: drift 26s ease-in-out infinite alternate;
}
.frost-blob.f1 { top: -20vmax; left: -10vmax; animation-duration: 28s; }
.frost-blob.f2 { top: 30vh;   left: 60vw;   width: 50vmax; height: 50vmax; animation-duration: 32s; animation-delay: -6s; }
.frost-blob.f3 { top: 110vh;  left: -15vw;  background: radial-gradient(circle at 50% 50%, rgba(78, 205, 196, 0.05), transparent 60%); animation-duration: 36s; }
.frost-blob.f4 { top: 180vh;  left: 50vw;   background: radial-gradient(circle at 50% 50%, rgba(255, 217, 61, 0.04), transparent 60%); animation-duration: 30s; animation-delay: -10s; }
.frost-blob.f5 { top: 260vh;  left: -10vw;  width: 70vmax; height: 70vmax; animation-duration: 38s; }
.frost-blob.f6 { top: 340vh;  left: 40vw;   background: radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.04), transparent 60%); animation-duration: 34s; animation-delay: -8s; }

@keyframes drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(40px, -30px, 0) scale(1.05); }
    100% { transform: translate3d(-30px, 40px, 0) scale(0.97); }
}

.bg-ghostlines {
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 22px,
        rgba(200, 216, 232, 0.035) 22px,
        rgba(200, 216, 232, 0.035) 23px
    );
    opacity: 0.55;
    transform: translateY(0);
    will-change: transform;
}

/* ---------- Top bar ---------- */
.top-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: 24px;
    padding: 14px 28px;
    background: rgba(15, 32, 56, 0.42);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid var(--c-glass-border);
}
.brand-mono { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; }
.brand-word { font-size: 1.1rem; letter-spacing: 0.06em; color: var(--c-text); }
.brand-dot { color: var(--c-teal); }
.mono-svg { display: block; }
.indicators {
    display: flex; gap: 18px; justify-content: center;
}
.dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 1px solid var(--c-frost-edge);
    background: transparent;
    transition: background 280ms ease, border-color 280ms ease, transform 240ms ease, box-shadow 280ms ease;
}
.dot:hover { transform: scale(1.25); border-color: var(--c-teal); }
.dot.active {
    background: var(--c-teal);
    border-color: var(--c-teal);
    box-shadow: 0 0 12px rgba(78, 205, 196, 0.5);
}
.meta-id { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.id-tag {
    font-family: var(--f-accent); text-transform: uppercase; letter-spacing: 0.18em;
    font-size: 0.7rem; color: var(--c-text-mute);
}
.id-code {
    font-family: var(--f-mono); font-size: 0.74rem;
    color: var(--c-text); letter-spacing: 0.05em;
    background: rgba(200, 216, 232, 0.06);
    padding: 2px 8px; border-radius: 3px;
}

/* ---------- Panel base ---------- */
main { position: relative; z-index: 1; }
.panel {
    position: relative;
    min-height: 100vh;
    padding: 132px clamp(28px, 5vw, 96px) 100px;
    display: flex; flex-direction: column; justify-content: center;
}
.panel + .panel { margin-top: -2px; }

.panel-head { max-width: 760px; margin-bottom: 56px; }
.kicker {
    display: inline-block;
    font-family: var(--f-accent);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--c-text-mute);
    margin-bottom: 18px;
    padding: 4px 10px;
    border: 1px solid var(--c-glass-border);
    border-radius: 999px;
    background: var(--c-glass-fill);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.panel-title {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    filter: blur(8px); opacity: 0.3;
    transition: filter 600ms ease, opacity 600ms ease;
}
.panel.in-view .panel-title { filter: blur(0); opacity: 1; }
.panel-lede {
    font-size: clamp(0.98rem, 1.2vw, 1.12rem);
    color: var(--c-text-mute);
    max-width: 60ch;
}

/* Generic glass card */
.glass-card {
    position: relative;
    background: var(--c-glass-fill);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid var(--c-glass-border);
    border-radius: var(--pane-radius);
    box-shadow: var(--pane-shadow);
    padding: 22px 24px;
    color: var(--c-text);
    transition: border-color 320ms ease, box-shadow 320ms ease, transform 360ms ease, backdrop-filter 320ms ease;
    overflow: hidden;
}
.glass-card::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 22px,
        rgba(200, 216, 232, 0.05) 22px,
        rgba(200, 216, 232, 0.05) 23px
    );
    opacity: 0.6; pointer-events: none;
}
.glass-card::after {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(200, 216, 232, 0.08), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(78, 205, 196, 0.04), transparent 60%);
    pointer-events: none;
}
.glass-card:hover {
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32), 0 0 20px rgba(78, 205, 196, 0.1);
}
.glass-card > * { position: relative; z-index: 1; }

/* ---------- 1. Vault Door ---------- */
.panel-vault {
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.vault-stage {
    position: relative;
    padding: 56px clamp(20px, 4vw, 60px);
    border-radius: 24px;
    background: rgba(15, 32, 56, 0.32);
    border: 1px solid var(--c-glass-border);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: backdrop-filter 1200ms ease, -webkit-backdrop-filter 1200ms ease, background 1200ms ease;
    max-width: 920px;
    width: 100%;
}
.vault-stage.crystallised {
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    background: rgba(15, 32, 56, 0.52);
}

.lrx-mark { margin: 0 auto 28px; display: block; }
.lrx-mark .draw-path {
    stroke-dasharray: var(--len, 600);
    stroke-dashoffset: var(--len, 600);
    transition: stroke-dashoffset 2000ms cubic-bezier(.66,.05,.36,1);
}
.lrx-mark.drawn .l-stroke { stroke-dashoffset: 0; transition-delay: 0ms; }
.lrx-mark.drawn .r-stroke { stroke-dashoffset: 0; transition-delay: 300ms; }
.lrx-mark.drawn .x-stroke { stroke-dashoffset: 0; transition-delay: 600ms; }

.vault-title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    letter-spacing: 0.08em;
    line-height: 1.05;
    margin-bottom: 18px;
    color: var(--c-text);
}
.vault-title .div {
    display: inline-block;
    width: 1px; height: 0.7em;
    background: var(--c-frost-edge);
    margin: 0 0.5em;
    transform: translateY(-0.04em);
    color: transparent;
    vertical-align: middle;
}
.vault-sub {
    color: var(--c-text-mute);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    max-width: 56ch; margin: 0 auto 28px;
    line-height: 1.7;
}
.vault-codes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.code-chip {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--c-text);
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(200, 216, 232, 0.06);
    border: 1px solid var(--c-glass-border);
    letter-spacing: 0.05em;
}
.code-chip.teal { color: var(--c-teal); border-color: rgba(78, 205, 196, 0.3); }
.code-chip.gold { color: var(--c-gold); border-color: rgba(255, 217, 61, 0.3); }

.scroll-hint {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 6px;
    font-family: var(--f-accent);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.7rem;
    color: var(--c-text);
    opacity: 0.5;
    animation: hintPulse 2s ease-in-out infinite;
}
@keyframes hintPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, 0); }
    50%      { opacity: 0.8; transform: translate(-50%, 6px); }
}

/* ---------- 2. Exchange Floor ---------- */
.panel-exchange .exchange-grid {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    gap: 24px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
.column { display: flex; flex-direction: column; gap: 18px; }
.column.holders { padding-top: 0; }
.column.seekers { padding-top: 60px; }

.column-label {
    font-family: var(--f-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--c-text-mute);
    margin-bottom: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--c-frost-edge);
}

.glass-card .card-id {
    font-family: var(--f-mono); font-size: 0.78rem;
    color: var(--c-text-mute); letter-spacing: 0.06em;
    padding: 2px 6px; border-radius: 3px;
    background: rgba(200, 216, 232, 0.06);
    display: inline-block;
    margin-bottom: 10px;
}
.glass-card h3 {
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.glass-card p {
    color: var(--c-text-mute);
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.state {
    display: inline-block;
    font-family: var(--f-accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid;
}
.state.s-teal  { color: var(--c-teal);  border-color: rgba(78, 205, 196, 0.5);  background: rgba(78, 205, 196, 0.08); }
.state.s-coral { color: var(--c-coral); border-color: rgba(255, 107, 107, 0.5); background: rgba(255, 107, 107, 0.08); }
.state.s-gold  { color: var(--c-gold);  border-color: rgba(255, 217, 61, 0.5);  background: rgba(255, 217, 61, 0.08); }

.exchange-channel {
    position: relative;
    align-self: stretch;
    overflow: hidden;
    border-radius: 999px;
}
.channel-line {
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--c-frost-edge) 20%, var(--c-frost-edge) 80%, transparent);
    transform: translateX(-50%);
}
.particles { position: absolute; inset: 0; }
.particle {
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--c-teal);
    box-shadow: 0 0 12px rgba(78, 205, 196, 0.7), 0 0 24px rgba(78, 205, 196, 0.4);
    opacity: 0;
    animation: rise 10s linear infinite;
}
@keyframes rise {
    0%   { transform: translate(var(--ox, 0), 100%) scale(0.8); opacity: 0; }
    10%  { opacity: 0.9; }
    50%  { transform: translate(calc(var(--ox, 0) * -1), 50%) scale(1); }
    90%  { opacity: 0.9; }
    100% { transform: translate(var(--ox, 0), -10%) scale(0.6); opacity: 0; }
}

/* ---------- 3. Classification Hall ---------- */
.panel-classification { overflow: hidden; }
.fan {
    position: relative;
    min-height: 540px;
    margin-top: 24px;
}
.fan-origin {
    position: absolute;
    bottom: 0; left: 4%;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.4), transparent 70%);
    box-shadow: 0 0 24px rgba(78, 205, 196, 0.3);
}
.fan-card {
    position: absolute;
    bottom: 24px; left: 4%;
    width: clamp(220px, 22vw, 290px);
    padding: 22px 22px 24px;
    background: var(--c-glass-fill);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid var(--c-glass-border);
    border-radius: 6px;
    box-shadow: var(--pane-shadow);
    transform-origin: 0% 100%;
    transform: rotate(calc(var(--idx) * 14deg - 6deg)) translate(20px, -20px) skewY(-6deg);
    transition: transform 420ms cubic-bezier(.34,1.56,.64,1), box-shadow 320ms ease, border-color 320ms ease;
    color: var(--c-text);
}
.fan-card::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 22px,
        rgba(200, 216, 232, 0.05) 22px,
        rgba(200, 216, 232, 0.05) 23px
    );
    opacity: 0.5;
    pointer-events: none;
    border-radius: inherit;
}
.fan-card > * { position: relative; }
.fan-card .seal { margin-bottom: 14px; }
.fan-card .cat-tag {
    font-family: var(--f-mono);
    font-size: 0.74rem;
    color: var(--c-text-mute);
    letter-spacing: 0.1em;
}
.fan-card h3 {
    font-size: 1.45rem;
    margin: 4px 0 8px;
    letter-spacing: 0.04em;
}
.fan-card p {
    color: var(--c-text-mute);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.fan-card .cat-meta {
    font-family: var(--f-accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.68rem;
    color: var(--c-text-mute);
    display: inline-block;
    padding-top: 8px;
    border-top: 1px solid var(--c-glass-border);
}

.cat-patent { color: var(--c-gold); }
.cat-patent h3 { color: var(--c-gold); }
.cat-copyright { color: var(--c-teal); }
.cat-copyright h3 { color: var(--c-teal); }
.cat-trademark { color: var(--c-coral); }
.cat-trademark h3 { color: var(--c-coral); }
.cat-tradesecret h3 { color: var(--c-text); }
.cat-opensource h3 { color: var(--c-text); }

.fan:hover .fan-card { opacity: 0.78; transform: rotate(calc(var(--idx) * 14deg - 6deg)) translate(20px, -20px) skewY(-6deg) scale(0.97); }
.fan-card:hover {
    opacity: 1 !important;
    transform: rotate(calc(var(--idx) * 14deg - 6deg)) translate(20px, -20px) skewY(-6deg) scale(1.05) !important;
    border-color: rgba(78, 205, 196, 0.45);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(78, 205, 196, 0.18);
    z-index: 10;
}

/* ---------- 4. Transfer Chamber ---------- */
.panel-transfer { overflow: hidden; }
.chamber {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 640px;
}
.chamber-upper, .chamber-lower {
    position: relative;
    border: 1px solid var(--c-glass-border);
    background: var(--c-glass-fill);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: var(--pane-shadow);
    padding: 40px clamp(24px, 4vw, 56px);
}
.chamber-upper {
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
    margin-bottom: -110px;
    padding-bottom: 140px;
}
.chamber-lower {
    clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
    padding-top: 130px;
    border-radius: 0 0 var(--pane-radius) var(--pane-radius);
}

.transfer-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}
.t-step {
    position: relative;
    padding: 18px;
    border: 1px solid var(--c-glass-border);
    border-radius: 12px;
    background: rgba(15, 32, 56, 0.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 320ms ease, border-color 320ms ease;
}
.t-step:hover { border-color: rgba(78, 205, 196, 0.4); transform: translateY(-3px); }
.step-num {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--c-teal);
    letter-spacing: 0.1em;
}
.t-step h4 {
    font-size: 1.3rem;
    margin: 6px 0 8px;
    letter-spacing: 0.04em;
}
.t-step p { font-size: 0.88rem; color: var(--c-text-mute); }

.transfer-arrow {
    width: 100%;
    height: auto;
    max-height: 180px;
    margin-top: 12px;
}
#arrowPath {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 1500ms ease;
}
.panel-transfer.in-view #arrowPath { stroke-dashoffset: 0; }

.document {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px clamp(20px, 3vw, 36px);
    border: 1px solid var(--c-glass-border);
    border-radius: 12px;
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 28px,
            rgba(200, 216, 232, 0.04) 28px,
            rgba(200, 216, 232, 0.04) 29px
        ),
        rgba(15, 32, 56, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.doc-head {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 1px solid var(--c-frost-edge);
}
.doc-label {
    font-family: var(--f-display);
    font-size: 1.4rem; letter-spacing: 0.06em;
    color: var(--c-text);
}
.doc-id {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--c-text-mute);
    letter-spacing: 0.06em;
}
.doc-body { display: flex; flex-direction: column; gap: 14px; }
.doc-line {
    font-family: var(--f-display);
    font-size: clamp(0.98rem, 1.1vw, 1.08rem);
    line-height: 1.7;
    color: var(--c-text);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 700ms ease, transform 700ms ease;
}
.doc-line em { color: var(--c-text-mute); font-style: italic; }
.doc-line strong { color: var(--c-teal); font-weight: 600; }
.panel-transfer.in-view .doc-line { opacity: 1; transform: translateY(0); }
.panel-transfer.in-view .doc-line:nth-child(1) { transition-delay: 200ms; }
.panel-transfer.in-view .doc-line:nth-child(2) { transition-delay: 400ms; }
.panel-transfer.in-view .doc-line:nth-child(3) { transition-delay: 600ms; }
.panel-transfer.in-view .doc-line:nth-child(4) { transition-delay: 800ms; }
.panel-transfer.in-view .doc-line:nth-child(5) { transition-delay: 1000ms; }

.hash {
    font-family: var(--f-mono);
    color: var(--c-gold);
    letter-spacing: 0.06em;
    font-size: 0.92rem;
}
.signature {
    font-style: italic;
    color: var(--c-text-mute);
    text-align: right;
    border-top: 1px dashed var(--c-frost-edge);
    padding-top: 14px;
    margin-top: 4px;
}

/* ---------- 5. Archive Depths ---------- */
.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 0;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--c-frost-edge), transparent);
}
.t-entry {
    display: flex;
    width: 100%;
    margin-bottom: 80px;
    position: relative;
}
.t-entry::before {
    content: "";
    position: absolute;
    left: 50%; top: 28px;
    width: 10px; height: 10px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--c-vault);
    border: 1px solid var(--c-frost-edge);
}
.t-entry.left { justify-content: flex-start; }
.t-entry.right { justify-content: flex-end; }

.t-card {
    width: calc(50% - 40px);
    transition: transform 420ms ease, backdrop-filter 420ms ease, border-color 420ms ease, box-shadow 420ms ease;
}
.t-entry.left  .t-card:hover { transform: translateX(8px); }
.t-entry.right .t-card:hover { transform: translateX(-8px); }
.t-card:hover {
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
    border-color: rgba(200, 216, 232, 0.4);
}

.t-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--c-text-mute);
    letter-spacing: 0.05em;
}
.t-tag {
    font-family: var(--f-accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    padding: 3px 9px;
    border-radius: 3px;
    border: 1px solid;
}
.t-tag.patent     { color: var(--c-gold);  border-color: rgba(255, 217, 61, 0.4); }
.t-tag.copyright  { color: var(--c-teal);  border-color: rgba(78, 205, 196, 0.4); }
.t-tag.trademark  { color: var(--c-coral); border-color: rgba(255, 107, 107, 0.4); }
.t-tag.tradesecret{ color: var(--c-text-mute); border-color: var(--c-frost-edge); }
.t-tag.opensource { color: var(--c-text); border-color: rgba(200, 216, 232, 0.35); }

/* ---------- 6. Reading Room ---------- */
.panel-reading {
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 110vh;
}
.reading-frame {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}
.reading-card {
    max-width: 720px;
    width: 100%;
    padding: 60px clamp(28px, 5vw, 64px);
    text-align: center;
}
.reading-mark { display: inline-block; opacity: 0.7; margin-bottom: 28px; }
.reading-quote {
    font-family: var(--f-display);
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: var(--c-text);
    margin-bottom: 22px;
    font-weight: 500;
    font-style: italic;
}
.reading-attr {
    font-family: var(--f-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    color: var(--c-text-mute);
    margin-bottom: 28px;
}
.diamond-rule {
    border: 0;
    height: 1px;
    background: var(--c-frost-edge);
    margin: 18px auto 22px;
    width: 60%;
    position: relative;
}
.diamond {
    display: block;
    width: 8px; height: 8px;
    background: var(--c-frost-edge);
    transform: rotate(45deg);
    margin: -27px auto 18px;
    position: relative;
    background: var(--c-vault);
    border: 1px solid var(--c-frost-edge);
}
.reading-foot {
    color: var(--c-text-mute);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 26px;
}
.reading-mono {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--c-text);
    letter-spacing: 0.08em;
    background: rgba(200, 216, 232, 0.06);
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid var(--c-glass-border);
}

/* ---------- Footer ---------- */
.vault-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--c-glass-border);
    padding: 22px 28px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    color: var(--c-text-mute);
    font-family: var(--f-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    background: rgba(15, 32, 56, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.foot-mono {
    font-family: var(--f-mono);
    text-transform: none;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .top-bar { grid-template-columns: auto auto; gap: 12px; padding: 12px 18px; }
    .top-bar .meta-id { display: none; }
    .indicators { gap: 12px; justify-content: flex-end; }

    .panel { padding: 116px 22px 80px; }

    .exchange-grid {
        grid-template-columns: 1fr !important;
    }
    .exchange-channel { display: none; }
    .column.seekers { padding-top: 0; }

    .fan { min-height: auto; display: flex; flex-direction: column; gap: 16px; }
    .fan-origin { display: none; }
    .fan-card {
        position: relative;
        bottom: auto; left: auto;
        width: 100%;
        transform: none !important;
    }

    .transfer-steps { grid-template-columns: repeat(2, 1fr); }
    .chamber-upper, .chamber-lower { clip-path: none; }
    .chamber-upper { padding-bottom: 40px; margin-bottom: 16px; }
    .chamber-lower { padding-top: 40px; }

    .timeline::before { left: 14px; }
    .t-entry::before { left: 14px; }
    .t-card { width: calc(100% - 40px); margin-left: 40px; }
    .t-entry.left, .t-entry.right { justify-content: flex-start; }
}

@media (max-width: 540px) {
    .vault-title { font-size: 2.2rem; letter-spacing: 0.06em; }
    .vault-title .div { margin: 0 0.3em; }
    .panel-title { font-size: 2rem; }
    .transfer-steps { grid-template-columns: 1fr; }
    .reading-card { padding: 40px 22px; }
    .reading-quote { font-size: 1.3rem; }
}
