/* -------------------------------------------------------------
 * Neuroarchitecture Portfolio Stylesheet
 * Brand colors: #24272A (Charcoal), #FFFFFF (White), #5C6266 (Slate Gray Accent)
 * Visual Style: Warm Minimalist, Structured, Architectural
 * ------------------------------------------------------------- */

/* Custom Variables */
:root {
    --color-dark: #24272A;
    --color-light: #FFFFFF;
    --color-accent: #5C6266; /* Darker slate gray for better readability contrast */
    --color-accent-light: #9BA0A3; /* Light gray for dark background contexts */
    --color-light-gray: #D1D4D6; /* Off-white text on dark backgrounds */
    --color-border: rgba(36, 39, 42, 0.12); /* Thin lines for layout borders */
    
    --font-header: 'Antonio', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif; /* Soft, modern organic grotesque body */
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-card: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    
    --header-height: 80px;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-light);
    color: var(--color-dark);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.015em; /* Narrower tracking for clean body copy */
    overflow-x: hidden;
    position: relative;
}

/* Circadian Ambient Glow in Background */
.circadian-glow {
    position: fixed;
    top: -15vw;
    right: -15vw;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: -1;
    transition: background 3s ease-in-out;
    background: radial-gradient(circle, rgba(230,235,240,1) 0%, rgba(255,255,255,0) 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-light);
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark);
}

/* Layout Utilities */
.section-border {
    border-top: 1px solid var(--color-border);
    padding: 8rem 0;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
}

.section-header {
    margin-bottom: 4rem;
}

.section-number {
    font-family: var(--font-header);
    font-weight: 300;
    color: var(--color-accent);
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.section-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.04em; /* Narrower letter-spacing */
    line-height: 1;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Dark Background Section Alternation */
.section-dark {
    background-color: var(--color-dark) !important;
    color: var(--color-light) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-white-alpha {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.border-white {
    border-color: var(--color-light) !important;
}

.text-white {
    color: var(--color-light) !important;
}

.text-light-gray {
    color: var(--color-light-gray) !important;
}

.text-accent-light {
    color: var(--color-accent-light) !important;
}

.text-white-muted {
    color: var(--color-accent-light) !important;
    opacity: 0.8;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(36, 39, 42, 0.08);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.04em; /* Narrower tracking */
    line-height: 1;
}

.logo-title {
    font-family: var(--font-header);
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.1em; /* Adjusted tracking */
    color: var(--color-accent);
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Language Switcher Button Styles */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-header);
    margin-right: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    color: var(--color-accent);
    padding: 2px 4px;
    outline: none;
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    color: var(--color-dark);
}

.lang-btn.active {
    color: var(--color-dark);
    position: relative;
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 4px;
    right: 4px;
    height: 1.5px;
    background-color: var(--color-dark);
}

.lang-divider {
    color: var(--color-accent);
    font-size: 0.85rem;
    opacity: 0.5;
    user-select: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-dark);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-dark);
}

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

.cta-link {
    border: 1px solid var(--color-dark);
    padding: 0.6rem 1.2rem;
    transition: var(--transition-smooth);
}

.cta-link::after {
    display: none;
}

.cta-link:hover {
    background-color: var(--color-dark);
    color: var(--color-light) !important;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 110;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition-smooth);
}

/* 1. Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 4% 80px 4%;
    background-color: var(--color-light);
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr; /* Visually larger hero image grid */
    gap: 5rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-subtitle {
    font-family: var(--font-header);
    font-weight: 700; /* Bold weight */
    color: var(--color-accent);
    letter-spacing: -0.01em; /* Tight condensed tracking */
    font-size: 1.15rem; /* Larger subtitle font size */
    display: block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: clamp(3rem, 6.5vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em; /* Narrower title letter spacing */
    color: var(--color-dark);
    margin-bottom: 2rem;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-dark);
}

.hero-description {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--color-dark);
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1rem;
    padding: 1rem 2rem;
    transition: var(--transition-smooth);
}

.btn-outline {
    border: 1.5px solid var(--color-dark);
    color: var(--color-dark);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 1.5px solid var(--color-light);
    color: var(--color-light);
    background: transparent;
}

.btn-outline-white:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
    transform: translateY(-2px);
}

/* Hero Image Section - Enlarged & Black & White Grayscale */
.hero-visual {
    position: relative;
    width: 100%;
    height: 640px; /* Made larger */
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--color-border);
    filter: grayscale(1) brightness(0.97) contrast(1.05); /* Grayscale styling added */
}

/* 2. Differentiator Section */
.philosophy-section {
    background-color: var(--color-light);
}

.section-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 4rem;
    align-items: start;
}

.phil-accent-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--color-dark); /* Changed from accent gray to deep dark gray */
}

.leading-text {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 700; /* Bolder text style */
}

.philosophy-body {
    max-width: 750px;
}

.philosophy-body + .philosophy-body {
    margin-top: 1.5rem;
    color: rgba(36, 39, 42, 0.85);
}

/* 3. Active Scientific Research - Styled for alternating Dark Background */
.research-section.section-dark {
    padding: 8rem 0;
}

.research-showcase {
    margin-top: 2rem;
}

.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.research-card.card-dark {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3.5rem;
    background: transparent;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.research-card.card-dark:hover {
    border-color: var(--color-light);
}

.research-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.02em;
}

.research-tag.border-white {
    border: 1px solid var(--color-light);
    padding: 2px 10px;
}

.research-card-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.research-description-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.research-stats-grid.border-white-alpha {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2.5rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
}

.research-visual {
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: flex;
}

.research-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.research-img.border-white-alpha {
    border-color: rgba(255, 255, 255, 0.15);
}

/* 4. Applied Work & Case Studies (Perspective Cards) */
.projects-section {
    background-color: var(--color-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.project-card {
    perspective: 1500px;
    height: 520px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: var(--transition-card);
    transform-style: preserve-3d;
}

.project-card.is-flipped .card-inner {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding: 3rem 2.5rem;
    border: 1px solid var(--color-border);
    display: flex;
    transition: border 0.3s ease;
}

.project-card:hover .card-face {
    border-color: var(--color-dark);
}

.card-front {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-light);
}

.card-back {
    background-color: var(--color-dark);
    color: var(--color-light);
    transform: rotateY(180deg);
    border-color: var(--color-dark);
}

.card-content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.project-num {
    font-family: var(--font-header);
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--color-accent-light);
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.project-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.project-role {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent-light);
    display: block;
}

.card-body-section {
    margin: 1.5rem 0;
}

.card-badge {
    display: inline-block;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: -0.02em;
    padding: 2px 10px;
    margin-bottom: 1rem;
}

.design-badge-dark {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(36, 39, 42, 0.45);
    color: var(--color-light);
}

.science-badge {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.project-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-toggle-btn {
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    cursor: pointer;
    text-align: left;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.card-front .card-toggle-btn {
    color: var(--color-light);
}

.card-back .card-toggle-btn {
    color: var(--color-light);
}

.card-toggle-btn:hover {
    transform: translateX(4px);
}

.back-btn:hover {
    transform: translateX(-4px);
}

/* 5. Core Capabilities - Added Line Drawings */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
}

.capability-col {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.capability-col:hover {
    border-top-color: var(--color-dark);
}

.cap-graphic {
    color: var(--color-accent);
    margin-bottom: 2rem;
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
}

.cap-graphic svg {
    width: 100%;
    height: 100%;
    stroke-width: 1px;
}

.capability-col:hover .cap-graphic {
    color: var(--color-dark);
}

.cap-num {
    font-family: var(--font-header);
    font-weight: 300;
    font-size: 2rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.cap-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.cap-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--color-accent);
}

/* 6. Timeline (Experience & Education) - Styled for Alternating Dark Background */
.timeline-section.section-dark {
    padding: 8rem 0;
}

.timeline-layout-grid {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 0.8fr 2.2fr;
    gap: 5rem;
    align-items: start;
    margin-top: 2rem;
}

.timeline-portrait-column {
    width: 100%;
    position: sticky;
    top: 120px;
}

.portrait-img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    filter: grayscale(1) contrast(1.05) brightness(0.98);
    transition: var(--transition-smooth);
}

.portrait-img:hover {
    filter: grayscale(0) contrast(1);
}

.timeline-wrap {
    width: 100%;
}

.timeline-item.border-white-alpha {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    align-items: start;
}

.timeline-item.border-white-alpha:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.time-year {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.time-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.time-sub {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.time-desc {
    font-size: 1rem;
    line-height: 1.65;
}

.education-item .time-title {
    margin-top: 1rem;
}

.education-item .time-title:first-child {
    margin-top: 0;
}

.mt-2 {
    margin-top: 2rem !important;
}

/* 7. Call to Action (Form-based contact submission) */
.contact-section {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 10rem 4%;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-subtitle {
    font-family: var(--font-header);
    font-weight: 300;
    color: var(--color-accent-light);
    letter-spacing: -0.02em;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2rem;
}

.contact-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 2rem;
}

.contact-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 4rem;
    color: var(--color-light-gray);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    gap: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 4rem;
}

/* Form Styles */
.contact-form {
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
}

.form-label {
    font-family: var(--font-header);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent-light);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--color-light);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.8rem 0;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    border-bottom-color: var(--color-light);
}

.form-textarea {
    resize: none;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-info {
    margin-bottom: 3rem;
}

.sidebar-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-accent-light);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* REACH OUT FOR callout text - bold, white, side border, visible CTA */
.sidebar-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.35rem; /* Larger */
    line-height: 1.45;
    color: var(--color-light) !important; /* Pure white contrast */
    border-left: 2.5px solid var(--color-accent-light); /* Technical vertical line */
    padding-left: 1.5rem;
    margin-top: 1rem;
    letter-spacing: -0.015em;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--color-accent-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-light);
}

/* Footer */
.site-footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.4);
    padding: 3rem 4%;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .research-visual {
        min-height: 350px;
    }
    
    .timeline-layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-portrait-column {
        position: relative;
        top: 0;
        max-width: 300px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-border {
        padding: 5rem 0;
    }
    
    /* Mobile Menu */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-light);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
        z-index: 99;
    }
    
    .nav-menu.is-active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    /* Mobile Toggle Active State */
    .mobile-nav-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.is-active .bar:nth-child(2) {
        transform: scaleX(0);
    }
    
    .mobile-nav-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        height: 480px;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-item.border-white-alpha {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .time-year {
        font-size: 1.25rem;
    }
    
    .research-card.card-dark {
        padding: 2rem;
    }
    
    .research-stats-grid.border-white-alpha {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-top: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
