/* ========================================
   economic.wiki - The Fungal Treasury
   Goblincore-inflected luxury economics
   ======================================== */

/* === CSS Custom Properties === */
:root {
    /* Palette from DESIGN.md */
    --dark-umber: #2c1810;
    --deep-brown: #3d2e1f;
    --parchment: #d4c4a8;
    --cream: #f0e6d2;
    --muted-gold: #b8a88a;
    --near-black: #1a1209;
    --tarnished-gold: #a08858;
    --moss-green: #4a7c59;
    --amethyst: #7b5ea7;
    --saddle-brown: #8b4513;
    --gold-accent: #c4a35a;

    /* Typography */
    --font-display: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-ui: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --gap: 3px;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--near-black);
}

body {
    font-family: var(--font-body);
    color: var(--cream);
    background: var(--near-black);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === Typography === */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: var(--cream);
}

h1 { font-size: clamp(48px, 8vw, 96px); }
h2 { font-size: clamp(32px, 5vw, 64px); }
h3 { font-size: clamp(20px, 3vw, 32px); }

p {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--parchment);
}

/* === Stratum (Section) Base === */
.stratum {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.stratum-header {
    padding: 80px 5% 40px;
    text-align: center;
}

.section-title {
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(123, 94, 167, 0.3);
}

.strata-line {
    width: 120px;
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}

/* ============================================
   STRATUM 0: HERO - The Surface
   ============================================ */
.stratum-surface {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 80%, var(--deep-brown) 0%, var(--near-black) 70%);
    min-height: 100vh;
}

.hero-inner {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mycelium-network {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
}

/* Crystal cluster in hero */
.hero-crystal {
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.crystal {
    position: absolute;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 94, 167, 0.4), rgba(123, 94, 167, 0.1));
    border: 1px solid var(--gold-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.crystal-1 {
    width: 60px; height: 120px;
    left: 50%; bottom: 0;
    transform: translateX(-50%) rotate(-5deg);
    animation: crystalGrow 8s ease-in-out infinite alternate;
}

.crystal-2 {
    width: 45px; height: 90px;
    left: 30%; bottom: 10px;
    transform: rotate(8deg);
    animation: crystalGrow 6s ease-in-out 1s infinite alternate;
}

.crystal-3 {
    width: 70px; height: 140px;
    left: 60%; bottom: 0;
    transform: rotate(-3deg);
    animation: crystalGrow 10s ease-in-out 0.5s infinite alternate;
}

.crystal-4 {
    width: 35px; height: 70px;
    left: 20%; bottom: 20px;
    transform: rotate(12deg);
    animation: crystalGrow 7s ease-in-out 2s infinite alternate;
}

.crystal-5 {
    width: 50px; height: 100px;
    left: 75%; bottom: 5px;
    transform: rotate(-8deg);
    animation: crystalGrow 9s ease-in-out 1.5s infinite alternate;
}

@keyframes crystalGrow {
    0% { opacity: 0.5; transform: translateY(5px) scale(0.98); }
    100% { opacity: 1; transform: translateY(-5px) scale(1.02); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    color: var(--cream);
    text-shadow: 0 0 40px rgba(123, 94, 167, 0.4), 0 0 80px rgba(196, 163, 90, 0.2);
}

.hero-title .tld {
    color: var(--gold-accent);
}

.hero-subtitle {
    font-family: var(--font-ui);
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tarnished-gold);
    margin-top: 16px;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 18px);
    color: var(--muted-gold);
    margin-top: 12px;
    opacity: 0.7;
}

/* Moss base */
.moss-base {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top,
        var(--moss-green) 0%,
        rgba(74, 124, 89, 0.5) 40%,
        transparent 100%
    );
    opacity: 0.3;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-text {
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted-gold);
    opacity: 0.6;
}

.scroll-arrow {
    color: var(--gold-accent);
    opacity: 0.6;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   PORTFOLIO GRID
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--gap);
    padding: 0 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Panel sizes */
.panel-large { grid-column: span 2; grid-row: span 2; }
.panel-medium { grid-column: span 1; grid-row: span 2; }
.panel-wide { grid-column: span 2; grid-row: span 1; }
.panel-small { grid-column: span 1; grid-row: span 1; }

/* Grid panels - crystalline facets */
.grid-panel {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(61, 46, 31, 0.9), 
        rgba(26, 18, 9, 0.95)
    );
    border: 1px solid rgba(196, 163, 90, 0.15);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
}

.grid-panel.facet[data-rotation='2'] { transform: rotate(0.5deg); }
.grid-panel.facet[data-rotation='-3'] { transform: rotate(-0.7deg); }
.grid-panel.facet[data-rotation='4'] { transform: rotate(1deg); }
.grid-panel.facet[data-rotation='-2'] { transform: rotate(-0.5deg); }
.grid-panel.facet[data-rotation='3'] { transform: rotate(0.7deg); }
.grid-panel.facet[data-rotation='1'] { transform: rotate(0.3deg); }
.grid-panel.facet[data-rotation='-4'] { transform: rotate(-1deg); }

.grid-panel:hover {
    transform: rotate(0deg) scale(1.02) !important;
    box-shadow: 0 0 30px rgba(123, 94, 167, 0.2), 0 0 60px rgba(196, 163, 90, 0.1);
    border-color: rgba(196, 163, 90, 0.4);
    z-index: 10;
}

/* Moss edge on panels */
.panel-moss-edge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--moss-green),
        rgba(74, 124, 89, 0.3),
        var(--moss-green)
    );
    opacity: 0.6;
}

.panel-content {
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.panel-label {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 12px;
    display: block;
}

.panel-content h3 {
    margin-bottom: 16px;
    color: var(--cream);
}

.panel-content p {
    flex: 1;
}

/* Crystal chart inside panels */
.crystal-chart {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: 24px;
    height: 120px;
    padding-top: 10px;
}

.crystal-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(123, 94, 167, 0.6), rgba(123, 94, 167, 0.2));
    border: 1px solid var(--gold-accent);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    position: relative;
    transition: height 1s ease;
}

.crystal-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-ui);
    font-size: 10px;
    color: var(--muted-gold);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Mineral specimens */
.mineral-specimen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 8px;
}

.specimen-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--gold-accent);
    text-shadow: 0 0 20px rgba(196, 163, 90, 0.3);
}

.specimen-label {
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-gold);
}

.mineral-specimen.amethyst .specimen-value {
    color: var(--amethyst);
    text-shadow: 0 0 20px rgba(123, 94, 167, 0.4);
}

/* Spore trail */
.spore-trail {
    margin-top: 20px;
    height: 30px;
    background: radial-gradient(circle at 10% 50%, var(--moss-green) 2px, transparent 2px),
                radial-gradient(circle at 30% 30%, var(--moss-green) 1.5px, transparent 1.5px),
                radial-gradient(circle at 50% 70%, var(--moss-green) 2px, transparent 2px),
                radial-gradient(circle at 70% 40%, var(--moss-green) 1px, transparent 1px),
                radial-gradient(circle at 90% 60%, var(--moss-green) 2.5px, transparent 2.5px);
    opacity: 0.5;
}

/* Crystal formation */
.crystal-formation {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
    height: 100px;
}

.crystal-shard {
    background: linear-gradient(to top, rgba(123, 94, 167, 0.5), rgba(123, 94, 167, 0.15));
    border: 1px solid rgba(196, 163, 90, 0.3);
    clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
}

.shard-1 { width: 18px; height: 50px; }
.shard-2 { width: 24px; height: 80px; }
.shard-3 { width: 30px; height: 95px; }
.shard-4 { width: 22px; height: 65px; }
.shard-5 { width: 16px; height: 45px; }

/* ============================================
   STRATUM BACKGROUNDS
   ============================================ */
.stratum-topsoil {
    background: linear-gradient(180deg, var(--near-black) 0%, var(--deep-brown) 50%, var(--near-black) 100%);
}

.stratum-bedrock {
    background: linear-gradient(180deg, var(--near-black) 0%, #1f1510 50%, var(--near-black) 100%);
}

/* ============================================
   STRATUM 3: CRYSTAL CAVE
   ============================================ */
.stratum-cave {
    background: radial-gradient(ellipse at 50% 50%, #1a0f2e 0%, var(--near-black) 70%);
    min-height: 80vh;
}

.cave-interior {
    position: relative;
    padding: 0 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.crystal-cluster-display {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
    min-height: 400px;
}

/* Hexagonal crystals */
.hex-crystal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 800px;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.hex-crystal:hover {
    transform: translateY(-10px);
}

.hex-face {
    position: absolute;
    background: linear-gradient(135deg, rgba(123, 94, 167, 0.4), rgba(123, 94, 167, 0.1));
    border: 1px solid rgba(196, 163, 90, 0.3);
}

.hex-top {
    width: 60px;
    height: 35px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotateX(60deg);
    background: linear-gradient(135deg, rgba(123, 94, 167, 0.6), rgba(196, 163, 90, 0.2));
}

.hex-front {
    width: 60px;
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%);
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(123, 94, 167, 0.35), rgba(123, 94, 167, 0.15));
}

.hex-right {
    width: 30px;
    clip-path: polygon(0% 0%, 100% 15%, 100% 85%, 0% 100%);
    top: 20px;
    right: calc(50% - 45px);
    background: linear-gradient(90deg, rgba(123, 94, 167, 0.2), rgba(123, 94, 167, 0.05));
}

.hex-label {
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-gold);
    text-align: center;
    position: absolute;
    bottom: -30px;
    white-space: nowrap;
}

.cave-moss {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(74, 124, 89, 0.2), transparent);
}

/* ============================================
   STRATUM 4: MYCELIUM NETWORK
   ============================================ */
.stratum-mycelium {
    background: linear-gradient(180deg, var(--near-black) 0%, #0d0a05 50%, var(--near-black) 100%);
}

.mycelium-map {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 500px;
    margin: 0 auto 80px;
}

.mycelium-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mycelium-node {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.node-central {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 94, 167, 0.4), rgba(123, 94, 167, 0.1));
    border: 2px solid var(--gold-accent);
    box-shadow: 0 0 30px rgba(123, 94, 167, 0.3);
}

.node-branch {
    left: var(--node-x);
    top: var(--node-y);
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 124, 89, 0.4), rgba(74, 124, 89, 0.1));
    border: 1px solid rgba(196, 163, 90, 0.3);
}

.node-leaf {
    left: var(--node-x);
    top: var(--node-y);
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160, 136, 88, 0.3), rgba(160, 136, 88, 0.05));
    border: 1px solid rgba(196, 163, 90, 0.2);
}

.mycelium-node:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 20px rgba(123, 94, 167, 0.4);
}

.node-label {
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

.node-central .node-label {
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   STRATUM 5: FOSSIL RECORD / TIMELINE
   ============================================ */
.stratum-fossils {
    background: linear-gradient(180deg, var(--near-black) 0%, #15100a 50%, var(--near-black) 100%);
}

.fossil-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5% 80px;
}

.fossil-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent,
        var(--gold-accent),
        var(--gold-accent),
        transparent
    );
    opacity: 0.3;
    transform: translateX(-50%);
}

.fossil-layer {
    position: relative;
    display: flex;
    align-items: center;
    padding: 30px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fossil-layer.visible {
    opacity: 1;
    transform: translateY(0);
}

.fossil-layer:nth-child(odd) {
    flex-direction: row;
    padding-right: 55%;
}

.fossil-layer:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: 55%;
}

.fossil-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--amethyst);
    border: 2px solid var(--gold-accent);
    box-shadow: 0 0 15px rgba(123, 94, 167, 0.5);
    z-index: 2;
}

.fossil-content {
    padding: 24px;
    background: linear-gradient(145deg, rgba(61, 46, 31, 0.6), rgba(26, 18, 9, 0.8));
    border: 1px solid rgba(196, 163, 90, 0.15);
}

.fossil-year {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.fossil-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.fossil-content p {
    font-size: 14px;
}

/* ============================================
   STRATUM 6: TREASURY FLOOR (FOOTER)
   ============================================ */
.stratum-treasury {
    background: radial-gradient(ellipse at 50% 30%, #1a0f2e 0%, var(--near-black) 60%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treasury-inner {
    position: relative;
    text-align: center;
    padding: 80px 5%;
    max-width: 900px;
}

.treasury-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 94, 167, 0.15), transparent 70%);
    pointer-events: none;
    animation: treasuryPulse 6s ease-in-out infinite;
}

@keyframes treasuryPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.treasury-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 24px;
    color: var(--gold-accent);
    text-shadow: 0 0 40px rgba(196, 163, 90, 0.3);
    position: relative;
    z-index: 1;
}

.treasury-text {
    max-width: 600px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
}

.treasury-specimens {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.specimen-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.specimen-display span {
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-gold);
}

.specimen-crystal {
    width: 50px;
    height: 80px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: gemFloat 4s ease-in-out infinite;
}

.amethyst-gem {
    background: linear-gradient(135deg, rgba(123, 94, 167, 0.8), rgba(123, 94, 167, 0.3));
    border: 1px solid rgba(123, 94, 167, 0.5);
    box-shadow: 0 0 20px rgba(123, 94, 167, 0.3);
}

.gold-gem {
    background: linear-gradient(135deg, rgba(196, 163, 90, 0.8), rgba(160, 136, 88, 0.3));
    box-shadow: 0 0 20px rgba(196, 163, 90, 0.3);
    animation-delay: 1.3s;
}

.moss-gem {
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.8), rgba(74, 124, 89, 0.3));
    box-shadow: 0 0 20px rgba(74, 124, 89, 0.3);
    animation-delay: 2.6s;
}

@keyframes gemFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.treasury-footer {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(196, 163, 90, 0.1);
    position: relative;
    z-index: 1;
}

.footer-mark, .footer-year {
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted-gold);
    opacity: 0.5;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.grid-panel {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.grid-panel.visible {
    opacity: 1;
}

.grid-panel.visible.facet[data-rotation='2'] { transform: rotate(0.5deg); }
.grid-panel.visible.facet[data-rotation='-3'] { transform: rotate(-0.7deg); }
.grid-panel.visible.facet[data-rotation='4'] { transform: rotate(1deg); }
.grid-panel.visible.facet[data-rotation='-2'] { transform: rotate(-0.5deg); }
.grid-panel.visible.facet[data-rotation='3'] { transform: rotate(0.7deg); }
.grid-panel.visible.facet[data-rotation='1'] { transform: rotate(0.3deg); }
.grid-panel.visible.facet[data-rotation='-4'] { transform: rotate(-1deg); }

.hex-crystal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hex-crystal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .panel-large, .panel-medium, .panel-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-crystal {
        display: none;
    }

    .crystal-cluster-display {
        flex-wrap: wrap;
        gap: 20px;
    }

    .fossil-layer:nth-child(odd),
    .fossil-layer:nth-child(even) {
        padding: 20px 0 20px 60px;
        flex-direction: row;
    }

    .fossil-timeline::before {
        left: 20px;
    }

    .fossil-marker {
        left: 20px;
    }

    .treasury-specimens {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .mycelium-map {
        height: 400px;
    }

    .node-label {
        font-size: 8px;
    }
}
