/*
Theme Name: Cinematic Portfolio
Theme URI: https://editorhan.me
Author: Han Jinkyu
Author URI: https://editorhan.me
Description: Apple-inspired dark cinematic portfolio theme for film editors. Features large typography, generous whitespace, fullscreen visuals, and smooth scroll animations.
Version: 2.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cinematic-portfolio
Tags: dark, portfolio, film, cinematic, one-column, custom-menu, featured-images
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');


/* ============================================
   RESET & CUSTOM PROPERTIES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --bg: #000000;
    --bg-elevated: #0d0d0d;
    --bg-card: #111111;
    --bg-hover: #1a1a1a;
    --surface: #1d1d1f;
    --gray-100: #f5f5f7;
    --gray-200: #e8e8ed;
    --gray-300: #d2d2d7;
    --gray-400: #86868b;
    --gray-500: #6e6e73;
    --gray-600: #424245;
    --gray-700: #2d2d2d;
    --white: #ffffff;
    --accent: #c8a96e;
    --accent-bright: #e2c992;
    --font-display: 'Oswald', 'Noto Sans KR', -apple-system, 'Helvetica Neue', sans-serif;
    --font-text: 'Noto Sans KR', 'Oswald', -apple-system, 'Helvetica Neue', sans-serif;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
    --max-w: 980px;
    --max-w-wide: 1200px;
    --max-w-narrow: 700px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-text);
    background: var(--bg);
    color: var(--gray-300);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}
a:hover { color: var(--accent-bright); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================
   APPLE-STYLE TYPOGRAPHY
   ============================================ */
.headline-oversized {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--white);
}

.headline-large {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.009em;
    line-height: 1.07;
    color: var(--white);
}

.headline-medium {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.1;
    color: var(--white);
}

.headline-small {
    font-family: var(--font-display);
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 600;
    line-height: 1.14;
    color: var(--white);
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
}

.body-large {
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 400;
    line-height: 1.52;
    color: var(--gray-400);
}

.body-medium {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.47;
    color: var(--gray-400);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 22px;
}
.container-wide {
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding: 0 22px;
}
.container-narrow {
    max-width: var(--max-w-narrow);
    margin: 0 auto;
    padding: 0 22px;
}

.section-padding {
    padding: clamp(80px, 12vw, 160px) 0;
}

.text-center { text-align: center; }

/* ============================================
   HEADER / NAV — Apple Frosted Glass
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    height: 48px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.36s var(--ease-out);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo a {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-100);
    letter-spacing: -0.01em;
    transition: opacity 0.3s;
}
.site-logo a:hover { opacity: 0.7; color: var(--gray-100); }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}
.main-nav a {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-300);
    opacity: 0.8;
    transition: opacity 0.3s;
    letter-spacing: 0;
}
.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    opacity: 1;
    color: var(--white);
}
.mobile-nav-cta {
    display: none;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--gray-100);
    margin: 5px 0;
    transition: 0.3s var(--ease-out);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   HERO — Apple-Style Fullscreen
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 40%, rgba(200,169,110,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 50% 100%, rgba(200,169,110,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 22px;
    max-width: 900px;
    margin-top: -40px;
}

.hero .eyebrow {
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 2.2s var(--ease-out) forwards;
}

.hero .headline-oversized {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 2.5s var(--ease-out) forwards;
}

.hero .body-large {
    max-width: 460px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 2.8s var(--ease-out) forwards;
}

.hero-scroll-indicator {
    opacity: 0;
    /* animation removed - JS controls visibility */
    transition: opacity 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

/* PC/모바일 인디케이터 분리 */
.scroll-indicator-pc { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-indicator-mobile { display: none; }
.touch-chevron {
    width: 20px;
    height: auto;
    color: rgba(255,255,255,0.4);
    animation: touchBounce 2s ease-in-out infinite;
}
.touch-chevron-2 {
    margin-top: -6px;
    animation-delay: 0.15s;
}
@keyframes touchBounce {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(4px); opacity: 0.8; }
}

@media (max-width: 1024px) {
    .scroll-indicator-pc { display: none; }
    .scroll-indicator-mobile { display: flex; flex-direction: column; align-items: center; }
    .hero-content { margin-top: -60px; }
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}
.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 7px;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-out infinite;
}
.scroll-chevron {
    width: 18px;
    height: auto;
    color: rgba(255,255,255,0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0%, 10% { opacity: 1; top: 7px; }
    80% { opacity: 0; top: 20px; }
    100% { opacity: 0; top: 7px; }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(4px); opacity: 0.7; }
}

/* Hero Poster Collage Background */
.hero-poster-bg {
    position: absolute;
    inset: -30px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    opacity: 1;
    /* filter와 opacity는 JS가 제어 */
}
/* heroBgIntro removed - JS handles blur/opacity */
.hero-poster-row {
    display: flex;
    gap: 6px;
    height: calc(50vh - 3px);
    will-change: transform;
    /* 애니메이션은 JS가 전담 */
}
.hero-poster-row-reverse {
    transform: translateX(-50%);
}
.hero-poster-item {
    flex-shrink: 0;
    width: calc(33vh);
    height: 100%;
    background-size: cover;
    background-position: center;
}

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

/* Detail page intro — single smooth fade for hero content */
.detail-anim {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.1s var(--ease-out) forwards;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Stagger children — JS sets --i on each child */
.stagger-reveal > .reveal {
    transition-delay: calc(var(--i, 0) * 0.07s);
}

/* ============================================
   SECTION DIVIDERS — Apple Style
   ============================================ */
.section-dark {
    background: var(--bg);
}
.section-elevated {
    background: var(--bg-elevated);
}
.section-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    max-width: var(--max-w);
    margin: 0 auto;
}

/* ============================================
   FILMOGRAPHY GRID — Apple Product Grid Style
   ============================================ */
.filmography-intro {
    margin-bottom: clamp(40px, 6vw, 80px);
}

.filmography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.film-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-card);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), opacity 0.3s ease;
    cursor: pointer;
    display: block;
    color: inherit;
}
.film-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    color: inherit;
}

.film-card-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--surface);
}
.film-card-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
    object-position: center center;
}
.film-card-poster img.poster-landscape {
    object-position: right bottom;
}

.film-card:hover .film-card-poster img {
    transform: scale(1.05);
}

/* Mobile touch hover */
@media (hover: none) {
    .film-card:active {
        transform: scale(1.02);
        box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    }
    .film-card:active .film-card-poster img {
        transform: scale(1.05);
    }
    .film-card:active .film-card-overlay {
        opacity: 1;
    }
}

.film-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}
.film-card:hover .film-card-overlay {
    opacity: 1;
}
.film-card-overlay .cta-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}
.film-card-overlay .cta-text svg {
    width: 14px; height: 14px;
    transition: transform 0.3s;
}
.film-card:hover .film-card-overlay .cta-text svg {
    transform: translateX(4px);
}

.film-card-info {
    padding: 20px 24px 24px;
}
.film-card-year {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}
.film-card-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.26;
    margin-bottom: 4px;
}
.film-card-role {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 400;
}

/* ============================================
   CTA LINK — Apple "Learn more >" Style
   ============================================ */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 17px;
    font-weight: 400;
    color: var(--accent);
    transition: gap 0.3s var(--ease-out);
}
.cta-link:hover {
    gap: 8px;
    color: var(--accent-bright);
}
.cta-link svg {
    width: 16px; height: 16px;
}

/* ============================================
   SINGLE FILM — Fullscreen Cinematic
   ============================================ */
.film-detail {
    padding-top: 48px;
}

.film-hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.film-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.25);
    transform: scale(1.2);
}

.film-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 22px;
}

.film-hero-poster {
    width: clamp(200px, 30vw, 320px);
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.film-hero-poster img {
    width: 100%;
    object-fit: contain;
}

.film-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    max-width: 640px;
    margin: 40px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
}
.meta-item .meta-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.meta-item-wide {
    grid-column: 1 / -1;
}
.film-synopsis-box {
    margin-top: clamp(24px, 3vw, 40px);
    padding-top: clamp(20px, 2.5vw, 32px);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.meta-item-wide .meta-value {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.meta-item .meta-value {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Trailer */
.film-trailer-section {
    background: var(--bg-elevated);
}
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: none;
}

/* Film Description */
.film-description {
    font-size: 19px;
    line-height: 1.58;
    color: var(--gray-400);
    max-width: 600px;
}

/* ============================================
   ABOUT — Apple-style Split
   ============================================ */
.about-section { padding-top: 48px; }

.about-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
}

.about-photo {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--surface);
}
.about-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.about-text .eyebrow { margin-bottom: 12px; }
.about-text .headline-large { margin-bottom: 24px; }
.about-text .body-large { margin-bottom: 0; }
.about-text .body-large p {
    margin-bottom: 20px;
    color: var(--gray-400);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 48px;
    margin-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ============================================
   CONTACT — Clean Minimal
   ============================================ */
.contact-section { padding-top: 48px; }

.contact-hero {
    text-align: center;
    padding: clamp(80px, 15vw, 200px) 22px clamp(60px, 8vw, 100px);
}
.contact-hero .headline-large { margin-bottom: 16px; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
}

.contact-info-list {
    list-style: none;
}
.contact-info-list li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-info-list .label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.contact-info-list .value {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    color: var(--white);
}
.contact-info-list .value a { color: var(--white); }
.contact-info-list .value a:hover { color: var(--accent); }

/* Form */
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    font-family: var(--font-text);
    font-size: 17px;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200,169,110,0.15);
}
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}
.btn-submit {
    display: inline-block;
    padding: 12px 28px;
    background: var(--white);
    border: none;
    color: var(--black);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    border-radius: 980px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.btn-submit:hover {
    background: var(--gray-200);
    transform: scale(1.02);
}

/* ============================================
   FOOTER — Apple Ultra-Clean
   ============================================ */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px 0 32px;
    margin-top: clamp(40px, 6vw, 80px);
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 22px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-200);
    letter-spacing: -0.01em;
}
.footer-tagline {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}
.footer-nav {
    list-style: none;
    display: flex;
    gap: 24px;
}
.footer-nav a {
    font-size: 12px;
    color: var(--gray-400);
    transition: color 0.3s;
}
.footer-nav a:hover { color: var(--white); }
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 24px 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-email {
    font-size: 12px;
    color: var(--gray-400);
    transition: color 0.3s;
}
.footer-email:hover { color: var(--accent); }
.footer-copy {
    font-size: 11px;
    color: var(--gray-600);
}

/* ============================================
   PAGE DEFAULTS
   ============================================ */
.page-content {
    padding-top: 48px;
    min-height: 60vh;
}
.page-content .entry-content {
    font-size: 19px;
    line-height: 1.58;
    color: var(--gray-400);
}
.page-content .entry-content p {
    margin-bottom: 24px;
}

/* No Poster Placeholder */
.no-poster {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 24px;
    transition: gap 0.3s;
}
.back-link:hover { gap: 10px; }
.back-link svg { width: 14px; height: 14px; }

/* Success/Error messages */
.msg-success {
    padding: 14px 20px;
    background: rgba(200,169,110,0.1);
    border: 1px solid rgba(200,169,110,0.3);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 15px;
}
.msg-error {
    padding: 14px 20px;
    background: rgba(255,59,48,0.1);
    border: 1px solid rgba(255,59,48,0.3);
    border-radius: 12px;
    margin-bottom: 24px;
    color: #ff6961;
    font-size: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 834px) {
    .menu-toggle { display: block; }

    .header-actions {
        display: flex !important;
        align-items: center;
        gap: 10px;
        margin-left: auto;
    }    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.97);
        backdrop-filter: blur(30px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s var(--ease-out);
        z-index: 10000;
    }
    .main-nav.active { opacity: 1; pointer-events: auto; }
    .main-nav ul { flex-direction: column; gap: 28px; text-align: center; }
    .main-nav a { font-size: 17px; opacity: 1; }

    /* Mobile nav stagger fade-in */
    .main-nav li {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
    }
    .main-nav.active li {
        opacity: 1;
        transform: translateY(0);
    }
    .main-nav.active li:nth-child(1) { transition-delay: 0.05s; }
    .main-nav.active li:nth-child(2) { transition-delay: 0.1s; }
    .main-nav.active li:nth-child(3) { transition-delay: 0.15s; }
    .main-nav.active li:nth-child(4) { transition-delay: 0.2s; }
    .main-nav.active li:nth-child(5) { transition-delay: 0.25s; }
    .main-nav.active li:nth-child(6) { transition-delay: 0.3s; }

    /* Mobile nav Contact CTA */
    .mobile-nav-cta {
        display: block;
        margin-top: 40px;
        padding: 12px 32px;
        background: var(--accent);
        color: var(--black);
        font-family: var(--font-display);
        font-size: 15px;
        font-weight: 600;
        border-radius: 980px;
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.3s;
    }
    .main-nav.active .mobile-nav-cta {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.35s;
    }
    .mobile-nav-cta:hover {
        background: var(--accent-bright);
        color: var(--black);
    }

    .about-grid { grid-template-columns: 1fr; }
    .about-photo { max-width: 400px; }

    .film-hero-section { min-height: 60vh; }

    .contact-layout { grid-template-columns: 1fr; }

    .filmography-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

    .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
    .footer-brand { align-items: center; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 8px; }
}

@media (max-width: 480px) {
    .filmography-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .film-card { border-radius: 12px; }
    .film-card-info { padding: 12px 14px 16px; }
    .film-card-title { font-size: 15px; }
    .film-card-role { font-size: 12px; }
    .film-hero-poster { width: 200px; }
    .film-meta-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
        max-width: 100%;
    }
    .meta-item .meta-value {
        font-size: 15px;
    }
}


/* ── Language Toggle Button ── */
.lang-toggle {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.lang-toggle:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
}
.lang-toggle-ko, .lang-toggle-en {
    pointer-events: none;
}

/* Smooth transition for language switching */
.lang-ko, .lang-en,
.lang-ko-img, .lang-en-img,
.lang-ko-bg, .lang-en-bg,
.lang-ko-trailer, .lang-en-trailer {
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .lang-toggle {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* ── Film Filter Tabs ── */
.film-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    padding: 0 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.filter-tab:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}
.filter-tab.active {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}
.film-card.filter-hidden {
    display: none !important;
}
.film-card.filter-entering {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
}
.film-card.filter-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.filmography-grid.filtering {
    opacity: 0;
    transition: opacity 0.12s ease;
}
.filmography-grid.filter-reveal {
    opacity: 1;
    transition: opacity 0.2s ease;
}
/* Category Dividers */
.category-divider {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px 0 12px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    position: relative;
}
.category-divider::before,
.category-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 80px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.category-divider::before { left: 0; }
.category-divider::after { right: 0; }
.category-divider:first-child {
    padding-top: 0;
}

@media (max-width: 768px) {
    .film-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-left: 16px;
        padding-right: 16px;
        justify-content: flex-start;
        scrollbar-width: none;
    }
    .film-filter-tabs::-webkit-scrollbar { display: none; }
    .film-filter-tabs .filter-tab-row {
        display: contents;
    }
    .filter-tab {
        height: 36px;
        padding: 0 16px;
        font-size: 13px;
        flex-shrink: 0;
    }
}

/* ============================================
   COMING SOON Badge
   ============================================ */
.film-card-poster {
    position: relative;
}
.coming-soon-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0;
    background: none;
    border: none;
    z-index: 5;
    pointer-events: none;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
/* Fix: mobile filter + nav CTA */
@media(max-width:768px){.film-filter-tabs{display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;padding:0 16px}.film-filter-tabs .filter-tab-row{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:8px!important}.filter-tab{height:36px!important;padding:0 16px!important;font-size:13px!important}.main-nav{flex-direction:column!important}.main-nav.active{opacity:1!important;transition:opacity 0.3s ease!important}.mobile-nav-cta{background:transparent!important;color:rgba(255,255,255,0.8)!important;font-size:17px!important;font-weight:400!important;padding:0!important;border-radius:0!important;margin-top:12px!important;border:none!important;font-family:inherit!important;text-align:center!important}.mobile-nav-cta:hover{background:transparent!important;color:#fff!important}}
.video-embed.is-vertical {
    padding-bottom: 0;
    aspect-ratio: 9 / 16;
    max-width: 360px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Tools / First Rush — mobile layout fixes
   ============================================ */
.page-id-161 .entry-content {
    line-height: 1.76;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 1rem;
}
.page-id-161 .entry-content h3,
.page-id-161 .entry-content h4 {
    line-height: 1.25;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.page-id-161 .entry-content h3 {
    font-size: clamp(1.28rem, 2.2vw, 1.55rem) !important;
}
.page-id-161 .entry-content h4 {
    font-size: 1.05rem !important;
}
.page-id-161 .firstrush-hero-card,
.page-id-161 #firstrush-subscription,
.page-id-161 #firstrush-viewer {
    background:
        radial-gradient(circle at 88% 6%, rgba(207, 46, 46, 0.18), transparent 32%),
        linear-gradient(180deg, #151515 0%, #0b0b0b 100%) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16) !important;
}
.page-id-161 .firstrush-hero-card,
.page-id-161 #firstrush-subscription,
.page-id-161 #firstrush-viewer.firstrush-viewer-card {
    background:
        radial-gradient(circle at 88% 6%, rgba(207, 46, 46, 0.18), transparent 32%),
        linear-gradient(180deg, #151515 0%, #0b0b0b 100%) !important;
    color: #fff !important;
}
.page-id-161 #firstrush-subscription > div {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 14px !important;
}
.page-id-161 #firstrush-subscription > div > div {
    background: rgba(207, 46, 46, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 12px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
.page-id-161 #firstrush-subscription > div > div > div:first-child,
.page-id-161 #firstrush-subscription > div > div > div:nth-child(3) {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
}
.page-id-161 #firstrush-subscription > div > div > div:nth-child(2) {
    font-size: 1.75rem !important;
    line-height: 1.15 !important;
}
.page-id-161 #firstrush-subscription a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 42px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: 1rem !important;
}
.page-id-161 #firstrush-subscription a[href*="c2886539"] {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.page-id-161 #firstrush-subscription a[href*="5c71c82d"] {
    background: #cf2e2e !important;
    color: #fff !important;
}
.page-id-161 .firstrush-hero-kicker,
.page-id-161 #firstrush-viewer .firstrush-viewer-eyebrow {
    margin: 0 0 0.55rem !important;
    color: #cf2e2e !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
}
.page-id-161 .firstrush-hero-lead {
    max-width: 720px !important;
    margin: 0 auto 1.5em !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 1.1em !important;
    line-height: 1.7 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}
.page-id-161 .firstrush-hero-card p[style*="font-size:.85em"] {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}
.page-id-161 .firstrush-content-card {
    margin: 0 0 2em !important;
    padding: clamp(1.45rem, 3.6vw, 2.25rem) !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.96) 0%, rgba(10, 10, 10, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.13) !important;
}
.page-id-161 .firstrush-content-card h3 {
    margin: 0 0 1.2rem !important;
}
.page-id-161 .firstrush-content-card h3:not(:first-child) {
    margin-top: 2.2rem !important;
}
.page-id-161 .firstrush-content-card h4 {
    margin-top: 1.45rem !important;
    margin-bottom: 0.55rem !important;
    color: #cf2e2e !important;
}
.page-id-161 .firstrush-content-card ul,
.page-id-161 .firstrush-content-card ol {
    margin-top: 0 !important;
    margin-bottom: 1.2rem !important;
    line-height: 1.78 !important;
}
.page-id-161 .firstrush-content-card li {
    font-size: 1rem !important;
}
.page-id-161 .firstrush-content-card hr {
    margin: 2rem 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.page-id-161 .entry-content .firstrush-download-button,
.page-id-161 .entry-content a[href*="/first-rush/releases/FirstRush"],
.page-id-161 .entry-content a[href*="/filmrecorder/releases/FirstRush"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
    font-size: 1rem !important;
}

.page-id-161 .entry-content .firstrush-download-button .lang-ko,
.page-id-161 .entry-content .firstrush-download-button .lang-en,
.page-id-161 .entry-content a[href*="/first-rush/releases/FirstRush"] .lang-ko,
.page-id-161 .entry-content a[href*="/first-rush/releases/FirstRush"] .lang-en,
.page-id-161 .entry-content a[href*="/filmrecorder/releases/FirstRush"] .lang-ko,
.page-id-161 .entry-content a[href*="/filmrecorder/releases/FirstRush"] .lang-en {
    white-space: nowrap;
    line-height: 1.2;
}

.page-id-161 .entry-content ul,
.page-id-161 .entry-content ol {
    padding-left: 1.2em;
    margin-left: 0;
}

.page-id-161 .entry-content li {
    padding-left: 0.15em;
}

@media (max-width: 640px) {
    .page-id-161 .container-narrow {
        padding-left: 30px;
        padding-right: 30px;
    }

    .page-id-161 .entry-content {
        font-size: 17px;
        line-height: 1.72;
        overflow-wrap: break-word;
    }

    .page-id-161 .firstrush-content-card {
        padding: 1.6em 1.15em !important;
    }

    .page-id-161 .entry-content > div[style*="linear-gradient"] {
        padding: 2.4em 1.15em !important;
        border-radius: 14px !important;
    }

    .page-id-161 .entry-content > div[style*="linear-gradient"] p:first-child {
        font-size: 1.02em !important;
        line-height: 1.55 !important;
    }

    .page-id-161 .entry-content .firstrush-download-button,
    .page-id-161 .entry-content a[href*="/first-rush/releases/FirstRush"],
    .page-id-161 .entry-content a[href*="/filmrecorder/releases/FirstRush"] {
        padding: 14px 18px !important;
        font-size: 0.92em !important;
        letter-spacing: -0.02em;
        width: 100% !important;
        max-width: 320px !important;
        white-space: normal !important;
    }

    .page-id-161 .entry-content h3 {
        margin-top: 2.1em !important;
    }

    .page-id-161 .entry-content ul,
    .page-id-161 .entry-content ol {
        padding-left: 1em;
    }

    .page-id-161 #firstrush-subscription > div {
        grid-template-columns: 1fr !important;
    }

    .page-id-161 #firstrush-subscription a {
        width: 100% !important;
        white-space: normal !important;
        word-break: keep-all !important;
    }
}

/* Title wrapping polish: keep bilingual work titles from orphaning short tokens */
.film-card-title,
.film-detail .headline-large {
    text-wrap: balance;
    word-break: keep-all;
}

/* 14. 제목 줄바꿈 균형 + 한글 단어 단위 wrap (LV처럼 한·영 혼합 긴 제목 보정) */
.film-card-title,
.film-detail .headline-large {
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 16. LV 카드 키비주얼 cover 적용 시 인물 머리 위쪽 잘림 방지 */
.film-card-poster img[src*="louis-vuitton-spirit-travel-keyvisual"] {
    object-position: center top !important;
}

/* 17. First Rush manual links — flex on desktop, stacked on mobile */
.firstrush-manual-links {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 18px 0 0 !important;
}
.firstrush-manual-links a {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.22);
    white-space: nowrap;
    transition: background .2s ease;
}
.firstrush-manual-links a:hover {
    background: rgba(255,255,255,.16);
}
@media (max-width: 600px) {
    .firstrush-manual-links {
        flex-direction: column;
        gap: 8px;
    }
    .firstrush-manual-links a {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px 18px !important;
        font-size: .9em !important;
    }
}

/* 18. First Rush manual links — iPhone no-wrap hardening */
.page-id-161 .firstrush-manual-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
}
.page-id-161 .firstrush-manual-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: calc(100vw - 56px) !important;
    min-height: 42px !important;
    padding: 10px 14px !important;
    font-size: clamp(12px, 3.35vw, 14px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    text-align: center !important;
}
.page-id-161 .firstrush-manual-links a span {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}
@media (min-width: 560px) {
    .page-id-161 .firstrush-manual-links {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
}

/* 19. First Rush / Tools page — language visibility before/after JS toggle */
html[lang="ko-KR"] .page-id-161 .lang-en,
html[lang="ko"] .page-id-161 .lang-en {
    display: none !important;
}
html[lang="en"] .page-id-161 .lang-ko {
    display: none !important;
}
html[lang="en"] .page-id-161 .lang-en {
    display: inline !important;
}

/* 20. First Rush Viewer — vertical dark card */
.page-id-161 #firstrush-viewer.firstrush-viewer-card {
    margin: 3em 0 0 !important;
    padding: clamp(1.5rem, 4vw, 2.4rem) !important;
    color: #fff !important;
    border-radius: 12px !important;
    background:
        radial-gradient(circle at 88% 6%, rgba(207, 46, 46, 0.18), transparent 32%),
        linear-gradient(180deg, #151515 0%, #0b0b0b 100%) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2) !important;
}
.page-id-161 #firstrush-viewer .firstrush-viewer-header {
    max-width: 760px !important;
    margin: 0 0 1.55rem !important;
}
.page-id-161 #firstrush-viewer .firstrush-viewer-eyebrow {
    margin: 0 0 0.55rem !important;
    color: #cf2e2e !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
}
.page-id-161 #firstrush-viewer h3 {
    margin: 0 0 0.75rem !important;
    color: #fff !important;
    line-height: 1.18 !important;
    word-break: keep-all !important;
}
.page-id-161 #firstrush-viewer .firstrush-viewer-lead {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    line-height: 1.78 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}
.page-id-161 #firstrush-viewer .firstrush-viewer-shot {
    max-width: 880px !important;
    margin: 0 auto 1.55rem !important;
}
.page-id-161 #firstrush-viewer .firstrush-viewer-shot img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32) !important;
}
.page-id-161 #firstrush-viewer .firstrush-viewer-points {
    margin: 0 0 1.35rem !important;
    padding-left: 1.15rem !important;
    color: rgba(255, 255, 255, 0.78) !important;
    line-height: 1.85 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}
.page-id-161 #firstrush-viewer .firstrush-viewer-actions {
    margin: 0 !important;
}
.page-id-161 #firstrush-viewer .firstrush-appstore-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
    padding: 13px 22px !important;
    border-radius: 999px !important;
    background: #cf2e2e !important;
    color: #fff !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.page-id-161 #firstrush-viewer .firstrush-viewer-meta {
    margin: 0.85rem 0 0 !important;
    color: rgba(255, 255, 255, 0.56) !important;
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
}
@media (max-width: 600px) {
    .page-id-161 #firstrush-viewer.firstrush-viewer-card {
        padding: 2em 1.25em !important;
    }
    .page-id-161 #firstrush-viewer .firstrush-viewer-header {
        margin-bottom: 1.3rem !important;
    }
    .page-id-161 #firstrush-viewer .firstrush-viewer-shot {
        margin-bottom: 1.3rem !important;
    }
    .page-id-161 #firstrush-viewer .firstrush-appstore-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 16px !important;
        font-size: 0.92em !important;
        white-space: normal !important;
        word-break: keep-all !important;
    }
}

/* 21. Tools page — unify major card padding */
.page-id-161 .firstrush-hero-card,
.page-id-161 .firstrush-content-card,
.page-id-161 #firstrush-subscription,
.page-id-161 #firstrush-viewer.firstrush-viewer-card {
    padding: clamp(1.5rem, 3.8vw, 2.4rem) !important;
}
@media (max-width: 600px) {
    .page-id-161 .firstrush-hero-card,
    .page-id-161 .firstrush-content-card,
    .page-id-161 #firstrush-subscription,
    .page-id-161 #firstrush-viewer.firstrush-viewer-card {
        padding: clamp(1.25rem, 5vw, 1.75rem) !important;
    }
}
