/* ============================================
   VARIABLES & RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Monochromatic professional palette */
    --black: #0a0a0a;
    --near-black: #1a1a1a;
    --dark-gray: #2a2a2a;
    --mid-gray: #666666;
    --gray: #999999;
    --light-gray: #d4d4d4;
    --lighter-gray: #e8e8e8;
    --off-white: #f5f5f5;
    --white: #ffffff;

    /* Single sophisticated accent */
    --accent: #2563eb; /* Professional blue */
    --accent-hover: #1d4ed8;
    --accent-light: #dbeafe;
    --accent-subtle: rgba(37, 99, 235, 0.08);

    /* Professional shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 4px 16px rgba(37, 99, 235, 0.15);
}

body {
    font-family: 'Source Sans 3', -apple-system, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--lighter-gray);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

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

nav .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
}

nav .logo:hover {
    color: var(--accent);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle svg {
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover svg {
    stroke: var(--accent);
}

.mobile-menu-toggle .close-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mobile-menu-toggle.active .menu-icon {
    display: none;
}

.mobile-menu-toggle.active .close-icon {
    display: block;
}

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

nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}


nav a:hover,
nav a.active {
    color: var(--accent);
    background: var(--accent-subtle);
    transform: translateY(-1px);
}

/* ============================================
   VIEW SYSTEM
   ============================================ */
.view-content {
    display: none;
}

.view-content.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 5.5rem;
    line-height: 1.15;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--black);
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--near-black);
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--near-black);
}

h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8rem 4rem;
}

.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    padding: 8rem 0;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 80px;
    position: relative;
}

.hero-section > div,
.hero-section .hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    padding-bottom: 0.5rem;
}


/* ============================================
   LANDING PAGE
   ============================================ */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1.15;
    margin-bottom: 2rem;
}

/* Question page titles (WHY, WHEN, WHO, WHAT) */
.hero-title {
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.highlight-text {
    position: relative;
    display: inline-block;
    color: var(--black);
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: -8px;
    right: -8px;
    height: 16px;
    background: var(--accent-light);
    z-index: -1;
    border-radius: 4px;
}

.landing-intro {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    line-height: 1.8;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 3rem;
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
}

.landing-cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.primary-cta,
.secondary-cta {
    padding: 1.2rem 2.5rem;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.primary-cta {
    background: var(--black);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.primary-cta:hover::before {
    left: 100%;
}

.primary-cta:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.secondary-cta {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
    box-shadow: var(--shadow-sm);
}

.secondary-cta:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.explore-section {
    background: var(--white);
    padding: 8rem 4rem;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .explore-section {
        padding: 4rem 2rem;
    }

    .explore-section h2 {
        font-size: 2rem;
    }
}

.explore-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.view-selector {
    display: grid;
    grid-template-columns: 1fr; /* mobile: single column */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tablet: two columns */
@media (min-width: 768px) {
    .view-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: four columns */
@media (min-width: 1100px) {
    .view-selector {
        grid-template-columns: repeat(4, 1fr);
    }
}

.view-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--lighter-gray);
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}


.view-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--light-gray);
}

.view-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.view-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.view-card .time {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.view-card p {
    margin: 0;
}

/* ============================================
   CHAPTERS (WHY VIEW)
   ============================================ */
.chapter {
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.chapter-number {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.insight-box {
    background: var(--off-white);
    padding: 1.75rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.insight-box p {
    margin: 0;
    font-weight: 600;
    color: var(--black);
    line-height: 1.5;
}

/* Reduce callout dominance on narrow screens */
@media (max-width: 768px) {
    .insight-box {
        margin: 1.5rem 0;
        padding: 1rem 1rem;
        border-left-width: 5px;
    }
}

/* Improve list alignment inside sections */
section ul,
section ol {
    max-width: 900px;
    margin: 1rem 0 1rem 0;
    padding-left: 1.25rem;
}

/* Keep bullets visually aligned and not flush-left */
section li {
    margin-bottom: 0.6rem;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.project-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--lighter-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--light-gray);
}

.project-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.tag {
    padding: 0.5rem 1.2rem;
    background: var(--white);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--light-gray);
}

/* ============================================
   EXPANDABLE CONTENT
   ============================================ */
.expand-btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Source Sans 3', sans-serif;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.expand-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.expand-btn:hover::before {
    left: 100%;
}

.expand-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.expand-btn .btn-icon {
    transition: transform 0.3s ease;
}

.expand-btn.active .btn-icon {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.expandable-content.open {
    max-height: 5000px;
    margin-top: 2rem;
}

/* ============================================
   FEMMES DETAILS FORMATTING
   ============================================ */
.femmes-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: 12px;
}

.femmes-section h4 {
    margin-bottom: 1.5rem;
    color: var(--black);
    font-size: 1.3rem;
}

.femmes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.femmes-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(91, 140, 196, 0.1);
    line-height: 1.6;
    color: var(--gray);
}

.femmes-list li:last-child {
    border-bottom: none;
}

.femmes-list strong {
    color: var(--black);
    font-weight: 600;
}

.femmes-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.femmes-gallery .gallery-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.femmes-gallery .gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.femmes-gallery .gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1rem;
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
    text-align: center;
}

/* Responsive adjustments for FEMMES section */
@media (max-width: 1024px) {
    .femmes-details-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .femmes-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .femmes-details-wrapper {
        padding: 1.5rem;
    }
    
    .femmes-gallery {
        grid-template-columns: 1fr;
    }
    
    .femmes-gallery .gallery-item img {
        height: 200px;
    }
}

/* ============================================
   TECHNICAL PROJECTS GRID
   ============================================ */
.tech-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tech-project-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.tech-project-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.tech-project-item h4 {
    margin-bottom: 0.5rem;
    color: var(--black);
}

.tech-stack {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.tech-project-item p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tech-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-link:hover {
    color: var(--black);
    transform: translateX(5px);
}

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

/* ============================================
   CLINICAL WORK GRID
   ============================================ */
.clinical-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.clinical-item {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    border-left: 4px solid var(--accent-soft);
    transition: all 0.3s ease;
}

.clinical-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-left-color: var(--accent);
}

.clinical-item.presentation {
    border-left-color: #6b9bd1;
}

.clinical-item.journal-club {
    border-left-color: #7fbf9f;
}

.clinical-item.publication {
    border-left-color: #a98fb8;
}

.clinical-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--black);
    line-height: 1.4;
}

.pub-meta {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.authors {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
    font-style: italic;
}

.clinical-item p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.clinical-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clinical-link:hover {
    color: var(--black);
    transform: translateX(5px);
}

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

@media (max-width: 768px) {
    .clinical-grid {
        grid-template-columns: 1fr;
    }
    
    .clinical-item {
        padding: 1.5rem;
    }
}


/* ============================================
   HORIZONTAL SCROLLING
   ============================================ */
.scroll-hint {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Podcast Episodes */
.podcast-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0 1.5rem 0;
    scroll-behavior: smooth;
}

.podcast-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.podcast-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-2);
    border-radius: 4px;
}

.podcast-episode-card {
    flex: 0 0 280px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.podcast-episode-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.podcast-episode-card .episode-thumbnail {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.podcast-episode-card .episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-episode-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.podcast-episode-card .episode-meta {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
}

.podcast-episode-card .episode-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.podcast-episode-card audio {
    width: 100%;
}

/* Yearbook Spreads */
.yearbook-scroll-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0 1.5rem 0;
    scroll-behavior: smooth;
}

.yearbook-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.yearbook-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 4px;
}

.yearbook-spread {
    flex: 0 0 280px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    background: var(--white);
    transition: all 0.3s ease;
}

.yearbook-spread:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.yearbook-spread img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.yearbook-spread .spread-caption {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* ============================================
   PROJECT NAVIGATION (WHY → WHAT)
   ============================================ */
.project-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.project-nav-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    text-decoration: none;
    color: var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.project-nav-card .nav-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-nav-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.project-nav-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-nav-card .nav-arrow {
    color: var(--accent);
    font-weight: 600;
    transition: transform 0.3s ease;
}

.project-nav-card:hover .nav-arrow {
    transform: translateX(5px);
}

/* ============================================
   VIDEO
   ============================================ */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.presentation-details {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--light-gray);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 30px;
    max-width: 80%;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--accent);
}

.lightbox-nav.prev {
    left: 2rem;
}

.lightbox-nav.next {
    right: 2rem;
}

/* ============================================
   PROGRESS INDICATOR
   ============================================ */
.progress-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: none;
}

.progress-indicator.active {
    display: block;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-gray);
    margin: 1.2rem 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--accent);
    transform: scale(1.5);
}

.progress-label {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--gray);
    white-space: nowrap;
    opacity: 0;
    background: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.progress-dot:hover .progress-label {
    opacity: 1;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 4rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-gray);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4.5rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* ============================================
   ABOUT (WHO VIEW)
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 0;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--light-gray) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.drives-section {
    padding-top: 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.principle-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--lighter-gray);
}

.principle-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--light-gray);
}

.principle-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--near-black);
}

.principle-card .expand-btn {
    width: 100%;
    justify-content: space-between;
}

.principle-card .expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.principle-card .expandable-content.active {
    max-height: 600px;
    margin-top: 1.5rem;
}

/* ============================================
   EXPLORATION & TRANSLATION CARDS
   ============================================ */
/* Two-column layout for What I'm exploring / How I can contribute */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.two-column-grid .column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.exploration-card,
.translation-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--lighter-gray);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.exploration-card:hover,
.translation-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--light-gray);
}

.exploration-card h4,
.translation-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--near-black);
}

.exploration-card .expand-btn,
.translation-card .expand-btn {
    width: 100%;
    justify-content: space-between;
}

.exploration-card .expandable-content,
.translation-card .expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.exploration-card .expandable-content.active,
.translation-card .expandable-content.active {
    max-height: 500px;
    margin-top: 1.5rem;
}

/* Responsive: Stack on mobile */
@media (max-width: 850px) {
    .two-column-grid {
        grid-template-columns: 1fr;
    }

    .exploration-grid,
    .translation-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
    background: var(--black);
    color: var(--white);
    border-radius: 16px;
    padding: 8rem 4rem;
    text-align: center;
    margin: 4rem auto;
    max-width: 1300px;
    box-shadow: var(--shadow-xl);
    position: relative;
}


.contact-section h2 {
    color: var(--white);
}

.contact-section p {
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-link {
    padding: 1rem 2rem;
    color: var(--white);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 3rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-item::before {
        left: -3.75rem;
    }

    .yearbook-spread {
        flex: 0 0 350px;
    }

    .yearbook-spread img {
        height: 220px;
    }
}

@media (max-width: 850px) {
    nav {
        padding: 1rem 0;
    }

    nav.scrolled {
        padding: 0.75rem 0;
    }

    nav .container {
        padding: 0 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    nav .logo {
        font-size: 1.25rem;
        line-height: 1.2;
        font-weight: 700;
    }

    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide navigation by default on mobile */
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 6rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    /* Show navigation when active */
    nav ul.mobile-menu-active {
        right: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--lighter-gray);
    }

    nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
        border-radius: 0;
        width: 100%;
    }

    nav a:hover,
    nav a.active {
        background: transparent;
        transform: translateY(0);
        padding-left: 1rem;
    }

    section {
        padding: 4rem 2rem;
    }

    .hero-section {
        margin-top: 120px;
        padding: 4rem 2rem;
        min-height: 50vh;
    }

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

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

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

    .landing-intro {
        font-size: 1.2rem;
    }

    .landing-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .landing-cta-buttons {
        flex-direction: column;
    }
    
    .view-selector {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .podcast-episode-card {
        flex: 0 0 250px;
    }
    
    .yearbook-spread {
        flex: 0 0 300px;
    }
    
    .yearbook-spread img {
        height: 190px;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline::before {
        left: 0.5rem;
    }

    .timeline-item {
        padding-left: 1rem;
    }

    .timeline-item::before {
        left: -1.25rem;
        width: 12px;
        height: 12px;
    }

    .timeline-date {
        font-size: 1.1rem;
    }

    .progress-indicator {
        display: none !important;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-nav,
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .contact-section {
        padding: 4rem 2rem;
        margin: 2rem 1rem;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .project-nav-grid {
        grid-template-columns: 1fr;
    }

    .view-card h3 {
        font-size: 1.3rem;
    }
}