:root {
    --bg-color: #080b12;
    --left-accent: #99fff3;
    --right-accent: #00bfff;
    --amber-core: #fbf432;
    --panel-bg: rgba(13, 18, 29, 0.72);
    --panel-border: rgba(255, 255, 255, 0.1);
    --text-muted: #8391a5;
    --font-editorial: 'Mohave', 'Instrument Serif', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    touch-action: none;
}

body {
    background-color: var(--bg-color);
    color: #ffffff;
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    overflow-y: hidden;
}

*:focus-visible {
    outline: 2px solid var(--left-accent);
    outline-offset: 4px;
}

/* Persistent Background Canvas */
#canvasContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Persistent Top Bar Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
    z-index: 90;
    pointer-events: none;
}

.brand-logo {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #99fff3;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 1.05rem;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.brand-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--left-accent);
    transition: transform 0.2s ease, border-color 0.2s ease;
    float: left;
}

    .brand-badge img {
        margin-top: -2px !important;
    }

/* Top Menu */
.top-nav-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: rgba(14, 20, 32, 0.85);
    border-top: none;
    /*border-left: 1px solid var(--panel-border);
            border-right: 1px solid var(--panel-border);
            border-bottom: 1px solid var(--panel-border);*/
    border-bottom: 4px solid var(--amber-core);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 10px 28px;
    backdrop-filter: blur(16px);
    z-index: 90;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    box-sizing: border-box;
    white-space: nowrap;
    /*clip-path: polygon(0% 0%, 100% 0%, calc(100% - 6%) 100%, 6% 100%);*/
}

body.state-website .top-nav-bar {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.top-nav-link {
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .top-nav-link:hover, .top-nav-link.active {
        color: #ffffff;
    }

.top-nav-cta {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .top-nav-cta:hover {
        background: var(--left-accent);
        color: #080b12;
        border-color: var(--left-accent);
    }

/* Top Settings Toggle */
.control-toggle-btn {
    display: none !important;
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 22, 36, 0.7);
    border: 1px solid var(--panel-border);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    .control-toggle-btn:hover {
        border-color: var(--left-accent);
        transform: scale(1.05);
    }

    .control-toggle-btn svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* Slide-Out Settings Panel */
.control-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 100vw;
    height: 100vh;
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--panel-border);
    padding: 85px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    z-index: 95;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.6);
}

    .control-panel.open {
        transform: translateX(0);
    }

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .control-group label {
        font-size: 0.72rem;
        font-family: var(--font-mono);
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--text-muted);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

input[type="color"] {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    cursor: pointer;
    background: none;
}

    input[type="color"]::-webkit-color-swatch-wrapper {
        padding: 0;
    }

    input[type="color"]::-webkit-color-swatch {
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
    }

.control-group input[type="range"] {
    appearance: none;
    background: #1a2336;
    height: 5px;
    border-radius: 3px;
    outline: none;
}

    .control-group input[type="range"]::-webkit-slider-thumb {
        appearance: none;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        cursor: pointer;
        background: #ffffff;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    }

/* Ambient Enhanced Glow Layer */
.bsx-idle {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    color: #8391a5;
    transition: opacity 0.5s ease;
}

body.state-scattering .bsx-idle,
body.state-website .bsx-idle {
    opacity: 0;
}

.bsx-ghost {
    display: none !important;
    position: absolute;
    left: 50%;
    top: 53%;
    transform: translate(-50%, -50%);
    font-family: var(--font-sans);
    font-size: clamp(150px, 22vw, 380px);
    font-weight: 900;
    letter-spacing: 0.14em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(153, 255, 243, 0.070);
    text-shadow: 0 0 45px rgba(153, 255, 243, 0.060);
    white-space: nowrap;
    opacity: 1;
    animation: bsxGhost 9s ease-in-out infinite;
    user-select: none;
    will-change: transform;
}

@keyframes bsxGhost {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.98);
        opacity: 0.88;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.02);
        opacity: 1;
    }
}

.bsx-orbit {
    position: absolute;
    left: 50%;
    top: 53%;
    width: min(64vw, 960px);
    height: min(76vh, 760px);
    transform: translate(-50%, -50%) rotate(-11deg);
    border: 1.5px solid rgba(153, 255, 243, 0.07);
    box-shadow: inset 0 0 10px rgba(153, 255, 243, 0.08), 0 0 10px rgba(153, 255, 243, 0.08);
    border-radius: 50%;
    animation: bsxOrbit 24s linear infinite;
    will-change: transform;
}

    .bsx-orbit.o2 {
        width: min(54vw, 820px);
        height: min(80vh, 800px);
        transform: translate(-50%, -50%) rotate(21deg);
        border: 1.5px solid rgba(0, 191, 255, 0.07);
        box-shadow: inset 0 0 10px rgba(0, 191, 255, 0.06), 0 0 10px rgba(0, 191, 255, 0.06);
        animation-direction: reverse;
        animation-duration: 31s;
    }

    .bsx-orbit:after {
        content: "";
        position: absolute;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #99fff3;
        box-shadow: 0 0 18px #99fff3, 0 0 30px #99fff3;
        left: 12%;
        top: 8%;
    }

@keyframes bsxOrbit {
    to {
        transform: translate(-50%, -50%) rotate(349deg);
    }
}

.bsx-scan {
    display: none;
    position: absolute;
    left: 50%;
    top: 18%;
    width: min(45vw, 680px);
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(153, 255, 243, 0.75), transparent);
    box-shadow: 0 0 15px rgba(153, 255, 243, 0.6);
    animation: bsxScan 6s ease-in-out infinite;
}

@keyframes bsxScan {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) scaleX(0.2);
    }

    35% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }

    70% {
        opacity: 0;
        transform: translateX(-50%) scaleX(0.2);
    }
}

.bsx-thought {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(153, 255, 243, 0.12);
    text-transform: uppercase;
    animation: bsxFloat var(--d) ease-in-out infinite alternate;
    animation-delay: var(--delay);
    white-space: nowrap;
}

@keyframes bsxFloat {
    from {
        transform: translate(0, 0);
        opacity: 0.65;
    }

    to {
        transform: translate(var(--x), var(--y));
        opacity: 1;
    }
}

.bsx-corner {
    position: fixed !important;
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 2px;
    color: rgba(175, 195, 222, 0.85);
    text-transform: uppercase;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 80;
}

    .bsx-corner.a {
        left: 30px;
        top: 92px;
    }

    .bsx-corner.b {
        right: 30px;
        top: 92px;
    }

    .bsx-corner.c {
        left: 30px;
        bottom: 30px;
    }

    .bsx-corner.d {
        right: 30px;
        bottom: 30px;
    }

    .bsx-corner.glow-highlight {
        color: #99fff3;
        font-weight: 700;
        text-shadow: 0 0 12px rgba(153, 255, 243, 0.95), 0 0 24px rgba(153, 255, 243, 0.6);
        background: rgba(153, 255, 243, 0.08);
        border: 1px solid rgba(153, 255, 243, 0.45);
        border-radius: 4px;
        padding: 5px 12px;
        box-shadow: 0 0 20px rgba(153, 255, 243, 0.3);
        animation: cornerPulse 3s ease-in-out infinite alternate;
    }

@keyframes cornerPulse {
    0% {
        box-shadow: 0 0 12px rgba(153, 255, 243, 0.25);
        border-color: rgba(153, 255, 243, 0.4);
    }

    100% {
        box-shadow: 0 0 24px rgba(153, 255, 243, 0.65);
        border-color: #99fff3;
    }
}

.bsx-corner.c.glow-highlight:before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 1px;
    background: #99fff3;
    box-shadow: 0 0 8px #99fff3;
    margin: 0 8px 3px 0;
}

.bsx-corner.d.glow-highlight:after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 1px;
    background: #99fff3;
    box-shadow: 0 0 8px #99fff3;
    margin: 0 0 3px 8px;
}

.bsx-right-readout {
    position: absolute !important;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 8px;
    line-height: 2.2;
    color: #a4b5cb;
}

    .bsx-right-readout .live {
        color: #99fff3;
        text-shadow: 0 0 10px rgba(153, 255, 243, 0.8);
        font-weight: 700;
    }

    .bsx-right-readout .dot {
        display: inline-block;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #99fff3;
        box-shadow: 0 0 12px #99fff3;
        margin-right: 6px;
        animation: bsxPulse 2s infinite;
    }

@keyframes bsxPulse {
    0%, 100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Left Navigation Menu */
.bsx-left-menu {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 170px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    pointer-events: auto !important;
    z-index: 100;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

body.state-scattering .bsx-left-menu,
body.state-website .bsx-left-menu {
    transform: translate(-180%, -50%);
    opacity: 0;
    pointer-events: none !important;
}

.bsx-left-menu:before {
    content: "";
    position: absolute;
    left: -14px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(transparent, rgba(153, 255, 243, 0.75) 12%, rgba(153, 255, 243, 0.3) 88%, transparent);
}

.bsx-menu-title {
    font-size: 11px;
    color: #99fff3;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(153, 255, 243, 0.6);
}

.bsx-menu-row {
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 8px;
    align-items: center;
    height: 34px;
    position: relative;
    opacity: 0.65;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    pointer-events: auto;
}

    .bsx-menu-row:hover {
        opacity: 1;
        color: #99fff3;
        transform: translateX(4px);
    }

    .bsx-menu-row .n {
        font-size: 11px;
        display: none;
    }

    .bsx-menu-row .t {
        font-size: 11px;
        white-space: nowrap;
        font-weight: 600;
    }

    .bsx-menu-row.active {
        opacity: 1;
        color: #ffffff;
        text-shadow: 0 0 10px rgba(153, 255, 243, 0.8);
    }

        .bsx-menu-row.active:before {
            content: "";
            position: absolute;
            left: -16px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #99fff3;
            box-shadow: 0 0 15px #99fff3;
        }

.bsx-left-caption {
    margin-top: 40px;
    font-size: 9.5px;
    line-height: 1.9;
    color: #8da0ba;
    letter-spacing: 1.2px;
    width: 140px;
}

    .bsx-left-caption b {
        color: #99fff3;
        font-weight: 600;
    }

/* Intro Stage Viewport */
.workspace {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 101;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform;
}

.intro-header {
    text-align: center;
    margin-bottom: 20px;
    pointer-events: none;
    display: none;
}

.stage {
    position: relative;
    width: 100%;
    max-width: 1300px;
    height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.core-interaction-target {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    z-index: 85;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

/* SVG Dynamic String Overlay */
.connections-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
    overflow: visible;
    transition: opacity 0.5s ease;
}

body.state-scattering .connections-svg,
body.state-website .connections-svg {
    opacity: 0 !important;
    pointer-events: none !important;
}

.string-pulse {
    fill: none;
    stroke-width: 2.4;
    stroke-dasharray: 10 20;
    stroke-linecap: round;
    animation: flowString 1s linear infinite;
    opacity: 0;
    filter: drop-shadow(0 0 8px currentColor);
    transition: opacity 0.3s ease;
}

@keyframes flowString {
    from {
        stroke-dashoffset: 180;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* Circle Menu Icons */
.menu-column {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 85;
    width: 300px;
    pointer-events: auto !important;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.6s ease;
}

    .menu-column.left {
        left: 24px;
    }

    .menu-column.right {
        right: 24px;
    }

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 52px;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    text-align: left;
    will-change: transform;
    pointer-events: auto !important;
    z-index: 86;
}

    .menu-item.active-menu-open {
        z-index: 88;
    }

.menu-column.left .menu-item {
    flex-direction: row-reverse;
}

.menu-column.right .menu-item {
    flex-direction: row;
}

.menu-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 22, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 87;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    pointer-events: auto !important;
    cursor: pointer;
}

    .menu-icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #8a99ad;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: stroke 0.3s ease;
        pointer-events: none;
    }

.menu-text-panel {
    position: absolute;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(15, 22, 36, 0.95);
    backdrop-filter: blur(14px);
    white-space: nowrap;
    opacity: 0;
    pointer-events: auto !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, filter 0.3s ease;
    z-index: 86;
    border-radius: 0;
}

.menu-column.left .menu-text-panel {
    right: 22px;
    transform: translateX(30px);
    padding: 0 34px 0 24px;
    clip-path: polygon(14px 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.15)) drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.15)) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.15));
}

.menu-column.left .menu-item:has(.menu-icon:hover) .menu-text-panel,
.menu-column.left .menu-item:focus-visible .menu-text-panel,
.menu-column.left .menu-item.active-menu-open .menu-text-panel {
    opacity: 1;
    transform: translateX(0);
}

.menu-column.right .menu-text-panel {
    left: 22px;
    transform: translateX(-30px);
    padding: 0 24px 0 34px;
    clip-path: polygon(0% 0%, calc(100% - 14px) 0%, 100% 100%, 0% 100%);
    filter: drop-shadow(1px 0 0 rgba(255, 255, 255, 0.15)) drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.15)) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.15));
}

.menu-column.right .menu-item:has(.menu-icon:hover) .menu-text-panel,
.menu-column.right .menu-item:focus-visible .menu-text-panel,
.menu-column.right .menu-item.active-menu-open .menu-text-panel {
    opacity: 1;
    transform: translateX(0);
}

.menu-item .menu-icon:hover,
.menu-item .menu-icon:focus-visible,
.menu-item.active-menu-open .menu-icon {
    transform: scale(1.12);
}

.menu-column.left .menu-item .menu-icon:hover,
.menu-column.left .menu-item.active-menu-open .menu-icon {
    border-color: var(--left-accent);
    box-shadow: 0 0 16px rgba(61, 216, 197, 0.4);
}

    .menu-column.left .menu-item .menu-icon:hover svg,
    .menu-column.left .menu-item.active-menu-open .menu-icon svg {
        stroke: var(--left-accent);
    }

.menu-column.right .menu-item .menu-icon:hover,
.menu-column.right .menu-item.active-menu-open .menu-icon {
    border-color: var(--right-accent);
    box-shadow: 0 0 16px rgba(255, 0, 127, 0.4);
}

    .menu-column.right .menu-item .menu-icon:hover svg,
    .menu-column.right .menu-item.active-menu-open .menu-icon svg {
        stroke: var(--right-accent);
    }

.menu-column.left .menu-item.active-menu-open .menu-text-panel {
    filter: drop-shadow(-1px 0 0 var(--left-accent)) drop-shadow(0 -1px 0 var(--left-accent)) drop-shadow(0 1px 0 var(--left-accent)) drop-shadow(0 0 10px rgba(61, 216, 197, 0.35));
}

.menu-column.right .menu-item.active-menu-open .menu-text-panel {
    filter: drop-shadow(1px 0 0 var(--right-accent)) drop-shadow(0 -1px 0 var(--right-accent)) drop-shadow(0 1px 0 var(--right-accent)) drop-shadow(0 0 10px rgba(255, 0, 127, 0.35));
}

.menu-text-panel h3 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ffffff;
    pointer-events: none;
}

.menu-text-panel p {
    font-size: 0.7rem;
    color: var(--text-muted);
    pointer-events: none;
}

.menu-description-card {
    position: absolute;
    top: 50px;
    width: 500px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: rgba(10, 15, 25, 0.96);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    padding: 22px 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px) scale(0.96);
    transform-origin: top center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, width 0.2s ease, top 0.2s ease, left 0.2s ease, right 0.2s ease;
    z-index: 88;
    white-space: normal;
}

.menu-column.left .menu-description-card {
    right: 22px;
    border-left: 3px solid var(--left-accent);
    border-top: 1px solid rgba(61, 216, 197, 0.3);
}

.menu-column.right .menu-description-card {
    left: 22px;
    border-right: 3px solid var(--right-accent);
    border-top: 1px solid rgba(255, 0, 127, 0.3);
}

.menu-item.active-menu-open .menu-description-card {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.menu-desc-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.menu-column.left .menu-desc-tag {
    color: var(--left-accent);
}

.menu-column.right .menu-desc-tag {
    color: var(--right-accent);
}

.menu-desc-text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #d1dfed;
    margin-bottom: 12px;
}

.menu-desc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}

.core-hint {
    position: absolute !important;
    bottom: 30px;
    font-family: var(--font-editorial);
    font-size: 1.3rem;
    color: var(--amber-core);
    pointer-events: auto;
    cursor: pointer;
    letter-spacing: 1px;
    animation: pulseHint 2.4s ease-in-out infinite;
    text-align: center;
    line-height: 1em;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

@keyframes pulseHint {
    0%, 100% {
        opacity: 0.5;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

/* Glitch Effect Keyframes & Class */
.glitch-hover-target {
    position: relative;
    display: inline-block;
}

.glitch-active {
    /* Clear everything else out first */
    animation-name: glitchFlicker !important;
    animation-duration: 0.28s !important;
    animation-timing-function: steps(2, start) !important;
    animation-iteration-count: infinite !important;
    animation-delay: 0s !important;
    text-shadow: 2px 0 var(--left-accent), -2px 0 var(--right-accent);
    /*animation: glitchFlicker 0.28s steps(2, start) infinite;*/
}

@keyframes glitchFlicker {
    0% {
        transform: translate(0, 0) skew(0deg);
        opacity: 1;
    }

    20% {
        transform: translate(-2px, 1px) skew(-2deg);
        opacity: 0.85;
    }

    40% {
        transform: translate(2px, -1px) skew(2deg);
        opacity: 0.95;
    }

    60% {
        transform: translate(-1px, -1px) skew(1deg);
        opacity: 0.7;
    }

    80% {
        transform: translate(1px, 2px) skew(-1deg);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) skew(0deg);
        opacity: 1;
    }
}

/* Scatter / Implode Exit States */
body.state-scattering .workspace,
body.state-website .workspace {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.04);
}

body.state-scattering .menu-column.left,
body.state-website .menu-column.left,
body.state-methodology .menu-column.left {
    transform: translateX(-180%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.state-scattering .menu-column.right,
body.state-website .menu-column.right,
body.state-methodology .menu-column.right {
    transform: translateX(180%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.state-scattering .core-hint,
body.state-website .core-hint {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Full Website Viewport */
.website-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 20;
    display: flex;
    padding: 80px 40px 30px 80px;
    gap: 30px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

body.state-website .website-viewport {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vertical-rail-nav {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translate(-100%, -50%);
    width: 54px;
    height: 60vh;
    min-height: 380px;
    background: rgba(14, 20, 32, 0.75);
    border-left: none;
    /*border-top: 1px solid var(--panel-border);
            border-bottom: 1px solid var(--panel-border);
            border-right: 1px solid var(--panel-border);*/
    border-right: 4px solid var(--amber-core);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 24px 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 40;
    pointer-events: none;
}

body.state-website .vertical-rail-nav {
    transform: translate(0, -50%);
    pointer-events: auto;
}

.nav-item {
    background: transparent;
    border: none;
    color: #9ebada;/* #64768b;*/
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.3s ease;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0px 4px;
}

    .nav-item::after {
        content: '';
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #4a5c6f;
        transition: all 0.3s ease;
    }

    .nav-item:hover {
        color: #ffffff;
    }

        .nav-item:hover::after {
            background: #ffffff;
            box-shadow: 0 0 8px #ffffff;
        }

    .nav-item.active {
        color: var(--left-accent);
    }

        .nav-item.active::after {
            background: var(--left-accent);
            box-shadow: 0 0 10px var(--left-accent);
            transform: scale(1.6);
        }

.content-window {
    flex: 1;
    max-width: 1350px;
    margin: 0 auto;
    height: calc(100vh - 120px);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.page-stage-track {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.page-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    padding: 36px 44px;
    overflow-y: auto;
    scrollbar-width: none;
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.6s ease;
    /*background: var(--panel-bg);*/
    border: 1px solid var(--panel-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

    .page-panel[data-index="0"] {
        top: 0%;
    }

    .page-panel[data-index="1"] {
        top: 100%;
    }

    .page-panel[data-index="2"] {
        top: 200%;
    }

    .page-panel::-webkit-scrollbar {
        display: none;
    }

    .page-panel.current {
        opacity: 0.99;
        pointer-events: auto;
    }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--amber-core); /* var(--left-accent);*/
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.editorial-hero-title {
    font-family: var(--font-editorial);
    font-size: clamp(1.5rem, 2.7vw, 3.0rem); /*clamp(2.0rem, 5.8vw, 3.5rem);*/
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 24px;
    max-width: 820px;
}

    .editorial-hero-title em {
        font-style: italic;
        color: var(--amber-core); /* var(--left-accent);*/
        text-shadow: 0 0 25px rgba(61, 216, 197, 0.35);
    }

.lead-paragraph {
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--amber-core); /*var(--text-muted);*/
    max-width: 680px;
    margin-bottom: 40px;
    font-weight: 300;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 10px;
    padding-bottom: 30px;
}

.process-card {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    min-height: 150px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

    .process-card:hover {
        border-color: rgba(61, 216, 197, 0.4);
        transform: translateY(-4px);
    }

.process-cat {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 1px;
    color: #b8cfe4; /*var(--text-muted); #64768b;*/
    text-transform: uppercase;
    margin-bottom: 20px;
}

.process-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--left-accent);
    margin-bottom: 20px;
    display: none;
}

.process-card .process-title {
    color: var(--left-accent);
}

.process-card:nth-child(4) .process-num,
.process-card:nth-child(5) .process-num,
.process-card:nth-child(4) .process-title,
.process-card:nth-child(5) .process-title {
    color: var(--right-accent);
}

.process-title {
    font-family: var(--font-editorial);
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.1;
}

.process-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #b8cfe4;/* #8c9eae;*/
}

.product-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 40px;
}

.product-block {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease;
}

    .product-block:hover {
        border-color: rgb(202 255 0 / 40%); /* rgba(255, 0, 127, 0.4);*/
    }

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-category {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--right-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-editorial);
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.product-tagline {
    font-size: 0.85rem;
    color: #92a4ba;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #c2d3e3;
    margin-bottom: 20px;
}

.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: #cad8e5;
}

.product-cta-btn {
    align-self: flex-start;
    padding: 10px 22px;
    border-radius: 24px;
    background: transparent;
    border: 1px solid var(--right-accent);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .product-cta-btn:hover {
        background: var(--right-accent);
        box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
    }

.product-visual {
    border-radius: 12px;
    background: radial-gradient(circle at center, rgba(30, 42, 68, 0.4), rgba(9, 13, 22, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.tech-blueprint {
    width: 80%;
    height: 80%;
    border: 1px dashed rgba(61, 216, 197, 0.25);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 12px;
    gap: 8px;
}

.blueprint-node {
    background: rgba(61, 216, 197, 0.05);
    border: 1px solid rgba(61, 216, 197, 0.15);
    border-radius: 6px;
}

.connect-wrapper {
    max-width: 770px;
    margin: 0 auto;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 0px; /* 20px;*/
}

.connect-hero-title {
    font-family: var(--font-editorial);
    font-size: clamp(1.5rem, 2.7vw, 3.0rem);
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 6px;
}

    .connect-hero-title em {
        font-style: italic;
        color: var(--amber-core); /* var(--left-accent);*/
        text-shadow: 0 0 25px rgba(61, 216, 197, 0.35);
    }

.connect-subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 770px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    text-align: left;
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(14px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    /*margin-bottom: 16px;*/
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

    .form-group label {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #8fa1b4;
    }

.form-control {
    background: rgba(8, 12, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 8px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .form-control:focus {
        border-color: var(--left-accent);
        box-shadow: 0 0 14px rgba(61, 216, 197, 0.25);
    }

textarea.form-control {
    resize: vertical;
    min-height: 75px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    background: #ffffff;
    color: #080b12;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

    .submit-btn:hover {
        background: var(--left-accent);
        box-shadow: 0 0 25px rgba(61, 216, 197, 0.4);
        transform: translateY(-2px);
    }

.form-status {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-top: 14px;
    color: var(--left-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Methodology Parallax Container */
.methodology-scroll-container {
    position: fixed;
    top: 0;
    left: 185px;
    width: calc(100vw - 210px);
    height: 100vh;
    overflow: hidden;
    z-index: 40;
    padding-right: 40px;
    pointer-events: none;
    visibility: visible;
}

.methodology-track {
    position: relative;
    width: 100%;
    padding-bottom: 120px;
    will-change: transform;
    pointer-events: none;
}

.home-spacer {
    min-height: 100vh;
    width: 100%;
    pointer-events: none;
}

.method-section {
    min-height: 85vh; /*100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1050px;
    margin: 0 auto 90px auto;
    background: rgba(13, 18, 29, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    padding: 30px 45px;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
    position: relative;
    will-change: transform, opacity;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

body.state-methodology .method-section {
    opacity: 1;
    pointer-events: auto;
}

.method-section.design-sec {
    border-left: 4px solid var(--left-accent);
    box-shadow: 0 0 45px rgba(153, 255, 243, 0.12);
}

.method-section.build-sec {
    border-left: 4px solid var(--right-accent);
    box-shadow: 0 0 45px rgba(0, 191, 255, 0.12);
}

.method-section.evolve-sec {
    border-left: 4px solid var(--amber-core);
    box-shadow: 0 0 45px rgba(251, 244, 50, 0.12);
}

.method-section.connect-sec {
    border-left: 4px solid #ffffff;
    box-shadow: 0 0 45px rgba(255, 255, 255, 0.15);
}

.method-section.aboutus-sec {
    border-left: 4px solid var(--amber-core);
    box-shadow: 0 0 45px rgba(251, 244, 50, 0.12);
}

    .method-section.aboutus-sec .method-detail-grid {
        margin-top:0px;
    }
        .method-section.aboutus-sec .method-detail-grid .method-item {
            padding:10px;
        }

        .method-tag {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            letter-spacing: 2px;
            color: var(--left-accent);
            margin-bottom: 12px;
            display: block;
        }

.method-section.build-sec .method-tag {
    color: var(--right-accent);
}

.method-section.evolve-sec .method-tag {
    color: var(--amber-core);
}

.method-section.connect-sec .method-tag {
    color: #ffffff;
}

.method-section.aboutus-sec .method-tag {
    color: var(--amber-core);
}

.method-title {
    font-family: var(--font-editorial);
    font-size: clamp(2.0rem, 4.5vw, 4rem);
    margin-bottom: 16px;
    line-height: 1.1;
}

.method-subtext {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #b9ccde;
    margin-bottom: 30px;
}

.method-subtext-2 {
    margin-top:30px;
}

.method-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.method-item {
    background: rgba(8, 12, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.3s ease;
    will-change: transform;
}

    .method-item:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .method-item h4 {
        font-family: var(--font-sans);
        font-size: 0.8rem;
        color: #ffffff;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .method-item p {
        font-size: 0.8rem;
        line-height: 1.6;
        color: var(--text-muted);
    }

@media (max-width: 1024px) {
    .site-header {
        padding: 6px 9px;
        backdrop-filter: blur(10px);
    }

    .top-nav-bar {
        top: 0;
        left: 50%;
        width: max-content;
        max-width: 95vw;
        padding: 8px 14px;
        gap: 12px;
        border-radius: 0 0 8px 8px;
        border-bottom-width: 2px;
    }

    .top-nav-link {
        font-size: 0.65rem;
        letter-spacing: 0.7px;
    }

    .top-nav-cta {
        padding: 4px 12px;
        font-size: 0.65rem;
    }

    .website-viewport {
        flex-direction: column;
        padding: 68px 12px 16px 12px;
        gap: 10px;
    }

    .vertical-rail-nav {
        display: none;
    }

    .content-window {
        width: 80%;
        height: calc(100vh - 100px);
    }

    .page-panel {
        padding: 20px 16px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-block {
        grid-template-columns: 1fr;
    }

    .menu-column, .connections-svg {
        display: none !important;
    }

    .bsx-left-menu {
        left: 16px;
        width: 140px;
    }

    .methodology-scroll-container {
        left: 20px;
        width: calc(100vw - 20px);
        padding-right: 16px;
    }

    .method-section {
        min-height: 80vh;
        padding: 20px 10px;
    }

    .method-detail-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 10px;
    }

        .contact-form .form-row {
            gap: 10px;
        }

        .contact-form .form-group .form-control {
            font-size: 0.7rem;
            padding: 10px 8px;
        }

        .contact-form .form-group label {
            font-size: 0.48rem;
        }

    .connect-wrapper {
        max-width: 100%;
    }

    .connect-subtext {
        font-size: 0.7em;
    }
}

@media (max-width: 650px) {
    .control-toggle-btn {
        display: none !important;
    }

    .stage {
        height: 440px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 18px 14px;
    }

    .editorial-hero-title, .connect-hero-title {
        font-size: 1.5rem;
    }

    .control-panel {
        width: 70vw;
    }

    .top-nav-bar {
        gap: 10px;
        padding: 8px 14px;
    }

    .top-nav-link {
        font-size: 0.65rem;
    }

    .website-viewport {
        flex-direction: column;
        padding: 68px 12px 16px 12px;
    }

    .vertical-rail-nav {
        display: none;
    }

    .menu-column, .connections-svg {
        display: none !important;
    }

    .bsx-left-menu {
        left: 16px;
        width: 140px;
    }

        .bsx-left-menu .bsx-menu-title,
        .bsx-left-menu .bsx-menu-row .t,
        .bsx-left-menu .bsx-left-caption {
            display: none;
        }

        .bsx-left-menu .bsx-menu-row .n {
            display: block;
        }

    .methodology-scroll-container {
        left: 41px;
        width: calc(100vw - 41px);
        padding-right: 6px;
    }

    .method-section {
        min-height: 80vh;
        padding: 20px 10px;
    }

    .method-detail-grid {
        grid-template-columns: 1fr;
    }

    .method-subtext {
        font-size: 0.7em;
    }

    .contact-form {
        padding: 10px;
    }

        .contact-form .form-row {
            gap: 10px;
        }

        .contact-form .form-group .form-control {
            font-size: 0.7rem;
            padding: 10px 5px;
        }

        .contact-form .form-group label {
            font-size: 0.58rem;
        }

    .connect-wrapper {
        max-width: 100%;
    }

    .connect-subtext {
        font-size: 0.7em;
    }

    canvas {
        margin: 0 auto;
        height: 90%;
        width: 90%;
    }

    .core-interaction-target {
        top: 35%;
    }

    .bsx-right-readout {
        display: none;
    }

    .content-window {
        width: 100%;
        height: calc(100vh - 100px);
    }

    .brand-logo .brand-name {
        display: none;
    }

    .page-panel {
        padding: 20px 10px;
    }

    .product-block {
        padding: 15px;
    }
}

/* Mobile Landscape Optimization */
@media screen and (max-width: 1024px) and (orientation: landscape) {
    .methodology-scroll-container {
        left: 150px;
        width: calc(100vw - 150px);
        padding-right: 16px;
    }
}

/* Mobile Landscape Optimization */
@media screen and (max-height: 520px) and (orientation: landscape) {
    /* Allow inner scrolling if vertical space is constrained */
    body {
        overflow-y: hidden;
    }

    /* Reduce header profile to save vertical real estate */
    .site-header {
        padding: 6px 14px;
    }

    .brand-logo {
        font-size: 0.85rem;
    }

    .brand-badge {
        width: 24px;
        height: 24px;
    }

    .control-toggle-btn {
        width: 32px;
        height: 32px;
    }

    /* Shrink the stage and brain boundary to fit small vertical heights */
    .stage {
        height: 100vh;
        max-height: 395px;
    }

    canvas {
        margin: 0 auto;
        height: 80%;
        width: 80%;
        margin-top: 55px;
    }

    .core-interaction-target {
        width: 60px;
        height: 60px;
    }

    .core-hint {
        bottom: 8px;
        font-size: 0.95rem;
    }

    /* Scale & reposition the Left Fixed Menu */
    .bsx-left-menu {
        left: 12px;
        width: 120px;
        transform: translateY(-50%) scale(0.85);
        transform-origin: left center;
    }

    .bsx-menu-row {
        height: 26px;
    }

    .bsx-left-caption {
        display: none; /* Hide non-essential caption to prevent vertical clipping */
    }

    /* Scale Circular Menu Columns and Icons */
    .menu-column {
        width: 200px;
    }

        .menu-column.left {
            left: 10px;
        }

        .menu-column.right {
            right: 10px;
        }

    .menu-item {
        height: 38px;
    }

    .menu-icon {
        width: 32px;
        height: 32px;
    }

        .menu-icon svg {
            width: 14px;
            height: 14px;
        }

    .menu-text-panel {
        height: 32px;
    }

        .menu-text-panel h3 {
            font-size: 0.65rem;
        }

        .menu-text-panel p {
            font-size: 0.58rem;
        }

    /* Prevent Description Cards from overflowing the viewport bounds */
    .menu-description-card {
        top: 10px !important;
        width: 340px !important;
        max-height: calc(100vh - 24px) !important;
        padding: 14px 16px;
    }

    .menu-desc-text {
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .eyebrow {
        font-size: 0.58rem;
        margin-bottom: 20px;
    }

    .editorial-hero-title {
        margin-bottom: 10px;
    }
    /* Methodology Scroll Track & Panels */
    .methodology-scroll-container {
        left: 140px;
        width: calc(100vw - 140px);
        padding-right: 18px;
    }

    .method-section {
        min-height: 70vh;
        padding: 10px 20px;
        margin-bottom: 30px;
        overflow-y: auto;
    }

    .method-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .method-subtext {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .method-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .connect-hero-title {
        font-size: 1.2rem;
    }

    .connect-subtext {
        margin-bottom: 10px;
    }

    .method-item {
        padding: 12px 14px;
    }

        .method-item h4 {
            font-size: 0.72rem;
            margin-bottom: 4px;
        }

        .method-item p {
            font-size: 0.68rem;
            line-height: 1.4;
        }

    /* Forms in landscape */
    .contact-form {
        padding: 5px 15px;
    }

        .contact-form .form-group .form-control {
            padding: 5px 8px;
        }

    .form-row {
        gap: 12px;
        margin-bottom: 0px;
    }

    .form-group {
        margin-bottom: 5px;
        gap: 5px;
    }

    .form-control {
        padding: 8px 12px;
        font-size: 0.78rem;
    }

    textarea.form-control {
        min-height: 50px;
    }

    .submit-btn {
        padding: 10px;
        font-size: 0.7rem;
    }

    /* Ambient Elements */
    .bsx-orbit {
        width: 80vh;
        height: 80vh;
    }

    .bsx-corner.c,
    .bsx-corner.d {
        bottom: 10px;
    }
}

/* Mobile Landscape Optimization for small devices*/
@media screen and (max-height: 400px) and (orientation: landscape) {
    .site-header {
        padding: 5px 14px 0px 14px;
    }

    canvas {
        margin: 0 auto;
        height: 70%;
        width: 70%;
        margin-top: 70px;
    }

    .connect-subtext {
        margin-bottom: 5px;
        font-size: 0.5rem;
    }

    .connect-hero-title {
        font-size: 1.0rem;
        margin-bottom: 0px;
    }

    .contact-form {
        padding: 2px 15px;
    }

    .form-group {
        gap: 1px;
    }

    .contact-form .form-group .form-control {
        padding: 3px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
