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

        :root {
            /* Color palette inspired by alma maters */
            --primary-blue: #002959; /* Average of UC Berkeley #003262 and Rice #00205B */
		    --link-blue: #1E3A8A;     /* A brighter blue from the hero gradient */
            --accent-gold: #FFD200; /* St. Mark's gold */
            --secondary-gray: #8B9096; /* Soft gray from Rice palette */
            --light-gray: #F5F6F7;
            --dark-gray: #4A5568;
            --white: #FFFFFF;
            --text-primary: #2D3748;
            --text-secondary: #4A5568;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--white);
        }

        /* Navigation */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

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

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

        .nav-links a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 1.1rem;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary-blue);
            background-color: rgba(0, 41, 89, 0.05);
        }

        .nav-links a.active {
            color: var(--primary-blue);
            border-bottom: 2px solid var(--accent-gold);
        }

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

        /* Sections */
        .section {
            min-height: 100vh;
            padding: 6rem 0 4rem;
            display: flex;
            align-items: center;
        }

        .section-content {
            width: 100%;
        }

		.section-content a {
			color: var(--link-blue);
			font-weight: 500;
			text-decoration: none; /* Underline is removed from the default state */
			transition: color 0.2s ease-in-out;
		}
		
		.section-content a:hover {
			text-decoration: underline; /* Underline appears on hover */
		}

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
            color: var(--white);
            text-align: center;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .hero .title {
            font-size: 1.3rem;
            color: var(--accent-gold);
            margin-bottom: 2rem;
            font-weight: 500;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto 2rem;
            line-height: 1.7;
            opacity: 0.9;
        }

		.headshot {
			width: 160px;
			height: 160px;
			border-radius: 50%;                 /* This makes the image circular */
			object-fit: cover;                  /* This prevents the image from being distorted */
			margin-bottom: 1.5rem;              /* Adds space between the image and your name */
			border: 4px solid var(--accent-gold); /* Creates a border using your palette's gold */
			box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for depth */
		}

        .cta-button {
            display: inline-block;
            background: var(--accent-gold);
            color: var(--primary-blue);
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
        }

        /* About Section */
        .about {
            background-color: var(--light-gray);
        }

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

        .about-text h2 {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .about-text p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
        }

        .expertise-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .expertise-item {
            background: var(--white);
            padding: 1.5rem;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-left: 4px solid var(--accent-gold);
        }

        .expertise-item h3 {
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .about-sidebar {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .education-item {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .education-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .education-item h4 {
            color: var(--primary-blue);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .education-item p {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        /* Publications Section */
        .publications {
            background-color: var(--white);
        }

        .publications h2 {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 2rem;
            text-align: center;
        }

        .pub-categories {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-top: 2rem;
        }

        .pub-category {
            background: var(--light-gray);
            padding: 2rem;
            border-radius: 12px;
            border-top: 4px solid var(--accent-gold);
        }

        .pub-category h3 {
            color: var(--primary-blue);
            margin-bottom: 1rem;
            font-size: 1.4rem;
        }

        .pub-item {
            margin-bottom: 1rem;
            padding: 1rem;
            background: var(--white);
            border-radius: 8px;
            border-left: 3px solid var(--secondary-gray);
        }

        .pub-item:last-child {
            margin-bottom: 0;
        }

        .pub-item h4 {
            color: var(--primary-blue);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .pub-item h5 {
            color: var(--text-secondary);
            font-size: 0.95rem; /* Smaller font size */
            font-weight: normal; /* Not bold */
            margin-top: 0.2rem; /* Small top margin for separation from h4 */
            margin-bottom: 0.5rem; /* Adjust as needed */
        }
        
        .pub-item p {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        /* CV Section */
        .cv {
            background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
            color: var(--white);
            text-align: center;
        }

        .cv h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: var(--white);
        }

        .cv p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }
		
		#cv.section {
			padding-top: 4rem;
		}
		
        .cv-button {
            display: inline-block;
            background: var(--accent-gold);
            color: var(--primary-blue);
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        }

        .cv-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
        }

        /* Footer */
        .footer {
            background-color: var(--dark-gray);
            color: var(--white);
            text-align: center;
            padding: 2rem 0;
        }

        .footer p {
            opacity: 0.8;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-links {
                gap: 1rem;
            }

            .nav-links a {
                font-size: 1rem;
                padding: 0.4rem 0.8rem;
            }

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

            .expertise-grid {
                grid-template-columns: 1fr;
            }

            .pub-categories {
                grid-template-columns: 1fr;
            }

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

            .hero .title {
                font-size: 1.1rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .container {
                padding: 0 1rem;
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Animation for sections */
        .section {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }