/* ==========================================================================
   TRAI-L — Transdisciplinary Research for Augmented Innovation Laboratory
   Quantum Neurosymbolic Avant-Garde Stylesheet (Zero Dependencies)
   ========================================================================== */
:root {
    --bg-deep: #040711;
    --bg-mid: #080f20;
    --bg-elevated: #0d1730;
    --surface-glass: rgba(13, 23, 48, 0.74);
    --surface-card: rgba(15, 26, 54, 0.82);
    --surface-hover: rgba(22, 38, 76, 0.92);
    --border-subtle: rgba(148, 163, 184, 0.14);
    --border-glow: rgba(0, 242, 254, 0.45);
    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --cyan: #00f2fe;
    --teal: #10b981;
    --amber: #f59e0b;
    --violet: #8b5cf6;
    --magenta: #ec4899;
    --crimson: #be123c;
    --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 45%, #8b5cf6 100%);
    --grad-gold: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --grad-emerald: linear-gradient(135deg, #10b981 0%, #00f2fe 100%);
    --shadow-neon: 0 12px 35px -8px rgba(0, 242, 254, 0.25);
    --shadow-card: 0 20px 45px -15px rgba(2, 6, 23, 0.85);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container: 1280px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 12% 15%, rgba(0, 242, 254, 0.08) 0%, transparent 38%),
        radial-gradient(circle at 88% 22%, rgba(139, 92, 246, 0.10) 0%, transparent 42%),
        radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.22s ease;
}

a:hover {
    color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 92%;
    max-width: var(--container);
    margin: 0 auto;
}

/* ==========================================================================
   STICKY CYBER-GLASS NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(4, 7, 17, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
}

.brand-glyph {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.18), rgba(139, 92, 246, 0.28));
    border: 1px solid rgba(0, 242, 254, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 22px rgba(0, 242, 254, 0.22);
    flex-shrink: 0;
}

.brand-glyph svg {
    width: 26px;
    height: 26px;
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-titles strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.28rem;
    letter-spacing: 0.06em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-titles span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 2px;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 3px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--grad-primary);
    color: #030712;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #030712 !important;
    font-weight: 700;
    box-shadow: var(--shadow-neon);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 242, 254, 0.35);
    color: var(--text-main) !important;
}

.btn-outline:hover {
    border-color: var(--cyan);
    background: rgba(0, 242, 254, 0.1);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cyan);
    background: rgba(0, 242, 254, 0.09);
    border: 1px solid rgba(0, 242, 254, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

/* ==========================================================================
   HERO STAGE WITH INTERACTIVE 3D HYPERGRAPH CANVAS
   ========================================================================== */
.hero-stage {
    position: relative;
    min-height: 680px;
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: auto;
}

#hypergraphCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at 28% 50%, rgba(4, 7, 17, 0.88) 0%, rgba(4, 7, 17, 0.65) 55%, rgba(4, 7, 17, 0.35) 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 40px;
    align-items: center;
    pointer-events: none;
}

.hero-copy, .hero-hud-card {
    pointer-events: auto;
}

.hero-copy h1 {
    font-size: clamp(2.35rem, 4.6vw, 4.1rem);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 28px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-pill {
    font-size: 0.78rem;
    color: var(--text-secondary);
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid var(--border-subtle);
    padding: 6px 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-pill:hover {
    border-color: var(--cyan);
    color: #fff;
}

.hero-hud-card {
    background: rgba(9, 16, 36, 0.82);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.hud-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.hud-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
}

.hud-status-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 12px var(--teal);
}

.hud-visual-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border-subtle);
    aspect-ratio: 16 / 9;
    background: #050a18;
}

.hud-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hud-visual-frame:hover img {
    transform: scale(1.04);
}

.hud-visual-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(4, 7, 17, 0.95), transparent);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.hud-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hud-btn {
    flex: 1;
    min-width: 110px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hud-btn:hover, .hud-btn.active {
    background: rgba(0, 242, 254, 0.16);
    border-color: var(--cyan);
    color: #fff;
}

.hud-telemetry-box {
    background: rgba(4, 7, 17, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.82rem;
}

.hud-telemetry-box strong {
    color: var(--cyan);
    display: block;
    margin-bottom: 2px;
}

/* ==========================================================================
   STATS RIBBON
   ========================================================================== */
.stats-ribbon {
    background: rgba(8, 15, 32, 0.9);
    border-bottom: 1px solid var(--border-subtle);
    padding: 28px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--grad-primary);
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.stat-detail {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SECTIONS & HEADERS
   ========================================================================== */
.section {
    padding: 84px 0;
    position: relative;
}

.section-alt {
    background: rgba(8, 15, 32, 0.65);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 42px;
}

.section-header-left {
    max-width: 760px;
}

.section-header h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.02rem;
}

/* ==========================================================================
   WHO WE ARE & PILLARS
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: start;
}

.about-story-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.about-story-card p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 18px;
}

.about-photo-banner {
    margin-top: 22px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0, 242, 254, 0.28);
    position: relative;
}

.about-photo-banner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.about-photo-banner .banner-caption {
    padding: 12px 16px;
    background: rgba(4, 7, 17, 0.9);
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.pillars-stack {
    display: grid;
    gap: 16px;
}

.pillar-item {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    transition: all 0.25s ease;
}

.pillar-item:hover {
    border-color: var(--cyan);
    transform: translateX(4px);
}

.pillar-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.pillar-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 3px 9px;
    border-radius: 6px;
}

.pillar-item h3 {
    font-size: 1.14rem;
}

.pillar-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* ==========================================================================
   VISUAL GALLERY STRIP
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.gallery-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.28s ease;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.gallery-thumb {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #050914;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-thumb img {
    transform: scale(1.06);
}

.gallery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(4, 7, 17, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.gallery-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-body h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.gallery-body p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.gallery-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
}

/* ==========================================================================
   FILTER TOOLBARS (PROJECTS & RESEARCHERS)
   ========================================================================== */
.explorer-toolbar {
    background: rgba(9, 16, 36, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--cyan);
    color: #fff;
}

.filter-btn.active {
    background: var(--grad-primary);
    color: #030712;
    border-color: transparent;
    font-weight: 700;
}

.search-box {
    position: relative;
    min-width: 270px;
    flex: 1;
    max-width: 360px;
}

.search-box input {
    width: 100%;
    background: rgba(4, 7, 17, 0.85);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-family: inherit;
}

.search-box input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

/* ==========================================================================
   PROJECTS GRID (23 COMPLETE PROJECTS)
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.28s ease;
    position: relative;
}

.project-card:hover {
    border-color: rgba(0, 242, 254, 0.5);
    transform: translateY(-6px);
    box-shadow: var(--shadow-neon);
}

.project-thumb {
    position: relative;
    height: 175px;
    overflow: hidden;
    background: #060b18;
    border-bottom: 1px solid var(--border-subtle);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.07);
}

.project-badges-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.group-pill {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.group-in-lab {
    background: rgba(0, 242, 254, 0.2);
    border: 1px solid rgba(0, 242, 254, 0.5);
    color: var(--cyan);
}

.group-supported {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
}

.group-flagship {
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(245, 158, 11, 0.55);
    color: #fbbf24;
}

.status-pill {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(4, 7, 17, 0.85);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
}

.project-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-domain {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.project-body h3 {
    font-size: 1.32rem;
    margin-bottom: 4px;
}

.project-subtitle {
    font-size: 0.84rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.project-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
}

.project-metric-bar {
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.18);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.tech-tag {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
}

.project-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.btn-inspect {
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.35);
    color: var(--cyan);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-inspect:hover {
    background: var(--grad-primary);
    color: #030712;
}

/* ==========================================================================
   RESEARCHERS DIRECTORY (35 NAMED RESEARCHERS)
   ========================================================================== */
.researchers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.researcher-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.researcher-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}

.researcher-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
}

.researcher-avatar {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0, 242, 254, 0.45);
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--cyan);
    position: relative;
}

.researcher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tier-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: 4px;
}

.tier-founders {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.45);
}

.tier-seniors {
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(0, 242, 254, 0.4);
}

.tier-fellows {
    background: rgba(236, 72, 153, 0.18);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.45);
}

.tier-juniors {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.tier-associates {
    background: rgba(139, 92, 246, 0.18);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.45);
}

.researcher-name {
    font-size: 1.08rem;
    margin-bottom: 3px;
}

.researcher-creds {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.researcher-specialty {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.researcher-bio {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.researcher-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.researcher-ext-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.researcher-ext-links a {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--cyan);
    background: rgba(0, 242, 254, 0.08);
    padding: 4px 9px;
    border-radius: 6px;
}

/* ==========================================================================
   MEDIA COVERAGE (TV) & BLOG ARTICLES
   ========================================================================== */
.tv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 20px;
    margin-bottom: 52px;
}

.tv-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
}

.tv-card:hover {
    border-color: var(--amber);
    transform: translateY(-4px);
}

.tv-thumb {
    height: 155px;
    position: relative;
    overflow: hidden;
}

.tv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-channel-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(245, 158, 11, 0.92);
    color: #030712;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.tv-body {
    padding: 18px;
}

.tv-body h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.tv-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 22px;
}

.blog-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.blog-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-cat {
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* ==========================================================================
   PARTNERSHIPS & BURST METHODOLOGY
   ========================================================================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.partner-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.25s ease;
}

.partner-card:hover {
    border-color: var(--teal);
    transform: translateY(-3px);
}

.partner-role {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal);
    margin-bottom: 6px;
}

.partner-card h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.partner-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* ==========================================================================
   PITCH / CHANGE THE WORLD FORM
   ========================================================================== */
.pitch-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
}

.pitch-card {
    background: var(--surface-card);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.contact-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.contact-box {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: block;
}

.contact-box:hover {
    border-color: var(--cyan);
}

.contact-box span {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.contact-box strong {
    font-size: 1rem;
    color: var(--cyan);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(4, 7, 17, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.92rem;
}

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

.form-feedback {
    margin-top: 14px;
    font-size: 0.88rem;
    padding: 10px 14px;
    border-radius: 10px;
    display: none;
}

.form-feedback.visible {
    display: block;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #34d399;
}

.form-feedback.error {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.45);
    color: #fda4af;
}

/* ==========================================================================
   MODALS (PROJECT DEEP-DIVE, RESEARCHER DOSSIER, BLOG READER, LIGHTBOX)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(2, 6, 23, 0.86);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-dialog {
    background: #091226;
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: var(--radius-lg);
    max-width: 780px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-close:hover {
    background: var(--cyan);
    color: #030712;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #02050d;
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   LIGHT THEME (DEFAULT) & 165PX HERO LOGO SHOWCASE
   ========================================================================== */
body.light-theme {
    --bg-deep: #f8fafc;
    --bg-mid: #f1f5f9;
    --bg-elevated: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.90);
    --surface-card: #ffffff;
    --surface-hover: #f8fafc;
    --border-subtle: rgba(15, 23, 42, 0.12);
    --border-glow: rgba(2, 132, 199, 0.45);
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --cyan: #0284c7;
    --teal: #059669;
    --amber: #d97706;
    --violet: #6d28d9;
    --grad-primary: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #6d28d9 100%);
    --shadow-neon: 0 12px 30px -8px rgba(2, 132, 199, 0.20);
    --shadow-card: 0 16px 40px -12px rgba(15, 23, 42, 0.08);
    background-color: #f8fafc;
    background-image:
        radial-gradient(circle at 12% 15%, rgba(2, 132, 199, 0.07) 0%, transparent 38%),
        radial-gradient(circle at 88% 22%, rgba(109, 40, 217, 0.06) 0%, transparent 42%),
        radial-gradient(circle at 50% 80%, rgba(5, 150, 105, 0.05) 0%, transparent 45%);
    color: #0f172a;
}

body.light-theme a:hover {
    color: #0369a1;
}

body.light-theme .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

body.light-theme .nav-links a:hover {
    color: #0284c7;
}

body.light-theme .lang-switch {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.14);
}

body.light-theme .lang-btn.active,
body.light-theme .btn-primary,
body.light-theme .filter-btn.active,
body.light-theme .btn-inspect:hover {
    color: #ffffff !important;
}

body.light-theme .btn-outline {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.40);
    color: #0f172a !important;
}

body.light-theme .hero-overlay-gradient {
    background: radial-gradient(circle at 28% 50%, rgba(248, 250, 252, 0.94) 0%, rgba(248, 250, 252, 0.82) 55%, rgba(248, 250, 252, 0.55) 100%);
}

body.light-theme .quick-pill {
    background: #ffffff;
    color: #334155;
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

body.light-theme .quick-pill:hover {
    background: #0284c7;
    color: #ffffff;
}

body.light-theme .hero-hud-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(2, 132, 199, 0.28);
}

body.light-theme .hud-btn {
    background: #f1f5f9;
    color: #334155;
}

body.light-theme .hud-btn:hover,
body.light-theme .hud-btn.active {
    background: #0284c7;
    color: #ffffff;
}

body.light-theme .hud-telemetry-box {
    background: #f8fafc;
    color: #334155;
}

body.light-theme .stats-ribbon,
body.light-theme .section-alt {
    background: #f1f5f9;
}

body.light-theme .explorer-toolbar {
    background: #ffffff;
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.06);
}

body.light-theme .filter-btn {
    background: #f8fafc;
    color: #334155;
}

body.light-theme .filter-btn:hover {
    color: #0284c7;
}

body.light-theme .search-box input,
body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
    background: #f8fafc;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.18);
}

body.light-theme .status-pill {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

body.light-theme .tech-tag {
    background: #f1f5f9;
    color: #334155;
}

body.light-theme .modal-dialog {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.22);
}

body.light-theme .site-footer {
    background: #f1f5f9;
}

.hero-logo-showcase {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 22px;
    padding: 16px 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    width: fit-content;
}

body:not(.light-theme) .hero-logo-showcase {
    background: rgba(15, 23, 42, 0.85);
}

.hero-logo-showcase img {
    width: 165px;
    height: 165px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-glyph {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px;
    background: #ffffff !important;
    border: 1px solid var(--border-subtle) !important;
}

body:not(.light-theme) .brand-glyph {
    background: rgba(15, 23, 42, 0.9) !important;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-subtle);
    background: var(--surface-card);
    color: var(--text-main);
}

@media (max-width: 980px) {
    .hero-grid, .about-grid, .pitch-layout, .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #060c1d;
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 20px;
        align-items: flex-start;
    }
    .nav-links.open {
        display: flex;
    }
    .mobile-menu-btn {
        display: inline-flex;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
