/* =================================
   Visual Music 1930s Inspired Design
   ================================= */

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

:root {
    /* Cinematic Color Palette - Film Music Inspired */
    --color-primary: #4A9FD8;      /* Cinema Blue */
    --color-secondary: #C9A869;    /* Golden Hour */
    --color-accent-1: #E8B84E;     /* Film Reel Gold */
    --color-accent-2: #6B8E9F;     /* Slate Blue */
    --color-accent-3: #D4756E;     /* Warm Red */
    --color-accent-4: #8B7BA8;     /* Purple Haze */
    --color-accent-5: #A89B7A;     /* Sepia Tone */
    --color-accent-6: #D89B6F;     /* Sunset Orange */
    --color-dark: #0f1419;
    --color-darker: #080a0d;
    --color-light: #e8e8e8;
    --color-white: #f8f8f8;
    --color-gold: #D4AF37;         /* Award Gold */
    
    /* Typography */
    --font-primary: 'Inter', 'Helvetica Neue', sans-serif;
    --font-display: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions - Brian Eno slow pace */
    --transition-fast: 1s ease;
    --transition-normal: 3s ease;
    --transition-slow: 8s ease;
    --transition-ultra-slow: 20s ease;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(180deg, #05080c 0%, #0a0f17 28%, #080d15 68%, #030507 100%);
    color: var(--color-light);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 300;
    position: relative;
}

/* Page scoping: each tab renders only its dedicated section */
body[data-page="home"] section:not(#home) {
    display: none;
}

body[data-page="work"] section:not(#work) {
    display: none;
}

body[data-page="about"] section:not(#about) {
    display: none;
}

body[data-page="testimonials"] section:not(#testimonials) {
    display: none;
}

body[data-page="music"] section:not(#music) {
    display: none;
}

body[data-page="vjing"] section:not(#vjing) {
    display: none;
}

body[data-page="contact"] section:not(#contact) {
    display: none;
}

body[data-page="publications"] section:not(#publications) {
    display: none;
}

body[data-page="press"] section:not(#press) {
    display: none;
}

body[data-page]:not([data-page="home"]) .header-decoration {
    display: none;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 3000;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
}

/* Film grain texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
    mix-blend-mode: overlay;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* =================================
   Ambient Background Canvas (Brian Eno Style)
   ================================= */
#visualMusic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
    mix-blend-mode: normal;
}

.film-strip {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(14px, 1.7vw, 24px);
    pointer-events: none;
    z-index: 9;
    opacity: 0.88;
    background:
        linear-gradient(180deg, rgba(11, 17, 25, 0.93), rgba(7, 11, 17, 0.97)),
        radial-gradient(circle at 50% 10%, rgba(138, 166, 190, 0.14), rgba(138, 166, 190, 0) 36%),
        repeating-linear-gradient(
            to bottom,
            rgba(176, 149, 99, 0.14) 0px,
            rgba(176, 149, 99, 0.14) 1px,
            transparent 1px,
            transparent 20px
        );
    border-left: 1px solid rgba(168, 190, 208, 0.22);
    border-right: 1px solid rgba(168, 190, 208, 0.22);
    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        inset 0 0 1px rgba(226, 203, 160, 0.12),
        0 0 10px rgba(0, 0, 0, 0.22);
}

.film-strip::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 7px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(2, 5, 9, 0.88) 0px,
        rgba(2, 5, 9, 0.88) 8px,
        rgba(158, 173, 186, 0.24) 8px,
        rgba(158, 173, 186, 0.24) 9px,
        transparent 9px,
        transparent 20px
    );
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(216, 196, 158, 0.1);
}

.film-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(221, 199, 156, 0.08), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.2) 72%, rgba(221, 199, 156, 0.06)),
        repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 13px,
            rgba(220, 196, 154, 0.05) 13px,
            rgba(220, 196, 154, 0.05) 14px,
            transparent 14px,
            transparent 30px
        );
    opacity: 0.7;
}

.film-strip-left {
    left: 0;
}

.film-strip-right {
    right: 0;
}

.film-strip-left::before {
    right: 2px;
}

.film-strip-right::before {
    left: 2px;
}

.film-strip-left::after {
    right: 0;
}

.film-strip-right::after {
    left: 0;
}

/* =================================
   Navigation
   ================================= */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(6, 10, 16, 0.97), rgba(6, 10, 16, 0.24) 62%, transparent 100%);
    backdrop-filter: blur(12px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2));
    position: relative;
    animation: breathe 8s ease-in-out infinite;
}

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

.logo-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    background: var(--color-dark);
    border-radius: 50%;
}

.logo-text {
    color: var(--color-white);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: 0.9rem;
    row-gap: 0.35rem;
    max-width: min(70vw, 900px);
    list-style: none;
}

.nav-controls {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    gap: 0.85rem;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.25rem;
    padding: 0.28rem;
    border: 1px solid rgba(169, 190, 208, 0.34);
    border-radius: 999px;
    background: rgba(10, 16, 24, 0.58);
}

.lang-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(224, 235, 245, 0.85);
    padding: 0.32rem 0.62rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
}

.lang-button:hover {
    color: #f4f8fc;
    background: rgba(115, 147, 171, 0.24);
}

.lang-button.active {
    color: #f4f8fc;
    background: rgba(89, 122, 147, 0.55);
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.76rem;
    position: relative;
    padding: 0.38rem 0;
    transition: var(--transition-normal);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-white);
}

/* =================================
   Hero Section
   ================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(5, 8, 12, 0.62) 0%, rgba(5, 8, 12, 0.9) 72%),
        linear-gradient(180deg, rgba(2, 4, 8, 0.54) 0%, rgba(2, 4, 8, 0.9) 100%);
    z-index: 4;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -8%;
    background:
        radial-gradient(circle at 24% 22%, rgba(98, 121, 178, 0.2), rgba(98, 121, 178, 0) 42%),
        radial-gradient(circle at 78% 68%, rgba(134, 104, 164, 0.18), rgba(134, 104, 164, 0) 44%),
        radial-gradient(circle at 52% 48%, rgba(105, 139, 171, 0.12), rgba(105, 139, 171, 0) 56%);
    filter: blur(14px);
    opacity: 0.52;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 5;
    animation: mysticVeilMotion 42s ease-in-out infinite;
}

@keyframes mysticVeilMotion {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.46;
    }
    50% {
        transform: translate3d(0, -1.8%, 0) scale(1.04);
        opacity: 0.62;
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    padding: var(--spacing-xl) var(--spacing-md);
}

/* Organic Shapes Animation (Eno style) - Fluid motion */
/* Following Kandinsky: Circle = Blue, Square = Red, Triangle = Yellow */
.geometric-shape {
    position: absolute;
    opacity: 0.16;
    mix-blend-mode: screen;
    filter: blur(0.7px) saturate(1.12);
    animation: drift 118s cubic-bezier(0.42, 0, 0.18, 1) infinite;
    transition: transform 3s ease-out, opacity 2s ease-out;
}

.shape-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #4c628b;
    box-shadow: 0 0 70px rgba(92, 122, 171, 0.32);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-square {
    width: 250px;
    height: 250px;
    border-radius: 0; /* Square shape */
    background: #6b4f73;
    box-shadow: 0 0 68px rgba(130, 97, 145, 0.3);
    bottom: 20%;
    right: 15%;
    animation-delay: 20s;
    /* No rotation - square stays square */
}

.shape-triangle {
    --triangle-side: 200px;
    width: 0;
    height: 0;
    border-left: calc(var(--triangle-side) / 2) solid transparent;
    border-right: calc(var(--triangle-side) / 2) solid transparent;
    border-bottom: calc(var(--triangle-side) * 0.8660254) solid #8f7a4d;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 0 66px rgba(170, 145, 94, 0.28);
    top: 50%;
    right: 10%;
    animation-delay: 40s;
}

@keyframes drift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    20% {
        transform: translate3d(32px, -20px, 0) scale(1.03);
    }
    46% {
        transform: translate3d(56px, 24px, 0) scale(0.97);
    }
    72% {
        transform: translate3d(-24px, 36px, 0) scale(1.02);
    }
}

/* Separate animation for square - no rotation */
@keyframes driftSquare {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    24% {
        transform: translate3d(28px, -18px, 0) scale(1.02);
    }
    50% {
        transform: translate3d(46px, 28px, 0) scale(0.98);
    }
    76% {
        transform: translate3d(-22px, 30px, 0) scale(1.01);
    }
}

.shape-square {
    animation: driftSquare 124s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3); /* Golden glow */
}

.title-line {
    display: block;
    background: linear-gradient(90deg, 
        var(--color-primary) 0%, 
        var(--color-gold) 50%, 
        var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ambient-shift 30s ease infinite;
    background-size: 200% auto;
}

@keyframes ambient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-light);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 300;
}

.hero-platform-label {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(189, 208, 223, 0.82);
    margin-bottom: 0.75rem;
}

.hero-platforms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.platform-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border-radius: 999px;
    color: rgba(231, 240, 249, 0.92);
    border: 1px solid rgba(164, 186, 202, 0.34);
    background:
        linear-gradient(160deg, rgba(18, 27, 38, 0.78), rgba(9, 14, 22, 0.92)),
        radial-gradient(circle at 15% 15%, rgba(125, 157, 179, 0.2), rgba(125, 157, 179, 0));
    box-shadow: 0 8px 20px rgba(3, 6, 10, 0.35);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.platform-chip:hover {
    transform: translateY(-2px);
    color: #f4f9fd;
    border-color: rgba(177, 197, 212, 0.52);
    background:
        linear-gradient(160deg, rgba(24, 36, 50, 0.9), rgba(11, 17, 26, 0.96)),
        radial-gradient(circle at 15% 15%, rgba(151, 132, 85, 0.26), rgba(151, 132, 85, 0));
}

.platform-chip:focus-visible {
    outline: 2px solid rgba(201, 168, 105, 0.8);
    outline-offset: 2px;
}

.platform-icon {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
    fill: currentColor;
}

body[data-page="building"] .main-nav {
    justify-content: center;
}

.building-hero {
    min-height: 100vh;
}

.building-note {
    max-width: 62ch;
    margin: 0 auto 1.25rem;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(164, 186, 202, 0.3);
    background: linear-gradient(160deg, rgba(18, 27, 38, 0.62), rgba(9, 14, 22, 0.82));
    color: rgba(231, 240, 249, 0.92);
    font-size: 0.95rem;
    line-height: 1.6;
}

.building-links {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.building-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(164, 186, 202, 0.3);
    text-decoration: none;
    color: rgba(231, 240, 249, 0.92);
    background: rgba(10, 16, 24, 0.45);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.building-link:hover {
    transform: translateY(-1px);
    border-color: rgba(177, 197, 212, 0.52);
    color: #f4f9fd;
    background: rgba(16, 24, 36, 0.78);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2));
    color: var(--color-white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(127, 179, 213, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-light);
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.4; }
    50% { transform: translate(-50%, -10px); opacity: 0.8; }
}

/* =================================
   Section Headers
   ================================= */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.deco-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(95, 179, 232, 0.5);
}

.deco-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent-1));
}

.section-intro {
    max-width: 72ch;
    margin: -0.8rem auto 2.2rem;
    text-align: center;
    color: rgba(213, 226, 239, 0.9);
    line-height: 1.78;
    font-size: clamp(0.95rem, 1.25vw, 1.06rem);
}

.vjing-section .vjing-intro {
    margin-bottom: 0.85rem;
}

.vjing-note {
    max-width: 72ch;
    margin: 0 auto 0.5rem;
    text-align: center;
    color: rgba(203, 219, 233, 0.9);
    line-height: 1.72;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.vjing-note.vjing-residency {
    margin-bottom: 1.7rem;
}

.feature-section {
    position: relative;
    padding: var(--spacing-xl) 0;
}

.testimonials-section {
    background:
        linear-gradient(180deg, rgba(5, 8, 13, 0.93), rgba(7, 11, 16, 0.97)),
        radial-gradient(circle at 14% 18%, rgba(91, 124, 145, 0.09), rgba(91, 124, 145, 0) 44%);
}

.music-section {
    background:
        linear-gradient(180deg, rgba(6, 10, 15, 0.95), rgba(6, 10, 15, 0.99)),
        radial-gradient(circle at 84% 20%, rgba(153, 135, 90, 0.08), rgba(153, 135, 90, 0) 40%);
}

.vjing-section {
    background:
        linear-gradient(180deg, rgba(7, 11, 16, 0.95), rgba(7, 11, 16, 0.99)),
        radial-gradient(circle at 18% 82%, rgba(102, 136, 156, 0.08), rgba(102, 136, 156, 0) 44%);
}

.publications-section {
    background:
        linear-gradient(180deg, rgba(6, 10, 15, 0.95), rgba(7, 11, 16, 0.99)),
        radial-gradient(circle at 80% 16%, rgba(151, 133, 88, 0.08), rgba(151, 133, 88, 0) 38%);
}

.press-section {
    background:
        linear-gradient(180deg, rgba(5, 8, 13, 0.95), rgba(6, 10, 15, 1)),
        radial-gradient(circle at 14% 20%, rgba(104, 138, 158, 0.08), rgba(104, 138, 158, 0) 45%);
}

.testimonials-grid,
.press-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.testimonial-card,
.press-card {
    border: 1px solid rgba(170, 190, 206, 0.22);
    border-radius: 18px;
    padding: 1rem;
    background:
        linear-gradient(150deg, rgba(12, 19, 29, 0.86), rgba(9, 14, 21, 0.94)),
        radial-gradient(circle at 82% 10%, rgba(149, 132, 88, 0.14), rgba(149, 132, 88, 0));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.press-media-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 0 0 1rem;
}

.press-media-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    border: 1px solid rgba(172, 193, 210, 0.24);
    background: rgba(8, 12, 18, 0.72);
}

.testimonial-card p,
.press-card p {
    font-size: 0.95rem;
    line-height: 1.74;
    color: rgba(218, 230, 243, 0.9);
    margin-bottom: 0.95rem;
}

.testimonial-source {
    font-size: 0.86rem;
    color: rgba(177, 198, 217, 0.9);
    letter-spacing: 0.02em;
}

.testimonial-card h3,
.press-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: rgba(238, 246, 252, 0.96);
}

.testimonial-card a,
.press-card a {
    color: rgba(156, 194, 220, 0.96);
    text-decoration: none;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.music-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.9fr);
    gap: 1rem;
    align-items: stretch;
}

.music-embed {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(168, 190, 208, 0.22);
    background: rgba(10, 16, 24, 0.8);
}

.music-embed iframe {
    width: 100%;
    min-height: 352px;
    border: 0;
}

.music-links-panel {
    border-radius: 18px;
    border: 1px solid rgba(168, 190, 208, 0.22);
    padding: 1rem;
    background:
        linear-gradient(145deg, rgba(11, 17, 25, 0.88), rgba(8, 13, 20, 0.95)),
        radial-gradient(circle at 82% 10%, rgba(149, 132, 88, 0.16), rgba(149, 132, 88, 0));
    display: grid;
    gap: 0.7rem;
    align-content: start;
}

.music-panel-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(236, 246, 252, 0.95);
    margin-bottom: 0.4rem;
}

.music-link {
    text-decoration: none;
    color: rgba(220, 232, 244, 0.92);
    border: 1px solid rgba(170, 190, 206, 0.24);
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    background: rgba(16, 24, 34, 0.6);
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.music-link:hover {
    transform: translateX(4px);
    border-color: rgba(177, 198, 214, 0.5);
    background: rgba(18, 28, 40, 0.84);
}

.vjing-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.vjing-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(170, 190, 206, 0.2);
    background: rgba(10, 16, 24, 0.75);
}

.vjing-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.vjing-item figcaption {
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(205, 221, 236, 0.86);
}

.publication-card {
    display: grid;
    gap: 0.8rem;
    border-radius: 18px;
    border: 1px solid rgba(170, 190, 206, 0.24);
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    background:
        linear-gradient(150deg, rgba(12, 19, 29, 0.86), rgba(9, 14, 21, 0.95)),
        radial-gradient(circle at 82% 10%, rgba(149, 132, 88, 0.16), rgba(149, 132, 88, 0));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 203, 218, 0.5);
}

.publication-badge {
    display: inline-flex;
    justify-self: start;
    border-radius: 999px;
    border: 1px solid rgba(170, 190, 206, 0.3);
    color: rgba(226, 238, 247, 0.92);
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
}

.publication-card h3 {
    font-size: clamp(1.2rem, 2.1vw, 1.55rem);
    color: rgba(238, 246, 252, 0.96);
}

.publication-card p {
    color: rgba(214, 228, 242, 0.9);
    line-height: 1.75;
}

.publication-link {
    color: rgba(156, 194, 220, 0.96);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =================================
   About Section
   ================================= */
.about {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(74, 159, 216, 0.2), rgba(232, 135, 110, 0.2));
    padding: var(--spacing-md);
    max-width: 100%;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--color-accent-1);
}

.frame-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.frame-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.frame-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.frame-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark), #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.placeholder-circles {
    display: flex;
    gap: var(--spacing-md);
}

.p-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: rotate 5s linear infinite;
}

.p-circle.c1 { background: var(--color-primary); animation-delay: 0s; }
.p-circle.c2 { background: var(--color-secondary); animation-delay: 0.5s; }
.p-circle.c3 { background: var(--color-accent-1); animation-delay: 1s; }

@keyframes rotate {
    from { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    to { transform: rotate(360deg) scale(1); }
}

.about-text {
    padding: var(--spacing-md);
}

.about-heading {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-lg);
    color: var(--color-white);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.about-heading:first-child {
    margin-top: 0;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-2), transparent);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--color-light);
}

.about-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(95, 179, 232, 0.08);
    border-left: 3px solid var(--color-primary);
    transition: var(--transition-normal);
}

.skill-item:hover {
    background: rgba(95, 179, 232, 0.15);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(95, 179, 232, 0.2);
}

.skill-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* =================================
   Work Section
   ================================= */
.work {
    padding: var(--spacing-xl) 0;
    background:
        linear-gradient(180deg, rgba(5, 8, 13, 0.92) 0%, rgba(7, 10, 15, 0.96) 100%),
        radial-gradient(circle at 16% 20%, rgba(74, 159, 216, 0.05) 0%, rgba(74, 159, 216, 0) 44%),
        radial-gradient(circle at 84% 76%, rgba(201, 168, 105, 0.05) 0%, rgba(201, 168, 105, 0) 40%);
    position: relative;
}

/* Film strips are rendered globally via page-level .film-strip elements */
.work::before,
.work::after {
    content: none;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    justify-items: center;
}

.work-item {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.6s ease, box-shadow 0.6s ease, border-radius 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    cursor: pointer;
    border-radius: 50%;
    width: 320px;
    height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    will-change: transform;
    contain: layout paint;
}

.work-item:hover {
    transform: scale(1.06);
    border-color: var(--color-primary);
    box-shadow: 0 14px 34px rgba(95, 179, 232, 0.26);
    border-radius: 20px; /* Morph to rounded rectangle */
}

.work-visual {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(95, 179, 232, 0.05), rgba(232, 119, 142, 0.05));
    border-radius: 50%;
    transition: border-radius 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-item:hover .work-visual {
    border-radius: 20px; /* Visual also morphs */
}

/* Project Slideshow */
.project-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
    transition: border-radius 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: radial-gradient(circle at 50% 50%, rgba(138, 166, 190, 0.18) 0%, rgba(12, 18, 28, 0.85) 70%);
}

.work-item:hover .project-slideshow {
    border-radius: 20px; /* Slideshow morphs too */
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 50%;
    transform: translateZ(0);
    will-change: opacity;
}

.slideshow-image.active {
    opacity: 1;
}

.visual-pattern {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.pattern-element {
    position: absolute;
    animation: pattern-move 40s ease-in-out infinite; /* Slower, more fluid */
    border-radius: 50%;
    opacity: 0.7;
    /* No blur - sharp circles */
    transition: all 1.5s ease-out; /* Smooth transitions for color and position changes */
}

/* Pattern 1 - Cinematic Blues */
.pattern-1 .pattern-element:nth-child(1) {
    width: 120px;
    height: 120px;
    background: #4A9FD8; /* Cinema blue */
    top: 20%;
    left: 20%;
}

.pattern-1 .pattern-element:nth-child(2) {
    width: 100px;
    height: 100px;
    background: #6B8E9F; /* Slate blue */
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

.pattern-1 .pattern-element:nth-child(3) {
    width: 80px;
    height: 80px;
    background: #5A8CA8; /* Dusk blue */
    bottom: 20%;
    right: 20%;
    animation-delay: 20s;
}

/* Pattern 2 - Film Drama Mix */
.pattern-2 .pattern-element:nth-child(1) {
    width: 110px;
    height: 110px;
    background: #B85858; /* Deep red - square */
    top: 15%;
    right: 20%;
}

.pattern-2 .pattern-element:nth-child(2) {
    width: 90px;
    height: 90px;
    background: #4A9FD8; /* Cinema blue - circle */
    bottom: 30%;
    left: 25%;
    animation-delay: 10s;
}

.pattern-2 .pattern-element:nth-child(3) {
    width: 70px;
    height: 70px;
    background: #F4C65D; /* Bright gold - triangle */
    top: 50%;
    right: 30%;
    animation-delay: 20s;
}

/* Pattern 3 - Golden Hour */
.pattern-3 .pattern-element:nth-child(1) {
    width: 130px;
    height: 130px;
    background: #F4C65D; /* Bright film gold - triangle */
    top: 20%;
    left: 30%;
}

.pattern-3 .pattern-element:nth-child(2) {
    width: 85px;
    height: 85px;
    background: #DBA63A; /* Golden hour - triangle */
    bottom: 25%;
    right: 25%;
    animation-delay: 10s;
}

.pattern-3 .pattern-element:nth-child(3) {
    width: 95px;
    height: 95px;
    background: #E8B84E; /* Film reel gold - triangle */
    top: 45%;
    left: 50%;
    animation-delay: 20s;
}

/* Pattern 4 - Kandinsky Reds (Squares concept as circles) */
.pattern-4 .pattern-element:nth-child(1) {
    width: 100px;
    height: 100px;
    background: #E8778E; /* Red circle */
    top: 25%;
    left: 25%;
}

.pattern-4 .pattern-element:nth-child(2) {
    width: 90px;
    height: 90px;
    background: #F4B8C8; /* Light pink circle */
    bottom: 30%;
    right: 30%;
    animation-delay: 10s;
}

.pattern-4 .pattern-element:nth-child(3) {
    width: 110px;
    height: 110px;
    background: #D4A5D8; /* Lavender circle */
    top: 50%;
    right: 20%;
    animation-delay: 20s;
}

/* Pattern 5 - Cool Blues & Greens (Circles) */
.pattern-5 .pattern-element:nth-child(1) {
    width: 140px;
    height: 140px;
    background: #7ED7C1; /* Mint green circle */
    top: 30%;
    left: 20%;
}

.pattern-5 .pattern-element:nth-child(2) {
    width: 95px;
    height: 95px;
    background: #9B9FD8; /* Periwinkle circle */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

.pattern-5 .pattern-element:nth-child(3) {
    width: 115px;
    height: 115px;
    background: #5FB3E8; /* Blue circle */
    bottom: 30%;
    right: 20%;
    animation-delay: 20s;
}

/* Pattern 6 - Warm Spectrum (Mixed) */
.pattern-6 .pattern-element:nth-child(1) {
    width: 105px;
    height: 105px;
    background: #F9D56E; /* Yellow circle */
    top: 20%;
    left: 30%;
}

.pattern-6 .pattern-element:nth-child(2) {
    width: 125px;
    height: 125px;
    background: #E89B6F; /* Coral circle */
    bottom: 25%;
    right: 25%;
    animation-delay: 10s;
}

.pattern-6 .pattern-element:nth-child(3) {
    width: 88px;
    height: 88px;
    background: #E8778E; /* Red circle */
    top: 50%;
    right: 35%;
    animation-delay: 20s;
}

@keyframes pattern-move {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    33% {
        transform: translate(8px, -8px) scale(1.03);
        opacity: 0.8;
    }
    66% {
        transform: translate(-8px, 8px) scale(0.97);
        opacity: 0.75;
    }
}

.work-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    background: rgba(26, 29, 40, 0.85);
    backdrop-filter: blur(10px);
    z-index: 3;
    text-align: center;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-item:hover .work-info {
    opacity: 1;
    border-radius: 20px; /* Morph to rounded rectangle */
}

.work-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    font-weight: 600;
    transition: color 0.3s ease;
}

.work-description {
    color: var(--color-light);
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 0.95rem;
    display: block;
    opacity: 0.9;
    transition: color 0.3s ease;
}

.work-year {
    display: none; /* Hide year, show genre instead */
}

.portfolio-archive {
    margin-top: 1.3rem;
}

.archive-title {
    font-size: 0.92rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(212, 225, 238, 0.88);
    margin-bottom: 0.8rem;
}

.archive-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.archive-item {
    border-radius: 999px;
    border: 1px solid rgba(168, 190, 208, 0.24);
    padding: 0.45rem 0.7rem;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(202, 220, 236, 0.84);
    background: rgba(13, 20, 30, 0.56);
}

/* =================================
   Contact Section
   ================================= */
.contact {
    padding: var(--spacing-xl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.contact-info {
    padding: var(--spacing-md);
}

.contact-intro {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    color: var(--color-white);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(95, 179, 232, 0.08);
    border-left: 4px solid var(--color-primary);
    transition: var(--transition-normal);
}

.contact-item:hover {
    background: rgba(95, 179, 232, 0.15);
    transform: translateX(10px);
    border-left-color: var(--color-accent-2);
    box-shadow: 0 5px 15px rgba(95, 179, 232, 0.2);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.contact-item a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.contact-item:hover a {
    color: var(--color-white);
}

.contact-visual {
    height: 400px;
    position: relative;
}

.visual-composition {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(51, 102, 255, 0.1));
}

.comp-circle,
.comp-square {
    position: absolute;
    animation: float 15s ease-in-out infinite;
}

.comp-circle.c1 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), transparent);
    top: 10%;
    left: 10%;
}

.comp-circle.c2 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--color-secondary);
    background: transparent;
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.comp-square.s1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--color-accent-1), transparent);
    transform: rotate(45deg);
    top: 40%;
    right: 20%;
    animation-delay: 1s;
}

.comp-square.s2 {
    width: 80px;
    height: 80px;
    background: var(--color-accent-2);
    opacity: 0.5;
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.comp-line {
    position: absolute;
    height: 3px;
    animation: expand 3s ease-in-out infinite;
}

.comp-line.l1 {
    width: 200px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    top: 25%;
    left: 0;
}

.comp-line.l2 {
    width: 150px;
    background: linear-gradient(90deg, transparent, var(--color-secondary));
    bottom: 35%;
    right: 0;
    animation-delay: 1.5s;
}

@keyframes expand {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(1.5); }
}

/* =================================
   About + Contact Refinement
   ================================= */
.about {
    position: relative;
    padding: var(--spacing-xl) 0;
    background:
        linear-gradient(180deg, rgba(6, 10, 15, 0.92) 0%, rgba(7, 11, 17, 0.96) 100%),
        radial-gradient(circle at 10% 20%, rgba(96, 129, 149, 0.06) 0%, rgba(96, 129, 149, 0) 48%),
        radial-gradient(circle at 88% 84%, rgba(147, 128, 83, 0.05) 0%, rgba(147, 128, 83, 0) 42%);
}

.about::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 12, 17, 0.22) 0%, rgba(8, 12, 17, 0.82) 100%);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    grid-template-columns: minmax(240px, 0.78fr) minmax(360px, 1.22fr);
    gap: clamp(1.2rem, 3vw, 3rem);
    align-items: start;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0.35rem;
}

.image-frame {
    width: min(100%, 420px);
    aspect-ratio: auto;
    margin: 0 auto;
    padding: 0.45rem;
    border-radius: 20px;
    background:
        linear-gradient(160deg, rgba(105, 137, 157, 0.16), rgba(11, 18, 26, 0.62)),
        radial-gradient(circle at 78% 10%, rgba(145, 128, 84, 0.12), rgba(145, 128, 84, 0));
    border: 1px solid rgba(168, 189, 205, 0.2);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.frame-corner {
    display: none;
}

.portrait-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    background: transparent;
    filter: saturate(1.02) contrast(1.03);
}

.about-text {
    padding: clamp(1.1rem, 2.4vw, 2rem);
    border-radius: 24px;
    border: 1px solid rgba(173, 194, 212, 0.22);
    background:
        linear-gradient(150deg, rgba(13, 20, 30, 0.88), rgba(9, 14, 21, 0.93)),
        radial-gradient(circle at 82% 8%, rgba(132, 113, 71, 0.18), rgba(132, 113, 71, 0));
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.32);
}

.about-heading {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    margin-top: 1.4rem;
    margin-bottom: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(232, 241, 250, 0.95);
}

.about-heading::after {
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, rgba(122, 156, 178, 0.85), rgba(122, 156, 178, 0));
}

.about-text p {
    font-size: clamp(0.96rem, 1.2vw, 1.07rem);
    line-height: 1.85;
    color: rgba(215, 227, 240, 0.9);
    margin-bottom: 1rem;
    max-width: 68ch;
}

.about-text p:first-of-type {
    padding-left: 1rem;
    border-left: 2px solid rgba(120, 152, 172, 0.52);
    color: rgba(226, 235, 244, 0.95);
}

.contact {
    position: relative;
    padding: var(--spacing-xl) 0;
    background:
        linear-gradient(180deg, rgba(6, 10, 15, 0.94) 0%, rgba(7, 11, 17, 0.98) 100%),
        radial-gradient(circle at 90% 16%, rgba(93, 123, 140, 0.09) 0%, rgba(93, 123, 140, 0) 40%),
        radial-gradient(circle at 12% 86%, rgba(155, 136, 88, 0.07) 0%, rgba(155, 136, 88, 0) 36%);
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 12, 17, 0.52), rgba(8, 12, 17, 0.9));
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    grid-template-columns: minmax(320px, 1.08fr) minmax(260px, 0.92fr);
    gap: clamp(1.2rem, 2.4vw, 2.6rem);
    align-items: stretch;
}

.contact-info {
    border: 1px solid rgba(173, 194, 212, 0.23);
    border-radius: 24px;
    padding: clamp(1.1rem, 2.4vw, 1.8rem);
    background:
        linear-gradient(145deg, rgba(11, 17, 25, 0.86), rgba(8, 13, 20, 0.94)),
        radial-gradient(circle at 86% 12%, rgba(145, 127, 81, 0.14), rgba(145, 127, 81, 0));
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

.contact-intro {
    font-size: clamp(1.08rem, 1.7vw, 1.36rem);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: rgba(232, 241, 249, 0.95);
    max-width: 36ch;
}

.contact-cluster + .contact-cluster {
    margin-top: 1rem;
}

.contact-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(230, 240, 249, 0.9);
    margin-bottom: 0.62rem;
}

.contact-details {
    gap: 0.75rem;
}

.contact-item {
    border-radius: 16px;
    border-left: none;
    border: 1px solid rgba(167, 188, 206, 0.22);
    background: rgba(15, 23, 33, 0.68);
    padding: 0.82rem 0.95rem;
    gap: 0.8rem;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    border-color: color-mix(in srgb, var(--color-primary) 58%, rgba(167, 188, 206, 0.22));
    background: rgba(18, 28, 39, 0.86);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.contact-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(231, 241, 249, 0.94);
    background: color-mix(in srgb, var(--color-primary) 32%, rgba(20, 28, 38, 0.8));
    border: 1px solid rgba(173, 194, 212, 0.34);
}

.contact-item a {
    font-size: clamp(0.95rem, 1.25vw, 1.06rem);
    color: rgba(220, 232, 244, 0.93);
}

.contact-item:hover a {
    color: #f3f8fc;
}

.contact-platforms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid rgba(167, 188, 206, 0.22);
    background:
        linear-gradient(155deg, rgba(15, 24, 34, 0.82), rgba(9, 15, 23, 0.94)),
        radial-gradient(circle at 80% 15%, rgba(149, 131, 85, 0.16), rgba(149, 131, 85, 0));
    min-height: 86px;
    padding: 0.8rem 0.9rem;
    transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.platform-card:hover {
    transform: translateY(-3px);
    border-color: rgba(178, 198, 213, 0.5);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.platform-card-name {
    width: 2.15rem;
    height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(238, 246, 252, 0.96);
    border-radius: 11px;
    border: 1px solid rgba(168, 190, 208, 0.28);
    background: rgba(20, 30, 42, 0.62);
}

.platform-card-handle {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(185, 205, 221, 0.8);
    margin-top: 0.25rem;
}

.contact-visual {
    height: 100%;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(167, 188, 206, 0.22);
    background: linear-gradient(150deg, rgba(11, 17, 25, 0.88), rgba(8, 13, 20, 0.95));
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

.visual-composition {
    background:
        radial-gradient(circle at 25% 20%, rgba(103, 134, 154, 0.36), rgba(103, 134, 154, 0)),
        radial-gradient(circle at 78% 70%, rgba(146, 129, 84, 0.25), rgba(146, 129, 84, 0)),
        linear-gradient(140deg, rgba(13, 20, 30, 0.95), rgba(8, 13, 20, 1));
}

.comp-circle.c1 {
    background: linear-gradient(135deg, rgba(104, 136, 157, 0.7), rgba(104, 136, 157, 0));
}

.comp-circle.c2 {
    border-color: rgba(154, 137, 93, 0.82);
}

.comp-square.s1 {
    background: linear-gradient(45deg, rgba(142, 125, 81, 0.6), rgba(142, 125, 81, 0));
}

.comp-square.s2 {
    background: rgba(110, 141, 163, 0.48);
}

.comp-line.l1 {
    background: linear-gradient(90deg, rgba(110, 142, 164, 0.8), rgba(110, 142, 164, 0));
}

.comp-line.l2 {
    background: linear-gradient(90deg, rgba(10, 14, 20, 0), rgba(154, 137, 93, 0.8));
}

@media (max-width: 968px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: none;
        margin: 0 auto;
    }

    .contact-visual {
        min-height: 270px;
    }

    .contact-platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-grid,
    .press-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .vjing-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .about-text,
    .contact-info {
        border-radius: 18px;
    }

    .image-frame {
        width: min(100%, 360px);
        border-radius: 16px;
        padding: 0.35rem;
    }

    .portrait-image {
        border-radius: 12px;
    }

    .contact-visual {
        border-radius: 18px;
        min-height: 240px;
    }

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

    .testimonials-grid,
    .press-grid {
        grid-template-columns: 1fr;
    }

    .press-media-strip {
        grid-template-columns: 1fr;
    }

    .vjing-gallery {
        grid-template-columns: 1fr;
    }
}

/* =================================
   Footer
   ================================= */
.footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 40;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-follow-label {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(196, 214, 229, 0.82);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 41;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(225, 236, 246, 0.88);
    border: 1px solid rgba(167, 188, 206, 0.26);
    border-radius: 999px;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: color 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.footer-links a:hover {
    color: #f4f9fd;
    border-color: rgba(192, 210, 224, 0.5);
    background: rgba(23, 33, 45, 0.62);
}

.footer-text {
    text-align: center;
    color: var(--color-light);
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-decoration {
    display: flex;
    gap: var(--spacing-sm);
}

.deco-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: pulse 2s ease-in-out infinite;
}

.deco-dot:nth-child(2) {
    background: var(--color-secondary);
    animation-delay: 0.5s;
}

.deco-dot:nth-child(3) {
    background: var(--color-accent-1);
    animation-delay: 1s;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    #visualMusic,
    #bloomCanvas,
    .scroll-indicator {
        display: none;
    }
}

/* =================================
   Responsive Design
   ================================= */
@media (max-width: 968px) {
    .main-nav {
        gap: var(--spacing-sm);
    }

    .nav-controls {
        gap: 0.7rem;
    }

    .nav-menu {
        gap: 0.55rem;
        justify-content: center;
        max-width: 100%;
    }
    
    .nav-link {
        font-size: 0.68rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .work-item {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .about-skills {
        grid-template-columns: 1fr;
    }
    
    .geometric-shape {
        opacity: 0.16;
    }
    
    .shape-circle { width: 100px; height: 100px; }
    .shape-square { width: 80px; height: 80px; }
    .shape-triangle {
        --triangle-side: 100px;
        border-left: calc(var(--triangle-side) / 2) solid transparent;
        border-right: calc(var(--triangle-side) / 2) solid transparent;
        border-bottom: calc(var(--triangle-side) * 0.8660254) solid #9a8758;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-controls {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.55rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-platforms {
        gap: 0.48rem;
    }

    .platform-chip {
        width: 2.3rem;
        height: 2.3rem;
    }
    
    .btn {
        text-align: center;
    }
    
    .contact-visual {
        height: 300px;
    }
}
