@font-face {
    font-family: 'Suisse BP Intl';
    src: url('../fonts/Suisse BP Int\'l Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Suisse BP Intl';
    src: url('../fonts/Suisse BP Int\'l Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}


@font-face {
    font-family: 'Suisse BP Intl';
    src: url('../fonts/Suisse BP Int\'l Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Suisse Works';
    src: url('../fonts/SuisseWorks-RegularItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Suisse Works';
    src: url('../fonts/SuisseWorks-Regular.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}



:root {
    --primary-font: 'Suisse BP Intl', sans-serif;
    --antique-font: 'Suisse BP Intl Antique', sans-serif;
    --works-font: 'Suisse Works', serif;
}

body {
    background-color: #000000;
    font-family: var(--primary-font);
}

/* Global Heading Font for Non-Landing Pages */
.mm-page-wrapper h1,
.mm-page-wrapper h2,
.mm-page-wrapper h3,
.mm-page-wrapper h4,
.mm-page-wrapper h5,
.mm-page-wrapper h6 {
    font-family: var(--primary-font);
}

/* Hide theme default header and footer on landing page */
.page-template-page-landing #masthead,
.page-template-page-landing #colophon,
.page-template-page-landing .site-footer,
.page-template-page-landing #mobile-navigation {
    display: none !important;
}

.page-template-page-landing #page {
    margin: 0 !important;
}

/* Base Styles for the Landing Page */
.mm-landing-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 9999;
}

.mm-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mm-carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.mm-carousel-slide.active {
    opacity: 1;
}

.mm-landing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.39);
    z-index: 1;
}

.mm-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100001;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 94px 10px;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease;
}

.mm-header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    /* Space between socials and hamburger */
}

.mm-header-socials {
    display: flex;
    gap: 18px;
    align-items: center;
}

.mm-header-socials a {
    color: #ffffff !important;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.mm-header-socials a svg {
    width: 16px;
    height: 16px;
}

/* IMDb icon needs wider aspect ratio */
.mm-header-socials a[aria-label="IMDB"] svg {
    width: 32px;
    height: 15px;
}

.mm-header-socials a:hover {
    opacity: 1;
}

/* Header style for subpages with white background */
.mm-page-wrapper .mm-header {
    background: #ffffff;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100001;
}

.mm-page-wrapper .mm-header-socials a {
    color: #000000 !important;
}

/* Mobile Socials styling */
.mm-mobile-socials {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mm-mobile-nav.is-active .mm-mobile-socials {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.mm-mobile-socials a {
    color: #ffffff !important;
    display: flex;
    align-items: center;
}

.mm-mobile-socials a svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .mm-header {
        grid-template-columns: 1fr auto !important;
        /* Force 2 columns on mobile */
        padding: 30px 40px !important;
    }

    .mm-desktop-nav {
        display: none !important;
    }

    .mm-header-socials {
        display: none !important;
    }

    /* Fallback for mobile link visibility if GSAP fails */
    .mm-mobile-nav.is-active a {
        opacity: 1 !important;
        transform: translate(0, 0) !important;
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Ensure links are white in mobile menu */
    .mm-mobile-nav a {
        color: #ffffff !important;
    }
}

.mm-page-wrapper .mm-header-logo img {
    filter: invert(1) brightness(0.2);
}

.mm-page-wrapper .mm-nav li a {
    color: #000000;
}

.mm-nav li a {
    position: relative;
}

.mm-nav li a:after {
    content: " ";
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: currentColor;
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.mm-nav li.current-menu-item a:after,
.mm-nav li:hover a:after,
.mm-nav .active a:after {
    width: 100%;
}


.mm-page-wrapper {
    background: #ffffff;
    min-height: 100vh;
}

/* Hide header elements when menu is open */
body.mm-menu-open .mm-header-logo,
body.mm-menu-open .mm-desktop-nav {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.mm-menu-open .mm-header {
    background: transparent !important;
    backdrop-filter: none !important;
}

.mm-header-logo img {
    height: 50px;
    width: auto;
}

.mm-nav {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-nav li a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 400;
    font-family: var(--primary-font);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2.5px;
    opacity: 0.7;
}

.mm-nav li a:hover,
.mm-nav li.current-menu-item a {
    opacity: 1;
}



.mm-center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.mm-center-logo img {
    width: clamp(150px, 13vw, 220px);
    height: auto;
    margin-bottom: 9px;
    opacity: .3;
}

/* Reveal structure */
.mm-reveal-box {
    overflow: hidden;
    display: block;
    width: fit-content;
}

.mm-reveal-item {
    display: block;
    margin: 0 !important;
}

.mm-reveal-box .mm-reveal-item {
    transform: translateY(110%);
}

.mm-name {
    font-family: var(--works-font);
    font-weight: 500;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: 2px;
    color: #ffffff;
    line-height: 162%;
}

.mm-subtitle {
    font-family: var(--primary-font);
    font-weight: 300;
    font-size: clamp(10px, 1.5vw, 13px);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: clamp(2px, 0.5vw, 4px);
    margin: 2px 0 5px 0;
    line-height: 1;
    padding: 0px 0 20px;
}

/* Animated Text Link */
.mm-text-link {
    font-family: var(--primary-font);
    font-weight: 500;
    color: #444;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    display: inline-flex;
    position: relative;
    padding-bottom: 2px;
}

.mm-text-link:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: currentColor;
    bottom: 0px;
    left: 0;
    transition: width 0.3s ease;
}

.mm-text-link:hover {
    color: #000;
}

.mm-text-link:hover:after {
    width: 100%;
}

/* CTA Button with Arrow Animation */
.mm-cta-button {
    font-family: var(--primary-font);
    font-weight: 500;
    background: #fff;
    color: #000;
    padding: 12px 18px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #fff !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    line-height: 1;
    min-width: 160px;
    /* Ensure uniform size where possible */
}

.mm-cta-button span:first-child {
    display: inline-block;
    padding-top: 2px;
    /* Optical centering for uppercase text */
    letter-spacing: 2px;
}

.mm-cta-button:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Page specific color overrides if necessary, but layout stays same */
.mm-page-wrapper {
    color: #000000;
}

.mm-landing-container {
    color: #ffffff;
}

.mm-arrow-container {
    width: 20px;
    height: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mm-arrow {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.mm-arrow svg path {
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

.mm-cta-button svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: scale(0.8);
}

.mm-cta-button .mm-arrow-copy {
    position: absolute;
    top: 100%;
    left: 0;
}

/* --- Mobile Navigation --- */

.mm-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    cursor: pointer;
    z-index: 100001;
    position: relative;
}

.mm-hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mm-page-wrapper .mm-hamburger span {
    background: #000000;
}

.mm-hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
}

.mm-hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.mm-hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
}

/* Always white when active (overlay is black) */
.mm-hamburger.is-active span {
    background: #ffffff !important;
}

.mm-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mm-mobile-nav.is-active {
    transform: translateY(0);
}

.mm-mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mm-mobile-nav li {
    margin: 30px 0;
    overflow: hidden;
}

.mm-mobile-nav a {
    color: #ffffff !important;
    font-family: var(--primary-font);
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    opacity: 0;
    transform: translate(20px, 20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Ensure mobile nav links are visible when menu is active */
.mm-mobile-nav.is-active a {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.mm-mobile-nav.is-active li:nth-child(1) a {
    transition-delay: 0.1s;
}

.mm-mobile-nav.is-active li:nth-child(2) a {
    transition-delay: 0.15s;
}

.mm-mobile-nav.is-active li:nth-child(3) a {
    transition-delay: 0.2s;
}

.mm-mobile-nav.is-active li:nth-child(4) a {
    transition-delay: 0.25s;
}

.mm-mobile-nav.is-active li:nth-child(5) a {
    transition-delay: 0.3s;
}

.mm-mobile-nav.is-active li:nth-child(6) a {
    transition-delay: 0.35s;
}

/* No CSS transform transition for links, we'll use GSAP stagger */
/* We handle this in JS now */

/* --- Secondary Pages (Film, etc.) --- */

.mm-page-content {
    background: #ffffff;
    min-height: 100vh;
    padding: 40px 94px 60px;
    color: #000000;
    line-height: 1.7 !important;
}

.mm-page-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.mm-page-title {
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: clamp(60px, 10vw, 112px);
    color: #000000;
    margin: 0;
    line-height: 0.85;
    letter-spacing: -4px;
    text-transform: none;
}

.mm-title-divider {
    border-top: 1px solid #bababa !important;
    width: 100%;
    margin-top: 10px;
}

.mm-page-title-serif {
    font-family: var(--works-font);
    font-weight: 500;
    font-size: clamp(60px, 10vw, 130px);
    color: #000000;
    margin: 0;
    line-height: 0.85;
    letter-spacing: -4px;
    text-transform: none;
}



.mm-project-row {
    display: flex !important;
    justify-content: space-between !important;
    gap: 80px !important;
    padding: 90px 0 !important;
    align-items: flex-start !important;
    border-top: 1px solid #bababa !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

.mm-project-row:last-child {
    border-bottom: 1px solid #e0e0e0;
}

.mm-project-number {
    font-family: var(--primary-font);
    font-size: 13px;
    color: #242e3d;
    display: inline-block;
    vertical-align: baseline;
    margin-left: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mm-col-left {
    flex: 0 0 58%;
    max-width: 58%;
}

.mm-col-right {
    flex: 0 0 32% !important;
    max-width: 32% !important;
    width: 32% !important;
}

.mm-credits-padding {
    padding-top: 85px;
}

.mm-col-left .mm-project-title {
    font-family: var(--works-font);
    font-weight: 500;
    font-style: italic;
    font-size: clamp(32px, 5vw, 54px);
    letter-spacing: -1px;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    text-transform: none;
    color: #000000;
    /* Enable Ligatures */
    font-variant-ligatures: common-ligatures;
    font-feature-settings: "liga" on, "clig" on;
    text-rendering: optimizeLegibility;
}

.mm-project-credits p {
    margin: 0 !important;
    line-height: 1.7 !important;
    margin-bottom: 2px !important;
}

.mm-project-credits {
    font-family: var(--primary-font);
    font-size: 18px;
    color: #000;
    margin-bottom: 30px;
}

.mm-project-credits strong {
    color: #000000;
    font-weight: 500;
}

.mm-project-media {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #f7f7f7;
    border-radius: 4px;
    overflow: hidden;
    position: relative !important;
    display: block !important;
}

.mm-project-media iframe,
.mm-project-media img,
.mm-project-media video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border: none;
}

/* Animations for project rows - Handled by GSAP, remove CSS transition to prevent conflicts */
.mm-project-row .mm-reveal-item {
    transition: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mm-header {
        padding: 30px 40px !important;
    }

    .mm-page-content {
        padding: 0px 40px 60px !important;
    }

    @media (max-width: 480px) {
        .mm-header {
            padding: 20px 20px !important;
        }

        .mm-page-content {
            padding: 0px 20px 40px !important;
        }
    }

    .mm-page-title,
    .mm-page-title-serif {
        font-size: 60px;
        letter-spacing: -2px;
    }

    .mm-project-title {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .mm-project-row {
        flex-direction: column !important;
        gap: 50px !important;
        padding: 60px 0 !important;
    }

    .mm-col-left,
    .mm-col-right {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .mm-col-right {
        padding-top: 0 !important;
    }

    .mm-desktop-nav {
        display: none !important;
    }

    .mm-hamburger {
        display: flex !important;
    }
}

/* --- Socials & Footer --- */

.mm-landing-socials {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: 50px;
    /* Space underneath main CTA */
}

.mm-landing-socials a {
    color: #ffffff;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.mm-landing-socials a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.mm-footer {
    background: #000000;
    /* Matching the font as requested */
    color: #ffffff;
    padding: 80px 94px;
    font-family: var(--primary-font);
    position: relative;
    z-index: 10;
}

.mm-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.mm-footer-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mm-footer-left img {
    width: 80px;
}

.mm-footer-right-text {
    font-size: 11px;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0;
    margin-right: 15px;
    margin-top: 0;
}

.mm-copyright {
    font-size: 11px;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0;
}

.mm-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
}

.mm-footer-credits {
    display: flex;
    align-items: flex-end;
    /* forces bottom alignment */
    justify-content: flex-end;
}

.mm-footer-logo-link {
    display: block;
    transform: translateY(10px);
    /* Hangs the 2-line visual logo below the baseline */
}

.mm-footer-socials {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
    justify-content: flex-end;
}

.mm-footer-socials a {
    color: #ffffff;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.mm-footer-socials a:after {
    content: " ";
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: currentColor;
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.mm-footer-socials a:hover {
    opacity: 1;
}

.mm-footer-socials a:hover:after {
    width: 100%;
}


.mm-footer-right a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mm-footer-right a img {
    opacity: 0.6;
    width: 80px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mm-footer-right a:hover {
    opacity: 1;

}

.mm-footer-right a:hover img {
    opacity: 1;
    border: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .mm-footer {
        padding: 60px 40px;
    }

    .mm-footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }

    .mm-footer-right,
    .mm-footer-socials,
    .mm-footer-credits {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .mm-footer-socials {
        flex-direction: column;
        gap: 20px;
    }
}

.mm-placeholder-media {
    border-radius: 4px;
    font-family: var(--primary-font);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #f8f8f8 !important;
}

/* Television Page Specific Color */
.mm-tv-page,
.mm-tv-page .mm-header,
.mm-tv-page .mm-page-content {
    background-color: #c6dce1 !important;
}

.mm-film-page,
.mm-film-page .mm-header,
.mm-film-page .mm-page-content {
    background-color: #dee2d3 !important;
}

.mm-illustrations-page,
.mm-illustrations-page .mm-header,
.mm-illustrations-page .mm-page-content {
    background-color: #ead6c9 !important;
}

.mm-page-description {
    font-family: var(--primary-font);
    font-size: 18px;
    color: #000000;
    font-weight: 300;
    letter-spacing: 0;
    margin-bottom: 0;
    padding-bottom: 13px;
    opacity: 0.8;
}

/* --- About Page --- */

.page-template-page-about .mm-page-content,
.page-template-page-about .mm-header {
    background: #ffffff !important;
}

.mm-page-content .mm-about-layout {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 80px !important;
    width: 100% !important;
    padding-top: 40px;
    margin: 0;
    position: relative;
    box-sizing: border-box;
}

.mm-page-content .mm-about-left {
    flex: 0 0 40% !important;
    max-width: 40% !important;
    position: relative;
}

.mm-page-content .mm-about-image-fixed {
    position: sticky !important;
    top: 60px !important;
    width: 100% !important;
    aspect-ratio: 1 / 1.35;
    overflow: hidden;
    z-index: 10;
}

.mm-page-content .mm-about-image-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mm-page-content .mm-about-right {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    position: relative;
}

.mm-about-hero {
    margin-bottom: 80px;
}

/* About page logotype - mirrors landing page style */
.mm-about-logotype {
    font-family: var(--works-font) !important;
    font-weight: 500;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: 2px;
    color: #000000;
    line-height: 162%;
    margin: 0;
    text-transform: uppercase;
}

/* Ensure about page reveal items are visible (CSS fallback for GSAP) */
.mm-page-wrapper .mm-reveal-box .mm-reveal-item {
    transform: translateY(0) !important;
}

.mm-about-tagline {
    font-family: var(--primary-font);
    font-weight: 300;
    font-size: clamp(10px, 1.5vw, 13px);
    color: #000000;
    text-transform: uppercase;
    letter-spacing: clamp(2px, 0.5vw, 4px);
    margin: 2px 0 5px 0;
    line-height: 1;
    padding: 0;
}

.mm-resume-section {
    margin-bottom: 60px;
}

.mm-page-wrapper .mm-resume-category-title {
    font-weight: 500;
    font-family: var(--works-font) !important;
    font-size: 40px;
    font-style: italic;
    letter-spacing: 0px;
    margin: 0;
    vertical-align: middle;
    text-transform: none;
    color: #000000;
    font-variant-ligatures: common-ligatures;
    font-feature-settings: "liga" on, "clig" on;
    text-rendering: optimizeLegibility;

}

.mm-resume-item {
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.mm-resume-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.mm-resume-title {
    font-family: var(--primary-font);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mm-resume-company {
    font-family: var(--primary-font);
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.mm-resume-meta {
    font-family: var(--primary-font);
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

.mm-resume-cast {
    font-style: italic;
    opacity: 0.8;
    margin-top: 4px;
    display: block;
}

.mm-contact-item {
    margin-bottom: 25px;
}

.mm-contact-grid .mm-text-link {
    font-family: var(--works-font);
    font-weight: 500;
    color: #444;
    text-transform: lowercase;
    text-decoration: none;
    letter-spacing: 0px;
    display: inline-flex;
    position: relative;
    padding-bottom: 2px;
    color: #f25e22;
}

.mm-contact-label {
    font-family: var(--primary-font);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #242e3d;
    display: block;
    margin-bottom: 5px;
}

.mm-contact-value {
    font-family: var(--primary-font);
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .mm-page-content .mm-about-layout {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .mm-page-content .mm-about-left,
    .mm-page-content .mm-about-right {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .mm-page-content .mm-about-image-fixed {
        position: relative !important;
        top: 0 !important;
        aspect-ratio: 3/4;
    }
}

/* --- About Bio Styles --- */

.mm-bio-paragraph {
    font-family: var(--primary-font);
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
    font-weight: 300;
}

.mm-bio-paragraph em {
    font-style: italic;
    color: #000;
}

.mm-about-hero .mm-page-description {
    transform: translate(0px, 0%);
    font-family: var(--primary-font);
    font-size: 13px;
    color: #242e3d;
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: normal;
}

/* --- Full Width Resume --- */

.mm-resume-full-width {
    max-width: 1200px;
    margin: 0 auto;
}

.mm-resume-full-section {
    margin-bottom: 60px;
}

/* --- Dense 3-column resume rows --- */
.mm-resume-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    gap: 20px;
}


.mm-resume-col-title span {
    font-family: var(--primary-font);
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
}

.mm-resume-col-role {
    font-family: var(--primary-font);
    font-size: 14px;
    color: #666;
}

.mm-resume-role-badge {
    margin-left: 8px;
    font-style: italic;
    color: #999;
}

.mm-resume-col-company {
    text-align: right;
    font-family: var(--primary-font);
    font-size: 14px;
    color: #444;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .mm-resume-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 0;
    }

    .mm-resume-col-company {
        text-align: left;
    }
}

/* Illustrations Grid */
.mm-illustrations-page {
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

.mm-illustrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px 60px;
    margin-top: 80px;
    padding-bottom: 120px;
}

.mm-illustration-card {
    display: flex;
    flex-direction: column;
}

.mm-card-media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.35;
    overflow: hidden;
    background: #f8f8f8;
    margin-bottom: 25px;
}

.mm-card-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.mm-illustration-card:hover .mm-card-media-wrapper img {
    transform: scale(1.05);
}

.mm-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.mm-illustration-card:hover .mm-card-overlay {
    opacity: 1;
}

/* Remove legacy button styles as we use .mm-cta-button now */
.mm-card-overlay .mm-cta-button {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mm-illustration-card:hover .mm-cta-button {
    transform: translateY(0);
    opacity: 1;
}

.mm-card-info {
    padding: 0 5px;
}

.mm-page-wrapper h2.mm-card-title {
    font-size: 24px;
    font-style: italic;
    font-family: var(--works-font);
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 142%;
    letter-spacing: -0.02em;
}

.mm-card-credit {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    color: #666;
}

.mm-card-description {
    font-family: var(--primary-font);
    font-size: 16px;
    color: #000;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .mm-illustrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .mm-illustrations-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* --- Project Detail Styles --- */

.mm-project-info-layout {
    display: flex;
    gap: 80px;
    margin: 80px 0 100px;
}

.mm-project-role {
    flex: 0 0 350px;
}

.mm-project-description {
    flex: 1;
}

.mm-label {
    display: block;
    font-family: var(--primary-font);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #242e3d;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #bababa
}

.mm-project-role h3 {
    font-family: var(--works-font);
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.mm-description-text {
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.mm-description-text p {
    margin-bottom: 1.5rem;
}

/* --- Masonry Grid --- */
.mm-masonry-grid {
    columns: 2;
    column-gap: 40px;
    margin-top: 60px;
}

.mm-masonry-item {
    break-inside: avoid;
    margin-bottom: 40px;
}

.mm-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.mm-masonry-item a {
    display: block;
    overflow: hidden;
}

.mm-masonry-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .mm-project-info-layout {
        gap: 40px;
    }

    .mm-project-role {
        flex: 0 0 250px;
    }
}

@media (max-width: 768px) {
    .mm-project-info-layout {
        flex-direction: column;
        gap: 60px;
    }

    .mm-project-role {
        flex: 0 0 auto;
    }

    .mm-masonry-grid {
        columns: 1;
    }
}

/* Back to Top Button */
.mm-back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mm-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mm-back-to-top:hover {
    background: #333;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.mm-back-to-top svg {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mm-back-to-top:hover svg {
    transform: translateY(-3px);
}

/* Mobile Adjustments for Back to Top */
@media (max-width: 768px) {
    .mm-back-to-top {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
    }
}

/* --- Site Preloader --- */
.mm-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.mm-preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mm-preloader-logo {
    width: 15rem;
    height: auto;
    display: none;
}

.mm-logo-path-outer,
.mm-logo-path-inner {
    transform-origin: center;
}

.mm-preloader-status {
    width: auto;
}

.mm-preloader-percentage {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--primary-font);
    font-size: 90px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    color: #fff;
}

.mm-digit-wrapper {
    display: inline-block;
    overflow: hidden;
    height: 0.9em;
    line-height: 0.9em;
    vertical-align: bottom;
}

.mm-digit-char {
    display: block;
    line-height: 0.9em;
}

/* Hide content during preload */
body.mm-loading {
    overflow: hidden;
}

body.mm-loading .mm-page-wrapper {
    opacity: 0;
}

/* --- New Project Detail Refinements --- */
.mm-project-hero-title {
    font-family: var(--primary-font);
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 0;
    color: var(--text-dark);
}

.mm-project-meta-row {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.mm-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mm-meta-label,
.mm-label,
.mm-card-credit {
    font-family: var(--primary-font);
    font-size: 12px;
    color: #242e3d;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 0;
}

.mm-meta-value {
    font-family: var(--primary-font);
    font-size: 16px;
    color: #000;
    font-weight: 300;
}

.mm-project-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 120px;
}

/* --- Wrapped Layout v3 --- */
.mm-project-detail-layout {
    display: block;
    width: 100%;
    margin-bottom: 120px;
    overflow: hidden;
}

.mm-project-sidebar {
    float: left;
    width: 25%;
    margin-right: 5%;
    margin-bottom: 60px;
}

.mm-project-gallery-wrap {
    display: block;
    width: 100%;
}

.mm-gallery-item {
    float: left;
    width: calc(33.33% - 20px);
    margin: 10px;
    break-inside: avoid;
}

.mm-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.mm-gallery-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 1200px) {
    .mm-gallery-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 900px) {
    .mm-project-sidebar {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .mm-gallery-item {
        width: 100%;
        margin: 10px 0;
    }
}

.mm-credit-block {
    margin-bottom: 30px;
}

.mm-credit-block p {
    font-family: var(--primary-font);
    font-size: 16px;
    color: #000;
    font-weight: 300;
}

.mm-project-content-col .mm-description-text {
    font-size: 16px;
    line-height: 1.6;
}

.mm-sidebar-item {
    margin-bottom: 60px;
}

.mm-sidebar-credits .mm-credit-block {
    margin-bottom: 30px;
}

.mm-project-info-grid .mm-masonry-grid {
    margin-top: 20px;
}

.mm-project-gallery-section {
    margin-bottom: 120px;
}

.mm-video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-top: 40px;
    background: #000;
}

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

@media (max-width: 900px) {
    .mm-project-meta-row {
        flex-wrap: wrap;
        gap: 30px;
    }

    .mm-project-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mm-page-title-section {
        flex-direction: column;
        align-items: flex-start;
        text-align: left !important;
    }

    .mm-page-title-section .mm-reveal-box {
        justify-content: flex-start !important;
    }

    .mm-project-info-single .mm-project-content-col {
        padding: 0 !important;
    }

    .mm-project-content-col .mm-description-text {
        font-size: 16px;
    }
}

/* --- Project Navigation --- */
.mm-project-navigation {
    margin-top: 100px;
    padding-bottom: 40px;
}

.mm-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.mm-nav-links a {
    opacity: .5;
}

.mm-nav-links a:hover {
    opacity: 1;

}

.mm-nav-item {
    flex: 1;
}

.mm-nav-item.next {
    text-align: right;
}

.mm-nav-link {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.4s ease;
}


.mm-nav-link .mm-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);

    margin-bottom: 12px;
}

.mm-nav-item .mm-label {
    margin-bottom: 0;
    border-bottom: none;
    color: black;
}

.mm-nav-title {
    font-size: 32px;
    font-weight: 500;
    color: #000000;
    font-family: var(--works-font);
}

@media (max-width: 768px) {
    .mm-project-navigation {
        margin-top: 60px;
    }

    .mm-nav-links {
        flex-direction: column;
        gap: 50px;
    }

    .mm-nav-item.next {
        text-align: left;
    }


    .mm-nav-title {
        font-size: 18px;
    }
}

/* --- SWUP Page Transitions --- */
.transition-fade {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    opacity: 1;
    transform: translateY(0);
}

html.is-animating .transition-fade {
    opacity: 0;
    transform: translateY(20px);
}

/* --- Contact Page --- */
.mm-contact-page .mm-page-title-section {
    margin-bottom: 30px;
}

.mm-contact-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 0 100px;
}

.mm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.mm-contact-large-text {
    font-size: clamp(28px, 4vw, 32px);
    font-weight: 300;
    line-height: 1.25;
    color: #000;
    letter-spacing: -0.5px;
}

.mm-contact-large-text strong {
    font-weight: 500;
}

.mm-contact-info-block {
    margin-bottom: 40px;
}

.mm-contact-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 12px;
}

.mm-contact-value {
    font-family: var(--primary-font);
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    margin-top: 10px;
}

.mm-contact-value a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(#000, #000);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.mm-contact-value a:hover {
    background-size: 100% 1px;
}

@media (max-width: 1100px) {
    .mm-contact-large-text {
        font-size: 32px;
    }
}

@media (max-width: 850px) {
    .mm-contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mm-contact-large-text {
        font-size: 28px;
    }

    .mm-contact-layout {
        padding: 50px 0 100px;
    }
}