/* ==================== HERO SECTION ==================== */
.hero-name {
    grid-column: 3 / 9;
    font-family: 'Archivo', sans-serif;
    font-size: clamp(2rem, 6vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: visible;
    max-width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 ratio */
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.7));
    z-index: 1;
}

.hero-info {
    grid-column: 3 / 9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2rem;
}

.hero-role {
    font-family: 'Archivo', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-pronouns {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #888;
    border-left: 3px solid #888;
    padding-left: 1rem;
}

.hero-disciplines {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #aaa;
}

/* ==================== WORK SECTION ==================== */
.work {
    padding: 6rem 0 0;
    position: relative;
    min-height: 100vh;
}

.work-list {
    max-width: 1800px;
    margin: 0 auto;
}

.work-header {
    padding: 0 3rem 2rem;
    text-align: center;
}

.work-filters {
    padding: 0 3rem 4rem;
    display: flex;
    justify-content: center;
}

.filter-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.filter-tag:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.filter-tag.active {
    background: linear-gradient(135deg, var(--color-1), var(--color-2));
    border-color: transparent;
    color: #ffffff;
    font-weight: 700;
}

.filter-tag.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.work-container {
    display: grid;
    grid-template-columns: 500px 1fr;
    min-height: 100vh;
    margin: 0 3rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== WORK INDEX ==================== */
.work-index {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-radius: 12px 0 0 12px;
}

.project-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1rem;
    margin-right: -1rem;
    position: relative;
}

.work-index::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(8, 8, 12, 0.95));
    pointer-events: none;
    z-index: 10;
}

.project-link {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.project-link[style*="display: none"] {
    display: none !important;
}

.project-link:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-link:hover {
    padding-left: 1rem;
}

.project-link.active {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.project-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-1), var(--color-2));
}

.project-link-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.project-link-title {
    font-family: 'Archivo', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.project-link-category {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==================== WORK DISPLAY ==================== */
.work-display {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: #000000;
    border-radius: 0 12px 12px 0;
}

.project-display-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.project-display-item.active {
    opacity: 1;
    z-index: 1;
}

.project-display-content {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-display-image {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: visible;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.project-display-image-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-width: 100%;
    max-height: 100%;
    transform: scale(1);
    transition: transform 0.8s ease;
}

.project-display-item.active .project-display-image-bg {
    transform: scale(1.02);
}

.project-display-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-display-description {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1rem, 1.75vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    word-break: break-word;
    hyphens: auto;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 8rem 0;
}

.about-container {
    max-width: none;
    margin: 0 3rem;
    padding: 4rem 3rem;
}

.about .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
}

.about-photo {
    grid-column: 1 / 5;
    position: relative;
}

.about-photo-container {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    position: relative;
}

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

.about-photo-container:empty::after {
    content: 'Photo';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

.about-main {
    grid-column: 5 / 10;
}

.about-text {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 2rem;
    word-break: break-word;
    hyphens: auto;
}

.about-sidebar {
    grid-column: 10 / 13;
}

.about-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.about-list {
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #aaa;
}

.about-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 3rem 0;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 8rem 0;
}

.contact-container {
    max-width: none;
    margin: 0 3rem;
    text-align: center;
    padding: 6rem 3rem;
}

.contact-email {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.5rem, 4vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: visible;
    max-width: 100%;
}

.contact-email:hover {
    color: var(--color-1);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.contact-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-links a:hover {
    color: #ffffff;
}

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

    .hero-name {
        grid-column: 1;
        font-size: clamp(2rem, 8vw, 6rem);
    }

    .hero-info {
        grid-column: 1;
        margin-top: 3rem;
    }

    .work-header {
        padding: 0 1.5rem 1.5rem;
    }

    .work-filters {
        padding: 0 1.5rem 3rem;
    }

    .filter-tags {
        gap: 0.6rem;
    }

    .filter-tag {
        font-size: 0.7rem;
        padding: 0.6rem 1.2rem;
    }

    .work-container {
        grid-template-columns: 1fr;
        margin: 0 1.5rem;
    }

    .work-index {
        position: relative;
        height: auto;
        padding: 3rem 2rem;
        border-radius: 12px;
        border-right: none;
        border-bottom: none;
    }

    .work-display {
        display: none;
    }

    .project-display-image {
        height: 400px;
    }

    .project-display-description {
        font-size: 1.1rem;
    }

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

    .about-photo,
    .about-main,
    .about-sidebar {
        grid-column: 1;
    }

    .about-photo {
        margin-bottom: 2rem;
    }

    .about-container {
        margin: 0 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .about-text {
        font-size: 1.5rem;
    }

    .contact-container {
        margin: 0 1.5rem;
        padding: 3rem 1.5rem;
    }
    
    .contact-email {
        font-size: clamp(1.25rem, 5vw, 4rem);
    }
}

@media (max-width: 768px) {
    .hero-name {
        font-size: clamp(2rem, 10vw, 5rem);
    }
    
    .hero-role {
        font-size: 1rem;
    }
    
    .hero-pronouns,
    .hero-disciplines {
        font-size: 0.8rem;
    }
    
    .work {
        padding: 4rem 0 0;
    }
    
    .work-header {
        padding: 0 1rem 1rem;
    }
    
    .work-filters {
        padding: 0 1rem 2rem;
    }
    
    .filter-tag {
        font-size: 0.65rem;
        padding: 0.5rem 1rem;
    }
    
    .work-container {
        margin: 0 1rem;
    }
    
    .work-index {
        padding: 2rem 1rem;
    }
    
    .project-link-title {
        font-size: 1.4rem;
    }
    
    .project-display-image {
        height: 300px;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .about-container {
        margin: 0 1rem;
        padding: 2rem 1rem;
    }
    
    .about .section-header {
        margin-bottom: 2rem;
    }
    
    .about-text {
        font-size: 1.25rem;
    }
    
    .contact {
        padding: 4rem 0;
    }
    
    .contact-container {
        margin: 0 1rem;
        padding: 2rem 1rem;
    }
    
    .contact-email {
        font-size: clamp(1.25rem, 8vw, 3rem);
        word-break: break-word;
    }
    
    .contact-links {
        gap: 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: clamp(1.75rem, 12vw, 4rem);
    }
    
    .hero-info {
        gap: 1.5rem;
    }
    
    .project-link-title {
        font-size: 1.2rem;
    }
    
    .project-display-image {
        height: 250px;
    }
    
    .project-display-description {
        font-size: 1rem;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .contact-email {
        font-size: clamp(1.1rem, 10vw, 2.5rem);
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
}