:root {
    --glass-bg: rgba(9, 10, 16, 0.82);
    --glass-border: rgba(197, 160, 89, 0.28);
    /* Champagne Gold */
    --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.85);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.92);
    --text-muted: rgba(255, 255, 255, 0.68);
    --accent: #C5A059;
    /* Champagne Black Gold */
    --accent-light: #F0D59E;
    --accent-glow: rgba(197, 160, 89, 0.40);
    --secondary: #8B1C31;
    /* Shiny Royal Red Wine */
    --secondary-light: #D43859;
    --secondary-glow: rgba(184, 37, 66, 0.60);
    --bg-dark: #040406;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    position: relative;
}

main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* --- Scroll Progress Bar --- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3.5px;
    background: linear-gradient(90deg, var(--accent), var(--secondary-light), var(--accent-light));
    z-index: 10000;
    /* box-shadow: none; */
    transition: width 0.1s cubic-bezier(0.1, 0.9, 0.2, 1);
}

h1,
h2,
h3,
h4,
.serif {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-weight: 500;
    color: var(--accent);
    text-shadow: none;
    letter-spacing: -0.015em;
}

.cinzel-font {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

.wine-text,
.number-tag,
.read-more,
.timeline-year,
.role-company {
    color: var(--secondary-light) !important;
    text-shadow: 0 0 8px rgba(212, 56, 89, 0.5), 0 0 16px rgba(139, 28, 49, 0.35);
    font-weight: 600;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: inline-block;
}

a:hover {
    color: var(--secondary-light);
    text-shadow: 0 0 12px rgba(212, 56, 89, 0.85);
}

/* --- Scroll Animation Background Canvas --- */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background-color: #040407;
    pointer-events: none;
    overflow: hidden;
}

/* Subtle Luxury Vignette Overlay for ideal balance of background visibility & text readability */
#canvas-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(4, 4, 7, 0.12) 0%, rgba(4, 4, 7, 0.50) 100%),
        linear-gradient(180deg, rgba(4, 4, 7, 0.38) 0%, rgba(4, 4, 7, 0.08) 30%, rgba(4, 4, 7, 0.08) 70%, rgba(4, 4, 7, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

#video-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.46;
    /* Increased visibility for richer presence */
    filter: contrast(1.10) brightness(0.92) saturate(0.96);
    pointer-events: none;
    display: block;
}

#embersCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 2;
}

/* --- Layout & Containers --- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

section {
    padding: 5.8rem 0 4.8rem 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* --- Glassmorphism Foundation Panels --- */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 2rem 1.8rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.glass-panel.tracking {
    transition: transform 0.08s ease-out;
}

/* Flashlight Glow tracking mouse */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(650px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(197, 160, 89, 0.16), transparent 45%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.glass-panel:hover::before {
    opacity: 1;
}

.glass-panel:hover {
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
    border-color: rgba(197, 160, 89, 0.45);
    transform: translateY(-3px) scale(1.006);
}

.glass-panel>* {
    position: relative;
    z-index: 1;
    transform: translateZ(16px);
}

.section-header {
    margin-bottom: 3.2rem;
    text-align: center;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    background: linear-gradient(135deg, #fae8c8 0%, #dfba73 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid rgba(197, 160, 89, 0.35);
    background-color: rgba(197, 160, 89, 0.08);
    padding: 0.28rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.15);
}

.section-header h2 {
    font-size: clamp(2.3rem, 4.2vw, 3.1rem);
    line-height: 1.2;
    margin-bottom: 1.1rem;
    background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-light) 65%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.85));
}

.section-header p {
    font-size: 1.06rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

@media (max-width: 960px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    section {
        padding: 3.5rem 0;
        min-height: auto;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}


/* --- Interactive Luxury Cursor Glow Tracker --- */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, rgba(139, 28, 49, 0.08) 35%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(35px);
    transition: opacity 0.4s ease;
}

/* Standard scroll reveals */
.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered Text Masking */
.mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.18;
    padding-bottom: 6px;
}

.word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.85s;
}

.text-reveal.visible .word {
    transform: translateY(0);
    opacity: 1;
}

.d-1 {
    transition-delay: 0.1s;
}

.d-2 {
    transition-delay: 0.2s;
}

.d-3 {
    transition-delay: 0.3s;
}

.d-4 {
    transition-delay: 0.4s;
}

.d-5 {
    transition-delay: 0.5s;
}

.d-6 {
    transition-delay: 0.6s;
}

.d-7 {
    transition-delay: 0.7s;
}

/* ==========================================================================
           1. PREMIUM LUXURY PRELOADER - SIMPLE, ELEGANT & PROFESSION-FOCUSED
           ========================================================================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 45%, #13151f 0%, #08080c 70%, #030305 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s ease;
    pointer-events: all;
    overflow: hidden;
    padding: 1.5rem;
    text-align: center;
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 460px;
    width: 100%;
}

.loader-logo-wrap {
    margin-bottom: 1.1rem;
    position: relative;
}

.loader-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(197, 160, 89, 0.4));
    animation: loaderLogoPulse 3s ease-in-out infinite alternate;
}

@keyframes loaderLogoPulse {
    0% {
        transform: scale(0.96);
        filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.3));
    }

    100% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 20px rgba(223, 186, 115, 0.55));
    }
}

.loader-name {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.85rem, 4.2vw, 2.6rem);
    font-weight: 600;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #ffffff 10%, #fae8c8 45%, #dfba73 80%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.35rem;
    line-height: 1.15;
    text-transform: uppercase;
}

.loader-profession {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 2.2px;
    color: var(--accent-light);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.92;
}

.loader-keyword-box {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    min-height: 36px;
}

.loader-keyword-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 6px var(--accent-light);
    animation: loaderDotPulse 1.6s infinite ease-in-out;
}

@keyframes loaderDotPulse {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

.loader-keyword {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #f1f5f9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.loader-progress-wrap {
    width: 100%;
    max-width: 320px;
}

.loader-bar-track {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #c5a059, #fae8c8, #ffffff);
    box-shadow: none !important;
    /* Zero big glow */
    border-radius: 2px;
    transition: width 0.1s linear;
}

.loader-percent-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.65rem;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.64rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.loader-status {
    color: #94a3b8;
    font-size: 0.62rem;
    letter-spacing: 1.2px;
    font-weight: 500;
}

.loader-percent {
    color: var(--accent-light);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
           2. TOP MENU (NAVBAR) - FROSTED GLASS BLUR & DYNAMIC NAVIGATION
           ========================================================================== */
#navbar,
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.82rem 0;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        backdrop-filter 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        -webkit-backdrop-filter 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: backdrop-filter, background, box-shadow;
}

/* Scrolled Glass State (When scrolling down the page) */
#navbar.scrolled,
nav.scrolled {
    background: rgba(6, 7, 13, 0.78);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 25px rgba(197, 160, 89, 0.08);
    padding: 0.42rem 0;
}

/* Dynamic Active Blur State (Triggered on click & during smooth scroll transition) */
#navbar.nav-blur-active,
#navbar.is-navigating,
nav.nav-blur-active,
nav.is-navigating {
    background: rgba(7, 9, 18, 0.88) !important;
    backdrop-filter: blur(36px) saturate(220%) brightness(1.08) !important;
    -webkit-backdrop-filter: blur(36px) saturate(220%) brightness(1.08) !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.48) !important;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.88), 0 0 35px rgba(197, 160, 89, 0.25), inset 0 -1px 0 rgba(232, 203, 140, 0.4) !important;
    padding: 0.42rem 0;
}

/* Bottom Shimmer Line during Navigation */
.nav-shimmer-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(197, 160, 89, 0.85) 40%, rgba(184, 37, 66, 0.85) 70%, transparent 100%);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

#navbar.nav-blur-active .nav-shimmer-line,
#navbar.is-navigating .nav-shimmer-line,
nav.nav-blur-active .nav-shimmer-line,
nav.is-navigating .nav-shimmer-line {
    opacity: 1;
    transform: scaleX(1);
    animation: shimmerSweep 1.4s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}

@keyframes shimmerSweep {
    0% {
        filter: brightness(1) drop-shadow(0 0 4px var(--accent-light));
        opacity: 0.7;
    }

    100% {
        filter: brightness(1.7) drop-shadow(0 0 12px var(--accent));
        opacity: 1;
    }
}

.nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    min-height: 44px;
    width: 100%;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    line-height: 1;
    flex-shrink: 0;
    padding: 0.2rem 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-logo:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.nav-logo:active {
    transform: scale(0.97);
}

.nav-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(197, 160, 89, 0.25));
    transition: filter 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(250, 232, 200, 0.45));
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    padding: 0.42rem 0.95rem;
    border-radius: 20px;
    line-height: 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: transparent;
    transition: color 0.25s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
    user-select: none;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 160, 89, 0.35);
    box-shadow: 0 0 14px rgba(197, 160, 89, 0.2);
}

.nav-links a:active {
    transform: scale(0.96);
}

.nav-links a:focus {
    outline: none !important;
}

/* Active Nav Link Glowing Pill State (Dynamically Driven by ScrollSpy) */
.nav-links a.active {
    color: #ffffff !important;
    background: rgba(197, 160, 89, 0.2) !important;
    border-color: rgba(197, 160, 89, 0.6) !important;
    box-shadow: 0 0 18px rgba(197, 160, 89, 0.4), inset 0 0 10px rgba(197, 160, 89, 0.25) !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(232, 203, 140, 0.75);
}

/* Top CTA Button in Nav */
.nav-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    height: 32px !important;
    padding: 0 1.15rem !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    border-radius: 20px !important;
    background: rgba(16, 16, 24, 0.85) !important;
    color: var(--accent-light) !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 1.4px !important;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    z-index: 1 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    margin-left: 0.35rem;
    transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-50%);
    transition: width 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.nav-cta-btn:hover {
    color: #ffffff !important;
    border-color: #b82542 !important;
    background: linear-gradient(135deg, #8b1c31 0%, #4a0815 100%) !important;
    box-shadow: 0 4px 16px rgba(139, 28, 49, 0.45) !important;
}

.nav-cta-btn:active {
    transform: scale(0.96) !important;
}

.nav-cta-btn:hover::before {
    width: 100%;
}

.magnetic {
    transition: transform 0.3s ease-out;
}

.magnetic.tracking {
    transition: none;
}

/* Language Switcher Component */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 14, 22, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 14px;
    padding: 2px 4px;
    gap: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    height: 26px;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    padding: 2px 5px;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #0b0b10 !important;
    font-weight: 700;
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.45);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.55rem;
    user-select: none;
    line-height: 1;
}

/* Mobile Navigation Toggle Button */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    background: rgba(14, 14, 22, 0.7);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    gap: 4px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-mobile-toggle:hover {
    background: rgba(197, 160, 89, 0.15);
    border-color: var(--accent);
}

.nav-mobile-toggle .bar {
    display: block;
    width: 16px;
    height: 1.8px;
    background-color: var(--accent-light);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
}

.nav-mobile-toggle.open .bar-1 {
    transform: translateY(5.8px) rotate(45deg);
}

.nav-mobile-toggle.open .bar-2 {
    opacity: 0;
    transform: scaleX(0);
}

.nav-mobile-toggle.open .bar-3 {
    transform: translateY(-5.8px) rotate(-45deg);
}

/* Mobile Dropdown Menu Drawer */
.nav-mobile-dropdown {
    display: none;
    max-height: 0;
    overflow: hidden;
    background: rgba(7, 9, 17, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 16px;
    margin: 0.6rem 1rem 0.5rem 1rem;
    padding: 0 1.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(197, 160, 89, 0.15);
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease, opacity 0.35s ease;
    opacity: 0;
}

.nav-mobile-dropdown.open {
    display: block;
    max-height: 480px;
    padding: 1.1rem 1.2rem;
    opacity: 1;
}

.nav-mobile-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.12);
    transition: all 0.25s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #ffffff;
    background: rgba(197, 160, 89, 0.16);
    border-color: rgba(197, 160, 89, 0.45);
    box-shadow: 0 0 14px rgba(197, 160, 89, 0.25);
}

.nav-cta-btn-mobile {
    background: linear-gradient(135deg, rgba(139, 28, 49, 0.8), rgba(74, 8, 21, 0.9)) !important;
    color: #ffffff !important;
    border-color: rgba(197, 160, 89, 0.4) !important;
    text-align: center;
    font-weight: 600;
    margin-top: 0.4rem;
}

@media (max-width: 900px) {
    .nav-inner {
        justify-content: space-between;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    .nav-logo {
        gap: 0.6rem;
    }

    .nav-logo-img {
        height: 26px;
    }

    .nav-brand-text {
        font-size: 0.86rem;
        letter-spacing: 1.4px;
    }
}

/* ==========================================================================
           3. HERO (TOP BANNER) WITH MOUSE-SHIFT PHOTO
           ========================================================================== */
#hero {
    padding-top: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}



.hero-title {
    font-size: clamp(2.8rem, 4.5vw, 4.6rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.title-name {
    background: linear-gradient(135deg, #ffffff 0%, #fae8c8 45%, var(--accent) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.title-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.45rem);
    font-weight: 400;
    color: var(--accent-light);
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-top: 0.6rem;
}

.hero-desc {
    font-size: 1.22rem;
    color: rgba(255, 255, 255, 0.94);
    max-width: 620px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.75;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-cta-group {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Buttons - Clean Luxury Elevation & Smooth Wine Surge */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.68rem 1.6rem;
    border-radius: 30px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    transition: color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
    will-change: transform, box-shadow;
    box-sizing: border-box;
}

/* Subtle top gold accent line expanding on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fae8c8, transparent);
    transform: translateX(-50%);
    transition: width 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.btn:hover {
    transform: none;
}

.btn:hover::before {
    width: 100%;
}

.btn:active {
    transform: scale(0.97) translateY(0px) !important;
}

/* Primary Button (Explore Projects, Submit Form): Champagne Gold -> Red Wine on Hover */
.btn-primary {
    background: linear-gradient(135deg, #fae8c8 0%, #dfba73 35%, #c5a059 70%, #9e782e 100%);
    border: 1px solid rgba(250, 232, 200, 0.9);
    color: #1a1205;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(197, 160, 89, 0.35), 0 0 10px rgba(223, 186, 115, 0.25);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b82542 0%, #8b1c31 50%, #4a0815 100%);
    border-color: #fca5a5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    text-shadow: none;
}

/* Secondary Button (Initiate Dialogue, Dossier, Email): Obsidian with Gold Border -> Red Wine on Hover */
.btn-secondary {
    background: rgba(14, 14, 20, 0.75);
    border: 1px solid rgba(197, 160, 89, 0.45);
    color: var(--accent-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #8b1c31 0%, #4a0815 100%);
    border-color: #b82542;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Kinetic Arrow Animation */
.btn span {
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover span:last-child {
    transform: translateX(4px);
}

/* Mouse-shift Portrait Card */
.hero-photo-wrapper {
    position: relative;
    perspective: 1000px;
}

.hero-photo-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(197, 160, 89, 0.2);
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
    background: #0d0d12;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: contrast(1.05) brightness(0.98);
    transition: transform 0.5s ease;
}

.hero-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.8rem;
    background: linear-gradient(0deg, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.5) 60%, transparent 100%);
    z-index: 2;
}

.hero-photo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #fff;
}

.hero-photo-role {
    font-size: 0.8rem;
    color: var(--accent-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-desc {
        margin: 0 auto 2rem auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-photo-card {
        max-width: 340px;
    }
}

/* ==========================================================================
           4. BRAND PHILOSOPHY SECTION - LUXURY HOURGLASS & QUOTE SHOWCASE
           ========================================================================== */
#wine-section {
    padding: 4.5rem 0 2rem 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
}

.philosophy-showcase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    width: 100%;
}

/* --- Interactive Single-Hand Luxury Clock (Time & Maturation) --- */
.clock-interactive-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem;
    border-radius: 50%;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.clock-interactive-wrapper:hover {
    transform: translateY(-2px) scale(1.04);
}

.clock-aura-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 203, 140, 0.28) 0%, rgba(197, 160, 89, 0.12) 45%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
    transition: all 0.5s ease;
    opacity: 0.6;
}

.clock-interactive-wrapper:hover .clock-aura-glow,
.clock-interactive-wrapper.full .clock-aura-glow {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(250, 232, 200, 0.45) 0%, rgba(197, 160, 89, 0.25) 45%, transparent 75%);
    filter: blur(20px);
    opacity: 0.85;
}

.clock-svg-box {
    width: 85px;
    height: 85px;
    position: relative;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(197, 160, 89, 0.35));
    transition: filter 0.3s ease;
}

.clock-interactive-wrapper:hover .clock-svg-box {
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 16px rgba(250, 232, 200, 0.5));
}

.single-clock-hand {
    transition: transform 0.05s linear;
}

.hourglass-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--accent-light);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-top: 0.2rem;
    transition: all 0.3s ease;
}

.hourglass-tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 6px var(--accent-light);
}

.hourglass-interactive-wrapper.full .hourglass-status-tag {
    color: #ffffff;
}

/* --- High-Impact Glassmorphic Philosophy Quote Showcase Card --- */
.quote-showcase-card {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1.5px solid rgba(197, 160, 89, 0.45);
    border-radius: 24px;
    padding: 3rem 3.4rem;
    box-shadow: 0 0 35px rgba(197, 160, 89, 0.22), inset 0 0 25px rgba(197, 160, 89, 0.08);
    position: relative;
    overflow: hidden;
    max-width: 840px;
    width: 100%;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.quote-showcase-card:hover {
    box-shadow: 0 0 50px rgba(197, 160, 89, 0.35), inset 0 0 30px rgba(197, 160, 89, 0.12);
    border-color: rgba(240, 213, 158, 0.75);
    transform: translateY(-2px);
}

.quote-watermark-glyph {
    position: absolute;
    top: -15px;
    left: 24px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 11rem;
    line-height: 1;
    color: rgba(197, 160, 89, 0.09);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.quote-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 0.74rem;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--accent-light);
    font-weight: 700;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}

.quote-statement {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.45rem, 2.7vw, 2.15rem);
    line-height: 1.5;
    color: #ffffff;
    font-style: italic;
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
    margin: 0;
    padding: 0;
}

.quote-divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 1.8rem auto 1.5rem auto;
    position: relative;
    z-index: 1;
}

.quote-author-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.quote-author-avatar-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(197, 160, 89, 0.55);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.35);
    flex-shrink: 0;
}

.quote-author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.quote-author-info {
    text-align: left;
}

.quote-author-name {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2;
}

.quote-author-role {
    font-size: 0.72rem;
    color: var(--accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.92;
    line-height: 1.3;
}

/* --- Next Component Unlock Gateway - Innovative Luxury Discover Signature --- */
.wine-unlock-gateway {
    margin-top: 2.2rem;
    opacity: 0;
    transform: translateY(22px);
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
    width: 100%;
}

.wine-unlock-gateway.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.luxury-discover-trigger {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem;
    padding: 0.85rem 2.2rem 0.85rem 1rem;
    background: radial-gradient(circle at 10% 50%, rgba(197, 160, 89, 0.12) 0%, rgba(20, 15, 12, 0.85) 100%);
    border: 1.5px solid rgba(197, 160, 89, 0.45);
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(197, 160, 89, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

/* Landing page champagne gold hover surface */
.luxury-discover-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fae8c8 0%, #dfba73 35%, #c5a059 70%, #9e782e 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.luxury-discover-trigger:hover {
    border-color: rgba(250, 232, 200, 0.95);
    box-shadow: 0 12px 35px rgba(197, 160, 89, 0.5), 0 0 25px rgba(223, 186, 115, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.luxury-discover-trigger:hover::before {
    opacity: 1;
}

.luxury-discover-trigger:active {
    transform: scale(0.98) translateY(-1px);
}

.luxury-discover-trigger:hover .discover-eyebrow {
    color: #3b2a0c;
    opacity: 0.95;
}

.luxury-discover-trigger:hover .discover-main-label {
    color: #1a1205;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.luxury-discover-trigger:hover .discover-center-icon {
    background: #1a1205;
    color: #fae8c8;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.6);
}

.luxury-discover-trigger:hover .discover-track {
    stroke: rgba(26, 18, 5, 0.3);
}

.luxury-discover-trigger:hover .discover-indicator {
    stroke: #1a1205;
    filter: none;
}

/* Orbital Rotating Compass Ring */
.discover-orbital-ring {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discover-spin-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: rotateCompassRing 14s linear infinite;
    transform-origin: center;
}

@keyframes rotateCompassRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.discover-track {
    fill: none;
    stroke: rgba(197, 160, 89, 0.25);
    stroke-width: 2;
    stroke-dasharray: 4 6;
    transition: stroke 0.35s ease;
}

.discover-indicator {
    fill: none;
    stroke: #fae8c8;
    stroke-width: 3;
    stroke-dasharray: 25 150;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px #dfba73);
    transition: stroke 0.35s ease, filter 0.35s ease;
}

.discover-center-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fae8c8 0%, #dfba73 50%, #c5a059 100%);
    color: #120d06;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.6);
    position: relative;
    z-index: 2;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

/* Typography in Trigger */
.discover-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.15rem;
    position: relative;
    z-index: 2;
}

.discover-eyebrow {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-light);
    opacity: 0.85;
    transition: color 0.35s ease, opacity 0.35s ease;
}

.discover-main-label {
    font-family: 'Outfit', 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    transition: color 0.35s ease, text-shadow 0.35s ease;
}

/* Elegant Fine Diamond Rule Connecting Downwards */
.discover-elegant-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.4rem;
    margin-bottom: 0;
    width: 180px;
    opacity: 0.75;
}

.discover-elegant-rule .rule-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.6), transparent);
}

.discover-elegant-rule .rule-diamond {
    font-size: 0.6rem;
    color: var(--accent-light);
    animation: diamondShimmer 2.5s infinite ease-in-out;
}

@keyframes diamondShimmer {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
        filter: drop-shadow(0 0 6px var(--accent));
    }
}

/* ==========================================================================
           5. ABOUT ME SECTION
           ========================================================================== */
#about {
    position: relative;
    padding-top: 0.2rem;
    min-height: auto;
    justify-content: flex-start;
}

#about .section-header {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

#about .section-header h2 {
    margin-top: 0;
    font-family: 'Cormorant Garamond', 'Cinzel', serif;
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #fae8c8 30%, #dfba73 65%, #c5a059 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.9));
    animation: aboutTitleGoldGlow 7s ease infinite;
}

@keyframes aboutTitleGoldGlow {

    0%,
    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 8px rgba(197, 160, 89, 0.25));
    }

    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 16px rgba(250, 232, 200, 0.5));
    }
}

#about .grid-2 {
    transform: none;
    opacity: 1;
    filter: none;
    transition: all 0.6s ease;
}

.about-portrait-card {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(197, 160, 89, 0.35);
    box-shadow: var(--glass-shadow), 0 0 25px rgba(184, 37, 66, 0.2);
    transition: all 0.5s ease;
}

.about-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.signature-block {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.signature-name {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    font-style: italic;
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================================================
           6. NUMBERS SECTION (IMPACT METRICS)
           ========================================================================== */
#numbers .grid-3 {
    gap: 1.4rem;
    position: relative;
    z-index: 3;
    margin: 1.5rem 0;
}

.stat-card {
    position: relative;
    padding: 1.15rem 0.95rem;
    text-align: center;
    border-radius: 13px;
    cursor: pointer;
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(14, 14, 20, 0.78);
    border: 1px solid rgba(197, 160, 89, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
    overflow: visible;
}

/* Hover Overdrive State */
.stat-card:hover {
    border-color: var(--accent-light) !important;
    background: rgba(22, 20, 30, 0.95) !important;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.95), 0 0 30px rgba(197, 160, 89, 0.4), 0 0 20px rgba(184, 37, 66, 0.3) !important;
    z-index: 10;
}

.stat-front {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.stat-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0.75rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    background: rgba(14, 14, 20, 0.96);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
}

.stat-card:hover .stat-front {
    opacity: 0;
    transform: scale(0.9);
}

.stat-card:hover .stat-back {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    border: 1px solid var(--accent);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.25);
}

.stat-num {
    font-size: 1.95rem;
    font-weight: 800;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.05;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 500;
    line-height: 1.25;
}

/* ==========================================================================
           7. PHILOSOPHY SECTION (INTERACTIVE 3D CARD DECK)
           ========================================================================== */
.philosophy-stack-wrapper {
    position: relative;
    width: 100%;
    perspective: 1200px;
    padding: 1.2rem 0 1.8rem;
}

.philosophy-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.philosophy-card {
    position: relative;
    padding: 1.4rem 1.2rem;
    border-radius: 14px;
    min-height: 185px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(14, 14, 20, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    cursor: pointer;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s ease,
        border-color 0.4s ease,
        opacity 0.45s ease,
        background 0.4s ease;
    will-change: transform, box-shadow, opacity;
    overflow: visible;
}

/* Default: Card 1 is middle-aligned in the center, with Cards 2 & 3 stacked symmetrically behind it */
@media (min-width: 769px) {
    .philosophy-grid:not(.is-expanded):not(:hover) .philosophy-card:nth-child(1) {
        transform: translate3d(calc(100% + 1.5rem), 0, 0);
        z-index: 10;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 24px rgba(197, 160, 89, 0.16);
    }

    .philosophy-grid:not(.is-expanded):not(:hover) .philosophy-card:nth-child(2) {
        transform: translate3d(-14px, -8px, -20px) rotate(-2.5deg) scale(0.96);
        z-index: 5;
        opacity: 0.88;
        border-color: rgba(184, 37, 66, 0.4);
        box-shadow: -6px 12px 30px rgba(0, 0, 0, 0.85), 0 0 15px rgba(184, 37, 66, 0.18);
    }

    .philosophy-grid:not(.is-expanded):not(:hover) .philosophy-card:nth-child(3) {
        transform: translate3d(calc(-100% - 1.5rem + 14px), -8px, -20px) rotate(2.5deg) scale(0.96);
        z-index: 5;
        opacity: 0.88;
        border-color: rgba(197, 160, 89, 0.35);
        box-shadow: 6px 12px 30px rgba(0, 0, 0, 0.85), 0 0 15px rgba(197, 160, 89, 0.15);
    }

    /* Hover / Expanded State: Card 1 moves Left, Card 2 in Middle, Card 3 moves Right */
    .philosophy-grid:hover .philosophy-card,
    .philosophy-grid.is-expanded .philosophy-card {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        opacity: 1;
        z-index: 5;
    }

    .philosophy-grid:hover .philosophy-card:nth-child(1),
    .philosophy-grid.is-expanded .philosophy-card:nth-child(1) {
        transition-delay: 0ms;
    }

    .philosophy-grid:hover .philosophy-card:nth-child(2),
    .philosophy-grid.is-expanded .philosophy-card:nth-child(2) {
        transition-delay: 45ms;
    }

    .philosophy-grid:hover .philosophy-card:nth-child(3),
    .philosophy-grid.is-expanded .philosophy-card:nth-child(3) {
        transition-delay: 90ms;
    }

    /* Individual Card Hover Overdrive when expanded */
    .philosophy-grid:hover .philosophy-card:hover,
    .philosophy-grid.is-expanded .philosophy-card:hover {
        transform: translate3d(0, -8px, 15px) scale(1.025) !important;
        border-color: var(--accent-light) !important;
        background: rgba(20, 18, 28, 0.95) !important;
        box-shadow: 0 22px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(197, 160, 89, 0.35) !important;
        z-index: 20 !important;
    }
}

.number-tag {
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
    display: inline-block;
    font-family: 'Cinzel', serif;
    letter-spacing: 1.2px;
}

.philosophy-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
    color: #ffffff;
    line-height: 1.25;
}

.philosophy-card p {
    font-size: 0.78rem;
    line-height: 1.45;
}

/* ==========================================================================
           8. CAREER HISTORY (TIMELINE)
           ========================================================================== */
.timeline {
    position: relative;
    padding-left: 2.8rem;
    margin-left: 0.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0%;
    background: linear-gradient(to bottom, var(--accent), var(--secondary-light));
    box-shadow: 0 0 15px var(--accent), 0 0 12px var(--secondary);
    transition: height 2s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.3s;
}

.timeline.visible .timeline-progress {
    height: 100%;
}

.timeline-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, #ffffff 30%, #ffffff 70%, transparent);
    border-radius: 1px;
    box-shadow: 0 0 8px #ffffff, 0 0 14px rgba(255, 255, 255, 0.85);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.timeline.visible .timeline-pulse {
    animation: pulse-travel 3.5s infinite linear 1s;
}

@keyframes pulse-travel {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.2rem;
    top: 0.4rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    box-shadow: 0 0 12px var(--secondary-light);
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
}

.timeline.visible .timeline-item:nth-child(3)::before {
    transform: scale(1);
    transition-delay: 0.3s;
}

.timeline.visible .timeline-item:nth-child(4)::before {
    transform: scale(1);
    transition-delay: 0.6s;
}

.timeline.visible .timeline-item:nth-child(5)::before {
    transform: scale(1);
    transition-delay: 0.9s;
}

.timeline.visible .timeline-item:nth-child(6)::before {
    transform: scale(1);
    transition-delay: 1.2s;
}

.timeline.visible .timeline-item:nth-child(7)::before {
    transform: scale(1);
    transition-delay: 1.5s;
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: 1.8px;
    background: linear-gradient(135deg, #ff8fa3 0%, #ff6b8b 50%, #dfba73 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 10px rgba(255, 107, 139, 0.45));
}

.role-company {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ff9ebb;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 12px rgba(212, 56, 89, 0.5);
}

.timeline-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.timeline-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.35rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.timeline-bullet span.dot {
    color: #fae8c8;
    font-size: 1.1rem;
    line-height: 1;
    text-shadow: 0 0 8px rgba(197, 160, 89, 0.7);
}

/* ==========================================================================
           9. MY PROJECTS (MANDATES) & MODAL
           ========================================================================= */
#mandates.container {
    max-width: 1360px;
}

.mandates-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.95rem;
    width: 100%;
    padding: 2rem 0.5rem;
    perspective: 1000px;
}

.mandate-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    cursor: pointer;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    position: relative;
    overflow: hidden;
    background: rgba(14, 14, 20, 0.76);
    border: 1px solid rgba(197, 160, 89, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
    will-change: transform, box-shadow;
}

/* Dynamic Organic Floating Wave Physics across the 5 Mandate Cards (Alternating Tilts & Buoyancy) */
.mandate-card:nth-child(1) {
    animation: floatMandate1 6.2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.mandate-card:nth-child(2) {
    animation: floatMandate2 6.8s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    animation-delay: -1.5s;
}

.mandate-card:nth-child(3) {
    animation: floatMandate3 5.9s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    animation-delay: -2.8s;
}

.mandate-card:nth-child(4) {
    animation: floatMandate4 7.2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    animation-delay: -4.2s;
}

.mandate-card:nth-child(5) {
    animation: floatMandate5 6.5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    animation-delay: -5.5s;
}

@keyframes floatMandate1 {
    0% {
        transform: translateY(2px) rotate(-2.8deg);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 0 12px rgba(197, 160, 89, 0.06);
    }

    50% {
        transform: translateY(-10px) rotate(-1.6deg);
        box-shadow: 0 22px 42px rgba(0, 0, 0, 0.88), 0 0 24px rgba(197, 160, 89, 0.18);
    }

    100% {
        transform: translateY(6px) rotate(-3.4deg);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55), 0 0 8px rgba(197, 160, 89, 0.04);
    }
}

@keyframes floatMandate2 {
    0% {
        transform: translateY(6px) rotate(2.4deg);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.58), 0 0 10px rgba(184, 37, 66, 0.08);
    }

    50% {
        transform: translateY(-9px) rotate(1.2deg);
        box-shadow: 0 24px 44px rgba(0, 0, 0, 0.9), 0 0 26px rgba(184, 37, 66, 0.2);
    }

    100% {
        transform: translateY(2px) rotate(3.0deg);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.65), 0 0 12px rgba(184, 37, 66, 0.08);
    }
}

@keyframes floatMandate3 {
    0% {
        transform: translateY(-6px) rotate(-1.5deg);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.78), 0 0 20px rgba(197, 160, 89, 0.15);
    }

    50% {
        transform: translateY(7px) rotate(-0.6deg);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55), 0 0 8px rgba(197, 160, 89, 0.05);
    }

    100% {
        transform: translateY(-8px) rotate(-2.2deg);
        box-shadow: 0 22px 44px rgba(0, 0, 0, 0.88), 0 0 24px rgba(197, 160, 89, 0.2);
    }
}

@keyframes floatMandate4 {
    0% {
        transform: translateY(5px) rotate(3.0deg);
        box-shadow: 0 9px 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(184, 37, 66, 0.07);
    }

    50% {
        transform: translateY(-10px) rotate(1.8deg);
        box-shadow: 0 26px 48px rgba(0, 0, 0, 0.92), 0 0 28px rgba(197, 160, 89, 0.22);
    }

    100% {
        transform: translateY(3px) rotate(3.6deg);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.62), 0 0 12px rgba(184, 37, 66, 0.08);
    }
}

@keyframes floatMandate5 {
    0% {
        transform: translateY(-4px) rotate(-2.6deg);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.75), 0 0 16px rgba(197, 160, 89, 0.12);
    }

    50% {
        transform: translateY(8px) rotate(-1.4deg);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55), 0 0 8px rgba(197, 160, 89, 0.05);
    }

    100% {
        transform: translateY(-7px) rotate(-3.2deg);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.86), 0 0 22px rgba(197, 160, 89, 0.18);
    }
}

/* Diagonal Light Sheen Effect */
.mandate-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(135deg,
            transparent 40%,
            rgba(197, 160, 89, 0.07) 48%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(184, 37, 66, 0.09) 52%,
            transparent 60%);
    transform: rotate(25deg) translateY(-120%);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.mandate-card:hover::after {
    transform: rotate(25deg) translateY(120%);
}

.mandate-card:hover {
    animation-play-state: paused !important;
    border-color: rgba(197, 160, 89, 0.5) !important;
    transform: translateY(-4px) scale(1.01) !important;
    background: rgba(22, 20, 28, 0.95) !important;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6) !important;
    z-index: 20;
}

.mandate-card h3 {
    margin: 0.35rem 0 0.45rem 0;
    font-size: 1.02rem;
    color: #ffffff;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.mandate-card:hover h3 {
    color: var(--accent-light);
    text-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

.mandate-metrics-pill {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(197, 160, 89, 0.12);
    padding: 0.2rem 0.45rem;
    border-radius: 10px;
    margin-bottom: 0.35rem;
    border: 1px solid rgba(197, 160, 89, 0.25);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: all 0.35s ease;
}

.mandate-card:hover .mandate-metrics-pill {
    background: rgba(197, 160, 89, 0.22);
    border-color: var(--accent-light);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.35);
    transform: scale(1.03);
}

.mandate-card .number-tag {
    font-size: 0.68rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.8px;
    display: block;
}

.mandate-card .quote {
    font-style: italic;
    margin-bottom: 0.7rem;
    color: #cbd5e1 !important;
    text-shadow: none !important;
    font-size: 0.77rem;
    line-height: 1.38;
}

.read-more-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.35s ease;
}

.mandate-card:hover .read-more-wrapper {
    border-top-color: rgba(197, 160, 89, 0.35);
}

.read-more {
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 1px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.35s ease;
}

.read-more span {
    display: inline-block;
    transition: transform 0.35s ease;
}

.mandate-card:hover .read-more {
    color: var(--accent-light) !important;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

.mandate-card:hover .read-more span {
    transform: translateX(5px);
}

.mandate-card-media {
    width: 100%;
    height: 105px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.65rem;
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.2);
    background: #08080c;
}

.mandate-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    filter: brightness(0.92) contrast(1.05);
    display: block;
}

.mandate-card:hover .mandate-card-media img {
    transform: scale(1.08);
    filter: brightness(1.06) contrast(1.1);
}

.mandate-card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(14, 14, 20, 0.8) 100%);
    pointer-events: none;
}

/* Modal Media Showcase Gallery */
.modal-media-showcase {
    margin: 0.85rem 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.modal-main-img-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.32);
    background: #050508;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(197, 160, 89, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-main-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.modal-thumbs-row {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.2rem 0.1rem 0.4rem 0.1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 160, 89, 0.4) transparent;
}

.modal-thumb-btn {
    width: 72px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: #08080c;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    opacity: 0.6;
    transition: all 0.25s ease;
}

.modal-thumb-btn:hover {
    opacity: 0.9;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.modal-thumb-btn.active {
    opacity: 1;
    border-color: var(--accent-light);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
    transform: scale(1.05);
}

.modal-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1100px) {
    .mandates-row {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.85rem;
        padding-bottom: 0.8rem;
        -webkit-overflow-scrolling: touch;
    }

    .mandates-row .mandate-card {
        min-width: 210px;
        flex: 0 0 210px;
        scroll-snap-align: start;
    }
}

/* Case Study Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: rgba(14, 14, 18, 0.97);
    border: 1px solid rgba(197, 160, 89, 0.45);
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    max-height: 84vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.92), 0 0 35px rgba(197, 160, 89, 0.2);
    padding: 1.8rem 2.2rem;
    position: relative;
    transform: scale(0.94) translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 160, 89, 0.45) rgba(14, 14, 18, 0.6);
}

.modal-container::-webkit-scrollbar {
    width: 5px;
}

.modal-container::-webkit-scrollbar-track {
    background: rgba(14, 14, 18, 0.6);
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.4);
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary-light);
    transform: rotate(90deg);
}

.modal-header-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fae8c8 0%, #dfba73 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.35rem;
    display: inline-block;
}

.modal-title {
    font-size: 1.55rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.25;
    padding-right: 2rem;
}

.modal-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin: 1.1rem 0 1.5rem 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.22);
    padding: 0.95rem 1.15rem;
    border-radius: 12px;
}

.modal-metric-card h4 {
    font-size: 1.45rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fae8c8 0%, #dfba73 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.modal-metric-card p {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
}

.modal-section {
    margin-bottom: 1.3rem;
}

.modal-section h4 {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--accent);
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section p,
.modal-section li {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.55;
}

.modal-section ul {
    padding-left: 1.3rem;
    margin-top: 0.35rem;
}

.modal-quote-box {
    background: rgba(139, 28, 49, 0.12);
    border-left: 3px solid var(--secondary-light);
    padding: 0.95rem 1.3rem;
    border-radius: 0 10px 10px 0;
    margin: 1.2rem 0;
    font-style: italic;
    color: #f1f5f9;
    font-size: 0.86rem;
    line-height: 1.5;
}

.modal-nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-nav-btn {
    background: rgba(14, 14, 20, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--accent-light);
    padding: 0.48rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    border-color: var(--accent);
    background: rgba(197, 160, 89, 0.15);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

/* ==========================================================================
           10. BOARD ROLES & AWARDS
           ========================================================================== */
.list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.list-row:last-child {
    border-bottom: none;
}

.role-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.1rem;
}

.list-row .role-company {
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ==========================================================================
           11. INFINITE CLIENT LOGOS MARQUEE STRIP
           ========================================================================== */
.marquee-container {
    width: 100%;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    padding: 0.65rem 0;
    background: transparent;
    border-top: 1px solid rgba(197, 160, 89, 0.16);
    border-bottom: 1px solid rgba(197, 160, 89, 0.16);
    position: relative;
    margin-top: 2.2rem;
    margin-bottom: 2.2rem;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 1) 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 1) 94%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    white-space: nowrap;
    animation: marqueeLogos 45s linear infinite;
    will-change: transform;
    padding: 0;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-logo-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 10px rgba(197, 160, 89, 0.2);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid rgba(197, 160, 89, 0.3);
    overflow: hidden;
    padding: 5px;
    cursor: pointer;
}

.marquee-logo-item:hover {
    transform: scale(1.12) translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.marquee-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

@keyframes marqueeLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1.2rem));
    }
}

@media (max-width: 768px) {
    .marquee-container {
        padding: 0.5rem 0;
        margin-top: 1.6rem;
        margin-bottom: 1.6rem;
    }

    .marquee-logo-item {
        width: 54px;
        height: 54px;
        padding: 4px;
    }

    .marquee-track {
        gap: 1.6rem;
        animation-duration: 32s;
    }

    @keyframes marqueeLogos {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-50% - 0.8rem));
        }
    }
}

/* ==========================================================================
           12. TESTIMONIALS SLIDESHOW CAROUSEL
           ========================================================================== */
#testimonials {
    padding: 3.8rem 0 3.8rem 0;
    min-height: auto;
}

#testimonials .section-header {
    margin-bottom: 2rem;
}

.testimonials-box {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.8rem 1.6rem 1.8rem;
    text-align: center;
    border-radius: 14px;
}

.testimonial-slide {
    display: none;
    animation: fadeInSlide 0.6s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    line-height: 1.48;
    color: #f8fafc;
    font-style: italic;
    margin-bottom: 0.9rem;
}

.testimonial-author {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent);
}

.testimonial-role {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.1rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.carousel-btn:hover {
    background: var(--accent);
    color: #000;
    transform: scale(1.08);
}

.carousel-dots {
    display: flex;
    gap: 0.4rem;
}

.dot-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-indicator.active {
    background: var(--accent);
    width: 16px;
    border-radius: 6px;
}

/* ==========================================================================
           13. ARTICLES & INSIGHTS (CLEAN LUXURY EDITORIAL STYLE)
           ========================================================================== */
.article-card {
    position: relative;
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 13px;
    background: rgba(14, 14, 20, 0.72);
    border: 1px solid rgba(197, 160, 89, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

/* Subtle top gold accent line that smoothly expands on hover */
.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-50%);
    transition: width 0.4s ease;
    pointer-events: none;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.45) !important;
    background: rgba(18, 18, 26, 0.9) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 18px rgba(197, 160, 89, 0.15) !important;
}

.article-card:hover::before {
    width: 100%;
}

.article-date {
    font-size: 0.65rem;
    color: var(--secondary-light);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.article-title {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--accent-light);
}

.article-desc {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.48;
    margin-bottom: 0.95rem;
}

.article-pub {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.3s ease, border-top-color 0.3s ease;
}

.article-pub span.pub-arrow {
    font-style: normal;
    color: var(--accent);
    opacity: 0.5;
    font-size: 0.88rem;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.article-card:hover .article-pub {
    color: var(--accent-light);
    border-top-color: rgba(197, 160, 89, 0.25);
}

.article-card:hover .article-pub span.pub-arrow {
    opacity: 1;
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
           14. PERSONAL SIDE (HOBBIES & LIFESTYLE + LIGHTBOX)
           ========================================================================== */
.hobby-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.95rem;
    padding: 1.2rem 0;
    perspective: 1000px;
}

.hobby-card {
    padding: 1.15rem 0.9rem;
    border-radius: 13px;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: rgba(14, 14, 20, 0.72);
    border: 1px solid rgba(197, 160, 89, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        background 0.45s ease;
    will-change: transform, box-shadow;
}

/* Floating Wave Physics - Individual Phase & Trajectory */
.hobby-card:nth-child(1) {
    animation: floatHobby1 5.8s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.hobby-card:nth-child(2) {
    animation: floatHobby2 6.6s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    animation-delay: -1.6s;
}

.hobby-card:nth-child(3) {
    animation: floatHobby3 6.1s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    animation-delay: -3.2s;
}

.hobby-card:nth-child(4) {
    animation: floatHobby4 7.2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    animation-delay: -4.8s;
}

@keyframes floatHobby1 {
    0% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 0 14px rgba(197, 160, 89, 0.08);
    }

    50% {
        transform: translateY(-8px) rotate(0.45deg);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 24px rgba(197, 160, 89, 0.2);
    }

    100% {
        transform: translateY(4px) rotate(-0.35deg);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55), 0 0 8px rgba(197, 160, 89, 0.05);
    }
}

@keyframes floatHobby2 {
    0% {
        transform: translateY(5px) rotate(-0.4deg);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.58), 0 0 12px rgba(184, 37, 66, 0.09);
    }

    50% {
        transform: translateY(-9px) rotate(0.5deg);
        box-shadow: 0 22px 42px rgba(0, 0, 0, 0.86), 0 0 26px rgba(184, 37, 66, 0.22);
    }

    100% {
        transform: translateY(-1px) rotate(-0.25deg);
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.65), 0 0 14px rgba(184, 37, 66, 0.1);
    }
}

@keyframes floatHobby3 {
    0% {
        transform: translateY(-6px) rotate(0.35deg);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.78), 0 0 22px rgba(197, 160, 89, 0.16);
    }

    50% {
        transform: translateY(6px) rotate(-0.45deg);
        box-shadow: 0 9px 20px rgba(0, 0, 0, 0.56), 0 0 10px rgba(197, 160, 89, 0.07);
    }

    100% {
        transform: translateY(-8px) rotate(0.55deg);
        box-shadow: 0 21px 42px rgba(0, 0, 0, 0.86), 0 0 25px rgba(197, 160, 89, 0.22);
    }
}

@keyframes floatHobby4 {
    0% {
        transform: translateY(4px) rotate(-0.45deg);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6), 0 0 12px rgba(184, 37, 66, 0.08);
    }

    50% {
        transform: translateY(-10px) rotate(0.4deg);
        box-shadow: 0 22px 45px rgba(0, 0, 0, 0.88), 0 0 30px rgba(197, 160, 89, 0.25);
    }

    100% {
        transform: translateY(2px) rotate(-0.3deg);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.62), 0 0 14px rgba(184, 37, 66, 0.1);
    }
}

/* Ambient Light Sweep Effect */
.hobby-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(135deg,
            transparent 40%,
            rgba(197, 160, 89, 0.08) 48%,
            rgba(255, 255, 255, 0.16) 50%,
            rgba(184, 37, 66, 0.1) 52%,
            transparent 60%);
    transform: rotate(25deg) translateY(-120%);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.hobby-card:hover::after {
    transform: rotate(25deg) translateY(120%);
}

.hobby-card:hover {
    animation-play-state: paused !important;
    transform: translateY(-4px) scale(1.01) !important;
    border-color: rgba(197, 160, 89, 0.5) !important;
    background: rgba(22, 20, 28, 0.88) !important;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6) !important;
    z-index: 10;
}

.hobby-icon-box {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.55rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.28);
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(197, 160, 89, 0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: iconFloatPulse 4.5s ease-in-out infinite alternate;
}

@keyframes iconFloatPulse {
    0% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(197, 160, 89, 0.06);
    }

    100% {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 8px 20px rgba(197, 160, 89, 0.25), inset 0 0 15px rgba(197, 160, 89, 0.15);
    }
}

.hobby-card:hover .hobby-icon-box {
    background: rgba(184, 37, 66, 0.22);
    border-color: var(--accent-light);
    color: var(--accent-light);
    transform: scale(1.12) translateY(-4px);
    box-shadow: none;
}

.hobby-svg-icon {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hobby-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.hobby-card:hover .hobby-title {
    color: var(--accent-light);
    text-shadow: 0 0 12px rgba(197, 160, 89, 0.5);
}

.hobby-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.38;
}

.hobby-click-hint {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #fae8c8 0%, #dfba73 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.35));
    transition: all 0.35s ease;
}

.hobby-card:hover .hobby-click-hint {
    background: linear-gradient(135deg, #ffffff 0%, #fae8c8 45%, #dfba73 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 14px rgba(232, 203, 140, 0.8));
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .hobby-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Lightbox Modal (Subtle Translucent Backdrop & Crystal Glass) */
#lightboxModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 12, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99995;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#lightboxModal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    background: linear-gradient(145deg, rgba(16, 18, 28, 0.72) 0%, rgba(8, 10, 18, 0.78) 100%);
    border: 1px solid rgba(197, 160, 89, 0.45);
    border-radius: 20px;
    max-width: 540px;
    width: 100%;
    padding: 2.2rem 2.4rem;
    text-align: center;
    position: relative;
    transform: scale(0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(197, 160, 89, 0.18);
}

#lightboxModal.active .lightbox-content {
    transform: scale(1);
}

/* ==========================================================================
           15. CONTACT FORM & DIRECT CHANNELS
           ========================================================================== */
#contact {
    padding-bottom: 4rem;
    margin-bottom: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.2rem;
    max-width: 860px;
    margin: 0 auto 2rem auto;
    padding: 2rem 2.2rem;
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
}

.form-group label,
.direct-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 600;
    background: linear-gradient(135deg, #fae8c8 0%, #dfba73 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.25));
}

.form-input,
.form-textarea,
.form-select {
    background: rgba(20, 20, 26, 0.75);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.84rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-textarea {
    min-height: 75px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.25);
    background: rgba(25, 25, 34, 0.9);
}

.contact-direct-card {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    justify-content: center;
}

.direct-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    transition: all 0.3s ease;
}

.direct-item:hover {
    border-color: var(--accent);
    background: rgba(197, 160, 89, 0.08);
    transform: translateX(6px);
}

.direct-item-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    transition: all 0.3s ease;
}

.direct-item-social:hover {
    border-color: var(--accent);
    background: rgba(197, 160, 89, 0.08);
    transform: translateX(6px);
}

.social-mini-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.social-mini-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-mini-icon:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-mini-icon svg {
    width: 14px;
    height: 14px;
}

.direct-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.direct-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
           16. FOOTER
           ========================================================================== */
footer {
    margin-top: auto;
    padding: 4rem 0 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(197, 160, 89, 0.18);
    background: #040406;
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.footer-quote {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.7vw, 2.2rem);
    color: #f1f5f9;
    font-style: italic;
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
}

/* Footer Button Refinements */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.social-links .btn {
    padding: 0.52rem 1.25rem;
    font-size: 0.73rem;
    letter-spacing: 1.2px;
}

.back-to-top-btn {
    margin: 1.8rem auto 1.2rem auto;
    padding: 0.55rem 1.4rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    background: rgba(14, 14, 20, 0.75);
    border-radius: 30px;
    color: var(--accent-light);
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.back-to-top-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #b82542, #8b1c31);
    opacity: 0;
    transform: scale(0.92);
    transition: all 0.45s ease;
    z-index: -1;
    border-radius: inherit;
}

.back-to-top-btn:hover {
    border-color: #b82542;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.back-to-top-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.back-to-top-btn span {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover span:last-child {
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 1px;
    margin-top: 1.8rem;
}

.footer-powered-by {
    margin-top: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
}

.powered-by-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 600;
}

.powered-by-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.92;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    padding: 0.15rem 0.4rem;
}

.powered-by-logo-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.oneit-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.05;
}

.oneit-title {
    font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    display: inline-block;
}

.oneit-cyan {
    color: #00b4f0;
    font-weight: 800;
    transition: text-shadow 0.3s ease;
}

.powered-by-logo-link:hover .oneit-cyan {
    text-shadow: 0 0 10px rgba(0, 180, 240, 0.65);
}

.oneit-by {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.54rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.2px;
    margin-top: 1px;
}

/* ==========================================================================
           INNOVATIVE ANIMATIONS: FLOATING BADGES, SHIMMER & SIDE HUD
           ========================================================================== */
@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }
}

.section-tag,
.number-tag {
    animation: badgeFloat 4.5s ease-in-out infinite;
}

@keyframes shimmerSweep {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.section-header h2 span.word {
    background: linear-gradient(120deg, #FFFFFF 15%, var(--accent-light) 45%, #FFFFFF 65%, var(--accent) 90%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerSweep 7s ease infinite;
}

50% {
    transform: translateY(-4px);
}
}

.section-tag,
.number-tag {
    animation: badgeFloat 4.5s ease-in-out infinite;
}

@keyframes shimmerSweep {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.section-header h2 span.word {
    background: linear-gradient(120deg, #FFFFFF 15%, var(--accent-light) 45%, #FFFFFF 65%, var(--accent) 90%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerSweep 7s ease infinite;
}

/* ==========================================================================
   INTERACTIVE EXECUTIVE SPOTLIGHT JOURNAL STAGE (ULTRA INNOVATIVE & ANIMATED)
   ========================================================================== */
#articles {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.article-spotlight-stage {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

/* Left Selector Column */
.spotlight-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.spotlight-tab-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    background: rgba(12, 14, 24, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.spotlight-tab-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    opacity: 0.6;
    transition: opacity 0.35s ease, color 0.35s ease;
}

.spotlight-tab-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spotlight-tab-source {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.76rem;
    font-style: italic;
    font-weight: 600;
    color: var(--accent-light);
}

.spotlight-tab-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.12rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.35s ease;
}

.spotlight-tab-date {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Active Glowing Left Beam */
.spotlight-tab-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-light), var(--accent));
    opacity: 0;
    transform: scaleY(0);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.spotlight-tab-item:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.4);
    transform: translateX(4px);
}

.spotlight-tab-item.active {
    background: linear-gradient(135deg, rgba(24, 26, 38, 0.68), rgba(10, 12, 20, 0.76));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(197, 160, 89, 0.2);
}

.spotlight-tab-item.active .spotlight-tab-beam {
    opacity: 1;
    transform: scaleY(1);
}

.spotlight-tab-item.active .spotlight-tab-num {
    opacity: 1;
    color: var(--accent-light);
}

.spotlight-tab-item.active .spotlight-tab-title {
    color: var(--accent-light);
}

/* Right Stage Display Panel */
.spotlight-display-wrapper {
    position: relative;
    background: linear-gradient(150deg, rgba(14, 16, 26, 0.58) 0%, rgba(6, 7, 12, 0.68) 100%);
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 16px;
    padding: 2.5rem 2.8rem;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(197, 160, 89, 0.12);
}

/* Laser Progress Track */
.spotlight-laser-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
}

.spotlight-laser-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary-light), var(--accent), var(--accent-light));
    box-shadow: 0 0 10px var(--accent);
}

/* Dynamic Panels */
.spotlight-panel {
    display: none;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.spotlight-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: spotlightFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spotlightFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.spotlight-watermark {
    position: absolute;
    top: -2rem;
    right: 0rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 8.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(197, 160, 89, 0.06);
    pointer-events: none;
    user-select: none;
}

.spotlight-tag-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.spotlight-live-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    box-shadow: 0 0 10px var(--secondary-light);
    animation: livePulse 1.8s infinite ease-in-out;
}

.spotlight-pub-badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 600;
    color: var(--accent);
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.spotlight-date-badge {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.spotlight-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.22;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #FFFFFF 30%, var(--accent-light) 70%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerSweep 6s ease infinite;
}

.spotlight-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    max-width: 95%;
}

.spotlight-action-row {
    display: flex;
    align-items: center;
}

.spotlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1.6rem;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(139, 28, 49, 0.25));
    border: 1px solid var(--accent);
    border-radius: 30px;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.spotlight-btn:hover {
    background: var(--accent);
    color: #040406;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
}

.spotlight-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.spotlight-btn:hover .btn-arrow {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .article-spotlight-stage {
        grid-template-columns: 1fr;
    }

    .spotlight-display-wrapper {
        padding: 1.8rem 1.4rem;
    }

    .spotlight-title {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   ELEGANT MODERATE SCROLL REVEAL ANIMATIONS (SOFT 2PX BLUR & SMOOTH MOTION)
   ========================================================================== */

/* Base initial states for elements to reveal on scroll */
.fade-in,
.scroll-reveal,
.stat-card,
.philosophy-card,
.mandate-card,
.gov-card,
.award-card,
.test-card,
.article-card,
.article-pure-item,
.spotlight-tab-item,
.spotlight-display-wrapper,
.article-spotlight-stage,
.personal-card,
.timeline-item,
.quote-showcase-card {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(2.5px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.6s ease;
    will-change: opacity, transform, filter;
}

/* Horizontal slide variants */
.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-24px) scale(0.98);
    filter: blur(2.5px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.6s ease;
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
    filter: blur(2.5px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.6s ease;
}

/* Active Visible Trigger State */
.fade-in.is-visible,
.scroll-reveal.is-visible,
.stat-card.is-visible,
.philosophy-card.is-visible,
.mandate-card.is-visible,
.gov-card.is-visible,
.award-card.is-visible,
.test-card.is-visible,
.article-card.is-visible,
.article-pure-item.is-visible,
.spotlight-tab-item.is-visible,
.spotlight-display-wrapper.is-visible,
.article-spotlight-stage.is-visible,
.personal-card.is-visible,
.timeline-item.is-visible,
.quote-showcase-card.is-visible,
.scroll-reveal-left.is-visible,
.scroll-reveal-right.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    filter: blur(0);
}

/* Balanced Stagger Delays */
.grid-3>*:nth-child(1),
.grid-2>*:nth-child(1) {
    transition-delay: 0ms;
}

.grid-3>*:nth-child(2),
.grid-2>*:nth-child(2) {
    transition-delay: 80ms;
}

.grid-3>*:nth-child(3) {
    transition-delay: 160ms;
}

.grid-3>*:nth-child(4) {
    transition-delay: 70ms;
}

.grid-3>*:nth-child(5) {
    transition-delay: 140ms;
}

.grid-3>*:nth-child(6) {
    transition-delay: 210ms;
}

/* Stat card entry pulse effect */
.stat-card.is-visible {
    animation: statCardGlow 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes statCardGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }

    40% {
        box-shadow: 0 0 18px 3px rgba(197, 160, 89, 0.28);
    }

    100% {
        box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.85);
    }
}

/* Modern CSS Scroll-Driven Animations (Baseline / Chrome / Edge / Safari Supported) */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes scrollEntryFadeUp {
            from {
                opacity: 0;
                transform: translateY(24px) scale(0.98);
                filter: blur(2.5px);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
                filter: blur(0);
            }
        }

        .scroll-driven-item {
            animation: scrollEntryFadeUp linear both;
            animation-timeline: view();
            animation-range: entry 5% cover 30%;
        }
    }
}