        :root {
            --primary-dark: #0d1b2a;
            --secondary-dark: #586172;
            --accent-blue: #415a77;
            --accent-gold: #e0ac69;
            --accent-orange: #f4845f;
            --text-primary: #2c3e50;
            --text-secondary: #5a6c7d;
            --bg-light: #fafbfc;
            --bg-white: #ffffff;
            --border-color: #e1e8ed;
        }

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

        body {
            font-family: 'Crimson Pro', Georgia, serif;
            color: var(--text-primary);
            line-height: 1.7;
            background-color: var(--bg-light);
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        nav.scrolled {
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
        }

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

        .logo {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 1.1rem;
            font-weight: 500;
            color: var(--primary-dark);
            text-decoration: none;
            letter-spacing: 0.05em;
        }

        .logo span {
            color: var(--accent-gold);
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }


        .nav-right {
            display: flex;
            align-items: center;
            gap: 2.5rem;
        }
        .nav-links a {
            font-size: 1rem;
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-gold);
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--accent-gold);
        }

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

        /* Hero Section */
        .hero {
            margin-top: 80px;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 55%, var(--secondary-dark) 100%);
            color: white;
            padding: 8rem 2rem 6rem;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 50%, rgba(244, 132, 95, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(224, 172, 105, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 4rem;
        }

        .hero-content--text-only {
            justify-content: center;
            text-align: center;
        }


        .hero-highlight {
            color: var(--accent-gold);
        }

        .hero-line {
            white-space: nowrap;
        }
        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero h1 {
            font-family: 'Roboto Serif', serif;
            font-size: 3.8rem;
            font-weight: 600;
            font-stretch: condensed;
            line-height: 1.1;
            animation: fadeInUp 0.8s ease;
            text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.457);
        }

        .hero .subtitle {
            font-size: 1.4rem;
            color: rgba(255, 255, 255, 0.85);
            font-weight: 300;
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease 0.2s both;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
        }

        .hero .affiliation {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.95rem;
            color: var(--accent-gold);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            animation: fadeInUp 0.8s ease 0.4s both;
        }

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

        /* Main Content */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        section {
            padding: 5rem 0;
            opacity: 0;
            animation: fadeIn 0.6s ease forwards;
        }

        section:nth-child(even):not(.hero) {
            background: var(--bg-white);
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        h2 {
            font-size: 2.5rem;
            font-weight: 400;
            margin-bottom: 3rem;
            color: var(--primary-dark);
            position: relative;
            padding-bottom: 1rem;
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 3px;
            background: var(--accent-gold);
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 4rem;
            align-items: start;
        }

        .about-text {
            font-size: 1.15rem;
            line-height: 1.8;
        }

        .about-text p {
            margin-bottom: 1.5rem;
        }

        .mission-box {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 55%, var(--secondary-dark) 100%);
            color: white;
            padding: 2.5rem;
            border-radius: 2px;
            position: relative;
            overflow: hidden;
        }

        .mission-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--accent-gold);
        }

        .mission-box h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: 400;
            letter-spacing: 0.05em;
        }

        .mission-box p {
            font-size: 1rem;
            line-height: 1.6;
            opacity: 0.9;
        }

        /* Why Now Section */
        .why-now-content {
            max-width: 900px;
        }

        .why-now-content p {
            font-size: 1.15rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .why-now-content h3 {
            font-size: 1.15rem;
            font-weight: 600;
            margin: 2.5rem 0 1.5rem;
            color: var(--primary-dark);
            position: relative;
            padding-bottom: 0.75rem;
        }

        .why-now-content h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 3px;
            background: var(--accent-gold);
        }

        /* Focus Areas */
        .focus-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .focus-item {
            background: var(--bg-white);
            padding: 2rem;
            border: 1px solid var(--border-color);
            border-left: 4px solid var(--accent-blue);
            transition: all 0.3s ease;
        }

        .focus-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .focus-item h3 {
            font-size: 1.3rem;
            margin-bottom: 0.75rem;
            color: var(--primary-dark);
            font-weight: 600;
        }

        .focus-item p {
            font-size: 1rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Research Areas */
        .research-areas {
            display: grid;
            gap: 3rem;
            margin-top: 2rem;
        }

        .research-area {
            background: var(--bg-white);
            padding: 2.5rem;
            border: 1px solid var(--border-color);
            position: relative;
        }

        .research-area::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--accent-gold);
        }

        .research-area h3 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
            font-weight: 600;
        }

        .research-area p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.25rem;
            color: var(--text-primary);
        }

        .research-area ul {
            margin-left: 1.5rem;
            margin-bottom: 1.25rem;
        }

        .research-area li {
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 0.75rem;
            color: var(--text-secondary);
        }

        /* Team Section */
        .team-member {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            background: var(--bg-white);
            padding: 3rem;
            border: 1px solid var(--border-color);
            transition: all 0.5s ease;
            opacity: 0;
            visibility: hidden;
            transform: translateX(50px);
        }

        .team-member::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--accent-gold);
        }

        .team-member h3 {
            font-size: 1.4rem;
            margin-bottom: 0.5rem;
            color: var(--primary-dark);
            font-weight: 600;
        }

        .team-member .role {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.85rem;
            color: var(--accent-blue);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1rem;
        }

        .team-member .bio {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Facilities */
        .facilities-group + .facilities-group {
            margin-top: 5rem;
        }

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

        .facility {
            background: var(--bg-white);
            padding: 2rem;
            border: 1px solid var(--border-color);
            border-left: 4px solid var(--accent-blue);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .facility:hover {
            transform: scale(1.03);
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
        }

        .facility h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-dark);
            font-weight: 600;
            position: relative;
            padding-bottom: 0.75rem;
        }

        .facility h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent-gold);
        }

        .facility h4 {
            font-size: 1.2rem;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
            color: var(--primary-dark);
            font-weight: 600;
        }

        .facility p {
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }

        .facility ul {
            margin-left: 1.5rem;
            margin-bottom: 1rem;
        }

        .facility li {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 0.5rem;
            color: var(--text-secondary);
        }

        /* Alert Box */
        .alert-box {
            background: linear-gradient(135deg, #1a2942, #0a1628);
            color: white;
            padding: 2.5rem;
            border-radius: 2px;
            margin: 3rem 0;
            border-left: 5px solid var(--accent-orange);
            display: flex;
            align-items: flex-start;
            gap: 2rem;
        }

        .alert-box-image {
            width: 110px;
            flex-shrink: 0;
            border-radius: 2px;
        }

        .alert-box-body {
            flex: 1;
        }

        .alert-box h3 {
            color: var(--accent-gold);
            font-size: 1.5rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .alert-box p {
            font-size: 1.1rem;
            line-height: 1.7;
            opacity: 0.95;
        }

        .alert-box a {
            color: var(--accent-gold);
        }

        /* Footer */
        footer {
            background: var(--primary-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 3rem 0 2rem;
            margin-top: 5rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            gap: 3rem;
        }
        
        .footer-content .footer-section:last-child {
            text-align: right;
        }

        .footer-section h3 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 1rem;
            font-weight: 400;
        }

        .footer-section p,
        .footer-section a {
            font-size: 0.95rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
        }

        .footer-section a:hover {
            color: var(--accent-gold);
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.75rem;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 2rem auto 0;
            padding: 2rem 2rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

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

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

            .hero .subtitle {
                font-size: 1.2rem;
            }

            .about-content {
                grid-template-columns: 1fr;
            }

            .team-member {
                padding: 2rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            section {
                padding: 3rem 0;
            }

            h2 {
                font-size: 2rem;
            }
        }

        /* Smooth scroll */
        html {
            font-size: 17px;
            scroll-behavior: smooth;
        }

        .nav-mit-logo {
            height: 21px;
            width: auto;
            max-height: 21px;
            max-width: 80px;
            display: block;
            object-fit: contain;
            opacity: 0.8;
            transition: opacity 0.3s ease;
            flex-shrink: 0;
        }
        .nav-mit-logo:hover {
            opacity: 1;
        }

        /* Team page fix: keep member cards in the grid layout, not carousel mode */
        #team .team-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2.5rem;
            margin-top: 2rem;
        }

        #team .team-member {
            position: relative;
            top: auto;
            left: auto;
            width: auto;
            opacity: 1;
            visibility: visible;
            transform: none;
            padding: 2rem;
        }

        #team .team-member::before {
            width: 4px;
            height: 0;
            transition: height 0.3s ease;
        }

        #team .team-member:hover::before {
            height: 100%;
        }

        @media (max-width: 768px) {
            #team .team-grid {
                grid-template-columns: 1fr;
            }
        }
