
.project-hero-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #fff;
}

.project-hero-fixed img {
    position: relative;
    display: block;
    width: 2900px;
    height: 1000px;
    max-width: none;
    min-width: 2900px;
}

main.project-main {
    position: relative;
    width: 100%;
    z-index: 2;
    background-color: transparent;
    padding-top: 68px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.project-content-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    flex: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: contentFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.4s;
    will-change: opacity, transform;
}

@keyframes contentFadeIn {
    to { opacity: 1; transform: translateY(0); }
}


.project-header {
    text-align: center;
    margin-bottom: 60px;
}

.project-cat {
    display: block;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: var(--project-cat);
}

.project-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 80px;
    color: var(--project-title);
}

.project-meta-block {
    padding: 0 50px;
    margin-bottom: 30px;
    text-align: justify;
}

.project-meta-block-end {
    padding: 0 50px;
    text-align: justify;
}

.project-section {
    padding: 0 50px;
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: justify;
}

.section-title {
    display: block;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--project-section-title);
    margin-bottom: 20px;
}

.project-section-video {
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: justify;
}

.project-section-video-short-top-space {
    margin-top: 30px;
    margin-bottom: 60px;
    padding: 0 50px;
    text-align: justify;
}

.project-content {
    padding: 0 50px;
    margin-top: 30px;
    margin-bottom: 50px;
    text-align: justify;
}

project-content-wide

.project-meta-block iframe {
    padding: 0 0px;
    margin-top: 30px;
    margin-bottom: 0px;
    text-align: justify;
}

.section-space {
    margin-top: 15px;
    margin-bottom: 20px;
}

.dynamic-iframe-container {
    width: 100%;
    display: block; 
    text-align: center;
    margin: 30px auto;
    line-height: 0;
}

.dynamic-iframe-container iframe {
    display: inline-block;
    border: none;
    max-width: 100%;
    margin: 0 auto;
    vertical-align: middle;
}

.meta-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--project-label);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.brand-name {
    display: block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0px;
    color: var(--project-brand-name);
}

.responsive-container {
    position: relative;
    width: 100%;
    aspect-ratio: var(--aspect-ratio, 16 / 9); 
    margin: 20px auto;
    background: transparent;
}

.responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@supports not (aspect-ratio: 1/1) {
    .responsive-container {
        padding-top: calc(1 / (var(--aspect-ratio, 16/9)) * 100%);
        height: 0;
    }
}

/* =================================================================
   6. RESPONSIVE : MOBILE (≤ 900px)
   ================================================================= */
@media (max-width: 900px) {
    
    .project-hero-fixed { display: none; }

    main.project-main { padding-top: 0; }

    .project-content-wrapper { padding: 0 20px; }
    
    .project-header { margin-bottom: 50px; }
    .project-cat { font-size: 15px; }
    .project-title { 
        font-size: 28px; 
        line-height: 1.2; 
        margin-bottom: 10px;
        padding: 0;
    }

    .project-description { 
        font-size: 15px; 
        margin-bottom: 40px; 
        padding: 0; 
        text-align: left;
    }

    .project-meta-block { padding: 0; margin-bottom: 30px; }

    .project-meta-block-end { padding: 0; margin-bottom: 30px; }

    .project-section { 
        padding: 0;
        margin-bottom: 30px; 
    }

    .project-content { 
        padding: 0;
        margin-bottom: 30px; 
    }

    .project-meta-block-section-1 { padding: 0; margin-bottom: 30px; }

    .brand-name { font-size: 20px; }

    .phone-mockup { height: 650px; }

    .hide-mobile {
        display: none !important;
    }

    .dynamic-iframe-container {
        width: 100%;
        display: block; 
        text-align: center;
        margin: 30px auto;
        line-height: 0;
    }

    .dynamic-iframe-container iframe {
        display: inline-block;
        border: none;
        max-width: 100%;
    }

    .project-section-video-short-top-space {
    padding: 0;
}

}


/* =================================================================
   DARK MODE
   ================================================================= */
html.dark-theme .project-hero-fixed { 
    background-color: #141414; 
}

html.dark-theme .section-title {
    color: var(--project-section-title-dark);
}

html.dark-theme .brand-name {
    color: var(--project-brand-name-dark);
}

html.dark-theme .project-cat {
    color: var(--project-cat-dark);
}

html.dark-theme .project-title {
    color: var(--project-title-dark);
}

html.dark-theme .meta-label {
    color: var(--project-label-dark);
}


