/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #000;
    --color-white: #fff;
    --color-red: #ff0000;
    --font-primary: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    --font-secondary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
    overflow: hidden;
    background: var(--color-black);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-white);
    background: var(--color-black);
    overflow: hidden;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation Menu */
.menu {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 1000;
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.menu.hide {
    opacity: 0;
    pointer-events: none;
}

.menu-item {
    color: var(--color-white);
    text-decoration: none;
    position: relative;
    padding: 10px 15px;
    transition: color 0.1s ease;
    cursor: pointer;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.9);
    opacity: 0;
    z-index: -1;
    transform: translateX(-50%);
    transition: opacity 0.1s ease;
}

.menu-item:hover {
    color: var(--color-red);
}

.menu-item.active::before {
    animation: blink-opacity 0.14s 3;
    animation-fill-mode: forwards;
}

/* Blink Animation */
@keyframes blink-opacity {
    0%, 92% { opacity: 0; }
    2%, 4% { opacity: 1; }
    30%, 32% { opacity: 1; }
    60%, 62% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes blink-red {
    0%, 33%, 66% { background-color: rgba(255, 0, 0, 0.6); }
    17%, 50%, 83% { background-color: var(--color-red); }
    100% { background-color: var(--color-red); }
}

/* Section Base Styles */
.section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.section.active {
    opacity: 1;
    pointer-events: all;
}

/* Flashing Light Intro */
.flash-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    background: var(--color-black);
    pointer-events: none;
}

.flash-light {
    width: 100%;
    height: 100%;
    background: var(--color-red);
    opacity: 0;
    animation: flashSequence 0.5s ease-out forwards;
}

@keyframes flashSequence {
    0% { opacity: 0; }
    10% { opacity: 1; }
    25% { opacity: 0; }
    35% { opacity: 1; }
    50% { opacity: 0; }
    60% { opacity: 1; }
    75% { opacity: 0; }
    85% { opacity: 1; }
    100% { opacity: 0; }
}

/* Home Section */
#home {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 60px;
    padding-bottom: 120px;
}

.intro-container {
    position: relative;
    width: 100%;
}

.text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-transform: uppercase;
}

.job-title {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 2.5vw;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
}

.job-word {
    display: inline-block;
    opacity: 0;
    animation: flashIn 0.3s steps(1) forwards;
    animation-delay: 1.9s;
}

@keyframes flashIn {
    0%, 50% { opacity: 0; }
    51%, 100% { opacity: 1; }
}

.name-title {
    font-family: var(--font-primary);
    font-size: 4vw;
    line-height: 1.3;
    letter-spacing: -0.05em;
    position: relative;
    min-height: 9vw;
    display: block;
    text-align: left;
    opacity: 0;
    animation: nameGrowFromDot 1.2s steps(1) forwards;
    animation-delay: 0.5s;
}

@keyframes nameGrowFromDot {
    0%, 3% {
        opacity: 0;
        font-size: 0.05vw;
        letter-spacing: 15em;
    }
    4%, 7% {
        opacity: 1;
        font-size: 0.05vw;
        letter-spacing: 15em;
    }
    8%, 11% {
        opacity: 0;
        font-size: 0.05vw;
        letter-spacing: 15em;
    }
    12%, 15% {
        opacity: 1;
        font-size: 0.05vw;
        letter-spacing: 15em;
    }
    16%, 19% {
        opacity: 0;
        font-size: 0.05vw;
        letter-spacing: 15em;
    }
    20%, 23% {
        opacity: 1;
        font-size: 0.08vw;
        letter-spacing: 14em;
    }
    24%, 27% {
        opacity: 0;
        font-size: 0.08vw;
        letter-spacing: 14em;
    }
    28%, 31% {
        opacity: 1;
        font-size: 0.1vw;
        letter-spacing: 13em;
    }
    32%, 35% {
        opacity: 0;
        font-size: 0.1vw;
        letter-spacing: 13em;
    }
    36%, 39% {
        opacity: 1;
        font-size: 0.15vw;
        letter-spacing: 12em;
    }
    40%, 43% {
        opacity: 0;
        font-size: 0.15vw;
        letter-spacing: 12em;
    }
    44%, 47% {
        opacity: 1;
        font-size: 1.5vw;
        letter-spacing: 3em;
    }
    48%, 51% {
        opacity: 0;
        font-size: 1.5vw;
        letter-spacing: 3em;
    }
    52%, 55% {
        opacity: 1;
        font-size: 2vw;
        letter-spacing: 1.5em;
    }
    56%, 59% {
        opacity: 0;
        font-size: 2vw;
        letter-spacing: 1.5em;
    }
    60%, 63% {
        opacity: 1;
        font-size: 2.5vw;
        letter-spacing: 0.5em;
    }
    64%, 67% {
        opacity: 0;
        font-size: 2.5vw;
        letter-spacing: 0.5em;
    }
    68%, 71% {
        opacity: 1;
        font-size: 3vw;
        letter-spacing: 0em;
    }
    72%, 75% {
        opacity: 0;
        font-size: 3vw;
        letter-spacing: 0em;
    }
    76%, 79% {
        opacity: 1;
        font-size: 3.5vw;
        letter-spacing: -0.03em;
    }
    80%, 83% {
        opacity: 0;
        font-size: 3.5vw;
        letter-spacing: -0.03em;
    }
    84%, 100% {
        opacity: 1;
        font-size: 4vw;
        letter-spacing: -0.05em;
    }
}

.name-letter {
    display: inline-block;
    position: relative;
}

.surname-space {
    width: 0.15em;
}

.name-space {
    display: block;
    width: 100%;
    height: 0;
    line-height: 0;
}

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

/* Full Width Gallery */
.full-width-gallery {
    position: absolute;
    top: 60px;
    left: 60px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    background: var(--color-red);
    opacity: 0;
    border-radius: 50%;
    animation: dotFlashGrowFullWidth 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 1.3s;
}

@keyframes dotFlashGrowFullWidth {
    0% {
        opacity: 0;
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }
    5% { opacity: 1; }
    10% { opacity: 0; }
    15% { opacity: 1; }
    20% { opacity: 0; }
    25% { opacity: 1; }
    30% { opacity: 0; }
    35% { opacity: 1; }
    40% { opacity: 0; }
    45% { opacity: 1; }
    50% {
        opacity: 1;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        left: 60px;
    }
    60% {
        width: 200px;
        height: 60px;
        border-radius: 30px;
        left: 60px;
    }
    70% {
        width: 600px;
        height: 120px;
        border-radius: 10px;
        left: 60px;
    }
    85% {
        width: calc(100% - 120px);
        height: 480px;
        border-radius: 0px;
        left: 60px;
    }
    100% {
        opacity: 1;
        width: calc(100% - 120px);
        height: 520px;
        border-radius: 0px;
        left: 60px;
    }
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 0, 0, 0.5) 0%,
        rgba(255, 0, 0, 0.4) 50%,
        rgba(255, 0, 0, 0.5) 100%
    );
    mix-blend-mode: multiply;
    z-index: 2;
    pointer-events: none;
}

.gallery-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: imageKineticCycle 15s infinite;
}

.gallery-image:nth-child(1) {
    animation-delay: 0s;
}

.gallery-image:nth-child(2) {
    animation-delay: 3s;
}

.gallery-image:nth-child(3) {
    animation-delay: 6s;
}

.gallery-image:nth-child(4) {
    animation-delay: 9s;
}

.gallery-image:nth-child(5) {
    animation-delay: 12s;
}

.gallery-image:nth-child(6) {
    animation-delay: 15s;
}

.gallery-image:nth-child(7) {
    animation-delay: 18s;
}

.gallery-image:nth-child(8) {
    animation-delay: 21s;
}

.gallery-image:nth-child(9) {
    animation-delay: 24s;
}

@keyframes imageKineticCycle {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    0.5% {
        opacity: 1;
        transform: scale(1.02);
    }
    1% {
        opacity: 0;
        transform: scale(1.02);
    }
    1.5% {
        opacity: 1;
        transform: scale(1.04);
    }
    2% {
        opacity: 0;
        transform: scale(1.04);
    }
    2.5% {
        opacity: 1;
        transform: scale(1.05);
    }
    18% {
        opacity: 1;
        transform: scale(1.08);
    }
    19% {
        opacity: 0;
        transform: scale(1.08);
    }
    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

/* Work Section */
#work {
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-container {
    width: 100%;
    display: flex;
    gap: 100px;
    align-items: center;
}

.projects-list {
    flex: 1;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    padding-right: 20px;
}

.projects-list::-webkit-scrollbar {
    width: 3px;
}

.projects-list::-webkit-scrollbar-track {
    background: transparent;
}

.projects-list::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.projects-list:hover::-webkit-scrollbar-thumb {
    background: var(--color-red);
}

.projects-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-white);
}

.project-item {
    text-decoration: none;
    color: var(--color-white);
    display: flex;
    align-items: baseline;
    gap: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    justify-content: space-between;
}

.project-item:hover {
    color: var(--color-red);
}

.project-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--color-red);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover::before {
    opacity: 1;
    animation: blink-red 0.3s 1 forwards;
}

.project-title {
    font-family: var(--font-primary);
    font-size: 9vw;
    line-height: 1em;
    letter-spacing: -0.02em;
}

.project-year {
    font-size: 1.2vw;
    opacity: 0.5;
}

.project-preview {
    position: relative;
    display: none;
}

.preview-indicator {
    width: 30px;
    height: 30px;
    background-color: var(--color-red);
    margin-bottom: 20px;
}

.preview-image {
    width: 400px;
    height: auto;
    display: none;
}

/* About Section - Camera Interface */
#about {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--color-black);
}

/* Camera Recording Interface Overlay */
.camera-interface {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Top HUD */
.camera-hud-top {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--color-white);
    font-weight: bold;
}

.rec-indicator {
    color: var(--color-red);
    animation: blinkRec 1s infinite;
}

@keyframes blinkRec {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.timecode {
    letter-spacing: 2px;
}

.battery {
    opacity: 0.8;
}

/* Corner Frame Markers */
.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-red);
}

.corner-tl {
    top: 50px;
    left: 50px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 50px;
    right: 50px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 50px;
    left: 50px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 50px;
    right: 50px;
    border-left: none;
    border-top: none;
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
}

.grid-v1 {
    left: 33.33%;
    top: 0;
    width: 1px;
    height: 100%;
}

.grid-v2 {
    left: 66.66%;
    top: 0;
    width: 1px;
    height: 100%;
}

.grid-h1 {
    left: 0;
    top: 33.33%;
    width: 100%;
    height: 1px;
}

.grid-h2 {
    left: 0;
    top: 66.66%;
    width: 100%;
    height: 1px;
}

/* Center Focus Box */
.focus-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 0, 0, 0.4);
}

.focus-box::before,
.focus-box::after {
    content: '';
    position: absolute;
    background: rgba(255, 0, 0, 0.6);
}

.focus-box::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
}

.focus-box::after {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
}

/* Bottom HUD */
.camera-hud-bottom {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0 30px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--color-white);
    font-weight: bold;
    opacity: 0.9;
}

/* About Content Layout */
.about-layout {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 100px 80px;
    gap: 80px;
    align-items: center;
}

/* Bio Left Side */
.about-bio {
    flex: 1;
    color: var(--color-white);
    text-transform: uppercase;
}

.bio-title {
    font-family: var(--font-primary);
    font-size: 3vw;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.bio-name-line {
    display: block;
}

.bio-role {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 1vw;
    color: var(--color-red);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.bio-text {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 1.1vw;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.bio-text p {
    margin-bottom: 15px;
}

.bio-collaborations {
    margin-top: 30px;
}

.bio-collaborations .collab-label {
    font-size: 0.8vw;
    opacity: 0.6;
    margin-bottom: 15px;
}

.bio-collaborations .collab-list {
    list-style: none;
    display: flex;
    gap: 20px;
    font-weight: bold;
    font-size: 1vw;
}

/* Portrait Right Side */
.about-portrait {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-frame {
    position: relative;
    width: 400px;
    height: 500px;
    border: 3px solid var(--color-red);
    overflow: hidden;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 80%;
}

.about-title {
    font-family: var(--font-primary);
    font-size: min(75vh, 55vw);
    line-height: 0.9;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.char-wrapper {
    display: inline-block;
    opacity: 0;
    transform: scale(0.5);
    animation: scaleIn 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about-description {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 1.4vw;
    line-height: 1.6;
    text-transform: uppercase;
    max-width: 600px;
}

.description-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 0.8s;
}

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

.collaborations {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.collab-label {
    font-size: 0.9vw;
    opacity: 0.6;
    font-weight: bold;
}

.collab-list {
    display: flex;
    gap: 20px;
    list-style: none;
    font-weight: bold;
    font-size: 1.1vw;
}

.collab-list span {
    color: var(--color-red);
}

/* Project Detail Page */
.project-detail {
    padding: 0;
    overflow: hidden;
}

/* Project Intro (0-3s) */
.project-intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 10;
}

.project-intro.hide {
    opacity: 0;
    pointer-events: none;
}

.project-intro-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 60px;
    box-sizing: border-box;
}

.project-intro-title {
    font-family: var(--font-primary);
    font-size: 6vw;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-top: 40px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: visible;
}

.project-video-container {
    position: relative;
    width: 80%;
    max-width: 1400px;
    overflow: hidden;
}

.project-video {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    outline: none;
}

/* Project Poster Container (for projects without video) */
.project-poster-container {
    position: relative;
    width: 100%;
    height: 80vh;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-poster-intro {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    outline: none;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.cinematic-bars {
    position: absolute;
    left: 0;
    width: 100%;
    height: 10%;
    background: var(--color-black);
    z-index: 5;
}

.bar-top {
    top: 0;
}

.bar-bottom {
    bottom: 0;
}

.project-intro-description {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 1.2vw;
    color: var(--color-white);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Project Layout (after 3s) */
.project-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    width: 100%;
    height: 100%;
    padding: 80px;
    gap: 60px;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-layout.show {
    opacity: 1;
}

.project-poster {
    grid-column: 2 / 5;
}

.poster-img {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid var(--color-red);
}

.project-info {
    grid-column: 5 / 13;
    color: var(--color-white);
}

.project-detail-title {
    font-family: var(--font-primary);
    font-size: 5vw;
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 0.9vw;
    letter-spacing: 1px;
}

.project-meta-item {
    color: var(--color-red);
}

.project-cta {
    margin-bottom: 30px;
}

.investment-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: var(--color-red);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 0.9vw;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--color-red);
}

.investment-cta:hover {
    background: transparent;
    color: var(--color-red);
}

.cta-arrow {
    font-size: 1.2vw;
    transition: transform 0.3s ease;
}

.investment-cta:hover .cta-arrow {
    transform: translateX(5px);
}

.project-description {
    font-family: var(--font-secondary);
    font-size: 1.1vw;
    line-height: 1.8;
    margin-bottom: 50px;
}

.project-description p {
    margin-bottom: 20px;
}

.project-credits {
    font-family: var(--font-secondary);
}

.credits-title {
    font-weight: bold;
    font-size: 0.9vw;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.credits-list {
    list-style: none;
    font-size: 1vw;
    line-height: 1.8;
}

.credit-role {
    color: var(--color-red);
    font-weight: bold;
}

/* Project Navigation */
.project-navigation {
    grid-column: 2 / 13;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-navigation:has(.prev-project):has(.next-project) {
    justify-content: space-between;
}

.project-nav-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 0.9vw;
    letter-spacing: 2px;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.project-nav-btn:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.nav-arrow {
    font-size: 1.5vw;
    transition: transform 0.3s ease;
}

.prev-project:hover .nav-arrow {
    transform: translateX(-5px);
}

.next-project:hover .nav-arrow {
    transform: translateX(5px);
}

.nav-label {
    font-size: 0.9vw;
}

/* Contact Section */
#contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-wrapper {
    position: relative;
    text-align: center;
}

/* Flashing Red Square */
.contact-dot {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--color-red);
    opacity: 0;
    z-index: 100;
    animation: contactDotFlashMove 1.6s steps(1) forwards;
}

@keyframes contactDotFlashMove {
    0%, 6% {
        opacity: 0;
    }
    7%, 12% {
        opacity: 1;
    }
    13%, 18% {
        opacity: 0;
    }
    19%, 24% {
        opacity: 1;
    }
    25%, 30% {
        opacity: 0;
    }
    31%, 36% {
        opacity: 1;
    }
    37%, 42% {
        opacity: 0;
    }
    43%, 48% {
        opacity: 1;
    }
    49%, 54% {
        opacity: 0;
    }
    55%, 60% {
        opacity: 1;
    }
    61%, 100% {
        opacity: 0;
        display: none;
    }
}

/* Contact Content */
.contact-content {
    opacity: 0;
    animation: fadeInContact 0.5s ease forwards;
    animation-delay: 1.6s;
}

@keyframes fadeInContact {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.contact-content .contact-email-dot {
    opacity: 0;
    animation: dotAppear 0.2s steps(1) forwards, hardBlink 1s steps(1) infinite;
    animation-delay: 1.6s, 1.6s;
}

@keyframes dotAppear {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.contact-heading {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 1.2vw;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--color-white);
}

.contact-subheading {
    font-family: var(--font-secondary);
    font-size: 0.9vw;
    color: var(--color-white);
    opacity: 0.6;
    margin-bottom: 30px;
}

.contact-email-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.contact-email-dot {
    display: block;
    width: 20px;
    height: 20px;
    background: var(--color-red);
    flex-shrink: 0;
    transform: translateY(3px);
    animation: hardBlink 1s steps(1) infinite;
}

@keyframes hardBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.contact-email {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 2vw;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1;
    display: inline-block;
}

.contact-email:hover {
    color: var(--color-red);
}

/* Overlay Animation */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    pointer-events: none;
}

.overlay-column {
    background-color: var(--color-black);
    flex: 1;
    transform-origin: left;
    transform: scaleX(1);
}

.overlay.hide .overlay-column {
    animation: slideOutColumns 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

.overlay-column:nth-child(1) { animation-delay: 0s; }
.overlay-column:nth-child(2) { animation-delay: 0.1s; }
.overlay-column:nth-child(3) { animation-delay: 0.2s; }
.overlay-column:nth-child(4) { animation-delay: 0.3s; }

@keyframes slideOutColumns {
    to {
        transform: scaleX(0);
    }
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
}

.loader.hide {
    opacity: 0;
}

.loader-container {
    display: none;
}

.loader-text {
    display: none;
}

.loader-cursor {
    display: none;
}

.loader-cursor-inner {
    display: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.8); opacity: 0.7; }
}

.loader-progress {
    display: none;
}

/* Responsive Design - Large Screens */
@media (min-width: 1920px) {
    .contact-email-dot {
        width: 24px;
        height: 24px;
        transform: translateY(6px);
    }

    @keyframes dotFlashGrowFullWidth {
        0% {
            opacity: 0;
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }
        5% { opacity: 1; }
        10% { opacity: 0; }
        15% { opacity: 1; }
        20% { opacity: 0; }
        25% { opacity: 1; }
        30% { opacity: 0; }
        35% { opacity: 1; }
        40% { opacity: 0; }
        45% { opacity: 1; }
        50% {
            opacity: 1;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            left: 60px;
        }
        60% {
            width: 200px;
            height: 60px;
            border-radius: 30px;
            left: 60px;
        }
        70% {
            width: 600px;
            height: 120px;
            border-radius: 10px;
            left: 60px;
        }
        85% {
            width: calc(100% - 120px);
            height: 570px;
            border-radius: 0px;
            left: 60px;
        }
        100% {
            opacity: 1;
            width: calc(100% - 120px);
            height: 600px;
            border-radius: 0px;
            left: 60px;
        }
    }
}

@media (min-width: 2560px) {
    .contact-email-dot {
        width: 30px;
        height: 30px;
        transform: translateY(6px);
    }

    @keyframes dotFlashGrowFullWidth {
        0% {
            opacity: 0;
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }
        5% { opacity: 1; }
        10% { opacity: 0; }
        15% { opacity: 1; }
        20% { opacity: 0; }
        25% { opacity: 1; }
        30% { opacity: 0; }
        35% { opacity: 1; }
        40% { opacity: 0; }
        45% { opacity: 1; }
        50% {
            opacity: 1;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            left: 60px;
        }
        60% {
            width: 200px;
            height: 60px;
            border-radius: 30px;
            left: 60px;
        }
        70% {
            width: 600px;
            height: 120px;
            border-radius: 10px;
            left: 60px;
        }
        85% {
            width: calc(100% - 120px);
            height: 710px;
            border-radius: 0px;
            left: 60px;
        }
        100% {
            opacity: 1;
            width: calc(100% - 120px);
            height: 750px;
            border-radius: 0px;
            left: 60px;
        }
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 20px;
    }

    #home {
        padding: 20px;
        padding-bottom: 80px;
    }

    .full-width-gallery {
        top: 20px;
        left: 20px;
        animation-name: dotFlashGrowMobile;
    }

    @keyframes dotFlashGrowMobile {
        0% {
            opacity: 0;
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }
        5% { opacity: 1; }
        10% { opacity: 0; }
        15% { opacity: 1; }
        20% { opacity: 0; }
        25% { opacity: 1; }
        30% { opacity: 0; }
        35% { opacity: 1; }
        40% { opacity: 0; }
        45% { opacity: 1; }
        50% {
            opacity: 1;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            left: 20px;
        }
        60% {
            width: 150px;
            height: 50px;
            border-radius: 25px;
            left: 20px;
        }
        80% {
            width: calc(100% - 40px);
            height: 650px;
            border-radius: 0px;
            left: 20px;
        }
        100% {
            opacity: 1;
            width: calc(100% - 40px);
            height: 700px;
            border-radius: 0%;
            left: 20px;
        }
    }

    .menu {
        flex-direction: row;
        gap: 20px;
        font-size: 12px;
        bottom: 15px;
    }

    .job-title {
        font-size: 4vw;
        margin-bottom: 10px;
    }

    .name-title {
        font-size: 6.5vw;
        line-height: 1.4;
        min-height: 13vw;
    }

    .name-letter {
        font-size: 6.5vw;
    }

    .project-title {
        font-size: 12vw;
        line-height: 1.1;
    }

    .project-year {
        font-size: 3.5vw;
        white-space: nowrap;
    }

    .about-title {
        font-size: 20vw;
    }

    .about-description {
        font-size: 3.5vw;
    }

    .collab-label {
        font-size: 2.5vw;
    }

    .collab-list {
        font-size: 3vw;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-title {
        font-size: calc(300 * 0.2vw);
    }

    .contact-title .chars {
        transform: scaleX(1);
    }

    .contact-title .chars::before {
        display: none;
    }

    .contact-list {
        flex-direction: column;
        gap: 30px;
        font-size: 4vw;
    }

    .loader-text {
        font-size: 4vw;
    }

    .loader-progress {
        font-size: 3vw;
    }

    .projects-list {
        gap: 30px;
    }

    /* Work Section Mobile */
    .projects-container {
        flex-direction: column;
        gap: 40px;
    }

    .projects-list {
        max-height: calc(100vh - 180px);
        padding-right: 10px;
    }

    .project-item {
        gap: 15px;
    }

    /* About Section Mobile */
    #about {
        overflow: hidden;
        padding-bottom: 0;
    }

    .about-layout {
        flex-direction: column;
        padding: 40px 20px;
        padding-bottom: 20px;
        gap: 0;
        min-height: 100vh;
        height: 100vh;
        overflow: hidden;
    }

    .about-bio {
        order: 1;
        flex-shrink: 0;
        margin-top: 40px;
    }

    .about-portrait {
        order: 2;
        flex-shrink: 0;
    }

    .bio-title {
        font-size: 6.5vw;
        line-height: 1.2;
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bio-role {
        font-size: 3.2vw;
        margin-bottom: 8px;
    }

    .bio-text {
        font-size: 3.5vw;
        line-height: 1.5;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .bio-collaborations {
        margin-top: 8px;
        margin-bottom: 15px;
    }

    .bio-collaborations .collab-label {
        font-size: 3vw;
        text-align: left;
    }

    .bio-collaborations .collab-list {
        font-size: 3.5vw;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .about-portrait {
        margin-bottom: 0;
        margin-top: -220px;
        align-self: center;
        position: relative;
        z-index: 5;
    }

    .portrait-frame {
        width: 100%;
        max-width: 200px;
        height: 250px;
    }

    .camera-hud-top {
        font-size: 10px;
        padding: 0 20px;
    }

    .timecode {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .camera-hud-bottom {
        font-size: 10px;
        padding: 0 20px;
        bottom: 65px;
    }

    .grid-overlay {
        display: none;
    }

    .focus-box {
        display: none;
    }

    .frame-corner {
        width: 25px;
        height: 25px;
    }

    .corner-tl, .corner-tr {
        top: 50px;
    }

    .corner-bl, .corner-br {
        bottom: 85px;
    }

    .corner-tl, .corner-bl {
        left: 30px;
    }

    .corner-tr, .corner-br {
        right: 30px;
    }

    .focus-box {
        width: 120px;
        height: 120px;
    }

    /* Contact Section Mobile */
    .contact-heading {
        font-size: 4vw;
    }

    .contact-subheading {
        font-size: 3vw;
    }

    .contact-email {
        font-size: 5vw;
    }

    .contact-email-dot {
        width: 15px;
        height: 15px;
        transform: translateY(1px);
        margin-right: 2px;
    }

    /* Project Details Mobile */
    .project-detail {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .project-layout {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        padding-bottom: 80px;
        gap: 30px;
        height: auto;
        min-height: 100vh;
    }

    .project-poster {
        grid-column: 1;
    }

    .project-info {
        grid-column: 1;
    }

    .project-detail-title {
        font-size: 10vw;
        line-height: 1;
    }

    .project-meta {
        flex-direction: column;
        gap: 10px;
        font-size: 3vw;
    }

    .investment-cta {
        font-size: 3vw;
        padding: 12px 20px;
    }

    .cta-arrow {
        font-size: 4vw;
    }

    .project-description {
        font-size: 3.8vw;
        line-height: 1.6;
    }

    .credits-title {
        font-size: 3vw;
    }

    .credits-list {
        font-size: 3.5vw;
    }

    .project-navigation {
        grid-column: 1;
        flex-direction: column;
        gap: 15px;
    }

    .project-nav-btn {
        font-size: 3vw;
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
    }

    .nav-arrow {
        font-size: 4vw;
    }

    .nav-label {
        font-size: 3vw;
    }

    .project-intro-title {
        font-size: 10vw;
        white-space: normal;
    }

    .project-intro-description {
        font-size: 3.5vw;
    }

    .project-video-container {
        width: 95%;
    }

    .project-poster-container {
        width: 100%;
        height: 60vh;
    }
}

/* Extra Small Phones (max-width: 375px) */
@media (max-width: 375px) {
    .section {
        padding: 15px;
    }

    #home {
        padding: 15px;
        padding-bottom: 100px;
        justify-content: flex-end;
    }

    .intro-container {
        margin-bottom: 40px;
    }

    .full-width-gallery {
        top: 15px;
        left: 15px;
    }

    @keyframes dotFlashGrowMobile {
        0% {
            opacity: 0;
            width: 25px;
            height: 25px;
            border-radius: 50%;
        }
        5% { opacity: 1; }
        10% { opacity: 0; }
        15% { opacity: 1; }
        20% { opacity: 0; }
        25% { opacity: 1; }
        30% { opacity: 0; }
        35% { opacity: 1; }
        40% { opacity: 0; }
        45% { opacity: 1; }
        50% {
            opacity: 1;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            left: 15px;
        }
        60% {
            width: 120px;
            height: 40px;
            border-radius: 20px;
            left: 15px;
        }
        80% {
            width: calc(100% - 30px);
            height: 600px;
            border-radius: 0px;
            left: 15px;
        }
        100% {
            opacity: 1;
            width: calc(100% - 30px);
            height: 650px;
            border-radius: 0%;
            left: 15px;
        }
    }

    .menu {
        gap: 12px;
        font-size: 10px;
        bottom: 10px;
    }

    .menu-item {
        padding: 8px 10px;
    }

    .job-title {
        font-size: 5vw;
        margin-bottom: 8px;
    }

    .name-title {
        font-size: 6vw;
        line-height: 1.25;
        min-height: 12.5vw;
        letter-spacing: -0.08em;
    }

    .name-letter {
        font-size: 6vw;
    }

    .project-title {
        font-size: 13vw;
        line-height: 1.05;
    }

    .project-year {
        font-size: 4vw;
    }

    .projects-list {
        gap: 25px;
        max-height: calc(100vh - 150px);
    }

    .project-item {
        gap: 10px;
    }

    .project-item::before {
        display: none;
    }

    /* About Section for Small Phones */
    .about-layout {
        padding: 30px 15px;
        padding-bottom: 15px;
    }

    .about-bio {
        margin-top: 30px;
    }

    .bio-title {
        font-size: 7.5vw;
        margin-bottom: 4px;
    }

    .bio-role {
        font-size: 3.5vw;
        margin-bottom: 6px;
    }

    .bio-text {
        font-size: 3.8vw;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .bio-text p {
        margin-bottom: 10px;
    }

    .bio-collaborations {
        margin-top: 6px;
        margin-bottom: 12px;
    }

    .bio-collaborations .collab-label {
        font-size: 3.2vw;
        margin-bottom: 10px;
    }

    .bio-collaborations .collab-list {
        font-size: 3.8vw;
        gap: 15px;
    }

    .about-portrait {
        display: none;
    }

    .portrait-frame {
        max-width: 180px;
        height: 230px;
        border-width: 2px;
    }

    .camera-hud-top {
        font-size: 9px;
        padding: 0 15px;
        top: 15px;
    }

    .camera-hud-bottom {
        font-size: 9px;
        padding: 0 15px;
        bottom: 55px;
    }

    .frame-corner {
        width: 20px;
        height: 20px;
        border-width: 1.5px;
    }

    .corner-tl, .corner-tr {
        top: 40px;
    }

    .corner-bl, .corner-br {
        bottom: 75px;
    }

    .corner-tl, .corner-bl {
        left: 25px;
    }

    .corner-tr, .corner-br {
        right: 25px;
    }

    /* Contact Section for Small Phones */
    .contact-heading {
        font-size: 4.5vw;
        margin-bottom: 12px;
    }

    .contact-subheading {
        font-size: 3.5vw;
        margin-bottom: 25px;
    }

    .contact-email {
        font-size: 5.5vw;
    }

    .contact-email-dot {
        width: 12px;
        height: 12px;
        transform: translateY(0px);
    }

    .contact-email-wrapper {
        gap: 10px;
    }

    /* Project Details for Small Phones */
    .project-detail {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .project-layout {
        padding: 25px 15px;
        padding-bottom: 70px;
        gap: 25px;
        height: auto;
        min-height: 100vh;
    }

    .project-intro-content {
        padding: 40px 15px;
        gap: 8px;
    }

    .project-intro-title {
        font-size: 11vw;
        margin-top: 30px;
        margin-bottom: 8px;
    }

    .project-intro-description {
        font-size: 4vw;
    }

    .project-video-container {
        width: 100%;
    }

    .project-poster-container {
        height: 55vh;
    }

    .cinematic-bars {
        height: 8%;
    }

    .poster-img {
        border-width: 2px;
    }

    .project-detail-title {
        font-size: 11vw;
        margin-bottom: 15px;
    }

    .project-meta {
        gap: 8px;
        font-size: 3.2vw;
        margin-bottom: 25px;
    }

    .project-cta {
        margin-bottom: 20px;
    }

    .investment-cta {
        font-size: 3.2vw;
        padding: 10px 16px;
        gap: 10px;
    }

    .cta-arrow {
        font-size: 4.5vw;
    }

    .project-description {
        font-size: 4vw;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .project-description p {
        margin-bottom: 15px;
    }

    .credits-title {
        font-size: 3.2vw;
        margin-bottom: 15px;
    }

    .credits-list {
        font-size: 3.8vw;
        line-height: 1.6;
    }

    .project-navigation {
        margin-top: 30px;
        padding-top: 30px;
        gap: 12px;
    }

    .project-nav-btn {
        font-size: 3.2vw;
        padding: 10px 16px;
    }

    .nav-arrow {
        font-size: 4.5vw;
    }

    .nav-label {
        font-size: 3.2vw;
    }
}
