/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #241b14;
    color: #f5f2eb;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Cinematic Film Grain Overlay (Background Only) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    pointer-events: none;
    z-index: 999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Unique Complex Analog Hardware Section Titles */
@keyframes metronomePulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; text-shadow: 0 0 10px #d4a373; }
    100% { transform: scale(1); opacity: 0.6; }
}

.section-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4a373;
    margin-bottom: 30px;
    text-align: center;
    flex-shrink: 0;
    background: #18120d;
    padding: 14px 32px;
    border-radius: 10px;
    border: 1px solid #423225;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.9), 0 8px 20px rgba(0,0,0,0.5);
    position: relative;
    flex-wrap: wrap;
}

/* Knob Variations (3 Distinct Styles) with Static Drop Shadows */
.amp-knob {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    position: relative;
    cursor: grab;
    user-select: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.9);
}

.amp-knob:active {
    cursor: grabbing;
}

.knob-rotator {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.05s ease;
}

/* Style A: Ribbed Vintage Amp Knob */
.amp-knob.style-a {
    background: radial-gradient(circle, #2a2018 30%, #0d0906 75%);
    border: 2px solid #d4a373;
    box-shadow: 0 3px 6px rgba(0,0,0,0.9);
}
.amp-knob.style-a .knob-rotator {
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.15);
}
.amp-knob.style-a .knob-rotator::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5px;
    height: 7px;
    background-color: #d4a373;
    border-radius: 1px;
}

/* Style B: Solid Heavy Metal Knob with Center Dot */
.amp-knob.style-b {
    background: linear-gradient(135deg, #4a382c 0%, #1a1410 100%);
    border: 2px solid #8c6d53;
}
.amp-knob.style-b .knob-rotator::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #f0ebe1;
    border-radius: 50%;
}

/* Style C: Recessed Slotted Knob */
.amp-knob.style-c {
    background: radial-gradient(circle, #1a1410 40%, #080605 90%);
    border: 2px solid #5a4637;
}
.amp-knob.style-c .knob-rotator::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-top: 2px solid #d4a373;
    border-radius: 50%;
}

/* 3.5mm Jack Only */
.headphone-jack {
    width: 14px;
    height: 14px;
    background: #080605;
    border-radius: 50%;
    border: 2px solid #4a382c;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.9);
    position: relative;
}

.headphone-jack::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #1a1410;
    border-radius: 50%;
    border: 1px solid #d4a373;
}

/* VU Meter & Indicator Lights */
.vu-meter-light {
    width: 8px;
    height: 8px;
    background-color: #d4a373;
    border-radius: 50%;
    box-shadow: 0 0 8px #d4a373, inset 0 1px 2px rgba(255,255,255,0.5);
    animation: metronomePulse 2s infinite ease-in-out;
}

.indicator-light {
    width: 8px;
    height: 8px;
    background-color: #3b2a20;
    border-radius: 50%;
    border: 1px solid #5a4637;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
}

.indicator-light.active {
    background-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8, inset 0 1px 2px rgba(255,255,255,0.8);
}

.indicator-light.amber.active {
    background-color: #f59e0b;
    box-shadow: 0 0 10px #f59e0b, inset 0 1px 2px rgba(255,255,255,0.8);
}

/* Micro Hardware Toggle Push Button */
.hardware-toggle-btn {
    width: 16px;
    height: 16px;
    background: linear-gradient(145deg, #1a1410, #3b2a20);
    border: 1px solid #7c5a42;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255,255,255,0.2);
    transition: all 0.15s ease;
}

.hardware-toggle-btn:active {
    transform: translateY(2px);
    box-shadow: 0 0 2px rgba(0,0,0,0.9), inset 0 1px 2px rgba(0,0,0,0.9);
}

/* Hero Section Layout */
.refined-vibe {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    background-color: #3b312b;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
    opacity: 0.5;
    filter: blur(6px) brightness(0.45) contrast(1.2);
    pointer-events: none;
}

/* Vintage Amplifier Inspired Control Panel on Hero Card */
.integrated-hero {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    padding: 95px 75px 75px 75px;
    background: linear-gradient(145deg, rgba(38, 29, 23, 0.98) 0%, rgba(20, 15, 12, 0.98) 100%);
    border-radius: 18px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 0 0 4px #1a1410, inset 0 0 15px 4px rgba(0,0,0,0.9);
    border: 3px solid #d4a373;
    backdrop-filter: blur(12px);
}

.hero-amp-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(180deg, #d4a373 0%, #b88654 60%, #8c6d53 100%);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: 2px solid #241b14;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.3), 0 4px 10px rgba(0,0,0,0.5);
    overflow: hidden;
}

.amp-panel-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Larger Vintage Amp Knobs with Static Drop Shadows */
.amp-gold-knob {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle, #2a2018 20%, #120d09 70%, #050403 100%);
    border: 2px solid #d4a373;
    position: relative;
    cursor: grab;
    box-shadow: 0 4px 8px rgba(0,0,0,0.8);
}
.amp-gold-knob .knob-rotator {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.05s ease;
}
.amp-gold-knob .knob-rotator::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 9px;
    background-color: #f0ebe1;
    border-radius: 1px;
    box-shadow: 0 0 4px #d4a373;
}

.amp-gold-knob.knob-b {
    background: linear-gradient(135deg, #4a382c 0%, #1a1410 100%);
    border: 2px solid #8c6d53;
}
.amp-gold-knob.knob-b .knob-rotator::after {
    top: 6px;
    width: 5px;
    height: 5px;
    background-color: #f0ebe1;
    border-radius: 50%;
}

.amp-gold-knob.knob-c {
    background: radial-gradient(circle, #1a1410 40%, #080605 90%);
    border: 2px solid #5a4637;
}
.amp-gold-knob.knob-c .knob-rotator::after {
    inset: 4px;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    height: auto;
    border-top: 2px solid #d4a373;
    border-radius: 50%;
    background: transparent;
}

/* Horizontal Rocker Switch (No text, red glow revealed under the side that isn't flipped) */
.amp-horizontal-rocker {
    display: flex;
    width: 68px;
    height: 34px;
    background: #110d0a;
    border: 2px solid #5a4637;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.9);
    overflow: hidden;
}

.rocker-wing {
    flex: 1;
    position: relative;
    background: linear-gradient(145deg, #18120d, #0d0906);
    transition: all 0.25s ease;
}

.rocker-wing.left-wing {
    border-right: 1px solid #33241a;
}

/* Red Indicator Underneath */
.rocker-wing::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: transparent;
    border-radius: 2px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* Default state: no red visible anywhere */
.amp-horizontal-rocker:not(.is-toggled) .left-wing::after,
.amp-horizontal-rocker:not(.is-toggled) .right-wing::after {
    background: transparent;
    box-shadow: none;
}

/* Toggled state: Left side is raised (not flipped down), showing red underneath. Right side is flipped down (normal). */
.amp-horizontal-rocker.is-toggled .left-wing::after {
    background: radial-gradient(circle, #ef4444 0%, #991b1b 100%);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8), inset 0 1px 2px rgba(255,255,255,0.4);
}
.amp-horizontal-rocker.is-toggled .right-wing::after {
    background: linear-gradient(145deg, #0d0906, #050403);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.9);
}

/* Horizontal Fader with Damped Resistance */
.amp-horizontal-fader {
    position: relative;
    width: 140px;
    height: 18px;
    background: linear-gradient(180deg, #090604 0%, #150f0b 50%, #090604 100%);
    border-radius: 3px;
    border: 1px solid #33241a;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.amp-hfader-slot {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    background: #050403;
    border-radius: 1.5px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.9);
}

.amp-hfader-thumb {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 26px;
    background: linear-gradient(145deg, #382c22, #1d1612);
    border: 1px solid #7c5a42;
    border-radius: 3px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255,255,255,0.2);
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transform: translateX(-50%);
    z-index: 2;
}

.amp-hfader-thumb:active {
    cursor: grabbing;
}

.amp-hfader-line {
    width: 2px;
    height: 16px;
    background-color: #f0ebe1;
    box-shadow: 0 0 4px #d4a373;
}

.profile-frame {
    flex-shrink: 0;
    width: 345px;
    height: 345px;
    border-radius: 50%;
    border: 4px solid #d4a373;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 163, 115, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-content {
    flex-grow: 1;
    padding-left: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Slightly Larger Name, Sub-Heading, and Buttons */
.main-name {
    font-size: 4.4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 14px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.role {
    font-size: 1.3rem;
    font-weight: 500;
    color: #f0ebe1;
    margin-bottom: 38px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.btn.bronze-solid {
    display: inline-block;
    padding: 16px 44px;
    background-color: #d4a373;
    color: #241b14;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.btn.bronze-solid:hover {
    background-color: #f0ebe1;
    color: #241b14;
}

.btn.bronze-outline {
    display: inline-block;
    padding: 16px 44px;
    background-color: transparent;
    color: #d4a373;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid #d4a373;
    transition: all 0.4s ease;
}

.btn.bronze-outline:hover {
    background-color: rgba(212, 163, 115, 0.1);
    color: #f0ebe1;
    border-color: #f0ebe1;
}

/* Showreel Section */
.showreel-section {
    position: relative;
    padding: 130px 20px 180px 20px;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showreel-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #000000);
    pointer-events: none;
}

.showreel-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #000000, #2e241e);
    pointer-events: none;
}

.showreel-container {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 30px;
}

.cinema-screen-frame {
    width: 100%;
    padding: 26px 24px 22px 24px;
    background: #080808;
    border-radius: 14px;
    border: 2px solid rgba(212, 163, 115, 0.35);
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), inset 0 0 30px rgba(0,0,0,0.9);
    position: relative;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000000;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #2a2018;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.audio-demo-reel-frame {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.audio-reel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding: 0 4px;
}

.audio-reel-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #d4a373;
    font-weight: 600;
}

.audio-reel-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 2px;
}

.track-time-display {
    font-size: 0.75rem;
    font-weight: 500;
    color: #ded1c1;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.track-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    padding-right: 120px;
}

.track-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* About Section */
.about-section {
    position: relative;
    padding: 120px 20px;
    background-color: #2e241e;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #2e241e);
    pointer-events: none;
}

.about-outer-wrapper {
    position: relative;
    width: 100%;
    max-width: 1420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 6;
}

/* Flanking Testimonial Units */
.testimonial-flank-left,
.testimonial-flank-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 270px;
    background: linear-gradient(145deg, #18120d 0%, #0d0906 100%);
    border: 1px solid #423225;
    border-radius: 14px;
    padding: 32px 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.8), inset 0 1px 2px rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 5;
}

.testimonial-flank-left {
    left: 10px;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
}

.testimonial-flank-right {
    right: 10px;
}

.flank-content-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.flank-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #33241a;
    padding-bottom: 10px;
}

.flank-tag {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d4a373;
    font-weight: 600;
}

.flank-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #ded1c1;
    font-style: italic;
}

/* Flipped Horizontal Mixing Fader */
.mixing-fader-track {
    position: relative;
    width: 18px;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(180deg, #090604 0%, #150f0b 50%, #090604 100%);
    border-radius: 4px;
    border: 1px solid #33241a;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.mixing-fader-slot {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 4px;
    bottom: 4px;
    width: auto;
    height: 4px;
    background: #050403;
    border-radius: 2px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.9);
}

.mixing-fader-ticks {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    pointer-events: none;
    opacity: 0.4;
}

.fader-tick {
    width: 1px;
    height: 6px;
}

.fader-tick.major {
    height: 10px;
    background: #f0ebe1;
}

.mixing-fader-thumb {
    position: absolute;
    top: -9px;
    width: 24px;
    height: 36px;
    background: linear-gradient(145deg, #382c22, #1d1612);
    border: 1px solid #7c5a42;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255,255,255,0.2);
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    user-select: none;
    z-index: 2;
}

.mixing-fader-thumb:active {
    cursor: grabbing;
}

.fader-thumb-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2.5px;
    background-color: #f0ebe1;
    box-shadow: 0 0 5px #d4a373;
    z-index: 3;
}

.about-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.about-card {
    background-color: #241b14;
    border-radius: 8px;
    padding: 35px 30px;
    border: 1px solid rgba(212, 163, 115, 0.18);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    border-color: rgba(212, 163, 115, 0.5);
    transform: translateY(-2px);
}

.about-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ded1c1;
}

.long-text-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: max-height 0.9s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.7s ease;
}

.about-card.expanded .long-text-wrapper {
    max-height: 800px;
    opacity: 1;
}

.read-more-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: #d4a373;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.about-card:hover .read-more-btn {
    color: #ffffff;
}

.about-card.expanded .read-more-btn::after {
    content: ' (Less)';
}

/* Portfolio Section */
.portfolio {
    position: relative;
    min-height: 100vh;
    height: auto;
    padding: 80px 20px 150px 20px;
    background-color: #3b322d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, #2e241e, #3b322d);
    pointer-events: none;
}

.portfolio-content-layout {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1240px;
}

/* Dynamic Track Info Drawer Box */
.track-info-drawer {
    position: absolute;
    left: -335px;
    top: 0;
    width: 310px;
    height: 520px;
    border: 2px solid #d4a373;
    border-radius: 16px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    transform: translateX(40px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, visibility 0.5s ease, background-color 0.6s ease;
}

.portfolio-content-layout.drawer-active .track-info-drawer {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.drawer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    width: 100%;
}

.drawer-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f3ceab;
    font-weight: 600;
}

.drawer-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.drawer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ded1c1;
}

/* Scroller box */
.track-scroll-box {
    width: 100%;
    max-width: 1240px;
    height: 520px; 
    overflow-y: scroll;
    padding: 20px 25px 20px 15px;
    scrollbar-width: thin;
    scrollbar-color: #d4a373 transparent;
    background-color: #080808;
    border: 2px solid #d4a373;
    border-radius: 16px;
}

.track-scroll-box::-webkit-scrollbar {
    width: 8px;
}
.track-scroll-box::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0;
}
.track-scroll-box::-webkit-scrollbar-thumb {
    background-color: #d4a373;
    border-radius: 4px;
}

.track-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    padding: 10px 4px;
}

.track-card {
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 175px; 
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: visible;
}

.track-card-inner {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: none;
}

.track-card:hover {
    transform: translateY(-4px);
    border-color: #d4a373;
}

@keyframes cardPulse {
    0% { border-color: #d4a373; box-shadow: 0 0 10px rgba(212, 163, 115, 0.2); }
    50% { border-color: #f0ebe1; box-shadow: 0 0 20px rgba(212, 163, 115, 0.4); }
    100% { border-color: #d4a373; box-shadow: 0 0 10px rgba(212, 163, 115, 0.2); }
}

.track-card.is-playing {
    animation: cardPulse 2s infinite ease-in-out;
    border-color: #d4a373;
}

.spinning-vinyl-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-top-right-radius: 8px;
    pointer-events: none;
    z-index: 3;
}

.vinyl-disk {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1a1a 0%, #111 35%, #2a2a2a 36%, #111 40%, #000 70%, #1a1a1a 100%);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.9);
    transform: translate(0px, 0px) scale(1);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.vinyl-disk::after {
    content: '';
    position: absolute;
    inset: 68px;
    border-radius: 50%;
    background: #d4a373;
    border: 2px solid #241b14;
}

@keyframes spinRecord {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.track-card.is-playing .vinyl-disk {
    opacity: 1;
    animation: spinRecord 2.5s linear infinite;
}

/* Custom Themed Track Colors & Backgrounds */
.card-abyss { 
    background: linear-gradient(135deg, #132738 0%, #0d1b2a 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(56, 116, 171, 0.25) 0%, transparent 60%), linear-gradient(135deg, #132738 0%, #0d1b2a 100%);
}
.card-melancholy { 
    background: linear-gradient(135deg, #381d42 0%, #221228 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(186, 95, 219, 0.22) 0%, transparent 60%), linear-gradient(135deg, #381d42 0%, #221228 100%);
}
.card-wanderer { 
    background: linear-gradient(135deg, #283b2d 0%, #18241b 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(118, 168, 128, 0.25) 0%, transparent 60%), linear-gradient(135deg, #283b2d 0%, #18241b 100%);
}
.card-wall { 
    background: linear-gradient(135deg, #3d2230 0%, #24141d 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(199, 92, 145, 0.25) 0%, transparent 60%), linear-gradient(135deg, #3d2230 0%, #24141d 100%);
}
.card-digital { 
    background: linear-gradient(135deg, #113636 0%, #092121 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(48, 186, 186, 0.28) 0%, transparent 60%), linear-gradient(135deg, #113636 0%, #092121 100%);
}
.card-journey { 
    background: linear-gradient(135deg, #4d231b 0%, #301611 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(224, 114, 76, 0.25) 0%, transparent 60%), linear-gradient(135deg, #4d231b 0%, #301611 100%);
}
.card-felt { 
    background: linear-gradient(135deg, #4d2a1b 0%, #2d180f 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(214, 142, 94, 0.32) 0%, transparent 60%), linear-gradient(135deg, #4d2a1b 0%, #2d180f 100%);
}
.card-lazy { 
    background: linear-gradient(135deg, #2b3947 0%, #1c252e 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(94, 131, 168, 0.3) 0%, transparent 60%), linear-gradient(135deg, #2b3947 0%, #1c252e 100%);
}
.card-seaside { 
    background: linear-gradient(135deg, #13464a 0%, #0b2a2e 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(61, 212, 219, 0.32) 0%, transparent 60%), linear-gradient(135deg, #13464a 0%, #0b2a2e 100%);
}
.card-creep { 
    background: linear-gradient(135deg, #162436 0%, #0b1422 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(56, 142, 214, 0.35) 0%, transparent 60%), linear-gradient(135deg, #162436 0%, #0b1422 100%);
}
.card-botanical { 
    background: linear-gradient(135deg, #2e4227 0%, #1a2717 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(132, 194, 110, 0.28) 0%, transparent 60%), linear-gradient(135deg, #2e4227 0%, #1a2717 100%);
}
.card-forest { 
    background: linear-gradient(135deg, #234236 0%, #13261f 100%); 
    background-image: radial-gradient(circle at 80% 20%, rgba(95, 201, 160, 0.28) 0%, transparent 60%), linear-gradient(135deg, #234236 0%, #13261f 100%);
}

.track-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}

.track-number {
    font-size: 0.75rem;
    color: #e5b88f;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.track-genre-sub {
    font-size: 0.75rem;
    color: #ded1c1;
    letter-spacing: 0.05em;
}

.wip-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(212, 163, 115, 0.2);
    color: #f3ceab;
    border: 1px solid rgba(212, 163, 115, 0.4);
    padding: 1px 6px;
    border-radius: 4px;
    width: fit-content;
    margin-top: 4px;
    margin-bottom: 2px;
}

.track-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Edge-to-Edge Mini DAWcast Button */
.mini-dawcast-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 15, 12, 0.95);
    border: 1px solid rgba(212, 163, 115, 0.4);
    padding: 0 12px 0 0;
    border-radius: 4px;
    text-decoration: none;
    color: #d4a373;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    width: fit-content;
    transition: all 0.3s ease;
    margin-top: 2px;
    overflow: hidden;
}

.mini-dawcast-btn:hover {
    background-color: #d4a373;
    color: #241b14;
    border-color: #d4a373;
}

.mini-dawcast-thumb {
    width: 26px;
    height: 100%;
    min-height: 24px;
    object-fit: cover;
    border-right: 1px solid rgba(212, 163, 115, 0.4);
    flex-shrink: 0;
    margin: 0;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.play-btn {
    background: #d4a373;
    border: none;
    color: #241b14;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.08);
    background-color: #f0ebe1;
}

.waveform-container {
    flex-grow: 1;
    cursor: pointer;
}

/* Vertical Volume Popover Controls */
.volume-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 20;
}

.volume-toggle-btn {
    background: #241b14;
    border: 1px solid #5a4637;
    color: #d4a373;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-toggle-btn svg {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.volume-toggle-btn:hover {
    border-color: #d4a373;
    background-color: #3e3025;
}

.volume-slider-popup {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(36, 27, 20, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #d4a373;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 50;
}

.volume-control-wrapper:hover .volume-slider-popup,
.volume-slider-popup:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.vertical-range {
    -webkit-appearance: none;
    appearance: none;
    writing-mode: vertical-lr;
    direction: rtl;
    width: 20px;
    height: 90px;
    background: transparent;
    outline: none;
    cursor: pointer;
}

.vertical-range::-webkit-slider-runnable-track {
    width: 4px;
    height: 90px;
    background: #3b312b;
    border-radius: 2px;
}

.vertical-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #111111;
    border: 2px solid #d4a373;
    border-radius: 50%;
    cursor: pointer;
    margin-left: -5px;
    transition: all 0.2s ease;
}

.vertical-range:active::-webkit-slider-thumb {
    background: #222222;
    border-color: #f0ebe1;
    box-shadow: 0 0 10px #d4a373, 0 0 15px #d4a373;
}

.vertical-range::-moz-range-track {
    width: 4px;
    height: 90px;
    background: #3b312b;
    border-radius: 2px;
    border: none;
}

.vertical-range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #111111;
    border: 2px solid #d4a373;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vertical-range:active::-moz-range-thumb {
    background: #222222;
    border-color: #f0ebe1;
    box-shadow: 0 0 10px #d4a373, 0 0 15px #d4a373;
}

/* DAWcast Preview Card */
.dawcast-preview-card {
    display: flex;
    align-items: stretch;
    background: rgba(20, 15, 12, 0.85);
    border: 1px solid rgba(212, 163, 115, 0.35);
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    margin-top: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
    height: 68px;
}

.dawcast-preview-card:hover {
    border-color: #d4a373;
    transform: translateY(-2px);
}

.dawcast-thumb {
    width: 120px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-right: 1px solid rgba(212, 163, 115, 0.35);
    flex-shrink: 0;
}

.dawcast-label-wrapper {
    padding: 0 18px;
    display: flex;
    align-items: center;
}

.dawcast-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #d4a373;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* YouTube Carousel */
.youtube-carousel-container {
    width: 100%;
    max-width: 960px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5px;
}

.carousel-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.carousel-nav-buttons {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    background: transparent;
    border: 1px solid #d4a373;
    color: #d4a373;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: #d4a373;
    color: #241b14;
}

.carousel-track-wrapper {
    position: relative;
    width: 100%;
    border-radius: 14px;
    border: 2px solid rgba(212, 163, 115, 0.35);
    background: #080808;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    overflow: hidden;
    padding: 25px 0;
}

.carousel-slides {
    position: relative;
    width: 78%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    perspective: 1000px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 163, 115, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.carousel-video-frame {
    width: 100%;
    height: 100%;
}

.carousel-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.carousel-slide.pos-0 {
    transform: translateX(0) scale(1) translateZ(0);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
    filter: brightness(1) contrast(1.05);
}

.carousel-slide.pos-1 {
    transform: translateX(25%) scale(0.82) translateZ(-100px);
    opacity: 0.7;
    z-index: 2;
    filter: brightness(0.75) contrast(1);
}

.carousel-slide.pos-2 {
    transform: translateX(-25%) scale(0.82) translateZ(-100px);
    opacity: 0.7;
    z-index: 1;
    filter: brightness(0.75) contrast(1);
}

/* Latest Project Spotlight */
.latest-project-section {
    position: relative;
    padding: 140px 20px;
    background-color: #121820;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.latest-project-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, #3b322d, #121820);
    pointer-events: none;
}

.latest-content-wrapper {
    width: 100%;
    max-width: 1160px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    background: linear-gradient(135deg, #182230 0%, #10161f 100%);
    padding: 60px 70px;
    border-radius: 14px;
    border: 1px solid rgba(79, 140, 182, 0.35);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.spotlight-text {
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: left;
}

.spotlight-title {
    font-size: 2.3rem;
    font-weight: 600;
    color: #ffffff;
}

.spotlight-desc {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.latest-project-section .btn.bronze-solid {
    background-color: #38bdf8;
    color: #0f172a;
}

.latest-project-section .btn.bronze-solid:hover {
    background-color: #f0ebe1;
    color: #0f172a;
}

.spotlight-media {
    display: flex;
    justify-content: center;
    width: 100%;
}

.spotlight-video-wrapper {
    width: 100%;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background-color: #0b0f17;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.spotlight-video-element {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 120px 20px 160px 20px;
    background-color: #241b14;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, #121820, #241b14);
    pointer-events: none;
}

.contact-container {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background-color: #2e241e;
    padding: 50px;
    border-radius: 14px;
    border: 1px solid rgba(212, 163, 115, 0.25);
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background-color: #3b312b;
    border: 1px solid #5a4637;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #d4a373;
}

.form-input::placeholder {
    color: #bfa08c;
}

.submit-btn {
    width: 100%;
    cursor: pointer;
    border: none;
    text-align: center;
}

.direct-contacts-bar {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 10px;
}

.direct-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ded1c1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.direct-contact-item:hover {
    color: #d4a373;
}

.direct-contact-item svg {
    fill: #d4a373;
}

/* Floating Navigation Sidebar */
.site-toc {
    position: fixed;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    z-index: 100;
}

.toc-item {
    color: #cbb8a5;
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), font-size 0.4s ease;
    transform-origin: right center;
    text-align: right;
    position: relative;
    padding-right: 28px;
}

.toc-item.back-to-top::after { content: '𝄢'; }
.toc-item[href="#showreel"]::after { content: '♫'; }
.toc-item[href="#about"]::after { content: '♩'; }
.toc-item[href="#portfolio"]::after { content: '♪'; }
.toc-item[href="#latest-project"]::after { content: '♬'; }
.toc-item[href="#contact"]::after { content: '𝄞'; }

.toc-item::after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #5a4637;
    transition: color 0.4s ease, transform 0.4s ease;
}

.toc-item:hover {
    color: #ffffff;
}

.toc-item.active {
    color: #d4a373;
    font-weight: 600;
    transform: scale(1.15) translateX(-4px);
}

.toc-item.active::after {
    color: #d4a373;
    transform: translateY(-50%) scale(1.4);
}

/* Responsive adjustments */
@media (max-width: 1450px) {
    .testimonial-flank-left,
    .testimonial-flank-right {
        display: none;
    }
    .track-info-drawer {
        left: 0;
        top: -555px;
    }
}

@media (max-width: 1200px) {
    .track-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .site-toc {
        display: none;
    }
}

@media (max-width: 768px) {
    .portfolio {
        height: auto;
        min-height: auto;
        padding: 100px 20px 120px 20px;
    }
    .portfolio-content-layout {
        flex-direction: column;
    }
    .track-info-drawer {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    .track-scroll-box {
        height: auto;
        max-height: 500px;
    }
    .track-list {
        grid-template-columns: 1fr;
    }
    .track-card {
        height: auto;
        min-height: 160px;
    }
    .integrated-hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .hero-content {
        padding-left: 0;
        margin-top: 30px;
        text-align: center;
        align-items: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .spotlight-grid {
        grid-template-columns: 1fr;
        padding: 40px 25px;
    }
    .contact-form {
        padding: 30px 20px;
    }
}