/* ============================================
   ADAM01 PERSONAL WEBSITE - STYLES
   ============================================ */

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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #444444;
    --border-color: #222222;
    --dot-glow: rgba(255, 255, 255, 0.15);
    --dot-active: #ffffff;
    --dot-inactive: #1a1a1a;
    --accent-red: #ff3b30;
    --accent-red-muted: rgba(255, 59, 48, 0.4);
    --transition-speed: 0.8s;
}

[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --text-primary: #0a0a0a;
    --text-secondary: #555555;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --dot-glow: rgba(0, 0, 0, 0.1);
    --dot-active: #0a0a0a;
    --dot-inactive: #e5e5e5;
    --accent-red: #dc2626;
    --accent-red-muted: rgba(220, 38, 38, 0.3);
}

/* Delay dark mode - keeps section light during transition */
.delay-dark-mode {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --text-primary: #0a0a0a;
    --text-secondary: #555555;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    background-color: var(--bg-primary) !important;
    transition: all 0.3s ease-out;
}

/* Dark mode reveal animation */
.dark-mode-reveal {
    animation: revealDark 0.4s ease-out forwards;
}

@keyframes revealDark {
    0% {
        opacity: 0.8;
        filter: brightness(0.8);
    }
    50% {
        filter: brightness(0.9);
    }
    100% {
        opacity: 1;
        filter: brightness(1);
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* ============================================
   THEME TRANSITION OVERLAY
   ============================================ */
.theme-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--text-primary);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.theme-transition-overlay.flash {
    animation: themeFlash 0.8s ease;
}

@keyframes themeFlash {
    0% { opacity: 0; }
    15% { opacity: 1; }
    100% { opacity: 0; }
}

/* ============================================
   WELCOME MESSAGE
   ============================================ */
.welcome-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.welcome-message.hidden {
    opacity: 0;
}

.welcome-message p {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition-speed) ease;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.page-container {
    display: flex;
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ============================================
   LEFT SIDEBAR NAVIGATION
   ============================================ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border-color);
    background: var(--bg-primary);
    z-index: 100;
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.sidebar-brand {
    margin-bottom: 48px;
}

.sidebar-name {
    font-size: 42px;
    letter-spacing: 2px;
    text-transform: lowercase;
    color: var(--text-primary);
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.1;
    transition: color var(--transition-speed) ease;
}

.sidebar-substack-block {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.sidebar-substack-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: lowercase;
    color: var(--text-muted);
    transition: color var(--transition-speed) ease;
}

.sidebar-substack-arrow {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    transform: translateY(1px);
    animation: substackArrow 1.4s ease-in-out infinite;
}

@keyframes substackArrow {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(3px); opacity: 1; }
}

.sidebar-substack {
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.sidebar-substack:hover {
    opacity: 0.65;
}

.sidebar-substack:focus-visible {
    outline: 1px solid var(--text-primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-substack-arrow {
        animation: none;
    }
}

@media (max-width: 1024px) {
    .sidebar-name {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .sidebar-brand {
        margin-bottom: 24px;
    }

    .sidebar-name {
        font-size: 28px;
    }
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-nav a {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
    display: block;
    position: relative;
    padding: 8px 0;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar-nav a:hover {
    color: var(--text-primary);
    letter-spacing: 1px;
}

.sidebar-nav a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    background: var(--accent-red);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
    margin-left: 320px;
    flex: 1;
    min-height: 100vh;
    width: calc(100vw - 320px);
    max-width: calc(100vw - 320px);
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

#gameOfLife {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.game-controls {
    position: absolute;
    bottom: 48px;
    left: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    z-index: 10;
}

.game-hint {
    width: 100%;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    transition: color var(--transition-speed) ease;
}

.game-btn {
    background: var(--bg-primary);
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.3s ease;
}

.game-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.game-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.game-btn.active:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.game-btn.active .btn-dot {
    background: var(--accent-red);
}

.btn-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    transition: background 0.2s ease;
}

#gameOfLife.drawing-mode {
    cursor: crosshair;
}

/* ============================================
   THEME PULLER (top cord + spring physics)
   ============================================ */
.theme-puller {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
    pointer-events: none;
    touch-action: none;
    user-select: none;
}

.theme-puller-anchor {
    width: 18px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 0 0 3px 3px;
    opacity: 0.55;
    transition: background-color var(--transition-speed) ease, opacity 0.3s ease;
    pointer-events: none;
}

.theme-puller-cord {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: top center;
    will-change: transform;
    pointer-events: auto;
}

.theme-puller-string {
    width: 2px;
    height: 52px;
    background: linear-gradient(
        to bottom,
        var(--text-muted) 0%,
        var(--text-secondary) 100%
    );
    border-radius: 1px;
    transition: background var(--transition-speed) ease, height 0.05s linear;
}

.theme-puller-knob {
    position: relative;
    width: 28px;
    height: 28px;
    margin-top: -2px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.theme-puller-knob:active {
    cursor: grabbing;
}

.theme-puller-knob:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 4px;
    border-radius: 50%;
}

.theme-puller-knob-ring {
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--text-secondary);
    border-radius: 50%;
    background: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition:
        border-color var(--transition-speed) ease,
        background-color var(--transition-speed) ease,
        box-shadow 0.25s ease;
}

.theme-puller-knob-core {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-primary);
    transition: background-color var(--transition-speed) ease, transform 0.2s ease;
}

.theme-puller:hover .theme-puller-anchor,
.theme-puller.is-near .theme-puller-anchor {
    opacity: 0.9;
}

.theme-puller:hover .theme-puller-knob-ring,
.theme-puller.is-near .theme-puller-knob-ring {
    border-color: var(--text-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.theme-puller.is-pulling .theme-puller-knob-core {
    transform: scale(0.88);
}

.theme-puller.is-dark .theme-puller-knob-core {
    box-shadow: 0 0 10px var(--dot-glow);
}

@media (max-width: 768px) {
    .theme-puller {
        left: auto;
        right: 20px;
        transform: none;
    }

    .theme-puller-string {
        height: 40px;
    }

    .theme-puller-knob {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   WHO AM I SECTION
   ============================================ */
.who-am-i-section {
    border-top: 1px solid var(--border-color);
}

.who-am-i-wrapper {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.who-am-i-content {
    max-width: 600px;
    flex: 1;
}

.who-am-i-images {
    position: relative;
    width: 480px;
    height: 400px;
    flex-shrink: 0;
}

.who-am-i-image {
    position: absolute;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.who-am-i-image:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.who-am-i-image-1 {
    width: 220px;
    height: 280px;
    top: 0;
    left: 0;
    transform: rotate(-4deg);
    z-index: 3;
}

.who-am-i-image-2 {
    width: 200px;
    height: 260px;
    top: 20px;
    right: 0;
    transform: rotate(5deg);
    z-index: 2;
}

.who-am-i-image-3 {
    width: 180px;
    height: 220px;
    bottom: 0;
    left: 140px;
    transform: rotate(-2deg);
    z-index: 1;
}

.who-am-i-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.who-am-i-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 30%;
    align-items: center;
    justify-items: center;
}

.who-am-i-image-placeholder span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    opacity: 0.4;
}

.who-am-i-content h2 {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: color var(--transition-speed) ease;
}

.who-am-i-content h2::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    margin-right: 16px;
    vertical-align: middle;
}

.who-am-i-tagline {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 40px;
    transition: color var(--transition-speed) ease;
}

.who-am-i-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.who-am-i-item {
    display: flex;
    align-items: baseline;
    gap: 24px;
}

.who-am-i-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    width: 80px;
    flex-shrink: 0;
    transition: color var(--transition-speed) ease;
}

.who-am-i-value {
    font-size: 14px;
    color: var(--text-primary);
    transition: color var(--transition-speed) ease;
}

.who-am-i-bio {
    margin-top: 32px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
}

.decode-text {
    position: relative;
}

.decode-text.decoding {
    color: var(--text-muted);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section {
    padding: 120px 64px;
    border-top: 1px solid var(--border-color);
    transition: border-color var(--transition-speed) ease;
    max-width: 100%;
    box-sizing: border-box;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.section-dot-cluster {
    display: grid;
    grid-template-columns: repeat(3, 5px);
    gap: 4px;
}

.section-dot-cluster span {
    width: 5px;
    height: 5px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: background-color var(--transition-speed) ease;
}

.section-title {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition-speed) ease;
}

/* ============================================
   STATEMENT PIECE SECTION
   ============================================ */
.statement-current {
    max-width: 800px;
}

.statement-media {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.statement-media::before {
    content: '[ MEDIA ]';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.statement-media.has-media::before {
    display: none;
}

.statement-media-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--dot-inactive) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.5;
}

.statement-title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    line-height: 1.3;
    transition: color var(--transition-speed) ease;
}

.statement-annotation {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-secondary);
    max-width: 600px;
    transition: color var(--transition-speed) ease;
}

.statement-annotation em {
    color: var(--text-primary);
    font-style: normal;
    transition: color var(--transition-speed) ease;
}

.statement-meta {
    margin-top: 24px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    transition: color var(--transition-speed) ease;
}

/* ============================================
   ARCHIVE — minimal list, desc shoots right
   ============================================ */
.archive-section .section-header {
    margin-bottom: 40px;
}

.archive-layout {
    width: 100%;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.archive-group-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: color var(--transition-speed) ease;
}

.archive-group-mark {
    display: none;
}

.archive-stack {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
}

/* one row: title left, description shoots out on hover */
.work-row {
    display: flex;
    align-items: baseline;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    background: transparent;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.work-row:focus-visible {
    outline: 1px solid var(--text-primary);
    outline-offset: 4px;
}

.work-row-title {
    flex: 0 0 auto;
    min-width: 8ch;
    max-width: 42%;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.3px;
    line-height: 1.3;
    color: var(--text-primary);
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.work-row-desc {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 32px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateX(-36px);
    clip-path: inset(0 100% 0 0);
    transition:
        opacity 0.18s ease,
        transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        clip-path 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.work-row:hover .work-row-title,
.work-row:focus-visible .work-row-title {
    color: var(--text-primary);
}

.work-row:hover .work-row-desc,
.work-row:focus-visible .work-row-desc {
    opacity: 1;
    transform: translateX(0);
    clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
    .work-row-desc {
        transition: opacity 0.15s ease;
        transform: none;
        clip-path: none;
    }
}

/* slightly dim siblings so the active row reads clean */
.archive-stack:hover .work-row:not(:hover) .work-row-title {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .work-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 0;
    }

    .work-row-title {
        max-width: 100%;
        white-space: normal;
    }

    .work-row-desc {
        margin-left: 0;
        white-space: normal;
        /* always show a bit on touch; full shoot on hover/focus still */
        opacity: 0.7;
        transform: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .work-row:hover .work-row-desc,
    .work-row:focus-visible .work-row-desc {
        opacity: 1;
        -webkit-line-clamp: 4;
    }

    .archive-stack:hover .work-row:not(:hover) .work-row-title {
        color: var(--text-primary);
    }
}

/* ============================================
   WINDOWS 76 MODAL
   ============================================ */
.win76-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.win76-modal.active {
    display: flex;
}

.win76-window {
    width: 700px;
    max-width: 90vw;
    max-height: 80vh;
    background: var(--bg-primary);
    border: 2px solid var(--text-primary);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    position: absolute;
    cursor: default;
}

.win76-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--text-primary);
    color: var(--bg-primary);
    cursor: move;
    user-select: none;
}

.win76-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.win76-controls {
    display: flex;
    gap: 4px;
}

.win76-btn {
    width: 20px;
    height: 20px;
    background: var(--bg-primary);
    border: 1px solid var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.win76-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.win76-close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.win76-content {
    padding: 24px;
    max-height: calc(80vh - 50px);
    overflow-y: auto;
}

.win76-content h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.win76-content .win76-date {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.win76-content .win76-type {
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-red);
    border: 1px solid var(--accent-red-muted);
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.win76-content p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.win76-content .win76-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.win76-body {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* Large modal variant for Current Mental Output */
.win76-window.win76-large {
    width: 900px;
    max-width: 95vw;
}

.win76-window.win76-large .win76-content {
    padding: 0;
}

.win76-image-header {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.win76-image-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.win76-content-body {
    padding: 24px 32px 32px;
}

.win76-content-body h2 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.win76-content-body p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Hover effect for clickable current mental output card */
.statement-current {
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.statement-current:hover {
    transform: translateY(-4px);
}

.statement-current:hover .statement-media {
    border-color: var(--accent-red-muted);
}

/* ============================================
   SUBSCRIBE
   ============================================ */
.subscribe-section {
    max-width: 500px;
}

.subscribe-dot-matrix {
    display: inline-grid;
    grid-template-columns: repeat(7, 6px);
    gap: 4px;
    margin-bottom: 32px;
}

.subscribe-dot-matrix span {
    width: 6px;
    height: 6px;
    background: var(--dot-inactive);
    border-radius: 50%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-dot-matrix span.lit {
    background: var(--dot-active);
    box-shadow: 0 0 8px var(--dot-glow);
}

.subscribe-section h2 {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.subscribe-section p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.subscribe-form {
    display: flex;
    gap: 12px;
}

.subscribe-input {
    flex: 1;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    color: var(--text-primary);
}

.subscribe-input::placeholder {
    color: var(--text-muted);
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--text-secondary);
}

.subscribe-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    padding: 14px 24px;
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.subscribe-btn:hover {
    opacity: 0.8;
}

/* ============================================
   BACKGROUND DOT PATTERN
   ============================================ */
.dot-matrix-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.02;
    background-image: radial-gradient(var(--text-primary) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ============================================
   ADMIN MODE STYLES
   ============================================ */
.admin-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-red);
    color: white;
    border: none;
    padding: 8px 12px;
    font-family: 'Roboto Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-mode {
    overflow-x: hidden;
}

.admin-mode .admin-edit-btn {
    opacity: 1;
}

.admin-mode .section,
.admin-mode .hero {
    position: relative;
    overflow: hidden;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sidebar {
        width: 260px;
        padding: 32px;
    }

    .sidebar-nav a {
        font-size: 24px;
    }

    .main-content {
        margin-left: 260px;
        width: calc(100vw - 260px);
        max-width: calc(100vw - 260px);
    }

    .section {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 32px 24px;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .sidebar-nav a {
        font-size: 18px;
    }

    .sidebar-nav a::before {
        display: none;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero {
        min-height: 60vh;
        padding: 48px 24px;
    }

    .section {
        padding: 60px 24px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .who-am-i-wrapper {
        flex-direction: column-reverse;
        gap: 32px;
        align-items: center;
    }

    .who-am-i-images {
        width: 300px;
        height: 280px;
    }

    .who-am-i-image-1 {
        width: 140px;
        height: 180px;
    }

    .who-am-i-image-2 {
        width: 120px;
        height: 160px;
        top: 10px;
    }

    .who-am-i-image-3 {
        width: 110px;
        height: 140px;
        left: 90px;
    }
}
