/*
 * ABISSOPELAGICO — Sistema di Design
 * Un viaggio visivo nelle profondità
 */

/* ═══════════════════════════════════════════════════════════
   RESET E BASE
   ═══════════════════════════════════════════════════════════ */

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

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    line-height: 1.8;
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    padding-bottom: 60px;
    /* Space for fixed footer if needed */
}

::selection {
    background: var(--accent-glow);
    color: var(--bg-deep);
}

/* ═══════════════════════════════════════════════════════════
   VARIABILI — ZONA EPIPELAGICA (Default)
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Tipografia */
    --font-display: 'Cinzel', serif;
    /* Pericoli Standard */
    --font-elegant: 'Cormorant Garamond', serif;
    /* Pericoli Standard */
    --font-body: 'Crimson Pro', serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-sans: 'DM Sans', sans-serif;
    /* Abisso Meta Font */
    --font-meta: 'DM Sans', sans-serif;

    /* Zona Epipelagica — Luce */
    --bg-deep: #0a1929;
    --bg-surface: #0d2137;
    --bg-elevated: #123456;

    --text-primary: #e8f4f8;
    --text-secondary: #9ec5d8;
    --text-muted: #5a8fa8;
    --text-dim: #64748b;

    --accent-primary: #4fc3f7;
    --accent-secondary: #81d4fa;
    --accent-glow: rgba(79, 195, 247, 0.4);

    --light-rays: rgba(255, 255, 255, 0.03);
    --depth-line: rgba(79, 195, 247, 0.1);

    /* Abisso Specific Colors for Header/Footer matching Pericoli but in Blue */
    --bio-cyan: #22d3ee;
    --bio-violet: #a78bfa;
    --sunlight: #fde047;
    --void: #000000;

    --surface-sky: #38bdf8;
    --surface-water: #0ea5e9;
    --epipelagic: #0284c7;
    --mesopelagic: #1e40af;
    --bathypelagic: #1e3a5f;
    --abyssopelagic: #0f172a;
    --hadal: #030712;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Layout */
    --content-width: 42rem;
    --reading-width: 36rem;
}

/* ═══════════════════════════════════════════════════════════
   VARIABILI — ZONE PROFONDE
   ═══════════════════════════════════════════════════════════ */

/* Mesopelagica */
[data-zone="mesopelagic"] {
    --bg-deep: #0a0f1a;
    --bg-surface: #0d1424;
    --bg-elevated: #121a30;
    --text-primary: #d4dde8;
    --text-secondary: #8a9cb8;
    --text-muted: #4a5f7a;
    --accent-primary: #7c4dff;
    --accent-secondary: #b388ff;
    --accent-glow: rgba(124, 77, 255, 0.3);
    --light-rays: rgba(124, 77, 255, 0.02);
    --depth-line: rgba(124, 77, 255, 0.08);
}

/* Batipelagica */
[data-zone="bathypelagic"] {
    --bg-deep: #050810;
    --bg-surface: #080c16;
    --bg-elevated: #0c1220;
    --text-primary: #b8c8d8;
    --text-secondary: #6888a8;
    --text-muted: #3a5068;
    --accent-primary: #00e5ff;
    --accent-secondary: #18ffff;
    --accent-glow: rgba(0, 229, 255, 0.25);
    --light-rays: transparent;
    --depth-line: rgba(0, 229, 255, 0.05);
}

/* Abissopelagica */
[data-zone="abyssopelagic"] {
    --bg-deep: #030508;
    --bg-surface: #05080c;
    --bg-elevated: #080c12;
    --text-primary: #98a8b8;
    --text-secondary: #586878;
    --text-muted: #2a3a48;
    --accent-primary: #00ffcc;
    --accent-secondary: #64ffda;
    --accent-glow: rgba(0, 255, 204, 0.2);
    --light-rays: transparent;
    --depth-line: rgba(0, 255, 204, 0.03);
}

/* Adopelagica */
[data-zone="hadopelagic"] {
    --bg-deep: #010203;
    --bg-surface: #020304;
    --bg-elevated: #030506;
    --text-primary: #788898;
    --text-secondary: #485868;
    --text-muted: #1a2a38;
    --accent-primary: #ff4081;
    --accent-secondary: #ff80ab;
    --accent-glow: rgba(255, 64, 129, 0.15);
    --light-rays: transparent;
    --depth-line: rgba(255, 64, 129, 0.02);
}

/* ═══════════════════════════════════════════════════════════
   SITE HEADER (MVA Standard - Ocean Theme)
   ═══════════════════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 1000;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header__menu-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header__menu-btn:hover {
    border-color: var(--bio-cyan);
    background: rgba(34, 211, 238, 0.1);
}

.header__menu-icon {
    width: 18px;
    height: 2px;
    background: var(--text-secondary);
    position: relative;
    transition: background 0.3s;
}

.header__menu-icon::before,
.header__menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-secondary);
    transition: all 0.3s;
}

.header__menu-icon::before {
    top: -6px;
}

.header__menu-icon::after {
    bottom: -6px;
}

.header__menu-btn:hover .header__menu-icon,
.header__menu-btn:hover .header__menu-icon::before,
.header__menu-btn:hover .header__menu-icon::after {
    background: var(--bio-cyan);
}

.header__atrio {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    margin-left: 0.5rem;
    font-family: var(--font-meta);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header__atrio:hover {
    color: var(--bio-cyan);
    border-color: var(--bio-cyan);
    background: rgba(34, 211, 238, 0.1);
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header__logo-diamond {
    width: 8px;
    height: 8px;
    background: var(--bio-cyan);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--accent-glow);
}

.header__logo-text {
    font-family: var(--font-elegant);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--bio-cyan);
    text-shadow: 0 0 20px var(--accent-glow);
}

.header__brand-text {
    font-family: var(--font-elegant);
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.1em;
    color: var(--bio-cyan);
    white-space: nowrap;
    text-shadow:
        0 0 35px rgba(34, 211, 238, 0.4),
        0 0 60px rgba(34, 211, 238, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.4);
}

.header__controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.font-controls {
    display: flex;
    gap: 0.25rem;
}

.font-controls__btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 4px;
    font-family: var(--font-meta);
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.font-controls__btn:hover {
    border-color: var(--bio-cyan);
    color: var(--bio-cyan);
}

.font-controls__btn sup {
    font-size: 0.6rem;
    margin-left: 1px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.theme-toggle:hover {
    border-color: var(--bio-cyan);
    background: rgba(34, 211, 238, 0.1);
}

.theme-toggle__icon {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.theme-toggle:hover .theme-toggle__icon {
    color: var(--bio-cyan);
}

.theme-toggle__icon--moon {
    display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
    display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
    display: block;
}

.header__lang {
    display: flex;
    gap: 0.25rem;
}

.header__lang-btn {
    padding: 0.4rem 0.6rem;
    font-family: var(--font-meta);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.header__lang-btn:hover {
    color: var(--bio-cyan);
}

.header__lang-btn.active {
    color: var(--bio-cyan);
    border-color: var(--bio-cyan);
    background: rgba(34, 211, 238, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION SIDEBAR
   ═══════════════════════════════════════════════════════════ */

.nav-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: rgba(3, 7, 18, 0.98);
    border-right: 1px solid rgba(34, 211, 238, 0.15);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
}

.nav-sidebar.is-open {
    transform: translateX(0);
}

.nav-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.nav-sidebar__label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--bio-cyan);
}

.nav-sidebar__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.nav-sidebar__close:hover {
    border-color: var(--bio-cyan);
    color: var(--bio-cyan);
}

.nav-sidebar__content {
    padding: 1rem 0;
}

.nav-section {
    padding: 0.75rem 1.5rem;
}

.nav-section__title {
    font-family: var(--font-meta);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.nav-link {
    display: block;
    padding: 0.5rem 0;
    font-family: var(--font-elegant);
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--bio-cyan);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ═══════════════════════════════════════════════════════════
   PAGINA (Shared Layout)
   ═══════════════════════════════════════════════════════════ */

.page {
    position: relative;
    min-height: 100vh;
    padding-top: 72px;
    /* Header Offset */
}

/* ═══════════════════════════════════════════════════════════
   SITE FOOTER (MVA Standard - Ocean Theme)
   ═══════════════════════════════════════════════════════════ */

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
}

.site-footer__bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0.75rem 2rem;
    background: rgba(3, 7, 18, 0.95);
    border-top: 1px solid rgba(34, 211, 238, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.site-footer__bar:hover {
    background: rgba(10, 25, 41, 0.98);
    border-top-color: var(--bio-cyan);
}

.site-footer__copyright {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    font-family: var(--font-meta);
}

.site-footer__toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--bio-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-meta);
}

.site-footer__toggle svg {
    transition: transform 0.3s ease;
}

.site-footer.expanded .site-footer__toggle svg {
    transform: rotate(180deg);
}

.site-footer__expanded {
    max-height: 0;
    overflow: hidden;
    background: rgba(3, 7, 18, 0.98);
    transition: max-height 0.4s ease;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.site-footer.expanded .site-footer__expanded {
    max-height: 350px;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr 0.9fr;
    gap: 2rem;
    padding: 2rem 4rem;
}

.site-footer__brand {
    padding-right: 2rem;
    border-right: 1px solid rgba(34, 211, 238, 0.1);
}

.site-footer__brand-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.site-footer__symbol {
    font-size: 1.5rem;
    color: var(--bio-cyan);
}

.site-footer__title {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.site-footer__legal {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.site-footer__col-title {
    font-family: var(--font-meta);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bio-cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-footer__link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.site-footer__link-list a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__link-list a:hover {
    color: var(--bio-cyan);
    text-decoration: underline;
    text-decoration-color: rgba(34, 211, 238, 0.3);
}

.site-footer__archivi a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-footer__archivi svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    flex-shrink: 0;
}

.site-footer__archivi a:hover svg {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE FOOTER
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .site-footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: 1px solid rgba(34, 211, 238, 0.1);
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .site-footer__bar {
        padding: 0.75rem 1rem;
        gap: 1rem;
        flex-direction: column;
    }

    .site-footer__content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .site-footer.expanded .site-footer__expanded {
        max-height: 80vh;
        overflow-y: auto;
    }
}

.site-footer__column h4 {
    font-family: var(--font-meta);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bio-cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-footer__column a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.site-footer__column a:hover {
    color: var(--bio-cyan);
}

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER — Intestazione Principale Index
   ═══════════════════════════════════════════════════════════ */

.page-header {
    position: relative;
    padding: 10rem 2rem 4rem;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg,
        rgba(56, 189, 248, 0.05) 0%,
        rgba(34, 211, 238, 0.02) 50%,
        transparent 100%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(34, 211, 238, 0.3) 50%,
        transparent 100%);
}

.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--text-primary);
    text-shadow:
        0 0 60px rgba(34, 211, 238, 0.3),
        0 0 120px rgba(34, 211, 238, 0.1);
    margin-bottom: 1rem;
    position: relative;
}

.page-header__subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.15em;
    color: var(--bio-cyan);
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.page-header__nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.page-header__link {
    font-family: var(--font-meta);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-header__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.page-header__link:hover {
    color: var(--bio-cyan);
    border-color: var(--bio-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.2);
}

.page-header__link:hover::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   DEPTH SIDEBAR — Indicatore Profondità Laterale
   ═══════════════════════════════════════════════════════════ */

.depth-sidebar {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 100;
    padding: 1rem 0.5rem;
    background: rgba(3, 7, 18, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(34, 211, 238, 0.1);
    backdrop-filter: blur(8px);
}

.depth-sidebar__label {
    font-family: var(--font-meta);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   INDEX CONTAINER — Layout Principale
   ═══════════════════════════════════════════════════════════ */

.index-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
    padding-left: 5rem;
}

/* ═══════════════════════════════════════════════════════════
   ZONE — Sezioni Oceaniche
   ═══════════════════════════════════════════════════════════ */

.zone {
    position: relative;
    padding: 2.5rem 2rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(13, 33, 55, 0.5) 100%);
    border: 1px solid rgba(34, 211, 238, 0.08);
    transition: all 0.4s ease;
}

.zone::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        var(--zone-color, var(--surface-water)) 0%,
        transparent 100%);
    border-radius: 2px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.zone:hover {
    transform: translateX(4px);
    border-color: rgba(34, 211, 238, 0.2);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(34, 211, 238, 0.05);
}

.zone:hover::before {
    opacity: 1;
}

/* Zone Colors */
.zone--preliminari { --zone-color: var(--surface-sky); }
.zone--epipelagica { --zone-color: var(--surface-water); }
.zone--mesopelagica { --zone-color: var(--mesopelagic); }
.zone--batipelagica { --zone-color: var(--bathypelagic); }
.zone--abissopelagica { --zone-color: #00ffcc; }
.zone--hadal { --zone-color: #ff4081; }
.zone--emersione { --zone-color: var(--sunlight); }
.zone--apparati { --zone-color: var(--bio-violet); }

/* Zone Header */
.zone__header {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.zone__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.zone__subtitle {
    font-family: var(--font-elegant);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    opacity: 0.85;
}

.zone__depth {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--zone-color, var(--bio-cyan));
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   CHAPTERS — Container Capitoli
   ═══════════════════════════════════════════════════════════ */

.chapters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   CHAPTER LINK — Link ai Capitoli
   ═══════════════════════════════════════════════════════════ */

.chapter-link {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    align-items: baseline;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    background: rgba(10, 25, 41, 0.4);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chapter-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--zone-color, var(--bio-cyan)) 0%, transparent 100%);
    opacity: 0.15;
    transition: width 0.4s ease;
}

.chapter-link:hover {
    background: rgba(10, 25, 41, 0.7);
    border-color: rgba(34, 211, 238, 0.15);
    transform: translateX(6px);
}

.chapter-link:hover::before {
    width: 100%;
}

.chapter-link--special {
    background: rgba(167, 139, 250, 0.05);
}

.chapter-link--special:hover {
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.2);
}

.chapter-link__num {
    grid-row: 1 / 3;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--zone-color, var(--bio-cyan));
    opacity: 0.7;
    text-align: right;
    padding-right: 0.5rem;
    transition: opacity 0.3s;
}

.chapter-link:hover .chapter-link__num {
    opacity: 1;
}

.chapter-link__title {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s;
}

.chapter-link:hover .chapter-link__title {
    color: var(--bio-cyan);
}

.chapter-link__subtitle {
    grid-column: 2;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.2rem;
}

/* ═══════════════════════════════════════════════════════════
   PROSE — Contenuto Capitoli
   ═══════════════════════════════════════════════════════════ */

.prose {
    max-width: var(--reading-width);
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: 1.3;
}

.prose h1 {
    font-size: 2.5rem;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 1rem;
}

.prose h2 {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--depth-line);
}

.prose h3 {
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.prose h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent-primary);
}

.prose p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
}

.prose p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.5rem;
    float: left;
    line-height: 1;
    padding-right: 0.75rem;
    padding-top: 0.1rem;
    color: var(--bio-cyan);
}

.prose blockquote {
    position: relative;
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: rgba(34, 211, 238, 0.05);
    border-left: 3px solid var(--bio-cyan);
    border-radius: 0 8px 8px 0;
    font-family: var(--font-elegant);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-secondary);
}

.prose blockquote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--bio-cyan);
    opacity: 0.2;
    line-height: 1;
}

.prose ul,
.prose ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.prose li {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.prose li::marker {
    color: var(--bio-cyan);
}

.prose a {
    color: var(--bio-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 211, 238, 0.3);
    transition: all 0.3s;
}

.prose a:hover {
    border-bottom-color: var(--bio-cyan);
    text-shadow: 0 0 10px var(--accent-glow);
}

.prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--depth-line) 20%,
        var(--bio-cyan) 50%,
        var(--depth-line) 80%,
        transparent 100%);
    margin: 3rem 0;
}

.prose code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    padding: 0.2rem 0.5rem;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 4px;
    color: var(--bio-cyan);
}

.prose pre {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(3, 7, 18, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.1);
    border-radius: 8px;
    overflow-x: auto;
}

.prose pre code {
    background: none;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   PROSE SECTION — Sezioni Capitolo
   ═══════════════════════════════════════════════════════════ */

.prose__section {
    margin-bottom: 3rem;
}

.prose__section-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--depth-line);
}

.prose__section-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--bio-cyan);
    margin-right: 0.75rem;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   CONTENT BLOCK — Blocchi Contenuto Speciali
   ═══════════════════════════════════════════════════════════ */

.content-block {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-surface);
    border-radius: 8px;
    border: 1px solid var(--depth-line);
}

.content-block--note {
    background: rgba(34, 211, 238, 0.05);
    border-color: rgba(34, 211, 238, 0.2);
}

.content-block--warning {
    background: rgba(255, 64, 129, 0.05);
    border-color: rgba(255, 64, 129, 0.2);
}

.content-block--highlight {
    background: rgba(167, 139, 250, 0.05);
    border-color: rgba(167, 139, 250, 0.2);
}

.content-block__title {
    font-family: var(--font-meta);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bio-cyan);
    margin-bottom: 1rem;
}

.content-block--warning .content-block__title {
    color: #ff4081;
}

.content-block--highlight .content-block__title {
    color: var(--bio-violet);
}

/* ═══════════════════════════════════════════════════════════
   CHAPTER HEADER — Intestazione Capitolo
   ═══════════════════════════════════════════════════════════ */

.chapter-header {
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    background:
        radial-gradient(ellipse 60% 40% at 50% 20%, var(--accent-glow) 0%, transparent 50%),
        var(--bg-deep);
}

.chapter-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--depth-line) 50%,
        transparent 100%);
}

.chapter-header__zone {
    font-family: var(--font-meta);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--zone-color, var(--bio-cyan));
    margin-bottom: 1rem;
    opacity: 0.8;
}

.chapter-header__number {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.chapter-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 40px var(--accent-glow);
}

.chapter-header__subtitle {
    font-family: var(--font-elegant);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   CHAPTER NAVIGATION — Navigazione tra Capitoli
   ═══════════════════════════════════════════════════════════ */

.chapter-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--depth-line);
}

.chapter-nav__link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    max-width: 280px;
}

.chapter-nav__link:hover {
    border-color: var(--bio-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.15);
}

.chapter-nav__link--prev {
    text-align: left;
}

.chapter-nav__link--next {
    text-align: right;
    margin-left: auto;
}

.chapter-nav__label {
    font-family: var(--font-meta);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.chapter-nav__title {
    font-family: var(--font-elegant);
    font-size: 1rem;
    color: var(--text-primary);
    transition: color 0.3s;
}

.chapter-nav__link:hover .chapter-nav__title {
    color: var(--bio-cyan);
}

/* Stili alternativi per capitoli 00-06 (classi non-BEM) */
.chapter-nav .nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    background: rgba(13, 33, 55, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.2);
    transition: all 0.3s ease;
    max-width: 300px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
}

.chapter-nav .nav-link:first-child {
    text-align: left;
}

.chapter-nav .nav-link:last-child {
    text-align: right;
    margin-left: auto;
}

.chapter-nav .nav-link:hover {
    border-color: var(--accent-primary);
    background: rgba(34, 211, 238, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.2);
    color: var(--accent-primary);
}

.chapter-nav .nav-link-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-primary);
    opacity: 0.7;
}

.chapter-nav .nav-link:hover .nav-link-label {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   SPECIAL ELEMENTS — Elementi Decorativi Capitoli
   ═══════════════════════════════════════════════════════════ */

/* Nasconde depth-indicator vuoto (placeholder non implementato) */
.depth-indicator:empty {
    display: none;
}

/* Depth indicator con contenuto (usato in capitolo 18) */
.depth-indicator:not(:empty) {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.depth-indicator:not(:empty)::before {
    content: '▼';
    font-size: 0.6rem;
    animation: depth-pulse 2s ease-in-out infinite;
}

/* Reading Progress Bar — Barra lettura orizzontale */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10001;
    pointer-events: none;
}

.reading-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
        var(--accent-primary) 0%,
        var(--accent-secondary, #a78bfa) 100%);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 0.1s ease-out;
}

@keyframes depth-pulse {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(2px); }
}

.depth-marker {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    opacity: 0.5;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
}

@media (max-width: 768px) {
    .depth-marker {
        display: none;
    }
}

.bioluminescence {
    position: relative;
    display: inline;
}

.bioluminescence::after {
    content: '';
    position: absolute;
    inset: -2px -4px;
    background: var(--accent-glow);
    border-radius: 4px;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.bioluminescence:hover::after {
    opacity: 1;
}

.marine-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    color: var(--text-dim);
}

.marine-divider::before,
.marine-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--depth-line), transparent);
}

.marine-divider__symbol {
    font-size: 1.2rem;
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Index e Capitoli
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .index-container {
        padding-left: 2rem;
    }

    .depth-sidebar {
        left: 0.75rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 8rem 1.5rem 3rem;
    }

    .page-header__nav {
        gap: 1rem;
    }

    .page-header__link {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }

    .depth-sidebar {
        display: none;
    }

    .index-container {
        padding: 2rem 1.5rem 5rem;
    }

    .zone {
        padding: 1.5rem;
        padding-left: 2.5rem;
    }

    .zone::before {
        left: 12px;
    }

    .zone__header {
        padding-left: 1rem;
    }

    .chapters {
        padding-left: 1rem;
    }

    .chapter-link {
        grid-template-columns: 2rem 1fr;
        padding: 0.6rem 0.75rem;
    }

    .chapter-link__subtitle {
        display: none;
    }

    .prose {
        padding: 3rem 1.5rem 5rem;
    }

    .chapter-header {
        padding: 6rem 1.5rem 3rem;
    }

    .chapter-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .chapter-nav__link {
        width: 100%;
        max-width: none;
    }

    .chapter-nav__link--next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .page-header__title {
        letter-spacing: 0.2em;
    }

    .zone__title {
        font-size: 1.1rem;
    }

    .chapter-link__title {
        font-size: 1rem;
    }

    .prose p {
        font-size: 1rem;
        text-align: left;
    }

    .prose p:first-of-type::first-letter {
        font-size: 2.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   CHAPTER PAGE STYLES
   Stili per le pagine dei singoli capitoli
   ═══════════════════════════════════════════════════════════ */

.zone-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 1rem;
}

.chapter-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.chapter-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 40px var(--accent-glow);
}

.chapter-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.depth-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.depth-stat {
    text-align: center;
}

.depth-stat-value {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.depth-stat span:last-child {
    font-family: var(--font-meta);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent-primary), transparent);
    margin: 2rem auto 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.chapter-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.section {
    margin-bottom: 4rem;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-primary);
    opacity: 0.6;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.bioluminescent {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-glow);
}

.hook-text {
    font-size: 1.5em;
    font-weight: 400;
    color: var(--accent-primary);
    text-align: center;
    margin: 3rem 0;
    font-family: var(--font-display);
    text-shadow: 0 0 20px var(--accent-glow);
}

.warning-box {
    position: relative;
    padding: 2rem;
    margin: 3rem 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(13, 33, 55, 0.4) 100%);
    border-left: 3px solid rgba(239, 68, 68, 0.6);
    border-radius: 0 8px 8px 0;
}

.warning-box p {
    margin: 0;
    font-weight: 500;
    font-family: var(--font-body);
}

.distortion-box {
    position: relative;
    padding: 2rem;
    margin: 3rem 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(13, 33, 55, 0.3) 100%);
    border: 1px solid var(--depth-line);
    border-radius: 8px;
    overflow: hidden;
}

.revelation-box {
    position: relative;
    padding: 2rem;
    margin: 3rem 0;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.08) 0%, rgba(13, 33, 55, 0.3) 100%);
    border: 1px solid rgba(124, 77, 255, 0.3);
    border-radius: 8px;
    text-align: center;
}

.revelation-box p {
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* Navigation links within chapters */
.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.nav-link-title {
    font-family: var(--font-body);
    font-size: 1rem;
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reading progress bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent-primary);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ═══════════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES
   ═══════════════════════════════════════════════════════════ */

[data-theme="light"] {
    --bg-deep: #f0f7ff;
    --bg-surface: #ffffff;
    --bg-elevated: #e8f4fc;

    --text-primary: #0a1929;
    --text-secondary: #1e3a5f;
    --text-muted: #5a8fa8;
    --text-dim: #94a3b8;

    --accent-glow: rgba(14, 165, 233, 0.2);
    --depth-line: rgba(14, 165, 233, 0.15);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(14, 165, 233, 0.2);
}

[data-theme="light"] .nav-sidebar {
    background: rgba(255, 255, 255, 0.98);
    border-right-color: rgba(14, 165, 233, 0.2);
}

[data-theme="light"] .site-footer__bar,
[data-theme="light"] .site-footer__expanded {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(14, 165, 233, 0.2);
}

[data-theme="light"] .zone {
    background: linear-gradient(135deg, #ffffff 0%, rgba(232, 244, 252, 0.8) 100%);
    border-color: rgba(14, 165, 233, 0.1);
}

[data-theme="light"] .chapter-link {
    background: rgba(232, 244, 252, 0.5);
}

[data-theme="light"] .chapter-link:hover {
    background: rgba(232, 244, 252, 0.9);
}
/* ═══════════════════════════════════════════════════════════
   COLOPHON & LEGAL LINKS
   ═══════════════════════════════════════════════════════════ */

.colophon {
    margin-top: var(--space-xl);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border-top: 1px solid var(--depth-line);
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.02));
}

.colophon__text {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    max-width: var(--reading-width);
    margin: 0 auto var(--space-md);
    line-height: var(--leading-relaxed);
}

.colophon__signature {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bio-cyan);
    opacity: 0.8;
}

.site-footer__legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-family: var(--font-meta);
}

.site-footer__legal-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__legal-links a:hover {
    color: var(--bio-cyan);
}

.site-footer__separator {
    color: rgba(34, 211, 238, 0.2);
}

@media (max-width: 768px) {
    .site-footer__legal-links {
        margin-top: 0.5rem;
    }
}
