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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}

header {
    min-height: 100vh;
    background: #f3efe7;
    padding: 30px 8%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #222;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    max-width: 900px;
    margin-top: 160px;
}

.intro {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(55px, 10vw, 110px);
    line-height: 0.95;
    margin-bottom: 30px;
}

.description {
    max-width: 550px;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.button {
    display: inline-block;
    background: #222;
    color: white;
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 30px;
}

.section-intro {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 50px;
}

section {
    padding: 120px 8%;
}

section h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

#about p {
    max-width: 750px;
    font-size: 24px;
    line-height: 1.6;
}

#work {
    background: #222;
    color: white;
}

.projects {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

#msc {
    background: white;
    color: #222;
}

#msc .project-card {
    color: white;
}

.project-card {
    background: #333;
    padding: 40px;
    flex: 1;
    min-height: 250px;
    border-radius: 15px;
}
.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

.project-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.project-link .project-card {
    height: 100%;
}

#contact {
    text-align: center;
}

.subpage-header {
    min-height: 70vh;
    background: #f3efe7;
    padding: 30px 8%;
}

.subpage-hero {
    max-width: 900px;
    margin-top: 120px;
}

.subpage-hero h1 {
    font-size: clamp(55px, 8vw, 110px);
    line-height: 0.95;
    margin-bottom: 30px;
}

.portfolio-section {
    background: #222;
    color: white;
}

.msc-introduction {
    background: white;
    color: #222;
}

.msc-introduction h2 {
    max-width: 900px;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.msc-introduction > p:last-child {
    max-width: 750px;
    font-size: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {

    header {
        padding: 25px 6%;
    }

    nav {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 20px;
    }

    .hero {
        margin-top: 80px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .description {
        font-size: 18px;
    }

    section {
        padding: 80px 6%;
    }

    section h2 {
        font-size: 38px;
    }

    .projects {
        flex-direction: column;
    }

    .project-card img {
        height: 300px;
    }

    .campaign-assets {
    flex-direction: column;
    gap: 50px;
    }

    .campaign-asset {
    width: 100%;
    }

}

.tv-skills {
    background: #f3efe7;
    color: #222;
}

.tv-skills h2 {
    font-size: 48px;
    margin-bottom: 40px;
}

.tv-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tv-skills-list span {
    border: 1px solid #222;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 18px;
}

.skill {
    position: relative;
}

.skill-description {
    max-width: 900px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ccc;
}

.skill-description h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.skill-description p {
    font-size: 18px;
    line-height: 1.6;
}

.skill.active {
    background: #222;
    color: white;
}

.tv-career {
    background: #222;
    color: white;
    padding: 120px 8%;
}

.tv-career h2 {
    max-width: 850px;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 40px;
}

.tv-career-text {
    max-width: 800px;
}

.tv-career-text p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.selected-credits {
    background: white;
    color: #222;
}

.selected-credits > h2 {
    max-width: 850px;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 60px;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.credit-card {
    min-height: 300px;
    background: #f3efe7;
    padding: 40px;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    cursor: pointer;
    transition: transform 0.3s ease;
}

.credit-card h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.credit-card p {
    font-size: 18px;
}

.credit-card:hover {
    transform: scale(1.02);
}

.credit-card.active {
    background: #222;
    color: white;
}

.credit-info {
    display: none;
    margin-top: 25px;
}

.credit-info p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.credit-card.active .credit-info {
    display: block;
}

.credit-info p:last-child {
    margin-bottom: 0;
}

.credit-info h4 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
}

.credit-info h4:first-child {
    margin-top: 0;
}

footer {
    background: #222;
    color: white;
    padding: 60px 8%;
}

.footer-logo {
    font-size: 28px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 25px;
    margin: 30px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

.portfolio-video {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.msc-project {
    padding: 120px 8%;
}

.msc-project h2 {
    font-size: 48px;
    margin-bottom: 40px;
}

.tfw-project {
    background: #222;
    color: white;
    padding-bottom: 30px;
}

.lean-project {
    background: #f3efe7;
    color: #222;
}

.glow-project {
    background: white;
    color: #222;
}

.msc-project-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.msc-project-text {
    flex: 1;
    max-width: 650px;
}

.msc-project-text h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.msc-project-text p {
    font-size: 20px;
    line-height: 1.7;
}

.case-study-detail {
    margin-top: 35px;
}

.case-study-detail h4 {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.campaign-line {
    margin-top: 20px;
    font-size: 24px !important;
    font-weight: bold;
}

.project-label {
    display: inline-block;
    border: 1px solid currentColor;
    border-radius: 30px;
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.campaign-content {
    margin-top: 80px;
}

.campaign-content > h3 {
    font-size: 36px;
    margin-bottom: 40px;
}

.campaign-assets {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    max-width: 650px;
    margin-top: 40px;
}

.campaign-asset {
    width: 280px;
}

.asset-stage {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.campaign-asset h4 {
    font-size: 26px;
    margin-bottom: 25px;
}

.asset-details {
    margin-top: 25px;
}

.asset-details p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}