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

:root {
    --bg: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --gold: #c8a84e;
    --gold-dim: rgba(200, 168, 78, .15);
    --gold-glow: rgba(200, 168, 78, .25);
    --white: #f0efe9;
    --gray: #888888;
    --gray-dim: #555555;
    --border: rgba(255,255,255,.06);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ANIMATION BASE ===== */
.anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background .3s, backdrop-filter .3s, padding .3s;
}
.nav.scrolled {
    background: rgba(10, 10, 10, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.nav-logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: .05em;
    color: var(--gold);
}
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 110;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 260px;
    background: rgba(15, 15, 15, .97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    border-left: 1px solid var(--border);
}
.nav-menu.open { transform: translateX(0); }
.nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--gray);
    transition: color .25s, padding-left .25s;
}
.nav-menu a:hover, .nav-menu a:active {
    color: var(--gold);
    padding-left: 8px;
}

@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .nav-menu {
        position: static;
        width: auto;
        background: none;
        backdrop-filter: none;
        flex-direction: row;
        gap: 0;
        padding: 0;
        transform: none;
        border: none;
    }
    .nav-menu a {
        padding: 8px 16px;
        font-size: .875rem;
    }
}

/* ===== HERO ===== */
.hero {
    min-height: 75svh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0 50px;
    overflow: hidden;
    background-color: #0a0a0a;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/2222222.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    opacity: 0.12;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-image-bg.scrolled-out {
    opacity: 0;
}
.hero-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, #0a0a0a 0%, rgba(10,10,10,0.9) 25%, rgba(10,10,10,0.3) 60%, transparent 100%),
        linear-gradient(to bottom, #0a0a0a 0%, transparent 18%),
        linear-gradient(to top,   #0a0a0a 0%, transparent 22%);
    z-index: 2;
}
@media (max-width: 768px) {
    .hero-image-bg {
        opacity: 0.26;
        background-position: 72% center;
    }
    .hero-image-bg::before {
        background: linear-gradient(to right, #0a0a0a 20%, rgba(10, 10, 10, 0.45) 60%, transparent 95%);
    }
}
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-label {
    font-size: .75rem;
    letter-spacing: .35em;
    color: var(--gray);
    margin-bottom: 16px;
    font-weight: 400;
}
.hero-title {
    line-height: .95;
    margin-bottom: 20px;
}
.hero-firstname {
    display: block;
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--white);
}
.hero-lastname {
    display: block;
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--gold);
}
.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.35rem);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}
.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 16px;
}
.hero-desc {
    font-size: clamp(.9rem, 2.5vw, 1.05rem);
    color: var(--gray);
    max-width: 560px;
    margin-bottom: 12px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-top: 18px;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .03em;
    border-radius: 4px;
    transition: background .3s, color .3s, transform .2s;
}
.hero-cta:hover {
    background: var(--gold);
    color: var(--bg);
    transform: translateY(-2px);
}
.hero-cta:active { transform: scale(.97); }

.hero-cta.secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.hero-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

/* scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: .3; transform: scaleY(.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== STATS ===== */
.stats-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}
.stat-card {
    padding: 28px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color .3s, transform .3s;
}
.stat-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-3px);
}
.stat-top { display: flex; align-items: baseline; justify-content: center; }
.stat-number {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}
.stat-plus {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--gold);
}
.stat-label {
    display: block;
    margin-top: 8px;
    font-size: .75rem;
    color: var(--gray);
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ===== EXPERIENCE ===== */
.experience-section {
    padding: 80px 0;
}
.section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -.01em;
}
.section-hint {
    font-size: .85rem;
    color: var(--gray-dim);
    margin-top: -30px;
    margin-bottom: 32px;
}
.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
    align-items: start;
}
@media (min-width: 600px) {
    .experience-grid { grid-template-columns: 1fr 1fr; }
}
.exp-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .3s, transform .3s;
}
.exp-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-2px);
}
.exp-card-header {
    position: relative;
    padding-right: 32px;
}
.exp-toggle-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: var(--gray-dim);
    transition: transform 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.exp-card.open .exp-toggle-icon {
    transform: translateY(-50%) rotate(180deg);
    color: var(--gold);
}
.exp-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}
.exp-card-body-inner {
    padding-top: 16px;
}
.exp-bullets {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.exp-bullets li::marker {
    color: var(--gold);
}
.exp-bullets li strong {
    color: var(--white);
}
.exp-cat {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--gold);
    margin-bottom: 8px;
}
.exp-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}
.exp-desc {
    font-size: .9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* tech stack */
.tech-stack {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.tech-tag {
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--white);
    transition: border-color .3s, background .3s, transform .2s;
}
.tech-tag:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-2px);
}

/* ===== FILMOGRAPHY ===== */
.filmography-section {
    padding: 80px 0;
}
.film-list, .experience-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.film-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.film-header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 4px;
    text-align: left;
    cursor: pointer;
    transition: background .25s;
    -webkit-tap-highlight-color: transparent;
}
.film-header:hover { background: rgba(255,255,255,.02); }
.film-header:active { background: rgba(255,255,255,.04); }

.film-year {
    font-size: clamp(.85rem, 2.5vw, 1rem);
    font-weight: 600;
    color: var(--gold);
    min-width: 48px;
    flex-shrink: 0;
}
.film-info { flex: 1; min-width: 0; }
.film-title {
    font-size: clamp(.9rem, 2.8vw, 1.15rem);
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.film-role {
    display: block;
    font-size: .72rem;
    letter-spacing: .12em;
    color: var(--gray);
    margin-top: 3px;
    text-transform: uppercase;
}

/* +/- icon */
.film-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.icon-bar {
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 1.5px;
    background: var(--gray);
    transform: translate(-50%, -50%);
    transition: transform .35s var(--ease), background .3s;
}
.icon-bar.vert {
    transform: translate(-50%, -50%) rotate(90deg);
}
.film-item.open .icon-bar { background: var(--gold); }
.film-item.open .icon-bar.vert { transform: translate(-50%, -50%) rotate(0deg); }

/* collapsible body */
.film-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease);
}
.film-body-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 8px 4px 28px;
}
@media (min-width: 700px) {
    .film-body-inner {
        flex-direction: row;
        gap: 28px;
    }
}

/* video embed area */
.film-video {
    flex: 1;
    min-width: 0;
}
.video-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .3s;
}
.video-thumb:hover {
    box-shadow: 0 0 30px var(--gold-glow);
}
.video-thumb iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    border-radius: 8px;
}
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    transition: transform .25s;
}
.video-thumb:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.play-btn svg { width: 100%; height: auto; }

/* laurels styling on cover */
.laurels-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s;
}
.laurel-badge {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1); /* Turns black laurels into white */
    opacity: 0.85;
}
@media (max-width: 480px) {
    .laurel-badge {
        height: 22px;
    }
    .laurels-overlay {
        bottom: 8px;
        left: 8px;
        gap: 8px;
    }
}
/* hide overlays when playing */
.video-thumb.playing .play-btn,
.video-thumb.playing .laurels-overlay {
    display: none;
}

/* description */
.film-desc {
    flex: 1;
    min-width: 0;
}
.film-desc h4 {
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.film-desc p {
    font-size: .9rem;
    color: var(--gray);
    line-height: 1.7;
}
.film-meta {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.film-meta span {
    font-size: .8rem;
    color: var(--gray-dim);
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.contact-sub {
    color: var(--gray);
    font-size: .95rem;
    margin-top: -28px;
    margin-bottom: 40px;
}
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 500;
    width: 100%;
    max-width: 380px;
    justify-content: center;
    transition: border-color .3s, background .3s, transform .2s;
    color: var(--white);
    text-decoration: none;
}
.contact-link svg { color: var(--gold); flex-shrink: 0; }
.contact-link:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-2px);
}
.contact-link:active { transform: scale(.97); }

/* ===== SUBPROJECT BLOCKS ===== */
.subproject-block {
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.subproject-block:first-of-type { border-top: none; padding-top: 0; }
.subproject-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.subproject-sub {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--gray);
}

/* ===== FOOTER ===== */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer p {
    font-size: .78rem;
    color: var(--gray-dim);
    letter-spacing: .05em;
}

/* ===== EPISODES LIST (Vertical Video Row) ===== */
.episodes-wrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
}
.episodes-wrapper::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 60px;
    background: linear-gradient(to right, transparent, var(--bg));
    pointer-events: none;
    z-index: 2;
}
.episodes-scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    padding: 10px 60px 10px 4px; /* Pad right by mask width */
    -webkit-overflow-scrolling: touch;
}
.episodes-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Webkit */
}
.episode-card {
    flex: 0 0 130px; /* Width of each 9:16 card */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.video-thumb.portrait-thumb {
    padding-top: 177.77% !important; /* 9:16 aspect ratio */
}
.episode-title {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray);
    text-align: center;
}

/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 480px) {
    .stat-card { padding: 20px 8px; }
    .exp-card { padding: 20px 16px; }
    .tech-stack { padding: 24px 16px; }
    .film-header { gap: 12px; padding: 16px 0; }
    .film-title { font-size: .85rem; }
    
    /* Name styling */
    .hero-firstname, .hero-lastname {
        font-size: 2.1rem;
        margin-left: -6px;
    }
    
    /* Button layout */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-actions .hero-cta {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    /* Shortform / Commercial section */
    .episode-card { 
        flex: 0 0 108px; 
    }
    .shortform-pack { 
        width: 244px;
        position: relative;
        padding-right: 14px; 
        margin-right: 14px; 
    }
    .shortform-pack:has(.episode-card:nth-child(3)) {
        width: 280px; /* Make container wider to peek 3rd video */
    }
    .pack-videos {
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-right: 40px; /* gives padding after the 3rd video card */
    }
    .pack-videos::-webkit-scrollbar {
        display: none;
    }
    /* Fixed darkness overlay on the right edge of each pack */
    .shortform-pack::after {
        content: '';
        position: absolute;
        right: 0;
        top: 24px; /* below the label */
        height: 192px; /* height of portrait card */
        width: 50px;
        background: linear-gradient(to right, transparent 0%, #0a0a0a 100%);
        pointer-events: none;
        z-index: 5;
        opacity: 1;
        transition: opacity 0.3s;
    }
    .pack-desc { 
        max-width: 220px; 
    }
}

/* ===== SAFE AREA (notch) ===== */
@supports (padding: env(safe-area-inset-top)) {
    .nav { padding-top: max(16px, env(safe-area-inset-top)); }
    .footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
}

/* ===== FILM ITEM HOVER & PRESS EFFECTS ===== */
.film-header {
    transition: background 0.2s, transform 0.18s;
    will-change: transform;
}
@media (hover: hover) {
    .film-header:hover {
        background: rgba(255,255,255,0.04);
        transform: scale(1.012);
    }
}
.film-header:active {
    transform: scale(0.985);
    transition: transform 0.08s;
}

/* Episode card hover scale */
.episode-card {
    transition: transform 0.2s ease;
    will-change: transform;
}
@media (hover: hover) {
    .episode-card:hover {
        transform: scale(1.05);
        z-index: 2;
    }
}
.episode-card:active {
    transform: scale(0.96);
    transition: transform 0.08s;
}

/* ===== SHORTFORM STRIP (COMMERCIAL block) ===== */
.shortform-strip {
    display: flex;
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    /* Show ~30px of next pack as peek */
    padding-right: 40px;
}
.shortform-strip::-webkit-scrollbar { display: none; }

.shortform-pack {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 24px;
    border-right: 1px solid rgba(255,255,255,0.07);
    margin-right: 24px;
}
.shortform-pack:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.pack-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pack-label small {
    font-weight: 400;
    font-size: 0.68rem;
    color: var(--gray);
    text-transform: none;
    letter-spacing: 0;
}

.pack-videos {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
}

.pack-desc {
    font-size: 0.72rem;
    color: var(--gray);
    line-height: 1.45;
    margin: 6px 0 0;
    max-width: 220px;
    opacity: 0.75;
}

/* ===== VIDEO LIGHTBOX MODAL ===== */
.video-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.25s ease;
}
.video-modal-overlay.open {
    display: flex;
}

/* Landscape wrapper — 16:9 */
.video-modal-wrap {
    position: relative;
    width: min(90vw, 900px);
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 32px 100px rgba(0,0,0,0.8);
    animation: modalSlideUp 0.3s cubic-bezier(0.34,1.4,0.64,1);
}

/* Portrait wrapper — 9:16 for Shorts */
.video-modal-wrap.modal-portrait {
    width: min(44vw, 400px);
    aspect-ratio: 9 / 16;
}

.video-modal-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-modal-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 10;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
    line-height: 1;
}

.video-modal-external-link {
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
@media (hover: hover) {
    .video-modal-external-link:hover {
        background: var(--gold);
        color: #000;
        border-color: var(--gold);
    }
}
.video-modal-external-link:active {
    transform: scale(0.95);
}
.video-modal-close-btn:hover {
    background: rgba(200,168,78,0.85);
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .video-modal-wrap { width: 96vw; }
    .video-modal-wrap.modal-portrait { width: min(86vw, 360px); }
    .video-modal-close-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        top: 8px;
        right: 8px;
    }
}

/* ===== EMAIL MODAL ===== */
.mail-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.25s ease;
}
.mail-modal-overlay.open {
    display: flex;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.mail-modal-box {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px 36px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    animation: modalSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.mail-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.mail-modal-close:hover { color: var(--white); }
.mail-modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 6px;
}
.mail-modal-sub {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0 0 28px;
    line-height: 1.5;
}
.mail-modal-sub strong { color: var(--gold); }
.mail-field {
    margin-bottom: 18px;
}
.mail-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-bottom: 7px;
}
.mail-field input,
.mail-field textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
    resize: vertical;
}
.mail-field input::placeholder,
.mail-field textarea::placeholder { color: rgba(255,255,255,0.25); }
.mail-field input:focus,
.mail-field textarea:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
}
.mail-send-btn {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 8px;
    letter-spacing: 0.03em;
    transition: opacity 0.2s, transform 0.15s;
}
.mail-send-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}
.mail-send-btn:active { transform: translateY(0); }
@media (max-width: 480px) {
    .mail-modal-box { padding: 30px 20px; }
}
