/* =========================================
   CSS Variables (Dark Mode Professional)
========================================= */
:root {
    --obsidian-circuit: #0A0A0B;
    --neon-logic: #00FFD1;
    --solid-silver: #E0E0E0;
    --ultraviolet: #8A2BE2;
    --suncoast-orange: #FF7B00; /* For cursor and accents */
    
    --bg-card: rgba(224, 224, 224, 0.03);
    --bg-card-hover: rgba(0, 255, 209, 0.05);
    
    --font-heading: 'JetBrains Mono', monospace;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --radius: 12px;
}

/* =========================================
   Reset & Global Styles
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor to use custom one */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--obsidian-circuit);
    color: var(--solid-silver);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #FFF;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--neon-logic);
}

.text-center.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

section { padding: 8rem 0; }

/* =========================================
   Interactive Lightning Cursor
========================================= */
#lightning-cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* =========================================
   Buttons
========================================= */
.btn-primary, .btn-secondary, .btn-primary-sm, .btn-text {
    display: inline-block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--neon-logic);
    border: 1px solid var(--neon-logic);
    box-shadow: inset 0 0 0 rgba(0, 255, 209, 0);
    transition: var(--transition);
}

.btn-primary:hover {
    background: rgba(0, 255, 209, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 255, 209, 0.4), 0 0 20px rgba(0, 255, 209, 0.2);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--solid-silver);
    border: 1px solid rgba(224,224,224,0.3);
}

.btn-secondary:hover {
    border-color: var(--solid-silver);
    background: rgba(224,224,224,0.05);
}

.btn-primary-sm {
    padding: 0.6rem 1.5rem;
    background: var(--neon-logic);
    color: var(--obsidian-circuit) !important;
    font-size: 0.85rem;
}

.btn-primary-sm:hover {
    box-shadow: 0 0 15px var(--neon-logic);
}

.btn-text {
    font-size: 0.85rem;
    color: var(--neon-logic);
    margin-top: 1rem;
    display: inline-block;
}

.btn-text:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--neon-logic);
}

/* =========================================
   Navigation
========================================= */
.glass-nav {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.glass-nav.scrolled {
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,255,209,0.1);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 72px; /* Increased size as requested */
    width: auto;
    filter: drop-shadow(0 0 16px rgba(255, 123, 0, 0.55));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.nav-logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 28px rgba(255, 123, 0, 0.85));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a:not(.btn-primary-sm) {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--solid-silver);
}

.nav-links a:not(.btn-primary-sm):hover {
    color: var(--neon-logic);
}

.hamburger {
    display: none;
    z-index: 1001;
}
.hamburger .line {
    width: 30px; height: 2px;
    background-color: var(--solid-silver);
    margin: 6px 0;
    transition: 0.4s;
}

/* =========================================
   Hero Section
========================================= */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: radial-gradient(circle at center, #1a1a24 0%, var(--obsidian-circuit) 100%);
}

.grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 209, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 209, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-logo-wrapper {
    margin-bottom: 2rem;
}

.hero-surfer-img {
    height: 120px;
    opacity: 0.8;
}

.hero-content .title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(0,255,209,0.2);
}

.hero-content .sub-headline {
    font-size: 1.25rem;
    color: var(--solid-silver);
    margin-bottom: 3rem;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px; height: 36px;
    border: 2px solid rgba(224,224,224,0.5);
    border-radius: 12px;
    position: relative;
}
.wheel {
    width: 2px; height: 6px;
    background: var(--neon-logic);
    border-radius: 1px;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}
@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 16px; opacity: 0; }
}

/* =========================================
   Mission / Paradigm Section
========================================= */
.mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text .highlight-text {
    font-size: 1.5rem;
    color: var(--neon-logic);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.mission-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #aaa;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.north-stars-box h3 {
    margin-bottom: 1.5rem;
    color: var(--ultraviolet);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    padding-bottom: 0.5rem;
}

.north-stars-box ul li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.north-stars-box ul li::before {
    content: '>';
    position: absolute;
    left: 0; top: 0;
    color: var(--neon-logic);
    font-family: var(--font-heading);
    font-weight: bold;
}

.north-stars-box strong {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.2rem;
}

.north-stars-box span {
    font-size: 0.9rem;
    color: #888;
}

/* =========================================
   Dynamic Gallery (The 5 Labs)
========================================= */
.dynamic-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Abstract backgrounds for the labs to make them look distinct without images yet */
.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s;
    filter: grayscale(80%) brightness(0.4);
}

.lab-1 { background-image: linear-gradient(45deg, #1a1a1a 25%, #222 25%, #222 50%, #1a1a1a 50%, #1a1a1a 75%, #222 75%, #222 100%); background-size: 40px 40px; }
.lab-2 { background: radial-gradient(circle, #2a0845 0%, #0A0A0B 100%); }
.lab-3 { background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,209,0.05) 2px, rgba(0,255,209,0.05) 4px); }
.lab-4 { background: linear-gradient(135deg, #0A0A0B 0%, #111 100%); }
.lab-5 { background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%); }

.card-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.4) 100%);
    transition: var(--transition);
}

.lab-icon {
    font-size: 2.5rem;
    margin-bottom: auto;
    opacity: 0.7;
    transition: var(--transition);
}

.gallery-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--neon-logic);
    transition: transform 0.4s;
}

.lab-focus {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 1rem;
    transition: transform 0.4s, opacity 0.4s;
}

.lab-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.lab-details p {
    font-size: 0.9rem;
    color: #999;
}

/* Hover Reveals */
.gallery-card:hover .card-bg {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(0.6);
}

.gallery-card:hover .card-content {
    background: linear-gradient(to top, rgba(10,10,11,1) 0%, rgba(10,10,11,0.6) 100%);
}

.gallery-card:hover .lab-icon {
    opacity: 1;
    transform: translateY(-10px) scale(1.2);
}

.gallery-card:hover h3 {
    transform: translateY(-10px);
}

.gallery-card:hover .lab-focus {
    transform: translateY(-10px);
}

.gallery-card:hover .lab-details {
    max-height: 200px;
    opacity: 1;
    transform: translateY(-10px);
}

/* Dimming siblings - achieved via JS or parent hover */
.dynamic-gallery:hover .gallery-card:not(:hover) {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* =========================================
   Founder Section
========================================= */
.founder-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    border-left: 3px solid var(--neon-logic);
}

.founder-content p {
    margin-bottom: 1rem;
    color: #aaa;
}

.founder-graphics {
    height: 100%;
    min-height: 300px;
    position: relative;
    background: url('SunCoast Creative Labs logo.png') no-repeat center center;
    background-size: contain;
    opacity: 0.3;
}

/* =========================================
   Footer
========================================= */
footer {
    background: #050506;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.footer-brand .tagline {
    font-family: var(--font-heading);
    color: var(--neon-logic);
    font-size: 1.1rem;
}

.footer-links h4, .footer-compliance h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #888;
}

.footer-links a:hover {
    color: var(--neon-logic);
}

.footer-compliance p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-compliance .muted {
    color: #555;
    font-family: var(--font-heading);
    font-size: 0.8rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    color: #555;
    font-size: 0.85rem;
}

/* =========================================
   Animations
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Responsive Design
========================================= */
@media screen and (max-width: 992px) {
    .mission-grid, .founder-card {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%; top: 0;
        height: 100vh; width: 100%;
        background: rgba(10, 10, 11, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }
    
    .nav-links.active { right: 0; }
    
    .hamburger { display: block; }
    
    .hamburger.active .line:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.active .line:nth-child(2) { opacity: 0; }
    .hamburger.active .line:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
    
    .hero-content .title { font-size: 2.5rem; }
    
    /* On mobile, standard cursors are best, hide custom */
    .cursor-dot, .cursor-ring { display: none; }
    * { cursor: auto; }
}

/* =========================================
   3D Interactive Hub (Three.js Scene)
========================================= */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none; /* Let clicks pass through if needed, but Three.js might need them. We will put pointer-events: none on the overlay background instead. */
}

/* Let the canvas receive events, but the overlay container should let events pass through EXCEPT on buttons */
.interactive-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    pointer-events: none; /* Let mouse interact with 3D canvas */
}

.nav-node {
    position: absolute;
    pointer-events: auto; /* Buttons are clickable */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    opacity: 0.15; /* Hidden initially, controlled by JS proximity */
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    transform: scale(0.9);
    filter: grayscale(100%);
    width: 120px;
}

.nav-node:hover, .nav-node.revealed {
    opacity: 1 !important;
    transform: scale(1.1);
    filter: grayscale(0%);
    z-index: 20;
}

.node-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-logic);
    box-shadow: 0 0 15px rgba(0, 255, 209, 0.4);
    transition: box-shadow 0.3s ease;
}

.nav-node:hover .node-image, .nav-node.revealed .node-image {
    box-shadow: 0 0 30px rgba(0, 255, 209, 0.8), 0 0 10px var(--suncoast-orange);
    border-color: var(--suncoast-orange);
}

.node-icon.placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(10, 10, 11, 0.8);
    border: 2px solid var(--neon-logic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--neon-logic);
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 255, 209, 0.4);
}

.node-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--solid-silver);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(10, 10, 11, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-node:hover .node-label, .nav-node.revealed .node-label {
    opacity: 1;
}

/* Positioning the nodes around the center */
#node-resume { top: 20%; left: 20%; }
#node-lunacrats { top: 20%; right: 20%; }
#node-art { top: 50%; left: 10%; transform: translateY(-50%); }
#node-wealth { top: 50%; right: 10%; transform: translateY(-50%); }
#node-philosophy { bottom: 20%; left: 20%; }
#node-vangogh { bottom: 20%; right: 20%; }

@media screen and (max-width: 768px) {
    .nav-node {
        opacity: 0.8; /* Always semi-visible on mobile */
        transform: scale(1);
        filter: grayscale(0%);
    }
    .node-label {
        opacity: 1;
    }
    /* Stack them vertically or adjust positions for mobile */
    #node-resume { top: 10%; left: 50%; transform: translateX(-50%); }
    #node-lunacrats { top: 25%; left: 50%; transform: translateX(-50%); }
    #node-art { top: 40%; left: 50%; transform: translateX(-50%); }
    #node-wealth { top: 55%; left: 50%; transform: translateX(-50%); }
    #node-philosophy { top: 70%; left: 50%; transform: translateX(-50%); }
    #node-vangogh { top: 85%; left: 50%; transform: translateX(-50%); }
}

/* =========================================
   Interactive Gallery Styles
========================================= */

.gallery-body {
    background-color: var(--obsidian-circuit);
    color: var(--solid-silver);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow: hidden; /* Hide main body scroll, we use container scroll */
}

#gallery-webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none; /* Let pointer pass through to the scroll container */
}

.gallery-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10,10,11,0.8), transparent);
    pointer-events: auto; /* Nav is clickable */
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--solid-silver);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-scroll-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10; /* Above canvas to capture scroll and mouse events */
    /* Remove background so WebGL is visible */
    background: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15vw;
    padding: 20vh 10vw;
    min-height: 150vh; /* Ensure it scrolls */
}

.gallery-item {
    width: 100%;
    /* Aspect ratio for the placeholders, they should match typical image ratios */
    aspect-ratio: 4 / 5; 
    /* Don't show background, let WebGL render it */
    background: transparent;
    border: 1px solid rgba(0, 255, 209, 0.0);
    transition: border 0.3s ease;
}

/* Add a subtle hover effect if desired */
.gallery-item:hover {
    border: 1px solid rgba(0, 255, 209, 0.2);
}

.gallery-footer {
    text-align: center;
    padding: 2rem 0 5rem 0;
    color: #555;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

/* ==========================================================================
   SUNCOAST MASTER HOMEPAGE ENHANCEMENTS
   ========================================================================== */

/* Brand & Status Badge */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-brand-text {
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 2.5px;
    color: #FFF;
    line-height: 1;
}
.brand-sub {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--suncoast-orange);
    line-height: 1.2;
}
.nav-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 209, 0.05);
    border: 1px solid rgba(0, 255, 209, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 1px;
}
.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--neon-logic);
    box-shadow: 0 0 8px var(--neon-logic);
    animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

/* Gradient & Accent Buttons */
.gradient-text {
    background: linear-gradient(135deg, var(--suncoast-orange) 0%, #FFB700 50%, var(--neon-logic) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255, 123, 0, 0.35));
}
.btn-accent {
    display: inline-block;
    padding: 1rem 2.2rem;
    background: linear-gradient(135deg, rgba(255,123,0,0.15), rgba(255,123,0,0.05));
    border: 1px solid var(--suncoast-orange);
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 123, 0, 0.25);
    transition: var(--transition);
}
.btn-accent:hover {
    background: var(--suncoast-orange);
    color: #0A0A0B;
    box-shadow: 0 0 25px rgba(255, 123, 0, 0.7);
}

/* Hero Section Refinements */
.hero-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}
.hero-canvas-bg canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 209, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 209, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}
#hero .hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding-top: 5rem;
}
.hero-surfer-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
}
.surfer-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,123,0,0.2) 0%, rgba(0,255,209,0.1) 50%, transparent 70%);
    filter: blur(25px);
    z-index: -1;
    animation: ringFloat 4s ease-in-out infinite alternate;
}
@keyframes ringFloat {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}
.hero-surfer-img {
    height: 290px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8)) drop-shadow(0 0 35px rgba(255, 123, 0, 0.35));
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
    animation: surferHover 6s ease-in-out infinite;
}
.hero-surfer-img:hover {
    transform: scale(1.05) rotateZ(2deg);
    filter: drop-shadow(0 20px 35px rgba(0,0,0,0.9)) drop-shadow(0 0 50px rgba(0, 255, 209, 0.6));
}
@keyframes surferHover {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    50% { transform: translateY(-12px) rotateZ(-1.5deg); }
}
.surfer-caption {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--neon-logic);
    background: rgba(10, 10, 11, 0.7);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 209, 0.2);
}
.hero-badge {
    margin-bottom: 1.2rem;
}
.badge-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--suncoast-orange);
    background: rgba(255, 123, 0, 0.08);
    border: 1px solid rgba(255, 123, 0, 0.3);
    padding: 6px 14px;
    border-radius: 4px;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #BBB;
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.7;
}

/* Section Tag Headers */
.section-tag-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}
.section-tag-header.text-center {
    justify-content: center;
}
.sec-number {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--suncoast-orange);
    font-size: 0.9rem;
}
.sec-title-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--neon-logic);
    text-transform: uppercase;
}
.section-intro, .section-sub {
    font-size: 1.05rem;
    color: #888;
    max-width: 750px;
    margin-bottom: 3.5rem;
    line-height: 1.6;
}
.section-intro.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* North Stars List */
.north-stars-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.north-stars-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}
.vector-icon {
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    line-height: 1;
}
.north-stars-list strong {
    color: #FFF;
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}
.north-stars-list span {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
}
.terminal-quote {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border-left: 3px solid var(--suncoast-orange);
}
.terminal-quote code {
    font-family: var(--font-heading);
    color: var(--neon-logic);
    font-size: 0.88rem;
}

/* Dynamic 5 Labs Card Corners & Styling */
.gallery-card {
    position: relative;
}
.card-corner-bracket {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--neon-logic);
    border-style: solid;
    pointer-events: none;
    opacity: 0.6;
    transition: var(--transition);
}
.card-corner-bracket.top-left {
    top: 10px;
    left: 10px;
    border-width: 2px 0 0 2px;
}
.card-corner-bracket.bottom-right {
    bottom: 10px;
    right: 10px;
    border-width: 0 2px 2px 0;
}
.gallery-card:hover .card-corner-bracket {
    width: 18px;
    height: 18px;
    opacity: 1;
    border-color: var(--suncoast-orange);
}
.lab-icon-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-logic);
    background: rgba(0, 255, 209, 0.08);
    border: 1px solid rgba(0, 255, 209, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 1rem;
}
.lab-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   ASCII HOLO-LAB SECTION
   ========================================================================== */
.ascii-lab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.ascii-controls-hud {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 1.8rem;
    background: rgba(14, 14, 18, 0.85);
}
.hud-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.hud-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    color: #777;
    min-width: 130px;
}
.hud-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.hud-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #AAA;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 4px;
    transition: var(--transition);
}
.hud-btn:hover {
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.3);
}
.hud-btn.active {
    background: rgba(0, 255, 209, 0.15);
    border-color: var(--neon-logic);
    color: var(--neon-logic);
    box-shadow: 0 0 10px rgba(0, 255, 209, 0.25);
}
.hud-btn-action {
    background: rgba(255, 123, 0, 0.1);
    border: 1px solid var(--suncoast-orange);
    color: var(--suncoast-orange);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
}
.hud-btn-action:hover {
    background: var(--suncoast-orange);
    color: #0A0A0B;
    box-shadow: 0 0 15px rgba(255, 123, 0, 0.5);
}

/* CRT Terminal Display Frame */
.ascii-terminal-frame {
    padding: 0;
    overflow: hidden;
    background: #050508;
    border: 1px solid rgba(0, 255, 209, 0.25);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 209, 0.1);
    border-radius: 12px;
}
.terminal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    background: rgba(18, 18, 24, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.terminal-dots {
    display: flex;
    gap: 8px;
}
.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }
.terminal-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: var(--neon-logic);
    letter-spacing: 1px;
}
.terminal-coords {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    color: #888;
}
.blink {
    color: #27C93F;
    animation: blinkAnim 1.5s infinite;
}
@keyframes blinkAnim {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal-body {
    position: relative;
    height: 680px;
    background: #030305;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
#ascii-viewer-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    transition: transform 0.3s ease;
}
.crt-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.35) 50%);
    background-size: 100% 4px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.crt-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.85);
    pointer-events: none;
    z-index: 6;
}

/* ASCII Track Tabs Strip */
.ascii-selector-strip {
    display: flex;
    overflow-x: auto;
    background: #0A0A0E;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 15px;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--suncoast-orange) #0A0A0E;
}
.ascii-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    padding: 8px 16px;
    border-radius: 6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.ascii-tab:hover {
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.3);
}
.ascii-tab.active {
    background: rgba(255, 123, 0, 0.15);
    border-color: var(--suncoast-orange);
    color: var(--suncoast-orange);
    box-shadow: 0 0 12px rgba(255, 123, 0, 0.25);
}

/* ==========================================================================
   p5.js GENERATIVE MEDIA ENGINE (SANDBOX)
   ========================================================================== */
.generative-intro-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.sandbox-modes-hud {
    display: flex;
    gap: 10px;
    padding: 10px 16px;
}
.mode-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #AAA;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    padding: 8px 18px;
    border-radius: 6px;
    transition: var(--transition);
}
.mode-btn:hover {
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.3);
}
.mode-btn.active {
    background: rgba(0, 255, 209, 0.15);
    border-color: var(--neon-logic);
    color: var(--neon-logic);
    box-shadow: 0 0 15px rgba(0, 255, 209, 0.3);
}

.sandbox-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    padding: 2rem;
    border-radius: 12px;
}
.sandbox-canvas-column {
    display: flex;
    flex-direction: column;
}
.sandbox-canvas-wrapper {
    width: 100%;
    height: 480px;
    background: #08080C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.sandbox-canvas-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.canvas-footnote {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}
.canvas-footnote .hint {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: #666;
}
.btn-capture {
    background: rgba(255, 123, 0, 0.1);
    border: 1px solid var(--suncoast-orange);
    color: var(--suncoast-orange);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 4px;
    transition: var(--transition);
}
.btn-capture:hover {
    background: var(--suncoast-orange);
    color: #0A0A0B;
    box-shadow: 0 0 15px rgba(255, 123, 0, 0.4);
}

.sandbox-params-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.params-header {
    font-size: 1rem;
    color: #FFF;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}
.param-slider-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.slider-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: #888;
}
.hud-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    outline: none;
}
.hud-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--neon-logic);
    box-shadow: 0 0 10px var(--neon-logic);
    cursor: pointer;
}
.param-palette-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.palette-swatches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.swatch-btn {
    padding: 7px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #888;
    transition: var(--transition);
}
.swatch-btn.amber.active {
    background: rgba(255, 123, 0, 0.15);
    border-color: #FF7B00;
    color: #FF7B00;
}
.swatch-btn.cyan.active {
    background: rgba(0, 255, 209, 0.15);
    border-color: #00FFD1;
    color: #00FFD1;
}
.swatch-btn.matrix.active {
    background: rgba(0, 255, 102, 0.15);
    border-color: #00FF66;
    color: #00FF66;
}
.swatch-btn.violet.active {
    background: rgba(170, 60, 255, 0.15);
    border-color: #AA3CFF;
    color: #AA3CFF;
}

.engine-diagnostics {
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.diag-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    color: #666;
}
.diag-row code {
    color: var(--neon-logic);
}

/* ==========================================================================
   DYNAMIC ASYMMETRICAL ART GALLERY & MASONRY
   ========================================================================== */
.masonry-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-auto-rows: 280px;
    grid-auto-flow: dense;
    gap: 24px;
}
.art-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0E0E12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.art-card.tall {
    grid-row: span 2;
}
.art-card.wide {
    grid-column: span 2;
}
.art-card:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: var(--suncoast-orange);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 25px rgba(255, 123, 0, 0.25);
    z-index: 10;
}
.art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}
.art-card:hover .art-img {
    transform: scale(1.08);
    filter: brightness(0.85);
}
.art-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.8rem 1.4rem;
    background: linear-gradient(to top, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0.75) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(20px);
    opacity: 0.9;
    transition: var(--transition);
}
.art-card:hover .art-overlay {
    transform: translateY(0);
    opacity: 1;
}
.art-tag {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    color: var(--suncoast-orange);
    text-transform: uppercase;
}
.art-title {
    font-size: 1.25rem;
    color: #FFF;
    font-weight: 700;
}
.art-desc {
    font-size: 0.85rem;
    color: #AAA;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.art-zoom-btn {
    margin-top: 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--neon-logic);
    letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(12px);
}
.lightbox-dialog {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    border-color: rgba(0, 255, 209, 0.3);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
    animation: dialogPop 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes dialogPop {
    from { transform: scale(0.92); }
    to { transform: scale(1); }
}
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
}
.lightbox-close:hover {
    background: var(--suncoast-orange);
    color: #0A0A0B;
}
.lightbox-media {
    max-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.lightbox-media img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
}
.lightbox-info {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.lightbox-info h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}
.lightbox-info p {
    font-size: 0.95rem;
    color: #AAA;
}

/* ==========================================================================
   FOUNDER WINDOW & FOOTER ENHANCEMENTS
   ========================================================================== */
.founder-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 3.5rem;
    align-items: center;
    padding: 3rem;
}
.founder-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 209, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 209, 0.2);
}
.founder-portrait {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.founder-status-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(10, 10, 11, 0.85);
    border: 1px solid rgba(0, 255, 209, 0.3);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-indicator.online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27C93F;
    box-shadow: 0 0 8px #27C93F;
}
.founder-lead {
    font-size: 1.25rem;
    color: var(--neon-logic);
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
}
.founder-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.8rem 0;
}
.f-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #DDD;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: 4px;
}
.founder-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Footer Improvements */
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}
.footer-brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #FFF;
}
.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: #888;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.mono-dim {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 1px;
}

/* Responsive Overrides */
@media screen and (max-width: 1100px) {
    #hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-surfer-wrapper {
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .sandbox-layout {
        grid-template-columns: 1fr;
    }
    .founder-card {
        grid-template-columns: 1fr;
    }
    .founder-portrait {
        height: 320px;
    }
}
@media screen and (max-width: 768px) {
    .nav-status-badge {
        display: none;
    }
    .art-card.wide {
        grid-column: span 1;
    }
    .art-card.tall {
        grid-row: span 1;
    }
    .ascii-controls-hud {
        padding: 1rem;
    }
    .hud-group {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .nav-logo-img { height: 52px; }
    .brand-title { font-size: 1.1rem; }
    .terminal-body { height: 480px; }
}
