:root {
    /* Colors - Exclusive Brand Identity */
    --primary: #120709;    /* Deep Bordeaux Black */
    --secondary: #C5A880;  /* Brushed Bronze / Champagne */
    --accent: #C5A880;
    --text-light: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.65);
    --text-dim: rgba(255, 255, 255, 0.35);
    --bg-dark: #120709;
    --glass: rgba(197, 168, 128, 0.02);
    --glass-border: rgba(197, 168, 128, 0.06);
    --glass-hover: rgba(197, 168, 128, 0.09);

    /* Typography - Highly Academic & Elegant */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: initial;
    background: var(--bg-dark);
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: #0b0405; /* slightly deeper bordeaux black */
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(197, 168, 128, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(197, 168, 128, 0.03) 0%, transparent 55%);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Utils */
.container-max {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.reveal-text {
    opacity: 1;
    transition: all 1s ease-out;
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Video Background with Exclusive Bordeaux Tint */
#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.noir-video {
    /* sepia + hue-rotate(320deg) creates a stunning, custom cinematic bordeaux filter */
    filter: brightness(0.38) contrast(1.15) sepia(0.18) hue-rotate(320deg) saturate(0.8);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide iOS/Safari native video controls and start playback button overlays */
video::-webkit-media-controls {
    display: none !important;
}
video::-webkit-media-controls-play-button {
    display: none !important;
}
video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18, 7, 9, 0.65) 0%, transparent 50%, rgba(18, 7, 9, 1) 100%);
}

/* Mobile Menu Styles */
#mobile-menu {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}
#mobile-menu.translate-x-full {
    transform: translateX(100%);
    visibility: hidden;
}
#mobile-menu:not(.translate-x-full) {
    transform: translateX(0);
    visibility: visible;
}

.mobile-link {
    position: relative;
    overflow: hidden;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--secondary);
    transform: translateX(-101%);
    transition: transform 0.3s ease;
}

.mobile-link:hover::after {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .reveal-text {
        opacity: 1 !important;
        transform: none !important;
    }
    
    h1 {
        font-size: 9.5vw !important;
    }

    section:not(#home) {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }

    #home {
        padding-top: 10.5rem !important; /* Elegant spacing to prevent content sticking to the navbar on mobile */
        padding-bottom: 4rem !important;
    }
}

/* Glass Navbar */
.glass-nav {
    background: rgba(18, 7, 9, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 168, 128, 0.08);
    border-radius: 100px;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(197, 168, 128, 0.25);
    transform: translateY(-4px);
}

.form-card {
    background: rgba(24, 11, 13, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(197, 168, 128, 0.22);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    transition: all 0.4s ease;
}

.form-card:hover {
    border-color: rgba(197, 168, 128, 0.38);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55);
}

/* Marquee with Exclusive Bordeaux/Bronze contrast */
.marquee-wrapper {
    background: var(--secondary);
    color: var(--primary);
    padding: 1.2rem 0;
    overflow: hidden;
    position: relative;
    z-index: 20;
    font-weight: 500;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 45s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- NEW CORE COMPONENT: Team Switcher --- */
.team-tab {
    cursor: pointer;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-tab.active {
    border-left-color: var(--secondary);
    opacity: 1 !important;
}
.team-tab:hover:not(.active) {
    border-left-color: rgba(197, 168, 128, 0.3);
    padding-left: 2rem; /* micro interaction */
}

#team-profile-display {
    min-height: 460px;
    position: relative;
    box-shadow: 0 45px 90px -25px rgba(0,0,0,0.95);
    background: rgba(24, 11, 13, 0.92);
    border: 1px solid rgba(197, 168, 128, 0.25);
    backdrop-filter: blur(30px);
}

.partner-profile {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.partner-profile.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0.15s;
}

@media (max-width: 1024px) {
    #team-profile-display {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    .partner-profile {
        position: relative !important;
        inset: auto !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: none !important;
        display: none !important;
    }
    
    @keyframes profileFadeIn {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .partner-profile.active {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        animation: profileFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

/* Form Styles */
.input-group {
    position: relative;
    margin-bottom: 1.25rem;
}

.input-field {
    width: 100%;
    background: rgba(18, 7, 9, 0.7);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: 0.75rem;
    padding: 0.95rem 1.25rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.input-field:hover {
    border-color: rgba(197, 168, 128, 0.45);
    background: rgba(18, 7, 9, 0.85);
}

.input-field:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(18, 7, 9, 0.95);
    box-shadow: 0 0 12px rgba(197, 168, 128, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    padding: 1.25rem 2.5rem;
    border-radius: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.25);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 168, 128, 0.8);
}

/* --- NEW CORE COMPONENT: Areas Accordion --- */
.accordion-item {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-item:hover {
    border-bottom-color: var(--secondary);
}

.accordion-arrow {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Rotating Lines and Text around Hero Logo Badge */
@keyframes spin-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-counter-clockwise {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.animate-spin-slow {
    animation: spin-clockwise 35s linear infinite;
    transform-origin: center;
}

.animate-spin-reverse-slow {
    animation: spin-counter-clockwise 45s linear infinite;
    transform-origin: center;
}

/* Cursor Glow Spotlight */
#cursor-glow {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Above background video, below hero content */
    background: radial-gradient(circle 350px at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(197, 168, 128, 0.075) 0%, rgba(197, 168, 128, 0.015) 50%, transparent 100%);
    mix-blend-mode: screen;
    transition: opacity 0.5s ease;
}

@media (max-width: 1024px) {
    #cursor-glow {
        display: none !important;
    }
}

/* Hover micro-interactions for Hero Logo Emblem */
.hero-central-emblem {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#hero-logo-container:hover .hero-central-emblem {
    transform: scale(1.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75);
    border-color: rgba(197, 168, 128, 0.38);
}

.hero-outer-ring-1,
.hero-outer-ring-2 {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

#hero-logo-container:hover .hero-outer-ring-1 {
    transform: scale(1.08);
}

#hero-logo-container:hover .hero-outer-ring-2 {
    transform: scale(1.15);
}

/* Backing Light Halo Glow behind Hero Logo Badge */
.hero-glow-backing {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.55) 0%, rgba(197, 168, 128, 0.22) 50%, rgba(197, 168, 128, 0.05) 75%, transparent 100%);
    filter: blur(35px);
    opacity: 0;
    transform: scale(0.75);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#hero-logo-container:hover .hero-glow-backing {
    opacity: 1;
    transform: scale(1.35);
}
