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

/* ============================================================
   QUANTUM DRIFT // AUTONOMOUS SYSTEMS PORTFOLIO
   CSS Design System — Step 1: Foundation
   ============================================================ */

/* ================================================================
   DUAL-DOMAIN ENTRY GATEWAY
   ================================================================ */

.entry-gateway {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    overflow: hidden;
    background: #07090D;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.entry-gateway.gateway-exiting {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
}

.entry-gateway.gateway-hidden {
    display: none;
}

/* ── Panels ── */
.gateway-panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-panel:hover {
    flex: 1.6;
}

/* Background image layer */
.panel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0.35;
    transform: scale(1.05);
}

.gateway-panel:hover .panel-bg {
    opacity: 0.55;
    transform: scale(1.0);
}

/* Color overlay */
.panel-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.panel-overlay-left {
    background: linear-gradient(135deg,
            rgba(0, 60, 40, 0.7) 0%,
            rgba(0, 40, 30, 0.5) 50%,
            rgba(7, 9, 13, 0.85) 100%);
}

.panel-overlay-right {
    background: linear-gradient(225deg,
            rgba(0, 20, 70, 0.7) 0%,
            rgba(0, 30, 80, 0.5) 50%,
            rgba(7, 9, 13, 0.85) 100%);
}

.gateway-panel:hover .panel-overlay-left {
    background: linear-gradient(135deg,
            rgba(0, 80, 55, 0.65) 0%,
            rgba(0, 50, 40, 0.4) 50%,
            rgba(7, 9, 13, 0.8) 100%);
}

.gateway-panel:hover .panel-overlay-right {
    background: linear-gradient(225deg,
            rgba(0, 30, 100, 0.65) 0%,
            rgba(0, 50, 110, 0.4) 50%,
            rgba(7, 9, 13, 0.8) 100%);
}

/* Scanline texture */
.panel-scanlines {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: repeating-linear-gradient(to bottom,
            transparent 0px,
            transparent 3px,
            rgba(0, 0, 0, 0.06) 3px,
            rgba(0, 0, 0, 0.06) 4px);
    pointer-events: none;
}

/* Edge accent lines */
.panel-edge-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    z-index: 6;
    transition: opacity 0.4s ease, box-shadow 0.4s ease;
    opacity: 0.4;
}

.panel-edge-right {
    right: 0;
    background: rgba(50, 220, 180, 0.3);
}

.panel-edge-left {
    left: 0;
    background: rgba(77, 124, 254, 0.3);
}

.gateway-panel:hover .panel-edge-right {
    opacity: 1;
    box-shadow: 0 0 20px rgba(50, 220, 180, 0.5);
}

.gateway-panel:hover .panel-edge-left {
    opacity: 1;
    box-shadow: 0 0 20px rgba(77, 124, 254, 0.5);
}

/* ── Panel Content ── */
.panel-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 56px 52px;
    gap: 14px;
}

/* Domain tag */
.panel-domain-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 247, 250, 0.5);
    margin-bottom: 4px;
}

.domain-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: pulse-dot 2.5s infinite;
    flex-shrink: 0;
}

.dot-green {
    background: #2EE8B5;
    box-shadow: 0 0 8px #2EE8B5;
}

.dot-cyan {
    background: #5FFBF1;
    box-shadow: 0 0 8px #5FFBF1;
}

/* Icon */
.panel-icon {
    font-size: 2.2rem;
    margin-bottom: 6px;
    transition: transform 0.4s ease, color 0.3s ease;
}

.panel-left .panel-icon {
    color: #2EE8B5;
}

.panel-right .panel-icon {
    color: #5FFBF1;
}

.gateway-panel:hover .panel-icon {
    transform: scale(1.1) translateY(-4px);
}

/* Degree title */
.panel-degree {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #F5F7FA;
    line-height: 1.05;
    transition: var(--t-smooth);
}

.gateway-panel:hover .panel-degree {
    color: #fff;
}

/* Institution */
.panel-institution {
    font-family: 'Space Mono', monospace;
    font-size: 0.73rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 247, 250, 0.4);
    margin-top: -6px;
}

/* Description */
.panel-desc {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    color: rgba(245, 247, 250, 0.6);
    line-height: 1.7;
    max-width: 340px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}

.gateway-panel:hover .panel-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Tags */
.panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.gateway-panel:hover .panel-tags {
    opacity: 1;
    transform: translateY(0);
}

.panel-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(245, 247, 250, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.03);
}

.panel-left .panel-tag {
    border-color: rgba(46, 232, 181, 0.2);
}

.panel-right .panel-tag {
    border-color: rgba(95, 251, 241, 0.2);
}

/* Enter button */
.panel-enter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 5px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    width: fit-content;
    margin-top: 8px;
    background: #2EE8B5;
    color: #07090D;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.4s ease 0.15s,
        transform 0.4s ease 0.15s,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.panel-enter-btn-blue {
    background: #5FFBF1;
}

.gateway-panel:hover .panel-enter-btn {
    opacity: 1;
    transform: translateY(0);
}

.panel-enter-btn:hover {
    background: #fff;
    box-shadow: 0 6px 24px rgba(46, 232, 181, 0.3);
}

.panel-enter-btn-blue:hover {
    box-shadow: 0 6px 24px rgba(95, 251, 241, 0.3);
}

/* ── Central Identity Bar (top) ── */
.gateway-identity {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 32px 24px;
    pointer-events: none;
    gap: 6px;
}

.gateway-monogram {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(245, 247, 250, 0.25);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.gateway-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 247, 250, 0.9);
    text-align: center;
}

.gateway-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 247, 250, 0.3);
    text-align: center;
}

.gateway-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 10px;
}

/* ── Center Divider ── */
.gateway-center-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.divider-line-vert {
    flex: 1;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.divider-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #07090D;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 4px 0;
}

.divider-vs {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: rgba(245, 247, 250, 0.35);
}

/* ── Skip Button ── */
.gateway-skip {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 247, 250, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    animation: float-skip 3s ease-in-out infinite;
}

.gateway-skip:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(245, 247, 250, 0.7);
    background: rgba(255, 255, 255, 0.04);
}

@keyframes float-skip {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* ── Gateway Responsive ── */
@media (max-width: 768px) {
    .entry-gateway {
        flex-direction: column;
    }

    .gateway-panel {
        flex: 1 !important;
        min-height: 50vh;
    }

    .gateway-panel:hover {
        flex: 1.4 !important;
    }

    .panel-content {
        padding: 32px 28px;
    }

    .gateway-center-divider {
        left: 0;
        right: 0;
        top: 50%;
        bottom: auto;
        flex-direction: row;
        height: 1px;
        transform: translateY(-50%);
        width: 100%;
    }

    .divider-line-vert {
        height: 1px;
        width: auto;
        flex: 1;
    }

    .panel-desc,
    .panel-tags,
    .panel-enter-btn {
        opacity: 1 !important;
        transform: none !important;
    }

    .gateway-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .panel-degree {
        font-size: 1.5rem;
    }

    .panel-content {
        padding: 24px 20px;
        gap: 10px;
    }
}

/* ── Color Tokens ── */
:root {
    /* Core Surfaces */
    --obsidian: #07090D;
    --graphite: #11151C;
    --slate-alloy: #1A2330;
    --slate-mid: #222D3A;
    --slate-edge: #2C3A4A;

    /* Signal Colors */
    --neural-cyan: #5FFBF1;
    --voltage-blue: #4D7CFE;
    --signal-white: #F5F7FA;
    --dim-white: rgba(245, 247, 250, 0.6);
    --ghost-white: rgba(245, 247, 250, 0.15);

    /* Accent States */
    --cyan-glow: rgba(95, 251, 241, 0.12);
    --cyan-border: rgba(95, 251, 241, 0.2);
    --cyan-bright: rgba(95, 251, 241, 0.5);
    --blue-glow: rgba(77, 124, 254, 0.15);
    --blue-border: rgba(77, 124, 254, 0.3);

    /* Glass Surfaces */
    --glass-bg: rgba(26, 35, 48, 0.55);
    --glass-bg-hover: rgba(34, 45, 58, 0.75);
    --glass-border: rgba(95, 251, 241, 0.08);
    --glass-border-hover: rgba(95, 251, 241, 0.22);

    /* Shadows & Depths */
    --shadow-deep: 0 8px 40px rgba(0, 0, 0, 0.6);
    --shadow-cyan: 0 0 30px rgba(95, 251, 241, 0.08);
    --shadow-blue: 0 0 30px rgba(77, 124, 254, 0.12);
    --shadow-lift: 0 16px 60px rgba(0, 0, 0, 0.5);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: all 0.18s ease;
    --t-smooth: all 0.38s var(--ease-out);
    --t-slow: all 0.6s var(--ease-out);

    /* Spacing Scale */
    --section-pad: 140px 0;
    --section-pad-sm: 90px 0;
    --container-max: 1240px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--obsidian);
    color: var(--signal-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(77, 124, 254, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 30% at 0% 100%, rgba(95, 251, 241, 0.04) 0%, transparent 50%),
        var(--obsidian);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--graphite);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-edge);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neural-cyan);
}

/* ── Selection ── */
::selection {
    background: rgba(95, 251, 241, 0.2);
    color: var(--neural-cyan);
}

/* ── Layout ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.section-padding {
    padding: var(--section-pad);
}

/* ── Section Header System ── */
.section-header {
    margin-bottom: 72px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neural-cyan);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--neural-cyan);
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--signal-white);
    text-transform: uppercase;
}

.section-title span {
    color: var(--neural-cyan);
}

.section-subtitle {
    margin-top: 16px;
    font-size: 1rem;
    color: var(--dim-white);
    max-width: 520px;
    line-height: 1.7;
}

/* ── Glass Utility ── */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-deep), var(--shadow-cyan);
    transition: var(--t-smooth);
}

.glass-panel:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-lift), var(--shadow-cyan);
}

/* ── Button System ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: var(--t-smooth);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--neural-cyan);
    color: var(--obsidian);
}

.btn-primary:hover {
    background: var(--signal-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(95, 251, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--signal-white);
    border: 1px solid var(--slate-edge);
}

.btn-secondary:hover {
    border-color: var(--neural-cyan);
    color: var(--neural-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(95, 251, 241, 0.12);
}

/* ── Scanline overlay utility ── */
.scanline-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom,
            transparent 0px,
            transparent 3px,
            rgba(0, 0, 0, 0.03) 3px,
            rgba(0, 0, 0, 0.03) 4px);
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: var(--t-smooth);
}

header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 13, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: -1;
}

header.scrolled::after {
    background: rgba(7, 9, 13, 0.92);
    box-shadow: 0 1px 0 rgba(95, 251, 241, 0.08);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--signal-white);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--t-fast);
}

.logo:hover {
    color: var(--neural-cyan);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    background: rgba(26, 35, 48, 0.4);
    border: 1px solid rgba(95, 251, 241, 0.08);
    padding: 4px;
    border-radius: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dim-white);
    text-decoration: none;
    position: relative;
    padding: 6px 16px;
    border-radius: 6px;
    display: block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover {
    color: var(--signal-white);
    background: rgba(255, 255, 255, 0.04);
}

.nav-links li.active a,
.nav-links a.active {
    color: var(--obsidian);
    background: var(--neural-cyan);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(95, 251, 241, 0.4);
}

/* Nav system status */
.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--dim-white);
}

.nav-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neural-cyan);
    box-shadow: 0 0 8px var(--neural-cyan);
    animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {

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

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

/* Burger */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.burger-line {
    width: 22px;
    height: 1.5px;
    background: var(--signal-white);
    transition: var(--t-fast);
    display: block;
}

/* ================================================================
   HERO SECTION
   ================================================================ */

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

/* Grid background */
#canvas-web {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Ambient glows */
.hero-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77, 124, 254, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
    animation: drift-glow 12s ease-in-out infinite alternate;
}

.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 251, 241, 0.07) 0%, transparent 70%);
    bottom: 0;
    left: 5%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: drift-glow 18s ease-in-out infinite alternate-reverse;
}

@keyframes drift-glow {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(40px, 30px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding: 60px 32px;
}

/* ── Left Text Block ── */
.hero-text-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-sys-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.sys-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neural-cyan);
    box-shadow: 0 0 10px var(--neural-cyan);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

.sys-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neural-cyan);
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--signal-white);
    margin-bottom: 12px;
}

.hero-name-accent {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--neural-cyan);
    font-weight: 900;
}

.hero-role-line {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-role {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim-white);
}

.hero-role-sep {
    width: 1px;
    height: 18px;
    background: var(--slate-edge);
    flex-shrink: 0;
}

.hero-role-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--voltage-blue);
    letter-spacing: 0.1em;
    background: var(--blue-glow);
    border: 1px solid var(--blue-border);
    padding: 3px 10px;
    border-radius: 3px;
}

.hero-protocol {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--dim-white);
    line-height: 1.8;
    border-left: 2px solid var(--slate-edge);
    padding-left: 20px;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-protocol .highlight {
    color: var(--neural-cyan);
    font-style: normal;
}

.hero-cta-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-metric-strip {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-metric-val {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--signal-white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-metric-val span {
    color: var(--neural-cyan);
    font-size: 1.1rem;
}

.hero-metric-lbl {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dim-white);
}

/* ── Right: Profile Frame ── */
.hero-graphic-block {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-pic-container {
    width: 360px;
    height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-profile 7s ease-in-out infinite;
}

@keyframes float-profile {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* Outer ring */
.profile-pic-container::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    border: 1px solid rgba(95, 251, 241, 0.1);
    animation: spin-ring 60s linear infinite;
    z-index: 1;
}

/* Dashed orbit */
.profile-pic-container::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 1px dashed rgba(77, 124, 254, 0.2);
    animation: spin-ring 90s linear infinite reverse;
    z-index: 1;
}

@keyframes spin-ring {
    to {
        transform: rotate(360deg);
    }
}

.profile-pic-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 251, 241, 0.15) 0%, rgba(77, 124, 254, 0.08) 50%, transparent 75%);
    filter: blur(30px);
    z-index: 0;
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from {
        opacity: 0.6;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

.profile-pic-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 3;
    border: 2px solid rgba(95, 251, 241, 0.15);
    box-shadow:
        inset 0 0 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(95, 251, 241, 0.1),
        0 0 120px rgba(77, 124, 254, 0.08);
    transition: var(--t-smooth);
}

.profile-pic-container:hover .profile-pic-frame {
    border-color: rgba(95, 251, 241, 0.35);
    box-shadow:
        inset 0 0 40px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(95, 251, 241, 0.2),
        0 0 160px rgba(77, 124, 254, 0.12);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--t-slow);
    filter: contrast(1.05) brightness(0.95);
}

.profile-pic-container:hover .profile-img {
    transform: scale(1.05);
    filter: contrast(1.08) brightness(1);
}

.profile-status-badge {
    position: absolute;
    bottom: 18px;
    right: 10px;
    background: rgba(7, 9, 13, 0.9);
    border: 1px solid var(--cyan-border);
    border-radius: 100px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(95, 251, 241, 0.1);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neural-cyan);
    box-shadow: 0 0 8px var(--neural-cyan);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neural-cyan);
}

/* Corner HUD markers */
.hud-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: rgba(95, 251, 241, 0.4);
    border-style: solid;
    z-index: 4;
}

.hud-tl {
    top: 14px;
    left: 14px;
    border-width: 1px 0 0 1px;
}

.hud-tr {
    top: 14px;
    right: 14px;
    border-width: 1px 1px 0 0;
}

.hud-bl {
    bottom: 14px;
    left: 14px;
    border-width: 0 0 1px 1px;
}

.hud-br {
    bottom: 14px;
    right: 14px;
    border-width: 0 1px 1px 0;
}

/* ================================================================
   SKILLS — INTELLIGENCE MATRIX
   ================================================================ */

.skills-section {
    padding: var(--section-pad);
}

/* Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    overflow: hidden;
}

/* Each skill node */
.skill-card {
    padding: 36px 32px;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    transition: var(--t-smooth);
    cursor: default;
    background: var(--graphite);
}

.skill-card:nth-child(3n) {
    border-right: none;
}

.skill-card:nth-last-child(-n+3) {
    border-bottom: none;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neural-cyan), transparent);
    opacity: 0;
    transition: var(--t-smooth);
}

.skill-card:hover {
    background: var(--slate-alloy);
    z-index: 2;
}

.skill-card:hover::before {
    opacity: 1;
}

/* Node header */
.skill-card-icon-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.skill-node-id {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: rgba(95, 251, 241, 0.4);
    letter-spacing: 0.12em;
}

.skill-node-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(95, 251, 241, 0.06);
    border: 1px solid rgba(95, 251, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neural-cyan);
    font-size: 1rem;
    transition: var(--t-smooth);
}

.skill-card:hover .skill-node-icon {
    background: rgba(95, 251, 241, 0.12);
    border-color: var(--cyan-border);
    box-shadow: 0 0 16px rgba(95, 251, 241, 0.15);
}

.skill-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--signal-white);
    margin-bottom: 18px;
}

.skill-node-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-node-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--dim-white);
    font-family: var(--font-body);
    transition: var(--t-fast);
}

.skill-node-item::before {
    content: '—';
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(95, 251, 241, 0.3);
    flex-shrink: 0;
    transition: var(--t-fast);
}

.skill-card:hover .skill-node-item {
    color: var(--signal-white);
}

.skill-card:hover .skill-node-item::before {
    color: var(--neural-cyan);
}

/* ── Skill card accent colors ── */
.skill-card:nth-child(2) .skill-node-icon {
    color: var(--voltage-blue);
    background: var(--blue-glow);
    border-color: var(--blue-border);
}

.skill-card:nth-child(3) .skill-node-icon {
    color: var(--signal-white);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.skill-card:nth-child(2)::before {
    background: linear-gradient(90deg, transparent, var(--voltage-blue), transparent);
}

.skill-card:nth-child(3)::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.skill-card:nth-child(2):hover .skill-node-item::before {
    color: var(--voltage-blue);
}

/* ================================================================
   PROJECTS — OPERATIONAL CASE FILES
   ================================================================ */

.projects-section {
    padding: var(--section-pad);
    background: var(--graphite);
    position: relative;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--obsidian);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--t-smooth);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--neural-cyan);
    opacity: 0;
    transition: var(--t-smooth);
}

.project-card:hover {
    border-color: rgba(95, 251, 241, 0.12);
}

.project-card:hover::before {
    opacity: 1;
}

.project-info-side {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

/* File header */
.project-file-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.project-file-num {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: rgba(95, 251, 241, 0.35);
    letter-spacing: 0.1em;
}

.project-meta-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neural-cyan);
    background: var(--cyan-glow);
    border: 1px solid var(--cyan-border);
    padding: 3px 10px;
    border-radius: 3px;
}

.project-card:nth-child(2) .project-meta-badge {
    color: var(--voltage-blue);
    background: var(--blue-glow);
    border-color: var(--blue-border);
}

.project-card:nth-child(3) .project-meta-badge {
    color: var(--signal-white);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.project-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--signal-white);
    line-height: 1.1;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--dim-white);
    line-height: 1.75;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.project-tech-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--dim-white);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 3px;
    transition: var(--t-fast);
}

.project-card:hover .project-tech-tag {
    border-color: rgba(95, 251, 241, 0.1);
    color: var(--signal-white);
}

/* Viewer side */
.project-viewer-side {
    display: flex;
    flex-direction: column;
    background: var(--graphite);
    min-height: 340px;
    position: relative;
    overflow: hidden;
}

.viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.viewer-controls {
    display: flex;
    gap: 6px;
}

.viewer-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--slate-edge);
}

.viewer-controls .viewer-dot:nth-child(1) {
    background: rgba(239, 68, 68, 0.6);
}

.viewer-controls .viewer-dot:nth-child(2) {
    background: rgba(245, 158, 11, 0.6);
}

.viewer-controls .viewer-dot:nth-child(3) {
    background: rgba(95, 251, 241, 0.4);
}

.viewer-tabs {
    display: flex;
    gap: 4px;
}

.viewer-tab-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--dim-white);
    padding: 4px 12px;
    border-radius: 3px;
    transition: var(--t-fast);
}

.viewer-tab-btn:hover {
    color: var(--signal-white);
}

.viewer-tab-btn.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--neural-cyan);
}

.viewer-body {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.viewer-content-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.viewer-content-panel.active {
    opacity: 1;
    visibility: visible;
}

.mockup-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.mockup-metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-val {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--neural-cyan);
    line-height: 1;
}

.project-card:nth-child(2) .metric-val {
    color: var(--voltage-blue);
}

.project-card:nth-child(3) .metric-val {
    color: var(--signal-white);
}

.metric-lbl {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim-white);
}

.mockup-visual {
    flex-grow: 1;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    min-height: 60px;
}

.mockup-status-node {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--dim-white);
    background: rgba(95, 251, 241, 0.05);
    border: 1px solid rgba(95, 251, 241, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
}

/* Code viewer */
.code-block-container {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    line-height: 1.7;
    color: #CBD5E1;
    white-space: pre;
    overflow-x: auto;
}

.code-keyword {
    color: #5FFBF1;
}

.code-string {
    color: #10B981;
}

.code-function {
    color: #4D7CFE;
}

.code-comment {
    color: #475569;
    font-style: italic;
}

.code-constant {
    color: #F59E0B;
}

/* ================================================================
   DISCIPLINE — OPERATIONAL DOCTRINE
   ================================================================ */

.discipline-section {
    padding: var(--section-pad);
}

.discipline-axis-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
}

.discipline-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.discipline-card {
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
    background: var(--graphite);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: var(--t-smooth);
}

.discipline-card:hover {
    background: var(--slate-alloy);
    border-color: rgba(95, 251, 241, 0.1);
}

.discipline-meta {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neural-cyan);
    margin-bottom: 20px;
    opacity: 0.7;
}

.discipline-column:nth-child(3) .discipline-meta {
    color: var(--voltage-blue);
}

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

.discipline-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(95, 251, 241, 0.06);
    border: 1px solid rgba(95, 251, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neural-cyan);
    font-size: 1.1rem;
    transition: var(--t-smooth);
    flex-shrink: 0;
}

.discipline-column:nth-child(3) .discipline-icon-box {
    color: var(--voltage-blue);
    background: var(--blue-glow);
    border-color: var(--blue-border);
}

.discipline-card:hover .discipline-icon-box {
    box-shadow: 0 0 20px rgba(95, 251, 241, 0.2);
}

.discipline-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--signal-white);
}

.discipline-paragraph {
    font-size: 0.88rem;
    color: var(--dim-white);
    line-height: 1.8;
    margin-bottom: 28px;
}

.discipline-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 24px;
}

.discipline-metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discipline-metric-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--signal-white);
    line-height: 1;
}

.discipline-metric-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim-white);
}

/* Center spindle */
.discipline-axis-spindle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 420px;
    height: 100%;
    padding: 20px 0;
    position: relative;
}

.spindle-line {
    width: 1px;
    flex-grow: 1;
    background: linear-gradient(to bottom, var(--neural-cyan), var(--voltage-blue));
    opacity: 0.25;
    position: relative;
}

.spindle-node {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--neural-cyan);
    background: var(--obsidian);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 12px rgba(95, 251, 241, 0.4);
}

.spindle-node.node-1 {
    border-color: var(--neural-cyan);
}

.spindle-node.node-2 {
    border-color: var(--voltage-blue);
    box-shadow: 0 0 12px rgba(77, 124, 254, 0.4);
}

.spindle-node.node-3 {
    border-color: var(--neural-cyan);
}

/* ================================================================
   CONTACT — GATEWAY CONSOLE
   ================================================================ */

.contact-section {
    padding: var(--section-pad);
    background: var(--graphite);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-branding-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--dim-white);
    line-height: 1.6;
    border-left: 2px solid var(--neural-cyan);
    padding-left: 20px;
}

.contact-branding-text span {
    color: var(--neural-cyan);
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--signal-white);
    background: var(--obsidian);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    transition: var(--t-smooth);
}

.contact-card:hover {
    border-color: rgba(95, 251, 241, 0.2);
    background: var(--slate-alloy);
    transform: translateX(4px);
}

.contact-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neural-cyan);
    font-size: 1rem;
    transition: var(--t-smooth);
    flex-shrink: 0;
}

.contact-card:hover .contact-icon-wrapper {
    background: var(--cyan-glow);
    border-color: var(--cyan-border);
    box-shadow: 0 0 16px rgba(95, 251, 241, 0.15);
}

.contact-card:nth-child(2) .contact-icon-wrapper {
    color: var(--voltage-blue);
}

.contact-card:nth-child(3) .contact-icon-wrapper {
    color: var(--signal-white);
}

.contact-card:nth-child(4) .contact-icon-wrapper {
    color: var(--neural-cyan);
}

.contact-card:nth-child(5) .contact-icon-wrapper {
    color: var(--voltage-blue);
}

.contact-card:nth-child(2):hover .contact-icon-wrapper {
    background: var(--blue-glow);
    border-color: var(--blue-border);
    box-shadow: 0 0 16px rgba(77, 124, 254, 0.15);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-lbl {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim-white);
}

.contact-val {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--signal-white);
    transition: var(--t-fast);
}

.contact-card:hover .contact-val {
    color: var(--neural-cyan);
}

/* Form Panel */
.gateway-form-panel {
    padding: 40px;
    background: var(--obsidian);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim-white);
}

.form-input {
    background: var(--graphite);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 11px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--signal-white);
    outline: none;
    transition: var(--t-fast);
}

.form-input::placeholder {
    color: rgba(245, 247, 250, 0.25);
}

.form-input:focus {
    border-color: var(--neural-cyan);
    box-shadow: 0 0 0 3px rgba(95, 251, 241, 0.08);
}

textarea.form-input {
    min-height: 110px;
    resize: vertical;
}

/* Telemetry Console */
.telemetry-console {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--neural-cyan);
    min-height: 90px;
    max-height: 140px;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.console-line {
    display: flex;
    gap: 8px;
}

.console-prompt {
    color: var(--voltage-blue);
    user-select: none;
}

.console-text {
    word-break: break-all;
}

/* ================================================================
   FOOTER
   ================================================================ */

footer {
    background: var(--obsidian);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 36px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--dim-white);
}

.footer-credits {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 247, 250, 0.2);
}

.footer-credits span {
    color: var(--neural-cyan);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .hero-text-block {
        align-items: center;
    }

    .hero-protocol {
        max-width: 540px;
        margin: 0 auto 36px;
        text-align: left;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-metric-strip {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px 30px;
    }

    .profile-pic-container {
        width: 280px;
        height: 280px;
    }

    .hero-graphic-block {
        display: none;
    }

    /* Collapse navigation links into mobile burger panel at 1024px */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(7, 9, 13, 0.98);
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px 28px;
        gap: 12px;
        box-shadow: var(--shadow-deep);
        border-radius: 0;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: 999;
    }

    .nav-links.mobile-active {
        display: flex;
    }

    .burger-menu {
        display: flex;
    }

    .nav-status {
        display: none;
    }

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

    .skill-card:nth-child(2n) {
        border-right: none;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-viewer-side {
        min-height: 260px;
    }

    .discipline-axis-container {
        grid-template-columns: 1fr;
    }

    .discipline-axis-spindle {
        display: none;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 90px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-name {
        font-size: 3rem;
    }

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

    .skill-card {
        border-right: none;
    }

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

    .discipline-card {
        padding: 28px 24px;
    }

    .project-info-side {
        padding: 28px 24px;
    }

    .gateway-form-panel {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-name {
        font-size: 2.4rem;
    }

    .hero-cta-row .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-metric-strip {
        border-top: none;
    }

    .mockup-metrics-grid {
        grid-template-columns: 1fr;
    }
}