/* --- RESET & GLOBAL VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-black: #000000;
    --brand-red: #D22238;
    --brand-gray: #808285;
    --text-offwhite: #e0e0e0;
    
    --font-black: 'Raleway', sans-serif; /* Weight 900 */
    --font-bold: 'Raleway', sans-serif;  /* Weight 700 */
    --font-light: 'Raleway', sans-serif; /* Weight 300 */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: #ffffff;
    font-family: var(--font-light);
    font-weight: 300;
    overflow-x: hidden;
    padding-top: 80px;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
    background-color: var(--bg-black);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    border-bottom: 1px solid #111111;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-img {
    height: 35px;
    width: auto;
    display: block;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 12px;
    padding: 0;
    z-index: 1100;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu .line-gray { background-color: var(--brand-gray); }
.hamburger-menu .line-red { background-color: var(--brand-red); }

.hamburger-menu.open .line-gray {
    transform: translateY(5px) rotate(45deg);
    background-color: #ffffff;
}

.hamburger-menu.open .line-red {
    transform: translateY(-5px) rotate(-45deg);
    background-color: var(--brand-red);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open { right: 0; }
.nav-links { list-style: none; text-align: center; }
.nav-links li { margin: 25px 0; }
.nav-item {
    font-family: var(--font-black);
    font-size: 2rem;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}
.nav-item:hover { color: var(--brand-red); }

/* --- HERO SECTION WITH DRIFT LINES --- */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    overflow: hidden;
}

.hero-bg-movement {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(210, 34, 56, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-wind-line {
    position: absolute;
    left: -60%;
    width: 40%;
    height: 1px;
    z-index: 2;
    background: linear-gradient(
        90deg, 
        rgba(210, 34, 56, 0) 0%, 
        rgba(210, 34, 56, 0.75) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    will-change: transform;
}

.line-1 { top: 25%; animation: random-drift-1 9s infinite linear; animation-delay: 1s; }
.line-2 { top: 65%; animation: random-drift-2 14s infinite linear; animation-delay: 4s; }
.line-3 { top: 45%; animation: random-drift-1 11s infinite linear; animation-delay: 7s; }

@keyframes random-drift-1 {
    0% { transform: translate(0, 0) scaleX(0.8); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(220vw, -30px) scaleX(1.3); opacity: 0; }
}

@keyframes random-drift-2 {
    0% { transform: translate(0, 0) scaleX(1); opacity: 0; }
    15% { opacity: 0.8; }
    85% { opacity: 0.8; }
    100% { transform: translate(220vw, 40px) scaleX(0.7); opacity: 0; }
}

.hero-content { position: relative; z-index: 3; }

.hero-content .profile-pic-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--brand-gray);
}

.hero-content .profile-pic { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
}

.hero-content h1 {
    font-family: var(--font-black);
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

/* --- SOCIAL LINK INTERFACES --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 15px;
}

.social-icon-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
}

/* Fixed: Forced explicit constraints to prevent images from blowing up */
.social-icon-img {
    height: 24px !important;
    width: 24px !important;
    object-fit: contain;
    display: block;
    transition: filter 0.3s ease;
}

.social-icon-link:hover { 
    transform: translateY(-2px); 
}

/* --- FRAMELESS MINIMAL AUDIO LAYOUT SYSTEM --- */
#global-audio-engine {
    display: none;
}

.audio-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.audio-tracklist {
    display: flex;
    flex-direction: column;
}

.track-row {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid #151515;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.track-row:hover { border-bottom-color: var(--brand-gray); }
.track-row.hidden { display: none; }

.track-row-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.track-row-title {
    color: #ffffff;
    font-family: var(--font-bold);
    font-size: 1.15rem;
    transition: color 0.2s ease;
}
.track-row:hover .track-row-title { color: var(--brand-gray); }
.track-row.playing .track-row-title { color: var(--brand-red); }

.track-row-title span {
    color: var(--brand-gray);
    font-family: var(--font-light);
    font-size: 0.85rem;
    margin-left: 8px;
}

.track-row-year {
    color: var(--brand-gray);
    font-size: 0.9rem;
    font-family: var(--font-bold);
}

.inline-controls-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    width: 100%;
    animation: inline-slide 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes inline-slide {
    0% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}

.inline-play-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    flex-shrink: 0;
}
.inline-play-btn svg { width: 100%; height: 100%; fill: var(--brand-red); transition: transform 0.2s ease; }
.inline-play-btn:hover svg { transform: scale(1.08); }

.inline-timeline-container { display: flex; align-items: center; flex-grow: 1; gap: 12px; }
.inline-time-stamp { color: var(--brand-gray); font-size: 0.75rem; font-family: var(--font-light); min-width: 35px; }

.inline-slider-track {
    -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: #202020; outline: none; cursor: pointer; position: relative;
}
.inline-slider-track::-webkit-slider-runnable-track { width: 100%; height: 2px; background: var(--brand-gray); }
.inline-slider-track::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 6px; height: 12px; background: var(--brand-gray); margin-top: -5px; transition: transform 0.1s ease;
}
.inline-slider-track:hover::-webkit-slider-thumb { background: #ffffff; transform: scaleX(1.3); }

.inline-volume-container { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.inline-volume-btn { background: none; border: none; cursor: pointer; width: 20px; height: 20px; padding: 0; }
.inline-volume-btn svg { width: 100%; height: 100%; fill: var(--brand-red); }
.inline-volume-slider { -webkit-appearance: none; appearance: none; width: 60px; height: 2px; background: #202020; outline: none; cursor: pointer; }
.inline-volume-slider::-webkit-slider-runnable-track { height: 2px; background: var(--brand-gray); }
.inline-volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 4px; height: 8px; background: var(--brand-gray); margin-top: -3px; }

.expand-tracks-btn {
    width: 100%; background: none; border: none; border-top: 1px dashed #202020; color: var(--brand-gray); padding: 20px 0;
    font-family: var(--font-bold); font-size: 0.85rem; text-transform: uppercase; cursor: pointer; letter-spacing: 1px; text-align: center;
}
.expand-tracks-btn:hover { color: var(--brand-red); }

/* --- PORTFOLIO WORK GRID SECTION --- */
.projects-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.projects-section h2, .clients-section h2 {
    font-family: var(--font-bold);
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-left: 4px solid var(--brand-red);
    padding-left: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    width: 100%;
}

.filter-btn {
    background-color: #0c0c0c;
    border: 1px solid #202020;
    color: var(--text-offwhite);
    padding: 8px 18px;
    cursor: pointer;
    font-family: var(--font-bold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    min-height: 200px;
    width: 100%;
}

.project-card {
    background-color: #080808;
    border: 1px solid #151515;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
    cursor: pointer;
}
.project-card.hidden { display: none; }
.project-card:hover { transform: translateY(-4px); border-color: var(--brand-red); }

.project-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000000;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.project-card:hover .project-thumbnail img { transform: scale(1.03); }

.project-info { padding: 20px; }
.project-info h3 { font-family: var(--font-bold); font-size: 1.25rem; margin-bottom: 8px; color: #ffffff; }
.project-meta-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-offwhite); }
.project-year { font-family: var(--font-bold); color: var(--brand-red); }

/* --- CLIENTS SYSTEM --- */
.clients-section { max-width: 1400px; margin: 0 auto; padding: 40px 40px 80px; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; align-items: center; justify-items: center; }
.client-logo-link { display: flex; justify-content: center; align-items: center; width: 100%; padding: 15px; background-color: #050505; border: 1px solid #101010; }
.client-logo-link img { max-width: 100%; height: auto; max-height: 75px; object-fit: contain; transition: filter 0.3s ease; filter: brightness(1) contrast(1); }
.client-logo-link:hover img { filter: brightness(0.4) contrast(0.9); }

/* --- POP-UP MODAL PANEL --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); backdrop-filter: blur(6px); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background-color: #050505; border: 1px solid #202020; padding: 35px; max-width: 800px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; border-top: 4px solid var(--brand-red); }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: var(--brand-gray); font-size: 2.2rem; cursor: pointer; z-index: 10; }
.modal-close:hover { color: var(--brand-red); }
.modal-video-container { position: relative; padding-bottom: 56.25%; height: 0; margin-bottom: 25px; background-color: #000; border: 1px solid #151515; }
.modal-video-container iframe, .modal-video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.modal-audio-box { background-color: var(--bg-black); border: 1px solid #1a1a1a; border-left: 3px solid var(--brand-red); padding: 15px; margin-bottom: 25px; display: flex; flex-direction: column; gap: 10px; }
.modal-audio-box audio { background-color: var(--bg-black) !important; width: 100%; }
.modal-audio-box audio::-webkit-media-controls-panel, .modal-audio-box audio::-webkit-media-controls-enclosure { background-color: var(--bg-black) !important; }
.modal-audio-header { font-family: var(--font-bold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-red); }
.modal-title { font-family: var(--font-black); font-size: 2rem; margin-bottom: 5px; }
.modal-client { color: var(--brand-red); font-family: var(--font-bold); margin-bottom: 20px; font-size: 1.05rem; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.85rem; color: var(--text-offwhite); margin-bottom: 25px; border-bottom: 1px solid #151515; padding-bottom: 15px; text-transform: uppercase; }
.modal-desc { line-height: 1.7; color: #ffffff; margin-bottom: 20px; }
.modal-prizes { margin-top: 25px; padding: 15px 20px; background-color: #0e0e0e; border-left: 3px solid #d4af37; font-size: 0.9rem; }

/* --- ABOUT PAGE SPECIFIC DESIGN MATRIX --- */
.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.about-logo-frame {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 35px;
    text-align: center;
}
.about-full-logo {
    width: 100%;
    height: auto;
    display: inline-block;
}

.about-profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-profile-header .profile-pic-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--brand-gray);
}
.about-profile-header .profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-profile-header h2 {
    border-left: none !important;
    padding-left: 0 !important;
    margin: 20px 0 15px !important;
    font-family: var(--font-black) !important;
    font-size: 2.5rem !important;
}

.about-container h2 {
    font-family: var(--font-bold);
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-left: 4px solid var(--brand-red);
    padding-left: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text-content {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.8;
    font-family: var(--font-light);
}
.about-text-content p { margin-bottom: 20px; }
.about-text-content p:last-child { margin-bottom: 0; }

.text-spacer { margin-top: 80px; }
.about-btn-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 35px; justify-content: center; }

.about-download-btn {
    background-color: #0c0c0c; border: 1px solid #202020; color: #ffffff; padding: 14px 30px;
    text-decoration: none; font-family: var(--font-bold); font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 1px; display: inline-block; transition: all 0.2s ease;
}
.about-download-btn:hover { background-color: var(--brand-red); border-color: var(--brand-red); }

/* --- CONTACT FORM LAYOUT STYLES --- */
.contact-section { max-width: 800px; margin: 0 auto; padding: 60px 40px 100px; }
.contact-container h2 { font-family: var(--font-bold); font-size: 2rem; margin-bottom: 10px; border-left: 4px solid var(--brand-red); padding-left: 15px; text-transform: uppercase; letter-spacing: 1px; }
.contact-subtitle { color: var(--brand-gray); font-size: 1rem; margin-bottom: 40px; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 25px; }
.form-group-row { display: flex; gap: 25px; }
.form-group-row .form-group { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: var(--font-bold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-offwhite); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { background-color: var(--bg-black); border: 1px solid #1a1a1a; color: #ffffff; font-family: var(--font-light); font-size: 1rem; padding: 14px; border-radius: 0; outline: none; transition: border-color 0.2s ease; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand-red); }
.form-submit-container { margin-top: 10px; }
.contact-submit-btn { background-color: #0c0c0c; border: 1px solid #202020; color: #ffffff; padding: 14px 35px; cursor: pointer; font-family: var(--font-bold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: all 0.2s ease; }
.contact-submit-btn:hover { background-color: var(--brand-red); border-color: var(--brand-red); }

/* --- PRIVACY POLICY PAGE LAYOUT STYLES --- */
.privacy-section { max-width: 850px; margin: 0 auto; padding: 60px 40px 100px; }
.privacy-header { margin-bottom: 40px; border-bottom: 1px solid #151515; padding-bottom: 20px; }
.privacy-section h2 { font-family: var(--font-black); font-size: 2.2rem; text-transform: uppercase; letter-spacing: 1px; }
.privacy-date { color: var(--brand-red); font-family: var(--font-bold); font-size: 0.9rem; text-transform: uppercase; margin-top: 10px; letter-spacing: 0.5px; }
.privacy-body-content { display: flex; flex-direction: column; gap: 35px; }
.privacy-block-node h3 { font-family: var(--font-bold); font-size: 1.25rem; color: #ffffff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.privacy-block-node div { color: var(--text-offwhite); font-family: var(--font-light); font-size: 1.05rem; line-height: 1.8; }
.privacy-block-node div p { margin-bottom: 15px; }
.privacy-block-node div p:last-child { margin-bottom: 0; }

/* --- GDPR COMPLIANT BOTTOM COOKIE BANNER OVERLAY --- */
.cookie-banner-overlay { position: fixed; bottom: -100%; left: 0; width: 100%; background-color: rgba(5, 5, 5, 0.95); backdrop-filter: blur(8px); border-top: 1px solid #151515; z-index: 5000; transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.cookie-banner-overlay.active { bottom: 0; }
.cookie-banner-container { max-width: 1400px; margin: 0 auto; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cookie-banner-text { color: var(--text-offwhite); font-size: 0.9rem; line-height: 1.5; max-width: 900px; }
.cookie-banner-text a { color: var(--brand-red); text-decoration: none; font-family: var(--font-bold); }
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 15px; flex-shrink: 0; }
.cookie-btn-accept, .cookie-btn-decline { background-color: #0c0c0c; border: 1px solid #202020; color: #ffffff; padding: 10px 24px; cursor: pointer; font-family: var(--font-bold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s ease; }
.cookie-btn-accept { background-color: var(--brand-red); border-color: var(--brand-red); }
.cookie-btn-accept:hover { background-color: #b11b2e; border-color: #b11b2e; }
.cookie-btn-decline:hover { color: var(--brand-gray); border-color: var(--brand-gray); }

/* --- SITE FOOTER --- */
.site-footer { width: 100%; max-width: 1400px; margin: 40px auto 0; padding: 40px; border-top: 1px solid var(--brand-gray); }
.footer-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-text { color: var(--brand-gray); font-size: 0.85rem; }
.footer-link { color: var(--brand-gray); text-decoration: none; font-size: 0.85rem; }
.footer-link:hover { color: var(--brand-red); }

@media (max-width: 768px) {
    body { padding-top: 70px; }
    .site-header { padding: 15px 20px; }
    .cookie-banner-container { flex-direction: column; align-items: stretch; padding: 20px; gap: 15px; }
    .cookie-banner-actions { justify-content: flex-end; }
    .projects-section, .clients-section, .audio-section { padding: 30px 20px; }
}