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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.logo {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.5s forwards;
}

.main-content {
    opacity: 1;
}

.nav {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 2.5s forwards;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
}

.logo {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
}

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

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.7;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 2rem;
}

.hero {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
}

.hero-content h1 {
    font-family: "Times New Roman", TimesNewRoman, Times, Baskerville, Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    height: 10.5rem;
    letter-spacing: -0.105rem;
    line-height: 3.5rem;
    margin-bottom: 2rem;
    opacity: 0;
}

/* Hero text blur-to-focus animation */
.word-blur {
    filter: blur(8px);
    opacity: 0.3;
    transition: filter 0.8s ease-out, opacity 0.8s ease-out;
    display: inline-block;
}

.word-focus {
    filter: blur(0px);
    opacity: 1;
}

/* Large breakpoint - limit hero text width to 75% */
@media (min-width: 1024px) {
    .hero-content h1 {
        width: 75%;
    }
}

/* DISCO link styling */
.disco-link {
    color: #fff;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.disco-link:hover {
    text-decoration: underline;
}

.disco-link:hover .word-blur,
.disco-link:hover .word-focus {
    text-decoration: underline;
}

.hero-content p {
    font-size: 1.125rem;
    font-weight: 300;
    opacity: 0.8;
}

/* Section spacing */
.section {
    padding: 4rem 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1.5rem 1.5rem;
    }

    .nav {
        gap: 1.5rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .main-content {
        padding: 6rem 1.5rem 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
        height: auto;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 1rem 1rem;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .nav {
        gap: 0.75rem;
    }

    .nav a {
        font-size: 0.8rem;
    }

    .logo {
        font-size: 0.8rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .main-content {
        padding: 5rem 1rem 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 2.2rem;
        height: auto;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}


.section h2 {
    font-family: "Times New Roman", TimesNewRoman, Times, Baskerville, Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.105rem;
    line-height: 3.5rem;
    margin-bottom: 2rem;
}

.section p {
    font-size: 0.8125rem;
    opacity: 1;
}

/* Work section */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
}

.work-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}

.work-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

.work-image.placeholder {
    background-color: #333;
    color: #fff;
    font-family: "Aktiv Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

.work-image.placeholder span {
    text-align: center;
}

.work-content h3 {
    font-family: "Aktiv Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    color: #fff;
}

.work-content p {
    font-family: "Aktiv Grotesk", sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #fff;
}

/* Embark project specific styling */
.embark-video-container {
    background-color: white;
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* About section */
#about {
    background-color: #000;
}

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

.about-column-3 {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: flex-start;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-image: url('images/profile-photo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.linkedin-section .linkedin-link {
    font-family: "Aktiv Grotesk", sans-serif;
    font-size: 0.875rem;
    color: #fff;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.linkedin-section .linkedin-link:hover {
    text-decoration: underline;
}

.about-text p {
    font-family: "Aktiv Grotesk", sans-serif;
    font-size: 0.8125rem !important;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    color: rgb(255, 255, 255);
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sidebar-section h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    opacity: 0.8;
}

.sidebar-section ul {
    list-style: none;
    padding: 0;
}

.sidebar-section li {
    margin-bottom: 0.25rem;
    opacity: 0.7;
    font-size: 0.8125rem;
    line-height: 1.2;
}

.sidebar-section a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sidebar-section a:hover {
    opacity: 1;
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-column-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .about-right .avatar {
        flex-shrink: 0;
    }
}

/* LinkedIn link styling */
.linkedin-link {
    color: #0077b5;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.linkedin-link:hover {
    opacity: 0.7;
}

/* Life section */
#life {
    background-color: #000;
}

.personal-container {
    width: 100%;
    margin: 0 auto;
}

.personal-content h2 {
    font-family: "Times New Roman", TimesNewRoman, Times, Baskerville, Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.105rem;
    line-height: 3.5rem;
    margin-bottom: 2rem;
}

.personal-content > p {
    font-family: "Aktiv Grotesk", sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #fff;
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.life-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .life-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .personal-content h2 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .life-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}
