@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Dynamic Theme Variable Architecture (WCAG AA Compliant contrast loops) */
html[data-theme="dark"] {
    --bg-main: #040814;
    --bg-panel: rgba(8, 14, 36, 0.75);
    --accent-cyan: #00f0ff;
    --accent-purple: #8a2be2;
    --text-pure: #ffffff;
    --text-dim: #d1dcf5;
    --border-cyber: rgba(0, 240, 255, 0.15);
    --card-hover-bg: rgba(12, 22, 54, 0.9);
    --terminal-bg: #02050c;
    --shadow-alpha: rgba(0, 0, 0, 0.6);
    --mobile-overlay-bg: rgba(4, 8, 20, 0.98);
}

html[data-theme="light"] {
    --bg-main: #f4f7fc;
    --bg-panel: rgba(255, 255, 255, 0.9);
    --accent-cyan: #007687;
    --accent-purple: #5c00b8;
    --text-pure: #0c1226;
    --text-dim: #3a4a75;
    --border-cyber: rgba(0, 118, 135, 0.25);
    --card-hover-bg: rgba(238, 243, 252, 0.95);
    --terminal-bg: #e6ecf7;
    --shadow-alpha: rgba(12, 25, 60, 0.12);
    --mobile-overlay-bg: rgba(244, 247, 252, 0.99);
}

/* Base Reset Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    font-size: 16px;
    transition: background-color 0.4s ease;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dim);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Canvas Drifts */
.blueprint-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(var(--border-cyber) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-cyber) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -2;
    opacity: 0.7;
    animation: blueprint-drift 30s linear infinite;
}

@keyframes blueprint-drift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

.ambient-particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-node-particle {
    position: absolute;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.15;
    animation: particle-float 12s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.25;
    }

    90% {
        opacity: 0.25;
    }

    100% {
        transform: translateY(-10vh) translateX(50px) scale(1.3);
        opacity: 0;
    }
}

/* Layout Utilities */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(4rem, 8vh, 6rem) 4% 4rem 4%;
}

.text-glow {
    color: var(--text-pure);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.blink {
    animation: blink-anim 1.5s infinite;
    color: var(--accent-cyan);
}

@keyframes blink-anim {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.bento-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-cyber);
    border-radius: 6px;
    padding: clamp(1.2rem, 3vw, 2rem);
    position: relative;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px var(--shadow-alpha), 0 0 12px color-mix(in srgb, var(--card-glow-color) 15%, transparent);
    transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.bento-box:hover {
    border-color: var(--card-glow-color);
    background: var(--card-hover-bg);
    box-shadow: 0 10px 30px var(--shadow-alpha), 0 0 20px color-mix(in srgb, var(--card-glow-color) 25%, transparent);
}

/* Interface Actions */
.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-sharp);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.btn-secondary {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: var(--transition-sharp);
    padding: 0.8rem 1rem;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    color: var(--text-pure);
}

/* Responsive Navigation Header Configuration */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-cyber);
    padding: 1rem 4%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.4s ease;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 800;
    color: var(--text-pure);
    white-space: nowrap;
}

.logo-term {
    color: var(--accent-cyan);
    font-weight: 400;
}

.logo-tld {
    opacity: 0.5;
    font-size: 0.85rem;
}

.nav-menu ul {
    display: flex;
    gap: 1.2rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
    transition: var(--transition-sharp);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--border-cyber);
    color: var(--text-pure);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-sharp);
}

.theme-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.hamburger-toggle {
    display: none;
    font-size: 1.6rem;
    color: var(--text-pure);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem;
}

.section-banner {
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--accent-cyan);
    padding-left: 1rem;
}

.glitch-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 800;
    color: var(--text-pure);
    font-family: var(--font-mono);
}

.section-subtitle {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Hero Text Parameters */
.hero-section {
    padding-top: clamp(7rem, 15vh, 10rem);
}

.hero-canvas-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.console-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-giant-title {
    font-size: clamp(2.1rem, 5.5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-abstract {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

.action-dock {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Isometric Dashboard Elements */
.hero-right-pane {
    display: flex;
    justify-content: center;
    position: relative;
}

.isometric-bento-preview {
    position: relative;
    width: 350px;
    height: 350px;
    transform: rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
}

.iso-card {
    position: absolute;
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    padding: 1rem;
    background: var(--bg-panel);
}

.layer-1 {
    width: 280px;
    height: 160px;
    top: 0;
    left: 0;
    z-index: 3;
    transform: translateZ(60px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.layer-2 {
    width: 180px;
    height: 120px;
    bottom: 10px;
    right: 0;
    z-index: 2;
    transform: translateZ(30px);
    border-color: var(--accent-purple);
}

.layer-3 {
    width: 200px;
    height: 200px;
    top: 40px;
    left: 60px;
    z-index: 1;
    transform: translateZ(0);
    border-color: rgba(255, 255, 255, 0.05);
}

.layer-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

html[data-theme="light"] .layer-3 img {
    filter: grayscale(0);
    opacity: 1;
}

.card-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.card-bar span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.code-line {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    display: block;
    margin-bottom: 0.2rem;
}

.c-key {
    color: #ff3d71;
}

.c-val {
    color: var(--accent-cyan);
}

.metric-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.m-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1;
}

.m-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

/* Biography Elements */
.identity-bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stats-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.stat-node {
    border-left: 2px solid var(--accent-cyan);
    padding-left: 1rem;
}

.node-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-pure);
    display: block;
    line-height: 1;
}

.node-txt {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
    display: block;
}

.info-dock-box {
    grid-column: span 2;
}

.metadata-stream {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.meta-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.meta-row .m-key {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

.meta-row .m-value {
    font-size: 0.9rem;
    color: var(--text-pure);
    font-weight: 600;
    word-break: break-word;
}

/* Bento Structural Canvas Layout Grid */
.canvas-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-cyber);
    border-left: 3px solid var(--accent-border, var(--accent-cyan));
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px var(--shadow-alpha), 0 0 12px color-mix(in srgb, var(--card-glow-color) 15%, transparent);
    transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.bento-card:hover {
    border-color: color-mix(in srgb, var(--card-glow-color) 40%, transparent);
    background: var(--card-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-alpha), 0 0 20px color-mix(in srgb, var(--card-glow-color) 25%, transparent);
}

.span-wide {
    grid-column: span 2;
}

.span-tall {
    grid-row: span 2;
}

.span-hero-wide {
    grid-column: span 3;
}

.card-terminal-header {
    display: flex;
    justify-content: space-between;
    background: rgba(4, 8, 20, 0.05);
    border-bottom: 1px solid var(--border-cyber);
    padding: 0.5rem 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    gap: 0.5rem;
}

.card-bento-body {
    padding: 1.5rem;
    display: flex;
    height: 100%;
    width: 100%;
}

.card-bento-body.flex-col {
    flex-direction: column;
}

.bento-content-split {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 2rem;
    width: 100%;
}

.proj-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 0.5rem;
}

.proj-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.tech-pill-dock {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.tech-pill-dock span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-cyber);
    padding: 0.15rem 0.5rem;
    border-radius: 2px;
    color: var(--text-pure);
}

.bento-metric-pane {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    align-items: flex-end;
}

.bento-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    padding: 0.2rem 0.6rem;
    color: var(--accent-cyan);
    border-radius: 2px;
    white-space: nowrap;
}

.bento-badge.status-green {
    background: rgba(0, 255, 102, 0.1);
    border-color: #00ff66;
    color: #00ff66;
}

.terminal-mock {
    width: 100%;
    background: var(--terminal-bg);
    border: 1px solid var(--border-cyber);
    padding: 0.8rem;
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.terminal-mock.mini {
    margin-top: 1rem;
    padding: 0.5rem;
}

.t-green {
    color: #00aa4f;
}

html[data-theme="dark"] .t-green {
    color: #3ddc84;
}

.t-white {
    color: var(--text-pure);
}

.t-yellow {
    color: #a37200;
}

html[data-theme="dark"] .t-yellow {
    color: #ffcb2c;
}

.push-down {
    margin-top: auto;
}

/* Engineering Blog Arrays */
.blogs-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.blog-node {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.blog-node h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-pure);
    line-height: 1.3;
}

.blog-node p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dim);
}

.blog-read-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-pure);
    font-weight: 600;
    margin-top: auto;
    padding-top: 1rem;
    width: fit-content;
    transition: var(--transition-sharp);
}

.blog-read-link:hover {
    color: var(--accent-cyan);
    padding-left: 0.25rem;
}

/* Capability Matrix Elements */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.matrix-node {
    padding: 1.8rem;
}

.node-header {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.node-header i {
    color: var(--accent-cyan);
    font-size: 1.3rem;
}

.matrix-node p {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Timelines Profiles */
.custom-timeline {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    max-width: 1100px;
    margin: 3rem auto 0 auto;
    position: relative;
}

/* Vertical Timeline Track Line (Desktop) */
@media only screen and (min-width: 769px) {
    .custom-timeline::before {
        content: "";
        position: absolute;
        top: 0.5rem;
        bottom: 0.5rem;
        left: calc(20% + 1.5rem);
        width: 2px;
        background: linear-gradient(
            to bottom,
            var(--accent-cyan) 0%,
            var(--border-cyber) 15%,
            var(--border-cyber) 85%,
            transparent 100%
        );
        transform: translateX(-50%);
        opacity: 0.6;
        pointer-events: none;
    }
}

.timeline-block {
    display: grid;
    grid-template-columns: 0.2fr 0.8fr;
    gap: 3rem;
    position: relative;
}

/* Chronology Milestone Connector Nodes */
.timeline-block::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--accent-cyan);
    pointer-events: none;
    z-index: 5;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

@media only screen and (min-width: 769px) {
    .timeline-block::before {
        left: calc(20% + 1.5rem);
        top: 1.1rem;
        width: 12px;
        height: 12px;
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 2px var(--bg-main), 0 0 8px var(--accent-cyan);
    }
    
    .timeline-block:hover::before {
        background: var(--accent-cyan);
        transform: translate(-50%, -50%) scale(1.35);
        box-shadow: 0 0 0 3px var(--bg-main), 0 0 15px var(--accent-cyan), 0 0 25px var(--accent-cyan);
    }
}

.time-marker {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    padding-top: 0.5rem;
    text-align: right;
    transition: color 0.3s ease;
}

.timeline-block:hover .time-marker {
    color: var(--text-pure);
}

.timeline-content-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-pure);
}

.timeline-content-box .institution {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 0.8rem;
}

.timeline-content-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Forms Pipeline */
.contact-canvas-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-meta-panel h3 {
    color: var(--text-pure);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.terminal-link-node {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-pure);
}

.terminal-link-node i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.terminal-social-dock {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.terminal-social-dock a {
    width: 2.5rem;
    height: 2.8rem;
    border: 1px solid var(--border-cyber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-pure);
    background: var(--bg-panel);
    transition: var(--transition-sharp);
}

.terminal-social-dock a:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    color: var(--accent-cyan);
}

.terminal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.terminal-form input,
.terminal-form textarea {
    background: var(--terminal-bg);
    border: 1px solid var(--border-cyber);
    padding: 0.8rem 1rem;
    color: var(--text-pure);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    border-radius: 4px;
    width: 100%;
    transition: var(--transition-sharp);
}

.terminal-form input:focus,
.terminal-form textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

/* Extraordinary Multi-Dimensional Bento Telemetry Footer */
.footer {
    border-top: 1px solid var(--border-cyber);
    background: var(--terminal-bg);
    padding: 5rem 0 2rem 0;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.footer-bento-canvas {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 1.5rem;
    padding-bottom: 4rem;
}

.footer-box {
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.brand-block .footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.8rem;
    font-family: var(--font-sans);
}

.brand-block .footer-logo .accent {
    color: var(--accent-cyan);
}

.brand-block .footer-summary {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.footer-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    background: rgba(0, 0, 0, 0.03);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-cyber);
    border-radius: 4px;
    width: fit-content;
}

.ping-pulse {
    width: 8px;
    height: 8px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff66;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

.status-lbl {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-pure);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.telemetry-block .f-title,
.index-block .f-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.telemetry-log {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.t-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border-cyber);
    /* Fixed typo layout here */
    padding-bottom: 0.4rem;
    gap: 1rem;
}

.v-cyan {
    color: var(--accent-cyan);
    font-weight: 600;
}

.v-green {
    color: #00aa4f;
}

html[data-theme="dark"] .v-green {
    color: #3ddc84;
}

.v-white {
    color: var(--text-pure);
    font-weight: 600;
}

.v-purple {
    color: var(--accent-purple);
    font-weight: 600;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.footer-links-grid ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
}

.footer-links-grid a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    transition: var(--transition-sharp);
}

.footer-links-grid a:hover {
    color: var(--accent-cyan);
    padding-left: 0.2rem;
}

.footer-blueprint-bottom {
    border-top: 1px solid var(--border-cyber);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    gap: 1rem;
}

.architecture-txt {
    text-align: right;
    opacity: 0.6;
}

/* Extraordinary Full-Screen Tactical Mobile Overlay Navigation (Crushes Screenshot 3.23.41 basic styling) */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--mobile-overlay-bg);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    padding: 0 6%;
}

.mobile-nav-overlay.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-inner {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    height: 85vh;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-cyber);
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
}

.panel-terminal-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.close-mobile-menu {
    background: transparent;
    border: 1px solid var(--border-cyber);
    color: var(--text-pure);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 2px;
}

.close-mobile-menu:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.mobile-menu-meta-box {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-cyber);
    padding: 1rem;
    border-radius: 2px;
    margin-bottom: 2rem;
}

.console-text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.console-text.text-accent {
    color: var(--accent-cyan);
}

/* Enforces zero list bullets and applies stylized dashboard look */
.mobile-links-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: auto;
    padding: 0;
}

.mobile-links-list li {
    list-style: none !important;
    /* Forces total removal of native bullets shown in Screenshot */
    padding: 0;
    margin: 0;
}

.mobile-link {
    font-size: clamp(1.15rem, 4vw, 1.45rem);
    font-weight: 800;
    color: var(--text-pure);
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-sharp);
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
    padding-bottom: 0.4rem;
}

.mobile-link .link-idx {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 400;
}

.mobile-link:hover {
    color: var(--accent-cyan);
    transform: translateX(8px);
}

.mobile-menu-footer {
    border-top: 1px solid var(--border-cyber);
    padding-top: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

/* Blog Sidebar Modal Overlay */
.blog-sidebar-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: flex-end;
}

.blog-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.blog-sidebar {
    width: 100%;
    max-width: 600px;
    height: 100%;
    background: var(--terminal-bg);
    border-left: 1px solid var(--border-cyber);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.blog-sidebar-overlay.active .blog-sidebar {
    transform: translateX(0);
}

.blog-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-cyber);
    background: rgba(0, 0, 0, 0.2);
}

.blog-sidebar-content {
    padding: 2rem 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.blog-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-pure);
    margin: 1rem 0 1.5rem 0;
    line-height: 1.3;
}

.blog-modal-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dim);
}

.blog-modal-body p {
    margin-bottom: 1.2rem;
}

/* Strict Fluid Breakpoints */
@media only screen and (max-width: 1200px) {

    .canvas-bento-grid,
    .blogs-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .span-hero-wide {
        grid-column: span 2;
    }

    .matrix-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metadata-stream {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-bento-canvas {
        grid-template-columns: 1.2fr 1fr;
    }

    .telemetry-block {
        grid-column: span 2;
    }
}

@media only screen and (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .hamburger-toggle {
        display: block;
    }

    .desktop-only-btn {
        display: none;
    }

    .hero-canvas-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-abstract {
        margin: 0 auto 2rem auto;
    }

    .action-dock {
        justify-content: center;
    }

    .hero-right-pane {
        display: none;
    }

    .identity-bento-grid {
        grid-template-columns: 1fr;
    }

    .info-dock-box {
        grid-column: span 1;
    }

    .contact-canvas-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 768px) {

    .canvas-bento-grid,
    .blogs-bento-grid {
        grid-template-columns: 1fr;
    }

    .span-wide,
    .span-tall,
    .span-hero-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-content-split {
        grid-template-columns: 1fr;
    }

    .bento-metric-pane {
        align-items: flex-start;
    }

    /* Mobile timeline track and connectors */
    .custom-timeline {
        padding-left: 0;
        position: relative;
    }
    
    .custom-timeline::before {
        content: "";
        position: absolute;
        top: 0.8rem;
        bottom: 0.8rem;
        left: 0.4rem;
        width: 2px;
        background: linear-gradient(
            to bottom,
            var(--accent-cyan) 0%,
            var(--border-cyber) 15%,
            var(--border-cyber) 85%,
            transparent 100%
        );
        opacity: 0.5;
        pointer-events: none;
    }

    .timeline-block {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding-left: 1.5rem;
        position: relative;
    }
    
    .timeline-block::before {
        left: 0.4rem;
        top: 0.95rem;
        width: 10px;
        height: 10px;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 0 2px var(--bg-main), 0 0 6px var(--accent-cyan);
    }

    .timeline-block:hover::before {
        transform: translate(-50%, -50%) scale(1.2);
        background: var(--accent-cyan);
    }

    .time-marker {
        text-align: left;
        font-size: 0.85rem;
        padding-top: 0.2rem;
        margin-bottom: 0.2rem;
    }

    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .metadata-stream {
        grid-template-columns: 1fr;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    /* Footer & Overlay optimizations for narrower mobile viewport matrix screens */
    .footer-bento-canvas {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .telemetry-block {
        grid-column: span 1;
    }

    .footer-blueprint-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }

    .architecture-txt {
        text-align: center;
    }

    .mobile-link {
        font-size: 1.1rem;
    }

    .mobile-menu-inner {
        height: 90vh;
    }
}