/* ==========================================
   Editorial Layout & Visual Hierarchy (褰卞儚鍙欎簨)
   ========================================== */

/* Sub-section headers within tabs */
.portfolio-sub-head {
    margin: 3.5rem 0 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(227, 214, 195, 0.08);
}

.portfolio-sub-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin: 0;
}

.portfolio-sub-head p {
    font-size: var(--fs-kicker);
    letter-spacing: 0.2em;
    color: #4ea57f;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

/* ==========================================
   Cinematic Feature Card 鈥?New Structure
   DOM: cinematic-top > (cinematic-left | cinematic-right)
        cinematic-divider
        cinematic-bottom > (label | content)
   ========================================== */

/* Outer container: relative, dark background containing video background */
.cinematic-feature {
    position: relative;
    max-width: 1420px;
    margin: 0 auto 3.5rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(227, 214, 195, 0.08);
    background: #080808;
    padding: 3.5rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
    overflow: hidden;
    transition: border-color 450ms ease, box-shadow 450ms ease;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.cinematic-feature:hover {
    border-color: rgba(215, 190, 147, 0.16);
    box-shadow: 0 50px 110px rgba(0, 0, 0, 0.8);
}

/* ---- Top area overlay: text left / keyframes right ---- */
.cinematic-top {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
    pointer-events: none;
}

/* ---- Left text column (Borderless, backgroundless, premium typography layout) ---- */
.cinematic-left.glass-panel {
    background: transparent; /* No background */
    backdrop-filter: none; /* No blur */
    -webkit-backdrop-filter: none;
    border: none; /* No border */
    box-shadow: none; /* No shadow */
    padding: 1rem 0; /* Clean vertical spacing, no box boundary */
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    max-width: 480px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    pointer-events: auto;
    opacity: 1;
    transform: none;
}

.cinematic-feature:hover .cinematic-left.glass-panel {
    background: transparent;
    box-shadow: none;
}

/* Badges & Meta row */
.cinematic-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 1.5rem;
    opacity: 1;
    transform: none;
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1) 150ms, transform 700ms cubic-bezier(0.16, 1, 0.3, 1) 150ms;
}

.cinematic-badge-row span {
    font-family: var(--font-ui), sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cinematic-badge-row span:not(:last-child)::after {
    content: "/";
    margin: 0 0.8rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.cinematic-section-label {
    font-weight: 600;
    color: #4ea57f;
}

.cinematic-match-tag {
    font-weight: 600;
    color: #10b981; /* Netflix green */
}

.cinematic-meta-info {
    color: rgba(255, 255, 255, 0.6);
}

.cinematic-meta-badge {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* Kicker + title wrapper */
.cinematic-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
    opacity: 1;
    transform: none;
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1) 250ms, transform 800ms cubic-bezier(0.16, 1, 0.3, 1) 250ms;
}

/* Kicker */
.cinematic-kicker {
    font-family: var(--font-ui), sans-serif;
    font-size: clamp(0.68rem, 0.75vw, 0.75rem);
    letter-spacing: 0.2em;
    color: #4ea57f;
    text-transform: uppercase;
    font-weight: 600;
}

/* Main title */
.cinematic-title {
    font-family: var(--font-serif), serif;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 400; /* Elegant light-serif */
    letter-spacing: 0.06em;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    max-width: 100% !important;
}

/* Desc wrap spacing */
.cinematic-desc-wrap {
    margin-bottom: 2rem;
    opacity: 1;
    transform: none;
    transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1) 350ms, transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 350ms;
}

.cinematic-desc-wrap .poetic-text-left {
    font-family: var(--font-sans), sans-serif; /* Clean readable body */
    font-size: clamp(0.75rem, 0.8vw, 0.82rem);
    line-height: 1.8;
    letter-spacing: 0.08em; /* Tighter letter-spacing for standard Chinese text flow */
    color: rgba(255, 255, 255, 0.7);
    border-left: 2px solid var(--accent); /* Golden vertical keyline */
    padding-left: 1.2rem;
    margin-left: 0.2rem;
}

.cinematic-desc-wrap .poetic-text-left p {
    margin-bottom: 0.5rem;
}

.cinematic-desc-wrap .poetic-text-left p:last-child {
    margin-bottom: 0;
}

/* Netflix-style CTA Actions */
.cinematic-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: auto;
    padding-top: 1.2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    font-family: var(--font-ui), sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 0.7rem 1.6rem;
    transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms ease, background 250ms ease, color 250ms ease;
}

.cta-play-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
}

.cta-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.45);
    background: linear-gradient(135deg, #9b70ff 0%, #7c3aed 100%);
}

.cta-play-btn:active {
    transform: translateY(0);
}

.cta-play-btn.is-playing {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-play-btn.is-playing:hover {
    background: #e6e6e6;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.cta-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.cta-icon-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.08);
}

.cta-icon-btn:active {
    transform: scale(0.96);
}

.cta-play-icon {
    transition: transform 250ms ease;
}

.cta-play-btn:hover .cta-play-icon {
    transform: scale(1.1);
}

/* ---- Right column & Widescreen Media player at Bottom ---- */
/* ---- Background Video / Poster Layer ---- */
.cinematic-feature .work-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #000;
}

.cinematic-feature .work-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-feature .work-media.is-playing video {
    opacity: 1;
    pointer-events: auto;
}

/* Dark gradient overlay to guarantee text legibility */
.cinematic-feature .work-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(8, 8, 8, 0.9) 0%, 
        rgba(8, 8, 8, 0.7) 35%, 
        rgba(8, 8, 8, 0.25) 70%, 
        rgba(8, 8, 8, 0.65) 100%
    );
    z-index: 3;
    pointer-events: none;
    transition: background 300ms ease;
}

.cinematic-feature .work-media.is-playing::after {
    background: linear-gradient(90deg, 
        rgba(8, 8, 8, 0.85) 0%, 
        rgba(8, 8, 8, 0.5) 40%, 
        rgba(8, 8, 8, 0.1) 70%, 
        rgba(8, 8, 8, 0.55) 100%
    );
}

.cinematic-feature .feature-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    z-index: 2;
    transition: opacity 350ms ease;
}

.cinematic-feature .work-media.is-playing .feature-video-poster {
    opacity: 0;
    pointer-events: none;
}

.cinematic-feature .feature-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 320ms ease;
}

.cinematic-feature:hover .feature-video-poster img {
    transform: scale(1.04);
}

/* Centered play icon & prompt text */
.cinematic-feature .feature-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.4) translateY(40px); /* Large entrance range */
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    z-index: 4;
    pointer-events: none;
    opacity: 0; /* Completely hidden in default state */
    transition: transform 900ms cubic-bezier(0.25, 1.25, 0.42, 1.1), /* Elastic spring entrance */
                opacity 700ms cubic-bezier(0.25, 1, 0.5, 1);
}

.cinematic-feature .work-media:hover .feature-video-play {
    transform: translate(-50%, -50%) scale(1.08) translateY(0) !important;
    opacity: 1 !important;
}

/* Hide featured play button overlay in fullscreen state */
.work-media--feature-video:has(video:fullscreen) .feature-video-poster,
.work-media--feature-video:has(video:-webkit-full-screen) .feature-video-poster,
.work-media--feature-video:has(video:-moz-full-screen) .feature-video-poster {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Glassmorphic player icon container - NO solid borders */
.cinematic-feature .feature-video-play-icon {
    width: 4rem;
    height: 4rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none !important; /* No solid line border at all */
    background: rgba(255, 255, 255, 0.04); /* Translucent glass background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: background-color 450ms cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-feature .work-media:hover .feature-video-play-icon {
    background: rgba(227, 214, 195, 0.08); /* Soft champagne glow background */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(227, 214, 195, 0.15);
}

/* Glowing, soft sweeping light beam on hover */
.cinematic-feature .feature-video-play-icon::after {
    content: "";
    position: absolute;
    inset: -4px; /* slightly offset outer ring */
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent) 0%, rgba(227, 214, 195, 0.2) 20%, transparent 60%);
    -webkit-mask: radial-gradient(circle, transparent calc(100% - 2.5px), black calc(100% - 2px));
    mask: radial-gradient(circle, transparent calc(100% - 2.5px), black calc(100% - 2px));
    filter: blur(2px); /* Blurring turns it into a soft light sweep */
    opacity: 0;
    transform: rotate(0deg);
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cinematic-feature .work-media:hover .feature-video-play-icon::after {
    opacity: 0.85;
    animation: spinRing 2.2s linear infinite;
    animation-delay: 200ms;
}

/* Triangle shape inside play icon container */
.cinematic-feature .feature-video-play-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 53%; /* optically centered */
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    border-left: 0.85rem solid rgba(255, 255, 255, 0.8);
    z-index: 5;
    transition: border-left-color 450ms ease, left 450ms cubic-bezier(0.25, 1, 0.5, 1);
}

.cinematic-feature .work-media:hover .feature-video-play-icon::before {
    border-left-color: var(--accent); /* triangle turns gold */
    left: 57%; /* slide slightly to the right */
}

/* ==========================================================================
   SVG Play Ring Light Effects
   ========================================================================== */
.play-ring-svg {
    position: absolute;
    inset: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    transform: rotate(-90deg); /* Start drawing from top center */
    overflow: visible;
    pointer-events: none;
}

.play-ring-circle-bg {
    fill: none !important; /* Remove default black fill */
    stroke: none !important; /* Remove solid background stroke */
}

.play-ring-circle-draw {
    fill: none !important;
    stroke: var(--accent) !important; /* Glowing champagne color */
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-dasharray: 296; /* 2 * Math.PI * 47 = 295.3 */
    stroke-dashoffset: 296; /* Start completely drawn out */
    filter: drop-shadow(0 0 5px var(--accent)) drop-shadow(0 0 1px var(--accent)); /* Dual glow filters */
    transition: stroke-dashoffset 900ms cubic-bezier(0.25, 1, 0.42, 1);
}

.cinematic-feature .work-media:hover .play-ring-circle-draw {
    stroke-dashoffset: 0;
}

.cinematic-feature .feature-video-play-text {
    font-family: var(--font-ui), sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: color 450ms ease, letter-spacing 450ms ease;
    margin-top: 0.3rem;
}

.cinematic-feature .work-media:hover .feature-video-play-text {
    color: var(--accent);
    letter-spacing: 0.25em;
}

/* Remove the underline decoration */
.cinematic-feature .feature-video-play-text::after {
    display: none;
}

/* ---- Keyframes Container (Yosemite style card row) ---- */
.cinematic-keyframes {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    justify-content: flex-end;
    align-items: flex-end;
    width: auto;
    pointer-events: auto;
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-feature:hover .cinematic-keyframes {
    /* Handled via show/hide curtain selectors */
}

.keyframe-card {
    position: relative;
    border-radius: 0.6rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: clamp(130px, 11vw, 175px); /* Enlarged by 1/3 for better visibility */
    aspect-ratio: 16 / 9;
    background: #121212;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    flex-shrink: 0;
    opacity: 1;
    transform: none;
    transition: 
        opacity 750ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 400ms ease,
        box-shadow 400ms ease;
}

.keyframe-card:nth-child(1) { transition-delay: 200ms; }
.keyframe-card:nth-child(2) { transition-delay: 280ms; }
.keyframe-card:nth-child(3) { transition-delay: 360ms; }
.keyframe-card:nth-child(4) { transition-delay: 440ms; }

.keyframe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease;
}

.keyframe-card:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 0 0 15px rgba(215, 190, 147, 0.3);
    z-index: 10;
    transition-delay: 0ms !important;
}

.keyframe-card:hover img {
    transform: scale(1.08);
    opacity: 1;
    transition-delay: 0ms !important;
}

/* Keyframe label overlay */
.keyframe-label {
    position: absolute;
    bottom: 0.4rem;
    left: 0.4rem;
    right: 0.4rem;
    font-family: var(--font-ui), monospace;
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(8, 8, 8, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.15rem 0.3rem;
    border-radius: 0.2rem;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
    transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}

.keyframe-card:hover .keyframe-label {
    background: var(--accent);
    color: #0c0a09;
    border-color: transparent;
}

/* Specific featured section variations */
.cinematic-feature--tvc,
.cinematic-feature--shortfilm,
.cinematic-feature--narrative,
.cinematic-feature--documentary {
    /* Use base cinematic-feature styles for unified premium dashboard look */
}

/* ---- Responsive: stack on small screens ---- */
@media (max-width: 992px) {
    .cinematic-feature {
        min-height: auto;
        padding: 3rem;
        display: block;
    }

    .cinematic-top {
        flex-direction: column;
        align-items: stretch;
        gap: 2.5rem;
    }

    .cinematic-left.glass-panel {
        max-width: 100%;
        padding: 2.2rem;
    }

    .cinematic-keyframes {
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 1rem;
    }

    .keyframe-card {
        width: clamp(155px, 28vw, 210px); /* Enlarged by 1/3 */
    }
}

@media (max-width: 768px) {
    .cinematic-feature {
        padding: 1.8rem;
        border-radius: 0.8rem;
    }

    .cinematic-left.glass-panel {
        padding: 1.5rem;
        border-radius: 1.2rem;
        border: none;
    }

    .cinematic-keyframes {
        gap: 0.8rem;
    }

    .keyframe-card {
        width: calc(50% - 0.4rem);
        aspect-ratio: 16 / 9;
    }
}

/* ==========================================================================
   Cohesive Curtain-Opening Transitions (Hover Out & Video Play States)
   ========================================================================== */

/* --- 1. HIDDEN STATE (When video area is hovered OR when video is playing) --- */

/* Left glass panel slides out left & fades */
.cinematic-feature .work-media.is-playing ~ .cinematic-top .cinematic-left.glass-panel,
.cinematic-feature .work-media:hover ~ .cinematic-top .cinematic-left.glass-panel {
    opacity: 0;
    transform: translateX(-45px) scale(0.96);
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered exit for left details (fast disappear) */
.cinematic-feature .work-media.is-playing ~ .cinematic-top .cinematic-left.glass-panel .cinematic-badge-row,
.cinematic-feature .work-media:hover ~ .cinematic-top .cinematic-left.glass-panel .cinematic-badge-row {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 300ms ease 0ms, transform 300ms ease 0ms;
}

.cinematic-feature .work-media.is-playing ~ .cinematic-top .cinematic-left.glass-panel .cinematic-title-group,
.cinematic-feature .work-media:hover ~ .cinematic-top .cinematic-left.glass-panel .cinematic-title-group {
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 300ms ease 50ms, transform 300ms ease 50ms;
}

.cinematic-feature .work-media.is-playing ~ .cinematic-top .cinematic-left.glass-panel .cinematic-desc-wrap,
.cinematic-feature .work-media:hover ~ .cinematic-top .cinematic-left.glass-panel .cinematic-desc-wrap {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 300ms ease 100ms, transform 300ms ease 100ms;
}

/* Keyframes container fades and locks interaction */
.cinematic-feature .work-media.is-playing ~ .cinematic-top .cinematic-keyframes,
.cinematic-feature .work-media:hover ~ .cinematic-top .cinematic-keyframes {
    opacity: 0;
    transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Keyframe cards slide out right + rotate outwards */
.cinematic-feature .work-media.is-playing ~ .cinematic-top .keyframe-card,
.cinematic-feature .work-media:hover ~ .cinematic-top .keyframe-card {
    opacity: 0;
    transform: translateX(45px) scale(0.92) rotate(-3deg);
}

/* Animating out: fast staggered hide from left to right */
.cinematic-feature .work-media.is-playing ~ .cinematic-top .keyframe-card:nth-child(1),
.cinematic-feature .work-media:hover ~ .cinematic-top .keyframe-card:nth-child(1) {
    transition: opacity 300ms ease 0ms, transform 300ms ease 0ms;
}
.cinematic-feature .work-media.is-playing ~ .cinematic-top .keyframe-card:nth-child(2),
.cinematic-feature .work-media:hover ~ .cinematic-top .keyframe-card:nth-child(2) {
    transition: opacity 300ms ease 40ms, transform 300ms ease 40ms;
}
.cinematic-feature .work-media.is-playing ~ .cinematic-top .keyframe-card:nth-child(3),
.cinematic-feature .work-media:hover ~ .cinematic-top .keyframe-card:nth-child(3) {
    transition: opacity 300ms ease 80ms, transform 300ms ease 80ms;
}
.cinematic-feature .work-media.is-playing ~ .cinematic-top .keyframe-card:nth-child(4),
.cinematic-feature .work-media:hover ~ .cinematic-top .keyframe-card:nth-child(4) {
    transition: opacity 300ms ease 120ms, transform 300ms ease 120ms;
}

/* --- 2. INTERACTION DISABLE (Only when video is actively playing) --- */
.cinematic-feature .work-media.is-playing ~ .cinematic-top .cinematic-left.glass-panel,
.cinematic-feature .work-media.is-playing ~ .cinematic-top .cinematic-keyframes {
    pointer-events: none;
}

/* 2. 鍟嗕笟瀹炴垬 - Asymmetrical 2-Column Grid (Duos) */
.editorial-duo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .editorial-duo {
        grid-template-columns: 1fr 1fr;
    }
}

.compact-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(227, 214, 195, 0.04);
    border-radius: 1.2rem;
    padding: 1.2rem;
    transition: all 300ms ease;
}

.compact-card:hover {
    border-color: rgba(227, 214, 195, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.compact-card .work-media {
    border-radius: 0.8rem;
}

.compact-card.vertical-card .work-media video {
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

.compact-card .work-caption {
    margin-top: 1.6rem;
    text-align: left;
    padding: 0 0.4rem;
}

.compact-card h4 {
    font-family: var(--font-serif);
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    margin: 0 0 0.8rem;
    color: var(--text);
}

.compact-card .template-desc {
    font-size: clamp(0.8rem, 0.95vw, 0.9rem);
    color: var(--text-soft);
    line-height: 1.7;
    margin: 0 0 1.2rem;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.compact-card .work-poem p {
    font-family: var(--font-serif);
    font-size: clamp(0.78rem, 0.9vw, 0.86rem);
    text-align: left;
    color: var(--text-soft);
    letter-spacing: 0.15em;
    line-height: 1.8;
    font-weight: 300;
}

/* 3. 杈呭姪浣滃搧涓庢蹇垫帰绱?- Sleek Responsive 3-Column Grid */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
}

@media (min-width: 576px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .editorial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-card {
    background: rgba(255, 255, 255, 0.008);
    border: 1px solid rgba(227, 214, 195, 0.03);
    border-radius: 1rem;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 300ms ease;
    height: 100%;
}

.grid-card:hover {
    border-color: rgba(215, 190, 147, 0.08);
    background: rgba(255, 255, 255, 0.015);
    transform: translateY(-2px);
}

.grid-card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 0 0 0.8rem;
    color: var(--accent);
}

.grid-card p {
    font-size: 0.82rem;
    line-height: 1.76;
    color: var(--text-soft);
    letter-spacing: 0.04em;
    margin: 0 0 1.2rem;
}

.grid-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(227, 214, 195, 0.05);
    padding-top: 0.8rem;
    margin-top: auto;
}

.grid-card-tag {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.grid-card-btn {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 500;
    transition: color 200ms ease;
}

/* ==========================================================================
   Director's Production Log Styles
   ========================================================================== */
.director-log-section {
    max-width: 1420px;
    margin: -1.5rem auto 3.5rem; /* places it nicely under the cinematic-feature card */
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(227, 214, 195, 0.06);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 300ms ease, background 300ms ease;
}

.director-log-section:hover {
    border-color: rgba(215, 190, 147, 0.12);
    background: rgba(255, 255, 255, 0.025);
}

.director-log-details {
    width: 100%;
}

.director-log-summary {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    outline: none;
}

.director-log-summary::-webkit-details-marker {
    display: none; /* Hide default arrow */
}

.summary-header-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.summary-icon {
    font-size: 1.1rem;
    color: var(--accent);
}

.summary-title {
    font-family: var(--font-serif);
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.summary-arrow-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid rgba(227, 214, 195, 0.5);
    border-bottom: 2px solid rgba(227, 214, 195, 0.5);
    transform: rotate(45deg);
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
    margin-right: 0.5rem;
}

.director-log-details[open] .summary-arrow-indicator {
    transform: rotate(-135deg);
}

.director-log-content {
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(227, 214, 195, 0.04);
    font-family: var(--font-sans), sans-serif;
    font-size: clamp(0.8rem, 0.9vw, 0.88rem);
    line-height: 1.85;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
}

.director-log-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.director-log-content p:last-child {
    margin-bottom: 0;
}
