/* ========================================
   COLOR PALETTE & VARIABLES - BAUHAUS
   ======================================== */
:root {
    --cream: #F9F6F0;
    --charcoal: #2B2B2B;
    --bauhaus-red: #D93025;
    --bauhaus-blue: #2B5FCC;
    --bauhaus-yellow: #F9C513;
    --light-gray: #E8E6E3;
    --white: #FFFFFF;
    --black: #000000;

    --serif: 'Archivo Black', sans-serif;
    --sans: 'Work Sans', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========================================
   CUSTOM CURSOR - REMOVED FOR BAUHAUS
   ======================================== */
.custom-cursor,
.cursor-dot {
    display: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 900;
    line-height: 1.2;
}

a {
    color: var(--charcoal);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 5.5rem;
    color: var(--black);
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -2px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::after {
    display: none;
}

.title-accent {
    width: 150px;
    height: 6px;
    background: var(--bauhaus-red);
    border-radius: 0;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 25px 0;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid var(--black);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 0 var(--black);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--bauhaus-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 180px 0 120px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    border: 20px solid var(--bauhaus-red);
    box-shadow: none;
    animation: portraitFloat 8s ease-in-out infinite;
}

@keyframes portraitFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -8px);
    }
    50% {
        transform: translate(-8px, 10px);
    }
    75% {
        transform: translate(8px, 5px);
    }
}

.profile-image:hover {
    animation-play-state: paused;
    transform: scale(1.02);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.profile-image:hover img {
    filter: grayscale(80%);
}

.hero-title {
    font-size: 7rem;
    margin-bottom: 15px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.95;
    color: var(--black);
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--white);
    font-family: var(--sans);
    font-style: normal;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
    padding: 16px 32px;
    background: var(--black);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    transform: rotate(-2deg);
}

.hero-subtitle::before,
.hero-subtitle::after {
    display: none;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
    color: #4A4A4A;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 16px 28px;
    border: 3px solid var(--black);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    position: relative;
    background: var(--white);
    color: var(--white);
}

/* Bauhaus colors for each link */
.social-link:nth-child(1) {
    background: var(--bauhaus-blue);
    border-color: var(--black);
}

.social-link:nth-child(2) {
    background: var(--bauhaus-red);
    border-color: var(--black);
}

.social-link:nth-child(3) {
    background: var(--bauhaus-yellow);
    border-color: var(--black);
    color: var(--black);
}

.social-link:nth-child(4) {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--black);
}

/* ========================================
   DECORATIVE SHAPES - BAUHAUS
   ======================================== */
.decorative-shape {
    position: absolute;
    opacity: 1;
    z-index: 0;
}

.shape-1 {
    width: 250px;
    height: 400px;
    background: var(--bauhaus-blue);
    top: 100px;
    right: -50px;
    border-radius: 0;
}

.shape-1::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--bauhaus-yellow);
    border-radius: 50%;
    top: -50px;
    right: 50px;
}

.shape-2 {
    display: none;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    font-size: 1.3rem;
    line-height: 1.9;
    color: #4A4A4A;
    position: relative;
    padding-left: 20px;
    border-left: 6px solid var(--bauhaus-red);
}

.about-content::before {
    display: none;
}

/* ========================================
   FEATURED WORK
   ======================================== */
.featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    position: relative;
}

.featured-grid::before {
    display: none;
}

.featured-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 4px solid var(--black);
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 var(--black);
}

.featured-card:nth-child(2) {
    margin-top: 40px;
}

.featured-card:nth-child(3) {
    margin-top: -20px;
}

.featured-card.large {
    grid-row: span 2;
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.featured-card.large .card-image {
    height: 400px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card.large .card-image img {
    object-position: center top;
}

/* Alan Cumming cover - show full image */
.featured-card:nth-child(3) .card-image {
    background: var(--white);
}

.featured-card:nth-child(3) .card-image img {
    object-fit: contain;
    object-position: center;
}

.featured-card:hover .card-image img {
    transform: scale(1.08);
}

.card-content {
    padding: 30px;
}

.card-category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
    padding: 8px 16px;
    background: var(--bauhaus-red);
    border-radius: 0;
    position: relative;
}

.card-category::before {
    display: none;
}

.card-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--charcoal);
}

.card-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
}

.read-time {
    font-size: 0.85rem;
    color: var(--charcoal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Publications Showcase Card */
.featured-card.publications-showcase {
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.featured-card.publications-showcase .card-content.full-content {
    padding: 40px;
    width: 100%;
    text-align: center;
}

.featured-card.publications-showcase .card-title {
    color: var(--cream);
    font-size: 2rem;
    margin-bottom: 30px;
}

.publication-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.publication-logos img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.publication-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(0) invert(1);
}

/* Enhanced card styling for more dynamic look */
.featured-card.large .card-image {
    height: 500px;
    position: relative;
}

.featured-card.large .card-image::after {
    display: none;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-decoration: none !important;
}

.featured-card:hover .card-title {
    text-decoration: underline wavy var(--bauhaus-yellow) !important;
    text-underline-offset: 3px !important;
}

.featured-card.large .card-title {
    font-size: 2.5rem;
    line-height: 1.2;
}

/* ========================================
   CLIPS SECTION
   ======================================== */
.clips-section {
    background-color: var(--white);
}

.filter-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    justify-content: center;
}

.tag {
    padding: 10px 24px;
    border: 3px solid var(--black);
    background: var(--white);
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--black);
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--black);
}

.tag.active {
    background: var(--bauhaus-blue);
    border-color: var(--black);
    color: var(--white);
    box-shadow: 5px 5px 0 var(--black);
}

.clips-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.clip-card {
    background: var(--white);
    padding: 20px 25px;
    border-radius: 0;
    border-left: 6px solid var(--bauhaus-red);
    border: 3px solid var(--black);
    border-left-width: 8px;
    border-left-color: var(--bauhaus-red);
    transition: all 0.2s ease;
    position: relative;
    box-shadow: none;
    display: block;
}

.clip-card:hover {
    transform: translateX(4px) translateY(-2px);
    box-shadow: 6px 6px 0 var(--black);
}

.clip-outlet {
    font-size: 0.75rem;
    color: var(--bauhaus-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.clip-title {
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.5;
    text-decoration: none !important;
}

.clip-card:hover .clip-title {
    text-decoration: underline wavy var(--bauhaus-yellow) !important;
    text-underline-offset: 3px !important;
}

.clip-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.clip-date {
    font-size: 0.85rem;
    color: #888;
}

.clip-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background-color: var(--light-gray);
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.skill-tag {
    padding: 16px 32px;
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 0;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    cursor: pointer;
    text-transform: uppercase;
}

.skill-tag::after {
    display: none;
}

.skill-tag:hover {
    background: var(--bauhaus-yellow);
    border-color: var(--black);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--black);
}

/* ========================================
   OTHER PUBLICATIONS SECTION
   ======================================== */
.other-publications-section {
    background: var(--cream);
    padding: 80px 0;
}

.other-pubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pub-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
    border: 3px solid var(--black);
}

.pub-card:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 var(--black);
}

.pub-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--white);
    padding: 20px;
}

.pub-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pub-card:hover .pub-image img {
    transform: scale(1.05);
}

.pub-content {
    padding: 20px;
}

.pub-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.pub-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

.pub-description a {
    color: var(--bauhaus-blue);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

.pub-description a:hover {
    color: var(--bauhaus-red);
    text-decoration: underline;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--bauhaus-red);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: var(--white);
    font-size: 5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-section .section-title::after {
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.5));
}

.contact-text {
    font-size: 1.5rem;
    margin-bottom: 50px;
    opacity: 0.95;
    font-weight: 500;
}

.contact-button {
    display: inline-block;
    padding: 20px 50px;
    background-color: var(--black);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.2s ease;
    border: 3px solid var(--black);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.contact-button:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 var(--black);
    background-color: var(--white);
    color: var(--black);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--black);
    color: var(--cream);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .profile-image {
        margin: 0 auto;
    }

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

    .social-links {
        margin: 0 auto;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .featured-card.large {
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

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

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

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