body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #ffffff;
    font-family: 'Zincel', sans-serif;
    font-size: 0.85em;
    text-transform: lowercase;
    overflow: hidden;
}
  @font-face {
            font-family: 'Zincel';
            src: url('./fonts/Cinzel-VariableFont_wght.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }



#julia-pena,
#artist,
#filmmaker,
#creative-director {
    transition: color 0.5s ease;
}

#julia-pena.red,
#artist.red,
#filmmaker.red,
#creative-director.red {
    color: rgb(0, 0, 0);
}

.text-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    padding: 0.8em;
    line-height: 0.7em;
    box-sizing: border-box;
    color: rgb(219, 219, 219);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Allow mouse events to pass through */
    mix-blend-mode: difference;
}

.text-overlay a {
    pointer-events: auto;
}

.overlay-content {
    display: flex;
    width: 100%;
}

.text-column {
    width: 50%;
}

#text-column-right {
    text-align: right;
}

#bg-video,
#bg-video-editorial {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border: none;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transform: scale(1.3);
    transform-origin: center center;
}
::selection {
    background-color: #eaeaea;
    color: #000000;
}
@media (max-width: 768px) {
    #bg-video,
    #bg-video-editorial {
        transform: none;
        /* Force height-fill: make iframe wide enough for 16:9 at 100vh height */
        height: 100vh;
        width: 177.78vh; /* 100vh × (16/9) */
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }
}

#quote-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: difference;
}

/* Cross structure */
.cross-arm {
    position: absolute;
    font-family: 'Zincel', serif;
    font-size: 1em;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
    white-space: nowrap;
}

.cross-vertical {
    writing-mode: vertical-rl;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
}

.cross-top {
    bottom: calc(50% + 1.2em);
}

.cross-bottom {
    top: calc(50% + 1.2em);
}

.cross-horizontal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    text-align: center;
}

/* Triggered buttons */
.trigger-btn {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Zincel', serif;
    font-size: 1em;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.4s ease;
    text-decoration: none;
}

/* Only hide on mobile until made visible */
@media (max-width: 768px) {
    .trigger-btn:not(#directory-btn):not(#about-btn) {
        opacity: 0;
        pointer-events: none;
    }
    .trigger-btn.visible {
        opacity: 1;
        pointer-events: auto;
    }
}

.trigger-top        { top: 0.8em; left: 50%; transform: translateX(-50%); }
.trigger-bottom     { bottom: 0.8em; left: 50%; transform: translateX(-50%); }
.trigger-mid-left   { top: 50%; left: 0.8em; transform: translateY(-50%); text-align: left; }
.trigger-mid-right  { top: 50%; right: 0.8em; left: auto; transform: translateY(-50%); text-align: right; cursor: pointer; }
.trigger-corner-bl  { bottom: 0.8em; left: 0.8em; transform: none; text-align: left; }
.trigger-corner-tr  { top: 0.8em; right: 0.8em; left: auto; transform: none; text-align: right; }

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.5s ease;
    mix-blend-mode: difference;
}
a:hover {
    opacity: 0.6;
}
.text-column p {
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .projects-footer {
        display: none !important;
    }
    .overlay-content {
        flex-direction: column;
        height: 100%;
        justify-content: flex-start;
    }

    .text-column {
        width: 100%;
        text-align: center;
    }

    #text-column-right {
        position: absolute;
        bottom: 0.8em;
        left: 0;
        text-align: center;
    }

    .trigger-mid-left,
    .trigger-mid-right {
        display: none;
    }

    #directory-btn,
    #about-btn {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .about-content {
        padding: 1em;
        line-height: 120%;
    }
}


body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ---- Scroll container ---- */
.scroll-container {
    position: fixed;
    inset: 0;
    z-index: 500;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.section-hero {
    height: 100vh;
    scroll-snap-align: start;
    pointer-events: none;
}

.section-about {
    height: 100vh;
    scroll-snap-align: start;
    background: #fff;
    color: #000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;

}

.about-content {
    width: 90vw;
    max-width: none;
    line-height: 1;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
}

.about-content p {
    font-size: clamp(1.4rem, 4.5vw, 3rem);
}

.about-content a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.about-content a:hover {
    color: #919191;
}



#email-container {
    position: relative;
    cursor: pointer;
}

#copy-popup {
    position: fixed;
    bottom: 3em;
    right: 0.8em;
    background-color: #fff;
    color: #000;
    padding: 0.5em 1em;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: nowrap;
    z-index: 10000;
    pointer-events: none;
}

#copy-popup.show {
    opacity: 1;
    visibility: visible;
}

/* ---- Layout toggle ---- */
#layout-toggle {
    position: fixed;
    top: 0.8em;
    left: 0.8em;
    z-index: 10000;
    pointer-events: auto;
    display: flex;
    gap: 0.25em;
    font-family: 'Zincel', serif;
    font-size: 1em;
    color: #fff;
    mix-blend-mode: difference;
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.layout-btn {
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    user-select: none;
}

.layout-btn.active {
    opacity: 1;
}

/* ---- Smooth transitions on corner labels ---- */
#commercial-label,
#editorial-label {
    transition: opacity 0.4s ease;
}

/* ---- L2 Layout: Commercial & Film centred in each half ---- */
body.layout-l2 #commercial-label {
    bottom: auto !important;
    left: 0.8em !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    text-align: left;
}

body.layout-l2 #editorial-label {
    top: 50% !important;
    right: 0.8em !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    text-align: right;
}