/* =========================================
    RESET & BASE
    ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Roboto Mono', monospace;
    background: white;
    color: black;
    overflow-x: hidden;
}

/* =========================================
    TECH DECALS (UI Overlays)
    ========================================= */
.ui-decal {
    position: fixed;
    font-size: 0.65rem;
    font-weight: 700;
    color: #bbb;
    z-index: 500;
    letter-spacing: 1px;
    pointer-events: none;
}
.decal-tl { top: 100px; left: 20px; border-left: 2px solid #00dde9; padding-left: 8px; }
.decal-tr { top: 100px; right: 20px; text-align: right; }
.decal-bl { bottom: 20px; left: 8px; }
.decal-br { bottom: 20px; right: 8px; }

/* =========================================
    TERMINAL (UI Overlays)
   ========================================= */
.terminal-bg-layer,
.terminal-bg-layer-2 {
    position: absolute;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(187, 187, 187, 0.712);
    line-height: 1.8;
    text-transform: uppercase;
    pointer-events: none;
    word-break: break-all;
    overflow: hidden;
}

.terminal-bg-layer {
    top: 140px;
    right: 60px; /* offset for side panel */
    width: 380px;
    bottom: 20px;
    text-align: right;
    z-index: 2;
}

.terminal-bg-layer-2 {
    top: 70vh;
    left: 0;
    width: 500px;
    bottom: 60px;
    text-align: left;
    padding-left: 80px;
    line-height: 1.6;
    white-space: normal;
    z-index: 1;
}

.terminal-bg-layer.terminal-hidden,
.terminal-bg-layer-2.terminal-hidden {
    visibility: hidden;
    pointer-events: none;
}

.terminal-line { margin-bottom: 8px; display: block; }
.status-fixed { font-weight: 700; }
.terminal-bg-layer .status-fixed { color: #ff6a00c6; }
.terminal-bg-layer-2 .status-fixed { color: #00f2ff96; }

/* =========================================
    NAVIGATION
    ========================================= */
.nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: white;
    border-bottom: 2px solid #111;
    z-index: 1000;
}
.nav-left { display: flex; align-items: center; }
.nav-logo { height: 32px; margin-right: 12px; }
.logo-text { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 700; }

.nav-links { display: flex; align-items: center; }
.nav-link-item {
    margin-left: 28px;
    text-decoration: none;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}
.nav-link-item::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0%; height: 2px;
    background: #ff6b00;
    transition: width 0.3s ease;
}
.nav-link-item:hover::after { width: 100%; }

.nav-toggler {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.nav-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}
.nav-toggler.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggler.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggler.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================
    HERO
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
    z-index: 10;
    position: relative;
    padding-left: 80px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
}

.hero-hub {
    position: relative;
    width: 130px;
    height: 130px;
    z-index: 20;
}

.hub-button-core {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
}
.hub-button-core:hover { transform: scale(1.08); }
.hub-button-core:hover .hero-logo { border-color: #ff6b00; }
.hub-button-core:active { transform: scale(0.92); filter: brightness(0.7); }

.hero-logo {
    width: 100%;
    height: 100%;
    border: 2px solid black;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 5;
    transition: border-color 0.4s ease;
}

.pulse-ring {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 2px solid #000;
    border-radius: 50%;
    pointer-events: none;
    box-sizing: border-box;
    animation: hub-pulse 2s infinite ease-out;
    z-index: 1;
}
@keyframes hub-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.system-loader-wrap {
    position: absolute;
    bottom: 140%;
    left: 0;
    width: 350px;
    pointer-events: none;
}
.loader-label { font-family: 'Roboto Mono', monospace; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; }
.loader-bar-bg { height: 12px; width: 100%; background: #eee; border: 1px solid #000; overflow: hidden; }
#loader-fill { height: 100%; background: #000; width: 0%; transition: width 1s cubic-bezier(0.65, 0, 0.35, 1), background-color 0.4s ease; }

.hero-title { font-family: 'Orbitron', sans-serif; font-size: 5.5rem; font-weight: 700; letter-spacing: -2px; line-height: 0.9; transition: color 0.4s ease; }
.hero-sub { margin-top: 5px; font-size: 1.1rem; color: #444; text-transform: uppercase; letter-spacing: 2px; }

/* =========================================
    GENERIC SECTION STYLING
    ========================================= */
.section {
    padding: 72px 80px 80px;
    border-top: 2px solid #000;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
    background: transparent;
    min-height: 100vh;
    box-sizing: border-box;
    scroll-margin-top: 72px;
    position: relative;
    z-index: 3;
}
#portfolio.section  { min-height: unset; padding-bottom: 40px; }
#connect.section    { min-height: unset; padding-bottom: 160px; }
#affiliates.section { min-height: unset; padding-bottom: 80px; }
#about.section      { min-height: unset; padding-bottom: 80px; }
#music.section      { min-height: unset; }

/* =========================================
   ABOUT — TWO-COLUMN + GALLERY
   ========================================= */
.about-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-top: 10px;
}
.about-text {
    flex: 1;
    min-width: 0;
}

/* Gallery */
.about-gallery {
    position: relative;
    width: 340px;
    flex-shrink: 0;
}
.ag-viewport {
    width: 100%;
    overflow: hidden;
    border: 2px solid #000;
    background: #000;
    position: relative;
    aspect-ratio: 1 / 1;
}
.ag-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.ag-slide {
    min-width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.ag-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Arrows — static squares inline with dots row */
.ag-arrow {
    box-sizing: border-box;
    position: static;
    transform: none;
    background: transparent;
    color: #888;
    border: 1px solid #ccc;
    border-radius: 0;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    font-size: 0.65rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    font-family: 'Roboto Mono', monospace;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ag-arrow:hover  { background: #000; color: #ff6b00; border-color: #000; }
.ag-arrow:disabled { opacity: 0.2; pointer-events: none; }

/* Dots row: ← • • → */
.ag-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.ag-dot {
    box-sizing: border-box;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: 1px solid #999;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.ag-dot.active { background: #ff6b00; border-color: #ff6b00; }

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

/* Counter */
.ag-counter {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: #999;
    text-align: right;
    margin-top: 6px;
}

/* =========================================
   GLOBAL BACKGROUND LAYERS
   z:1 grid  <  z:2 geo canvas  <  z:3 sections (transparent)
   ========================================= */
.global-grid {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}
.geo-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 90px, black calc(100% - 90px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, black 90px, black calc(100% - 90px), transparent 100%);
}
h2 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; text-transform: uppercase; margin-bottom: 10px; }
p { max-width: 700px; line-height: 1.6; font-size: 1.1rem; margin-bottom: 20px; }

/* LOADING BAR SYSTEM */
.waveform-wrap { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.progress-container { height: 12px; width: 350px; background: #eee; overflow: hidden; border: 1px solid #000; }
.progress-loader { height: 100%; width: 0%; background: #000; transition: width 1s cubic-bezier(0.65, 0, 0.35, 1); }
.percentage { font-family: 'Roboto Mono', monospace; font-size: 0.9rem; font-weight: 700; color: #000; min-width: 40px; }
.section[style*="opacity: 1"] .progress-loader { width: 100%; }

/* FRAME BAR */
.frame-bar {
    background: #000;
    color: #fff;
    padding: 10px 15px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Roboto Mono', monospace;
    display: flex;
    align-items: center;
}
.top-bar { border-bottom: 1px solid #222; }
.bottom-bar { border-top: 1px solid #222; color: #aaa; }

/* =========================================
    EXT LINK (styled icon links for portfolio/about)
    ========================================= */
.ext-link-row { margin-top: 25px; display: flex; gap: 30px; flex-wrap: wrap; }

.ext-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
}
.ext-link-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px;
    transition: border-color 0.2s ease;
}
.ext-link:hover .ext-link-icon { border-color: #ff6b00; }
.ext-link .prompt { color: #ff6b00; margin-right: 2px; }
.ext-link .value { border-bottom: 2px solid transparent; padding-bottom: 2px; transition: 0.2s; }
.ext-link:hover .value { border-bottom: 2px solid #000; }

/* =========================================
    PORTFOLIO GRID
    ========================================= */
.portfolio-video-grid { margin-top: 20px; }
.portfolio-video-item {
    border: 1px solid #000;
    background: #000;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    outline: 4px solid white;
}
.portfolio-video-item:hover { transform: translateY(-5px); border-color: #ff6b00; }
.mini-video-container { position: relative; width: 100%; padding-top: 48%; background: #000; }
.mini-video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.encrypted-bg {
    background: repeating-linear-gradient(0deg, #000, #000 1px, #0a0a0a 1px, #0a0a0a 2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
    flex-grow: 1;
}
.encrypted-text {
    color: #ff6b00;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: blink 1.5s infinite;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.7);
    line-height: 1.5;
}

/* =========================================
    MUSIC / LATEST FEED
    ========================================= */
.music-grid-container { margin-top: 30px; }
.video-column,
.stream-column {
    border: 2px solid #000;
    background: #000;
    display: flex;
    flex-direction: column;
}
.video-container { background: #000; flex-grow: 1; line-height: 0; }
#main-video { width: 100%; height: 352px; border: none; }

/* Stacked Spotify + Apple Music — fills to match YouTube height */
.stacked-players {
    display: flex;
    flex-direction: column;
    height: 352px; /* match main-video height */
    background: #000;
    overflow: hidden;
}
.stacked-player-slot {
    flex: 1;
    line-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.stacked-player-slot iframe {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 0;
    border: none;
}
.stream-open-links {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #0a0a0a;
    border-top: 1px solid #222;
    flex-shrink: 0;
}
.stream-open-link {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ff6b00;
    text-decoration: none;
    transition: color 0.2s ease;
}
.stream-open-link:hover { color: #fff; }
.stream-open-sep {
    color: #444;
    font-size: 0.65rem;
    font-family: 'Roboto Mono', monospace;
    user-select: none;
}

/* =========================================
    CONNECT SECTION (replaces Social + Contact)
    ========================================= */
.connect-grid { margin-top: 10px; }

.social-card {
    display: flex;
    flex-direction: column;
    border: 2px solid #000;
    background: #fff;
    padding: 40px 32px;
    text-decoration: none;
    color: #000;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.social-card::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #ff6b00;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-card:hover::before { width: 100%; }
.social-card:hover {
    background: #000;
    color: #fff;
    border-color: #ff6b00;
    transform: translateY(-4px);
}
.social-card-tag {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #ff6b00;
    font-weight: 700;
    margin-bottom: 12px;
}
.social-platform-id {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}
.social-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.social-card-sub {
    font-size: 0.65rem;
    color: #888;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.social-card:hover .social-card-sub { color: #ff6b00; }

/* Connect card icon (replaces text platform-id for VGen/Discord) */
.connect-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.connect-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.social-card:hover .connect-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(255,107,0,0.4));
}

/* =========================================
    FIXED SOCIAL SIDE PANEL
    White, circular icons, vertically centered
    ========================================= */
.social-side-panel {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid #111;
    border-right: none;
    width: 52px;
    padding: 10px 0 8px;
}

.side-panel-tag {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.42rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #00dde9;
    padding: 4px 0 6px;
    white-space: nowrap;
}

.side-panel-divider {
    width: 26px;
    height: 1px;
    background: #ccc;
    margin: 4px auto;
    flex-shrink: 0;
}

.side-panel-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.side-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    text-decoration: none;
}

/* Circular icon window */
.side-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.side-icon-link:hover .side-icon-circle {
    border-color: #ff6b00;
    background: #fff8f5;
    box-shadow: 0 0 8px rgba(255,107,0,0.25);
}

/* Label tooltip slides left on hover */
.side-icon-link::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #000;
    color: #ff6b00;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
    padding: 4px 8px;
    border: 1px solid #ff6b00;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.side-icon-link:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.side-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0); /* black overlay on side panel — colour only in connect section */
    transition: filter 0.2s ease, transform 0.2s ease;
}
.side-icon-link:hover .side-icon {
    filter: brightness(0) invert(0); /* stays black, circle border glows */
    transform: scale(1.1);
}

/* =========================================
    HERO REVEAL PANEL
    Positioned top-right, uses space better
    ========================================= */
.hero-reveal-panel {
    position: absolute;
    right: 70px;
    top: 120px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    opacity: 0; /* hidden until JS shows it */
}

.reveal-tag {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.58rem;
    font-weight: 700;
    color: #ff6b00;
    letter-spacing: 2px;
    margin-bottom: 6px;
    animation: blink 2s infinite;
}

.reveal-node {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ccc;
    padding: 10px 16px;
    background: rgba(255,255,255,0.9);
    cursor: default;
    width: 340px; /* fixed — wide enough for MEMENTO MORI: A REASON TO LIVE */
    transition: border-color 0.25s ease, background 0.25s ease;
    backdrop-filter: blur(2px);
    overflow: hidden;
}

@keyframes nodeSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes nodeSlideOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(40px); }
}

/* Applied per-node via JS for staggered entrance */
.reveal-node { opacity: 0; }
.reveal-node.node-in  { animation: nodeSlideIn 0.3s cubic-bezier(0.16,1,0.3,1) forwards; }
.reveal-node.node-out { animation: nodeSlideOut 0.2s ease-in forwards; }

/* animation delays applied via JS when node-in class is added */

.node-bracket {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #bbb;
    transition: color 0.25s ease;
    flex-shrink: 0;
}

.node-content { flex: 1; }

.node-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #444;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.node-sub {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.58rem;
    color: #aaa;
    letter-spacing: 1px;
    margin-top: 3px;
}

/* Active nodes — same base as unknown-node, links to pages, cyan hover */
.active-node {
    cursor: pointer;
    border-color: #888;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.active-node:hover {
    border-color: #00dde9;
    background: #000;
}
.active-node:hover .node-bracket { color: #00dde9; }
.active-node:hover .node-label   { color: #00dde9; }
.active-node:hover .node-sub     { color: #00dde9; opacity: 0.6; }

/* Locked nodes — same base as unknown-node, glitches on hover */
.locked-node {
    cursor: pointer;
    border-color: #888;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.locked-node:hover {
    border-color: #ff6b00;
    background: #000;
}
.locked-node:hover .node-bracket { color: #ff6b00; }
.locked-node:hover .node-label   { color: #ff6b00; }
.locked-node:hover .node-sub     { color: #ff6b00; opacity: 0.6; }

/* Touch-active state for reveal nodes on mobile — mirrors desktop hover exactly */
.active-node.touch-active {
    border-color: #00dde9;
    background: #000;
}
.active-node.touch-active .node-bracket,
.active-node.touch-active .node-label,
.active-node.touch-active .node-sub { color: #00dde9; opacity: 1; }

.locked-node.touch-active,
.unknown-node.touch-active {
    border-color: #ff6b00;
    background: #000;
}
.locked-node.touch-active .node-bracket,
.locked-node.touch-active .node-label,
.locked-node.touch-active .node-sub,
.unknown-node.touch-active .node-bracket,
.unknown-node.touch-active .node-label,
.unknown-node.touch-active .node-sub { color: #ff6b00; opacity: 1; }

/* Affiliates subline flash — matches p font so it sits inline */
.aff-subline { margin: 0; }

.accessing-dossier {
    font-family: 'Roboto Mono', monospace;
    font-size: inherit;
    font-weight: inherit;
    color: #ff6b00;
    letter-spacing: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
.accessing-dossier.visible {
    opacity: 1;
    animation: blink 1.2s infinite;
}

/* Memento Mori — LAST node, always shows UNKNOWN, flickers on hover */
.unknown-node {
    cursor: pointer;
    border-color: #888;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.unknown-node:hover {
    border-color: #ff6b00;
    background: #000;
}
.unknown-node:hover .node-bracket { color: #ff6b00; }
.unknown-node:hover .node-label   { color: #ff6b00; }
.unknown-node:hover .node-sub     { color: #ff6b00; opacity: 0.6; }

/* =========================================
    ANIMATIONS
    ========================================= */
.glitch-burst { position: relative; display: inline-block; animation: glitch-main 4s infinite; }
@keyframes glitch-main {
    0%, 94%, 100% { transform: none; color: black; text-shadow: none; }
    95% { transform: translate(-3px, 2px); color: #00f2ff; text-shadow: 2px 0 #ff6b00; }
    97% { transform: translate(3px, -2px); color: #ff6b00; text-shadow: -2px 0 #00f2ff; }
}

.pulse { color: #ff0000; animation: blink 1s infinite; margin-right: 5px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* =========================================
    FOOTER
    ========================================= */
.footer {
    padding: 28px 80px 44px;
    border-top: 2px solid #000;
    background: white;
    display: flex;
    align-items: flex-end;
}
.footer-inner {
    padding-left: 5vw;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer-main {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #555;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.footer-sub {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.58rem;
    font-weight: 400;
    color: #bbb;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================
    MOBILE RESPONSIVENESS
    ========================================= */
/* Mobile icons bar — hidden on desktop */
.mobile-icons-bar { display: none; }

@media (max-width: 900px) {
    .hero-title { font-size: 3.5rem; }
    .nav { padding: 20px 30px; }
    .section { padding: 80px 30px; }
    .progress-container { width: 200px; }
    .footer { padding: 40px 30px; }
    .system-loader-wrap { width: 250px; }
}

@media (max-width: 768px) {
    .nav { padding: 16px 20px; }
    .nav-toggler { display: flex; }
    .nav-links { display: flex; flex-direction: column; align-items: flex-start; position: fixed; top: 0; left: 0; width: 100%; background: white; border-bottom: 2px solid #111; padding: 80px 24px 28px; transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 999; gap: 0; }
    .nav-links.open { transform: translateY(0); }
    .nav-link-item { margin-left: 0; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid #eee; width: 100%; }
    .nav-link-item:last-child { border-bottom: none; }
    .decal-tl, .decal-tr, .decal-bl, .decal-br { display: none; }
    .social-side-panel { display: none !important; }
    .terminal-bg-layer { top: 490px; bottom: 0; right: 0; width: 48%; font-size: 0.42rem; line-height: 1.5; opacity: 0.5; text-align: right; padding-right: 6px; overflow: hidden; }
    .terminal-bg-layer-2 { display: block; top: 490px; bottom: 0; left: 0; width: 48%; font-size: 0.42rem; line-height: 1.5; opacity: 0.5; text-align: left; padding-left: 6px; white-space: normal; overflow: hidden; }
    .hero { height: auto; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 80px; padding-bottom: 40px; overflow: hidden; }
    .hero-content { order: 1; padding-left: 0; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
    .hero-hub { position: static; width: auto; height: auto; display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
    .system-loader-wrap { position: static; width: 200px; margin: 0 auto 28px; pointer-events: none; text-align: center; }
    .loader-label { font-size: 0.55rem; letter-spacing: 0.5px; margin-bottom: 4px; white-space: nowrap; }
    .loader-bar-bg { height: 4px; }
    .hub-button-core { position: relative; width: 100px; height: 100px; }
    .hero-title { font-size: 2.6rem; letter-spacing: -1px; }
    .hero-sub   { font-size: 0.85rem; letter-spacing: 1.5px; margin-top: 8px; }
    .hero-text  { text-align: center; }
    .mobile-icons-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: 100%; max-width: 290px; margin: 30px auto 0; opacity: 1; max-height: 120px; overflow: hidden; transition: opacity 0.2s ease, max-height 0.25s ease, margin 0.25s ease; }
    .mobile-icons-bar.icons-hidden { opacity: 0; pointer-events: none; max-height: 0; margin-top: 0; }
    .mobile-icons-bar .side-icon-link  { width: auto; height: auto; justify-self: center; }
    .mobile-icons-bar .side-icon-link::before { display: none; }
    .hero-reveal-panel { position: relative !important; right: auto !important; top: auto !important; order: 2; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 20px 24px 0; gap: 8px; }
    .reveal-node { width: 100%; max-width: 300px; min-width: unset; padding: 8px 12px; }
    .node-label { font-size: 0.6rem; } .node-sub { font-size: 0.52rem; } .reveal-tag { font-size: 0.5rem; }
    .locked-node:active, .unknown-node:active { border-color: #ff6b00 !important; background: #000 !important; }
    .locked-node:active .node-bracket, .locked-node:active .node-label, .locked-node:active .node-sub,
    .unknown-node:active .node-bracket, .unknown-node:active .node-label, .unknown-node:active .node-sub { color: #ff6b00 !important; }
    .active-node:active { border-color: #00dde9 !important; background: #000 !important; }
    .active-node:active .node-bracket, .active-node:active .node-label, .active-node:active .node-sub { color: #00dde9 !important; }
    .section { padding: 60px 20px; }
    #portfolio.section { padding-bottom: 40px; } #connect.section { padding-bottom: 80px; }
    #affiliates.section { padding-bottom: 60px; } #about.section { padding-bottom: 60px; }
    h2 { font-size: 1.8rem; } p { font-size: 1rem; }
    .waveform-wrap { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 16px; }
    .progress-container { width: 100%; height: 4px; border: none; background: #eee; }
    .progress-loader { border-radius: 0; }
    .percentage { font-size: 0.65rem; }
    .about-layout { flex-direction: column; gap: 32px; align-items: center; }
    .about-text { width: 100%; } .about-gallery { width: 100%; max-width: 360px; }
    #affiliates .container-lg { padding-left: 12px; padding-right: 12px; }
    .aff-panels-wrap { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; margin-top: 16px; }
    .aff-panel { height: auto !important; aspect-ratio: 1 / 1; }
    .aff-panel-name { font-size: 0.65rem; letter-spacing: 1.5px; }
    .aff-panel-nosignal { display: none !important; }
    .video-container { position: relative; padding-top: 56.25%; height: 0; overflow: hidden; }
    #main-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    .dossier-name { font-size: 1.1rem; }
    .dossier-close { top: 12px; right: 12px; }
    .social-card { padding: 20px 16px; }
    .footer { padding: 32px 20px; text-align: center; } .footer-inner { gap: 6px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; } .nav { padding: 14px 16px; }
    .logo-text { font-size: 1rem; } h2 { font-size: 1.5rem; }
    .section { padding: 50px 16px; }
    .aff-panel-name { font-size: 0.6rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .aff-panels-wrap { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (hover: none) {
    .hub-button-core:active { transform: scale(1.05); }
    .hub-button-core:active .hero-logo { border-color: #ff6b00; }
    .side-icon-link:active .side-icon-circle { border-color: #ff6b00; background: #fff8f5; box-shadow: 0 0 8px rgba(255,107,0,0.25); }
    .social-card:active { background: #000; color: #fff; border-color: #ff6b00; transform: translateY(-2px); }
    .social-card:active .social-card-sub { color: #ff6b00; }
    .aff-panel:active { transform: scale(1.02); border-color: var(--accent); }
    .dossier-project:active { border-color: #ff6b00; background: #000; color: #ff6b00; }
    .dossier-project:active .dossier-project-title { color: #ff6b00; }
}


/* =========================================
   BOOT SCREEN
   ========================================= */
#boot-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.boot-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent, transparent 2px,
        rgba(255,255,255,0.018) 2px, rgba(255,255,255,0.018) 4px
    );
    pointer-events: none;
    z-index: 1;
}
.boot-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    z-index: 2;
    position: relative;
}
.boot-logo-wrap {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.boot-logo {
    width: 100%;
    opacity: 0;
    filter: brightness(0) invert(1);
}
.boot-logo.boot-logo-visible {
    animation: bootLogoIn 0.6s steps(1) forwards;
}
@keyframes bootLogoIn {
    0%   { opacity: 0;   filter: brightness(0) invert(1); }
    15%  { opacity: 1;   filter: brightness(0) invert(1); }
    30%  { opacity: 0.1; filter: brightness(0) invert(1); }
    45%  { opacity: 1;   filter: brightness(0) invert(1); }
    60%  { opacity: 0.5; filter: brightness(0) invert(1); }
    75%  { opacity: 1;   filter: brightness(0) invert(1); }
    100% { opacity: 1;   filter: brightness(0) invert(1); }
}
.boot-bar-track {
    width: 260px;
    height: 2px;
    background: #1a1a1a;
    position: relative;
}
.boot-bar-fill {
    height: 100%;
    width: 0%;
    background: #ff6b00;
    transition: background-color 0.6s ease;
}
.boot-bar-fill.bar-complete { background: #00f2ff; }
.boot-status {
    display: flex;
    gap: 18px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
}
#bootPercent { color: #ff6b00; min-width: 4ch; transition: color 0.6s ease; }
#bootPercent.pct-complete { color: #00f2ff; }
#bootLine { color: #444; }

.boot-morse {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: #ffffff;
    margin-top: 14px;
    min-height: 1.2em;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}
@media (max-width: 380px) {
    .boot-morse { font-size: 0.5rem; letter-spacing: 2px; gap: 4px; }
}
@media (min-width: 381px) and (max-width: 480px) {
    .boot-morse { font-size: 0.62rem; letter-spacing: 3px; gap: 6px; }
}
.morse-char {
    opacity: 0;
    transform: translateY(6px);
    display: inline-block;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.morse-char.visible {
    opacity: 1;
    transform: translateY(0);
}
.morse-sep {
    color: #333;
    opacity: 0;
    transition: opacity 0.1s ease;
}
.morse-sep.visible { opacity: 1; }

/* Content glitch on exit — only boot-content, NOT the whole screen */
.boot-content.content-glitch {
    animation: contentGlitch 0.35s steps(1) forwards;
}
@keyframes contentGlitch {
    0%   { transform: translate(0,0);       opacity: 1;   clip-path: inset(0 0 0 0); }
    12%  { transform: translate(-6px, 2px); opacity: 0.7; clip-path: inset(20% 0 30% 0); }
    24%  { transform: translate(4px, -1px); opacity: 1;   clip-path: inset(0 0 0 0); }
    36%  { transform: translate(-3px, 3px); opacity: 0.5; clip-path: inset(50% 0 10% 0); }
    48%  { transform: translate(6px, 0px);  opacity: 1;   clip-path: inset(0 0 0 0); }
    60%  { transform: translate(-2px,-3px); opacity: 0.6; clip-path: inset(30% 0 50% 0); }
    72%  { transform: translate(0, 0);      opacity: 0.3; clip-path: inset(0 0 80% 0); }
    84%  { transform: translate(3px, 1px);  opacity: 1;   clip-path: inset(0 0 0 0); }
    100% { transform: translate(0, 0);      opacity: 0;   clip-path: inset(0 0 0 0); }
}
/* Full screen CRT collapse AFTER content glitch */
#boot-screen.boot-collapse {
    transform-origin: center center;
    animation: bootCollapse 0.4s cubic-bezier(0.7, 0, 1, 0.5) forwards;
}
@keyframes bootCollapse {
    0%   { transform: scaleY(1);    opacity: 1; }
    50%  { transform: scaleY(0.03); opacity: 1; }
    70%  { transform: scaleY(0.03); opacity: 0.5; }
    100% { transform: scaleY(0);    opacity: 0; }
}

/* =========================================
   AFFILIATES PANELS
   ========================================= */
.aff-panels-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 24px;
    transition: opacity 0.25s ease;
}
.aff-panels-wrap.panels-out {
    opacity: 0;
    pointer-events: none;
}
.aff-panel {
    position: relative;
    height: 220px;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.15);
    transition: border-color 0.25s, opacity 0.3s, filter 0.3s, transform 0.25s;
}
.aff-panel-bg {
    position: absolute;
    inset: 0;
    background: #0d0d0d;
    background-image: repeating-linear-gradient(
        0deg, #000, #000 1px, #0d0d0d 1px, #0d0d0d 2px
    );
    transition: filter 0.25s;
}
/* Cover image when data.image is provided */
.aff-panel-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
    display: block;
}
/* Fallback initial letter when no image */
.aff-panel-initial {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: #fff;
    opacity: 0.05;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    transition: opacity 0.25s;
}
.aff-panel:hover .aff-panel-initial,
.aff-panel.aff-active .aff-panel-initial { opacity: 0.12; }
/* Gradient overlay so text stays readable over photos */
.aff-panel-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.10) 0%,
        rgba(0,0,0,0.30) 50%,
        rgba(0,0,0,0.80) 100%
    );
    transition: background 0.25s;
}
.aff-panel:hover .aff-panel-overlay,
.aff-panel.aff-active .aff-panel-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.0) 0%,
        rgba(0,0,0,0.20) 50%,
        rgba(0,0,0,0.85) 100%
    );
}
.aff-panel-accent {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 5px;
    z-index: 4;
}
.aff-panel-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    z-index: 3;
}
.aff-panel-name {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    transition: color 0.25s;
}
.aff-panel-role {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.52rem;
    color: #888;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    transition: color 0.25s;
}
/* dimmed = all non-hovered panels */
.aff-panel.aff-dimmed {
    opacity: 0.28;
    filter: grayscale(1);
    transform: scale(0.97);
}
.aff-panel.aff-active {
    border-color: var(--accent);
    transform: scale(1.02);
}
.aff-panel.aff-active .aff-panel-name { color: #fff; }
/* No-signal panel */
.aff-panel-nosignal {
    cursor: default;
}
.aff-panel-nosignal .aff-panel-bg {
    background: #0a0a0a;
    background-image: repeating-linear-gradient(
        0deg, #000, #000 1px, #0d0d0d 1px, #0d0d0d 2px
    );
}
.aff-nosignal-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: #ff6b00;
    font-weight: 700;
    text-align: center;
    line-height: 1.8;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.7);
    animation: blink 1.8s infinite;
    z-index: 2;
}
/* ── Dossier ──────────────────────────────────────────────────── */
.dossier-panel {
    display: none;
    flex-direction: column;
    margin-top: 24px;
    overflow: visible;
    position: relative;
}
.dossier-panel.dossier-open {
    display: flex;
}

/* Photo col */
.dossier-photo-col {
    width: 100%;
    padding-top: 100%; /* 1:1 square — works even with absolute-only child */
    height: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

/* Inner wrapper: clip-path animation — same on all screen sizes */
.dossier-photo-inner {
    position: absolute;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #000;
    background-image: repeating-linear-gradient(
        0deg, #000, #000 1px, #0a0a0a 1px, #0a0a0a 2px
    );
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
}
.dossier-photo-col.photo-in .dossier-photo-inner {
    animation: photoReveal 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.dossier-photo-col.photo-out .dossier-photo-inner {
    animation: photoCover 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes photoReveal {
    from { clip-path: inset(0 0 100% 0); }
    to   { clip-path: inset(0 0 0% 0); }
}
@keyframes photoCover {
    from { clip-path: inset(0 0 0% 0); }
    to   { clip-path: inset(0 0 100% 0); }
}

.dossier-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.dossier-photo-placeholder {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.55rem;
    color: #ff6b00;
    letter-spacing: 2px;
    opacity: 0.5;
    text-align: center;
    line-height: 2;
}

/* Info col — MOBILE BASE: max-height expand downward, no border until open */
.dossier-info-col {
    flex: none;
    width: 100%;
    padding: 0 16px;
    position: relative;
    z-index: 1;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.dossier-info-col.info-slide-in {
    max-height: 1200px;
    padding: 20px 16px;
    border: 2px solid #000;
    border-top: none;
}
.dossier-info-col.info-slide-out {
    max-height: 0;
    padding: 0 16px;
    border: 2px solid #000;
    border-top: none;
}

/* Desktop overrides — horizontal layout, slide from left */
@media (min-width: 769px) {
    .dossier-panel { flex-direction: row; min-height: 380px; overflow: hidden; }
    .dossier-photo-col { width: 280px; padding-top: 0; height: auto; }
    .dossier-info-col {
        flex: 1;
        width: auto;
        padding: 36px 40px;
        border: none;
        max-height: none;
        overflow: visible;
        transform: translateX(-100%) translateZ(0);
        will-change: transform;
        visibility: hidden;
        transition: none;
    }
    .dossier-info-col.info-slide-in {
        max-height: none;
        padding: 36px 40px;
        border: 2px solid #000;
        border-left: none;
        visibility: visible;
        animation: infoSlideIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .dossier-info-col.info-slide-out {
        max-height: none;
        padding: 36px 40px;
        border: 2px solid #000;
        border-left: none;
        visibility: visible;
        animation: infoSlideOut 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes infoSlideIn {
        from { transform: translateX(-100%); }
        to   { transform: translateX(0); }
    }
    @keyframes infoSlideOut {
        from { transform: translateX(0); }
        to   { transform: translateX(-100%); }
    }
}
.dossier-close {
    position: absolute;
    top: 0;
    right: 0; 
    border: none; 
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    background: #fff;
    width: 44px;
    height: 44px;
    z-index: 100;
}
.dossier-close:hover { background: #000; color: #ff6b00; }
.dossier-tag {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 2.5px;
    color: #ff6b00;
    margin-bottom: 10px;
}
.dossier-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.dossier-role {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.6rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}
.dossier-section { margin-bottom: 20px; }
.dossier-section-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.55rem;
    color: #ff6b00;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.dossier-project {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #5f5f5f;
    padding: 12px 16px;
    margin-bottom: 6px;
    transition: border-color 0.2s, background 0.2s;
}
.dossier-project:hover { border-color: #ff6b00; background: #000; color: #ff6b00; }
.dossier-project:hover .dossier-project-title { color: #ff6b00; }
.dossier-project:hover .dossier-project-role  { color: #ff6b00; opacity: 0.6; }
.dossier-project-title {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 3px;
}
.dossier-project-role {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.56rem;
    color: #888;
    letter-spacing: 1px;
}
.dossier-link {
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.6rem;
    color: #333;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 4px 0;
    transition: color 0.2s;
}
.dossier-link:hover { color: #ff6b00; }