/* ==========================================================================
   HIZQIA CHANDRA - MODERN PROFESSIONAL STUDIO STYLESHEET
   WARM STUDIO PALETTE & MINIMALIST DESIGN SYSTEM
   TYPOGRAPHY: OUTFIT, PLUS JAKARTA SANS, FIRA CODE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Fira+Code:wght@400;500;600&display=swap');

:root {
    /* Accent Utama & Accent Hover */
    --accent-color: #E36B32;
    /* Burnt Orange */
    --accent-rgb: 227, 107, 50;
    --accent-hover: #F28A4E;
    /* Light Orange */
    --accent-subtle: rgba(227, 107, 50, 0.08);
    --accent-glow: rgba(227, 107, 50, 0.25);

    /* Status Indicator */
    --status-indicator: #B7C98A;
    /* Soft Olive Green */
    --status-indicator-rgb: 183, 201, 138;
    --status-indicator-subtle: rgba(183, 201, 138, 0.2);

    /* Background Surfaces */
    --bg-main: #F7F4EE;
    /* Warm White (Background utama) */
    --bg-elevated: #FFFDF8;
    /* Ivory White (Modal / elevated surface) */
    --bg-surface: #E9E4DB;
    /* Warm Light Gray (Project surface) */
    --bg-card: #FFFDF8;
    --bg-card-hover: #F7F4EE;
    --bg-panel: #FFFDF8;
    --bg-dark: #FFFDF8;
    --bg-darker: #E9E4DB;
    --bg-canvas: #FFFDF8;

    /* Text & Typography */
    --text-primary: #171311;
    /* Deep Brown Black (Primary text) */
    --text-secondary: #655F57;
    /* Muted Brown Gray (Secondary text) */
    --text-main: #171311;
    --text-muted: #655F57;
    --text-dim: #8C847B;

    /* Borders */
    --border-color: #D6D0C5;
    /* Light Taupe (Border / garis) */
    --border-modal: #C8C0B4;
    /* Soft Taupe (Modal border) */
    --border-highlight: rgba(227, 107, 50, 0.35);

    /* Fonts Hierarchy (Reverted to Outfit + Plus Jakarta Sans + Fira Code) */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Layout Radius & Transitions */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ========================================================================== */
/* SUBTLE AMBIENT BACKGROUND SYSTEM (ELEGANT, CLEAN & NON-INTRUSIVE)           */
/* ========================================================================== */
.subtle-ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-gradient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.06;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    animation: ambientBreathe 24s ease-in-out infinite alternate;
}

.glow-top {
    top: -15%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #E36B32 0%, rgba(227, 107, 50, 0) 70%);
}

.glow-bottom {
    bottom: -20%;
    left: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #F28A4E 0%, rgba(242, 138, 78, 0) 70%);
    animation-delay: -12s;
}

.ambient-subtle-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(rgba(23, 19, 17, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.7;
    pointer-events: none;
}

/* Optimized Vintage Analog Film Grain Texture Overlay (GPU-accelerated, No Jitter Loop) */
.vintage-grain-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    transform: translateZ(0);
}

@keyframes ambientBreathe {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.04;
    }

    50% {
        transform: translate(25px, -20px) scale(1.06);
        opacity: 0.08;
    }

    100% {
        transform: translate(-20px, 15px) scale(0.97);
        opacity: 0.05;
    }
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    background-color: #F7F4EE !important;
    background: #F7F4EE !important;
    color: #171311 !important;
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 85px;
}

/* SECTION SPACING UTILITY */
.section-spacing {
    padding-top: 140px !important;
    padding-bottom: 130px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.section-header {
    margin-bottom: 56px !important;
}

/* VERTICAL JOURNEY DOT PAGINATION INDICATOR */
.journey-dot-pagination {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.dot-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    padding: 6px;
}

.dot-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D6D0C5;
    border: 2px solid #FFFDF8;
    box-shadow: 0 2px 6px rgba(23, 19, 17, 0.12);
    transition: var(--transition-bounce);
}

.dot-item:hover .dot-circle,
.dot-item.active .dot-circle {
    background: var(--accent-color);
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(227, 107, 50, 0.45);
}

.dot-tooltip {
    position: absolute;
    right: 30px;
    background: #171311;
    color: #FFFDF8;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-fast);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(23, 19, 17, 0.18);
}

.dot-item:hover .dot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* DYNAMIC SCROLL REVEAL ANIMATIONS */
.reveal-on-scroll {
    opacity: 0 !important;
    transform: translateY(40px) scale(0.98) !important;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Typography Utilities */
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div,
a,
li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-heading);
    color: #171311 !important;
    font-weight: 700;
    line-height: 1.25;
}

.text-dark {
    color: #171311 !important;
}

h1 {
    font-size: clamp(1.75rem, 4.5vw, 3.4rem);
}

h2 {
    font-size: clamp(1.45rem, 3.5vw, 2.3rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

h5 {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
}

h6 {
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.font-body {
    font-family: var(--font-body) !important;
}

.font-mono {
    font-family: var(--font-mono) !important;
}

.text-muted {
    color: #655F57 !important;
}

.bg-light {
    background-color: #E9E4DB !important;
}

.bg-white {
    background-color: #FFFDF8 !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
    color: #FFFDF8 !important;
}

/* Status Indicator Utility */
.bg-success-subtle,
.badge-status-active {
    background-color: rgba(183, 201, 138, 0.25) !important;
    color: #364416 !important;
    border-color: rgba(183, 201, 138, 0.6) !important;
}

.text-success {
    color: #43551A !important;
}

/* ========================================================================== */
/* FULLSCREEN ANIMATED WELCOME INTRO SCREEN                                   */
/* ========================================================================== */
.studio-intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: #F7F4EE;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 1;
    visibility: visible;
    perspective: 1200px;
    overflow: hidden;
    transition: opacity 0.9s cubic-bezier(0.7, 0, 0.2, 1), visibility 0.9s ease;
}

.studio-intro-overlay.dismissed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.studio-intro-overlay.dismissed .intro-content-box {
    transform: scale(2.8) translateZ(300px);
    opacity: 0;
    filter: blur(14px);
    transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.7s ease, filter 0.7s ease;
}

.studio-intro-overlay.dismissed .intro-grid-bg {
    transform: scale(2);
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.8s ease;
}

.studio-intro-overlay.dismissed .intro-warp-ring {
    transform: scale(4);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.7s ease;
}

.intro-content-box {
    position: relative;
    z-index: 10;
    max-width: 640px;
    width: 100%;
    transform: scale(1) translateZ(0);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.intro-warp-ring {
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    border: 1.5px dashed rgba(227, 107, 50, 0.3);
    top: 50%;
    left: 50%;
    margin-top: -275px;
    margin-left: -275px;
    pointer-events: none;
    z-index: 2;
    animation: warpRingRotate 18s linear infinite;
}

.intro-warp-ring-2 {
    width: 850px;
    height: 850px;
    margin-top: -425px;
    margin-left: -425px;
    border-color: rgba(23, 19, 17, 0.08);
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes warpRingRotate {
    0% {
        transform: rotate(0deg) scale(0.96);
    }

    50% {
        transform: rotate(180deg) scale(1.04);
    }

    100% {
        transform: rotate(360deg) scale(0.96);
    }
}

.intro-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(23, 19, 17, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(23, 19, 17, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    transition: transform 1s ease;
}

.intro-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.45;
}

.intro-orb-1 {
    top: 10%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 107, 50, 0.16) 0%, transparent 70%);
}

.intro-orb-2 {
    bottom: 10%;
    right: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(242, 138, 78, 0.14) 0%, transparent 70%);
}

.intro-logo-wrapper {
    display: inline-block;
    position: relative;
}

.intro-logo-img {
    height: 88px;
    width: auto;
    filter: drop-shadow(0 8px 20px rgba(227, 107, 50, 0.25));
    animation: introLogoBounce 2.5s ease-in-out infinite alternate;
}

@keyframes introLogoBounce {
    0% {
        transform: scale(0.96) translateY(0);
        filter: drop-shadow(0 4px 12px rgba(227, 107, 50, 0.2));
    }

    100% {
        transform: scale(1.05) translateY(-6px);
        filter: drop-shadow(0 12px 28px rgba(227, 107, 50, 0.35));
    }
}

.intro-typewriter-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #171311 !important;
    letter-spacing: -0.5px;
    min-height: 1.3em;
}

.intro-cursor {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 400;
    animation: blinkCursor 0.7s infinite;
    margin-left: 2px;
}

.intro-subtitle {
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    letter-spacing: 1.2px;
    transition: all 0.4s ease;
}

.intro-progress-bar-wrapper {
    width: 240px;
    height: 4px;
    background: #D6D0C5;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.intro-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    border-radius: 10px;
    transition: width 0.08s linear;
}

.intro-skip-btn {
    box-shadow: 0 4px 16px rgba(227, 107, 50, 0.3);
    transition: var(--transition-bounce);
}

.intro-skip-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 22px rgba(227, 107, 50, 0.45);
}

/* ========================================================================== */
/* OFFCANVAS SIDEBAR DRAWER & NAVIGATION                                      */
/* ========================================================================== */
.sidebar-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    color: #171311;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sidebar-toggle-btn:hover {
    background: var(--accent-color);
    color: #FFFDF8;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(227, 107, 50, 0.35);
    transform: scale(1.05);
}

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(23, 19, 17, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.studio-sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    max-width: 88vw;
    height: 100vh;
    background: #FFFDF8;
    border-right: 1px solid #C8C0B4;
    z-index: 99999;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 50px rgba(23, 19, 17, 0.1);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.studio-sidebar-drawer.active {
    transform: translateX(0);
}

.sidebar-header {
    padding-bottom: 16px;
    border-bottom: 1px solid #D6D0C5;
}

.sidebar-logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(227, 107, 50, 0.08);
    border: 1px solid rgba(227, 107, 50, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo-img {
    height: 28px;
    width: auto;
}

.sidebar-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E9E4DB;
    border: 1px solid #D6D0C5;
    color: #655F57;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sidebar-close-btn:hover {
    background: var(--accent-color);
    color: #FFFDF8;
    border-color: var(--accent-color);
}

.sidebar-user-card {
    background: #E9E4DB;
    border: 1px solid #D6D0C5;
}

.sidebar-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    transition: var(--transition-fast);
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
    background: rgba(227, 107, 50, 0.07);
    border-color: rgba(227, 107, 50, 0.35);
    transform: translateX(4px);
}

.sidebar-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: rgba(227, 107, 50, 0.08);
    color: var(--accent-color);
}

.sidebar-nav-text .nav-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #171311;
    font-size: 0.92rem;
    display: block;
}

.sidebar-nav-text .nav-desc {
    font-size: 0.75rem;
    color: #655F57;
    display: block;
}

.nav-arrow {
    margin-left: auto;
    color: #8C847B;
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.sidebar-nav-item:hover .nav-arrow {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* Floating Studio Navigation Bar */
.studio-navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 1200px;
    min-height: 56px;
    background: rgba(255, 253, 248, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #D6D0C5;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(23, 19, 17, 0.06);
    transition: background 0.4s ease, border-color 0.4s ease;
}

/* 3 Equal Zones for 100% Dead-Center Alignment */
.navbar-zone-left {
    flex: 1 1 0%;
    min-width: 0;
    justify-content: flex-start;
}

.navbar-zone-center {
    flex: 0 0 auto;
    justify-content: center;
}

.navbar-zone-right {
    flex: 1 1 0%;
    min-width: 0;
    justify-content: flex-end;
}

@media (max-width: 991.98px) {
    .studio-navbar {
        width: calc(100% - 24px);
        max-width: 520px;
        min-height: 50px;
    }
}

.nav-logo-icon {
    height: 32px;
    width: auto;
    object-fit: contain;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: block;
    transition: var(--transition-bounce);
}

.nav-logo-icon:hover {
    transform: scale(1.08);
}

.nav-search-btn {
    border: 1px solid #D6D0C5 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--text-primary) !important;
    font-size: 0.78rem !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: var(--transition-fast) !important;
}

.nav-search-btn:hover {
    border-color: var(--accent-color) !important;
    background: #FFFFFF !important;
    color: var(--accent-color) !important;
    box-shadow: 0 3px 12px rgba(227, 107, 50, 0.15) !important;
}

.nav-search-btn:hover .cmd-kbd {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.nav-link-custom {
    color: #655F57;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.86rem;
    padding: 6px 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: #FFFDF8 !important;
    background: var(--accent-color);
    box-shadow: 0 4px 14px rgba(227, 107, 50, 0.35);
}

/* ARTBOARD CANVAS GRID STYLING */
.artboard-canvas {
    position: relative;
    background-color: #FFFDF8;
    border-radius: var(--radius-lg);
    border: 1px solid #D6D0C5;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(23, 19, 17, 0.04);
    transition: background-color 0.4s ease, border-color 0.4s ease;
    margin-bottom: 2rem;
}

.artboard-canvas.grid-overlay {
    background-image:
        linear-gradient(to right, rgba(23, 19, 17, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(23, 19, 17, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
}

.artboard-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E9E4DB;
    border: 1px solid #D6D0C5;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #655F57;
    margin-bottom: 24px;
}

/* HERO CANVAS SECTION */
.hero-section {
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    position: relative;
    box-sizing: border-box;
}

.avatar-artboard-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin: 0 auto;
}

.avatar-artboard {
    width: 330px;
    height: 400px;
    max-width: 100%;
    object-fit: cover;
    object-position: 50% 68%;
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent-color);
    box-shadow: 0 16px 40px rgba(227, 107, 50, 0.2);
    transition: var(--transition-bounce);
}

.typewriter-cursor {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 400;
    animation: blinkCursor 0.8s infinite;
    margin-left: 2px;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.floating-badge {
    position: absolute;
    background: #FFFDF8;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #D6D0C5;
    color: #171311;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: clamp(0.72rem, 1.8vw, 0.82rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(23, 19, 17, 0.08);
    animation: floatAnim 4s ease-in-out infinite alternate;
    white-space: nowrap;
    z-index: 5;
}

.badge-gpa {
    top: -12px;
    right: -12px;
}

.badge-major {
    bottom: -12px;
    left: -12px;
    animation-delay: -2s;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-8px);
    }
}

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    word-break: break-word;
}

/* ========================================================================== */
/* HERO LOOPING GRAPHICS & DECORATIVE ANIMATIONS                              */
/* ========================================================================== */
.hero-loop-graphic {
    position: absolute;
    color: var(--accent-color);
    pointer-events: none;
    z-index: 3;
}

.hero-graphic-sparkle-1 {
    top: 24px;
    right: 28px;
    animation: sparkleSpinFloat 5s ease-in-out infinite;
}

.hero-graphic-sparkle-2 {
    bottom: 24px;
    left: 28px;
    animation: sparkleSpinFloat 6.5s ease-in-out infinite reverse;
    animation-delay: -2s;
}

@keyframes sparkleSpinFloat {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.75;
    }
    50% {
        transform: translateY(-8px) rotate(180deg) scale(1.18);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(360deg) scale(1);
        opacity: 0.75;
    }
}

.hero-underline-vector {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 10px;
    color: var(--accent-color);
    opacity: 0.7;
    pointer-events: none;
    animation: pulseUnderline 3s ease-in-out infinite alternate;
}

@keyframes pulseUnderline {
    0% {
        opacity: 0.5;
        transform: scaleX(0.96);
    }
    100% {
        opacity: 0.95;
        transform: scaleX(1.02);
    }
}

.hero-live-badge {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #171311;
    box-shadow: 0 2px 8px rgba(23, 19, 17, 0.04);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #28a745;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    animation: liveDotPulse 2s infinite;
}

@keyframes liveDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Avatar Orbiting Rings */
.avatar-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.avatar-orbit-1 {
    width: 380px;
    height: 380px;
    border: 1.5px dashed rgba(227, 107, 50, 0.22);
    animation: orbitSpin 20s linear infinite;
}

.avatar-orbit-2 {
    width: 430px;
    height: 430px;
    border: 1px solid rgba(227, 107, 50, 0.1);
    animation: orbitSpin 32s linear infinite reverse;
}

@keyframes orbitSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* BUTTON STYLING */
.btn-accent {
    background: var(--accent-color) !important;
    color: #FFFDF8 !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(0.85rem, 2vw, 0.96rem);
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 16px rgba(227, 107, 50, 0.3);
    cursor: pointer;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--accent-hover) !important;
    color: #FFFDF8 !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(227, 107, 50, 0.45);
}

.btn-outline-studio {
    background: #FFFDF8;
    color: #171311 !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(0.85rem, 2vw, 0.96rem);
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid #D6D0C5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.btn-outline-studio:hover {
    border-color: var(--accent-color);
    color: var(--accent-color) !important;
    background: rgba(227, 107, 50, 0.05);
}

/* PANEL PROPERTIES & FILTERS */
.section-tag {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.swatch-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    padding: 6px 16px;
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: clamp(0.75rem, 1.8vw, 0.82rem);
    font-weight: 600;
    color: #655F57;
    cursor: pointer;
    transition: var(--transition-fast);
}

.swatch-pill:hover,
.swatch-pill.active {
    border-color: var(--accent-color);
    background: rgba(227, 107, 50, 0.08);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.skill-card {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    transition: var(--transition-fast);
    height: 100%;
    box-shadow: 0 4px 16px rgba(23, 19, 17, 0.03);
}

.skill-card:hover {
    border-color: rgba(23, 19, 17, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(23, 19, 17, 0.07);
}

.skill-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
    transition: var(--transition-fast);
}

.rating-score {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-color);
}

.progress-bar-custom {
    height: 7px;
    background: #E9E4DB;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    width: 0%;
    transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(227, 107, 50, 0.3);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: progressShimmer 2.2s infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

/* SOFT SKILLS BENTO GRID & DUAL TAB SWITCHER */
.skill-tab-switcher {
    background: #E9E4DB !important;
    border: 1px solid #D6D0C5 !important;
}

.skill-tab-btn {
    color: #655F57;
    background: transparent;
    border: none;
    transition: var(--transition-fast);
}

.skill-tab-btn.active {
    background: #FFFDF8 !important;
    color: var(--accent-color) !important;
    box-shadow: 0 2px 8px rgba(23, 19, 17, 0.08) !important;
    font-weight: 700 !important;
}

.skill-view-tab {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.skill-view-tab.d-none {
    display: none !important;
}

.soft-skill-bento-card {
    background: #FFFDF8 !important;
    border: 1px solid #D6D0C5;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: var(--transition-fast);
    box-shadow: 0 4px 16px rgba(23, 19, 17, 0.03);
    position: relative;
}

.soft-skill-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(227, 107, 50, 0.1);
    border-color: var(--accent-color);
}

.soft-tag-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    background: rgba(227, 107, 50, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(227, 107, 50, 0.2);
}

.soft-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 107, 50, 0.08);
    color: var(--accent-color);
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* ========================================================================== */
/* ANIMATED CAREER & LEADERSHIP JOURNEY TIMELINE                              */
/* ========================================================================== */
.journey-timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 10px 0;
}

.journey-timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 40px;
    left: 20px;
    width: 2px;
    background: linear-gradient(to bottom, #E36B32, rgba(227, 107, 50, 0.3), #E36B32);
    border-radius: 2px;
}

@media (min-width: 992px) {
    .journey-timeline-wrapper::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.journey-milestone-item {
    position: relative;
    margin-bottom: 36px;
}

.journey-milestone-item:last-child {
    margin-bottom: 0;
}

.journey-node-dot {
    position: absolute;
    top: 26px;
    left: 20px;
    transform: translate(-50%, 0);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFDF8;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 0 6px rgba(227, 107, 50, 0.15);
    z-index: 3;
    transition: var(--transition-fast);
}

.journey-milestone-item:hover .journey-node-dot {
    background: var(--accent-color);
    box-shadow: 0 0 0 8px rgba(227, 107, 50, 0.3);
    transform: translate(-50%, 0) scale(1.15);
}

.journey-node-dot.active-leadership {
    border-color: #B7C98A;
    box-shadow: 0 0 0 6px rgba(183, 201, 138, 0.3);
    animation: activePulseRing 2.2s ease-in-out infinite;
}

@keyframes activePulseRing {
    0% {
        box-shadow: 0 0 0 4px rgba(183, 201, 138, 0.25);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(183, 201, 138, 0.45);
    }

    100% {
        box-shadow: 0 0 0 4px rgba(183, 201, 138, 0.25);
    }
}

.journey-content-card {
    position: relative;
    margin-left: 48px;
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: 0 4px 18px rgba(23, 19, 17, 0.03);
    transition: var(--transition-fast);
}

.journey-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.journey-content-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(227, 107, 50, 0.12);
    transform: translateY(-4px);
}

@media (min-width: 992px) {
    .journey-node-dot {
        left: 50%;
    }

    .journey-milestone-item:nth-child(odd) .journey-content-card {
        margin-left: 0;
        margin-right: calc(50% + 36px);
    }

    .journey-milestone-item:nth-child(even) .journey-content-card {
        margin-left: calc(50% + 36px);
        margin-right: 0;
    }
}

.journey-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(227, 107, 50, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(227, 107, 50, 0.2);
}

.journey-badge-pill.org-pill {
    background: rgba(79, 70, 229, 0.08);
    color: #4F46E5;
    border-color: rgba(79, 70, 229, 0.2);
}

.journey-badge-pill.active-pill {
    background: rgba(183, 201, 138, 0.25);
    color: #364416;
    border-color: rgba(183, 201, 138, 0.6);
}

/* EXPERIENCE CARDS GRID */
.exp-card {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: var(--radius-md);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-fast);
    position: relative;
    box-shadow: 0 4px 16px rgba(23, 19, 17, 0.03);
}

.exp-card-minimal {
    padding: 22px;
    border-radius: 18px;
}

.exp-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(227, 107, 50, 0.08);
    border: 1px solid rgba(227, 107, 50, 0.2);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--exp-accent, var(--accent-color));
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.exp-card:hover {
    border-color: var(--exp-accent, var(--accent-color));
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(23, 19, 17, 0.08);
}

.exp-card:hover .exp-icon-box {
    background: var(--exp-accent, var(--accent-color)) !important;
    color: #FFFDF8 !important;
    transform: scale(1.06);
}

.layer-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(227, 107, 50, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--accent-color);
}

.btn-inspect-exp {
    background: #E9E4DB;
    border: 1px solid #D6D0C5;
    color: #171311 !important;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition-fast);
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.btn-inspect-exp i {
    color: var(--exp-accent, var(--accent-color));
    transition: var(--transition-fast);
}

.btn-inspect-exp:hover {
    background: var(--exp-accent, var(--accent-color)) !important;
    color: #FFFDF8 !important;
    border-color: var(--exp-accent, var(--accent-color)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(23, 19, 17, 0.15) !important;
}

.btn-inspect-exp:hover i {
    color: #FFFDF8 !important;
}

/* BNSP CERTIFICATES SHOWCASE CARDS */
.cert-showcase-card {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: 18px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-fast);
    position: relative;
    box-shadow: 0 4px 16px rgba(23, 19, 17, 0.03);
}

.cert-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--cert-accent, var(--accent-color));
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.cert-showcase-card:hover {
    border-color: var(--cert-accent, var(--accent-color));
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(23, 19, 17, 0.08);
}

.cert-icon-emblem {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cert-accent, var(--accent-color));
    background: color-mix(in srgb, var(--cert-accent, var(--accent-color)) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--cert-accent, var(--accent-color)) 24%, transparent);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.cert-badge-tag {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    background: color-mix(in srgb, var(--cert-accent, var(--accent-color)) 10%, transparent);
    color: var(--cert-accent, var(--accent-color));
    border: 1px solid color-mix(in srgb, var(--cert-accent, var(--accent-color)) 24%, transparent);
    white-space: normal;
    word-break: break-word;
}

.cert-competencies-list {
    width: 100%;
}

.cert-comp-item {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: 10px;
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: #171311;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
    word-break: break-word;
    white-space: normal !important;
    box-shadow: 0 1px 2px rgba(23, 19, 17, 0.04);
}

.cert-comp-item span {
    word-break: break-word;
    white-space: normal !important;
}

/* PROJECT CARDS */
.project-card {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
    position: relative;
    box-shadow: 0 4px 16px rgba(23, 19, 17, 0.03);
}

.project-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(227, 107, 50, 0.12);
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #E9E4DB;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-badge-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent-color);
    border: none !important;
    color: #FFFFFF !important;
    font-size: 0.76rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 14px rgba(23, 19, 17, 0.18);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

/* PINTARBACA GAME STYLING */
.pintarbaca-game-container {
    background: #E9E4DB;
    border: 1px solid #D6D0C5;
    border-radius: var(--radius-lg);
    padding: clamp(16px, 4vw, 28px);
    text-align: center;
}

.syllable-btn {
    background: #FFFDF8;
    color: #171311;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    padding: 10px 18px;
    border-radius: 12px;
    border: 1.5px solid #D6D0C5;
    cursor: pointer;
    box-shadow: 0 3px 0 #C8C0B4;
    transition: all 0.15s ease;
}

.syllable-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.syllable-btn:active {
    transform: translateY(3px);
    box-shadow: 0 0 0 #C8C0B4;
}

.syllable-btn.selected {
    background: var(--accent-color);
    border-color: var(--accent-hover);
    box-shadow: 0 3px 0 var(--accent-hover);
    color: #FFFDF8;
}

.display-word-box {
    background: #FFFDF8;
    border: 1.5px solid #D6D0C5;
    border-radius: 14px;
    padding: 12px 20px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 4.5vw, 2rem);
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-color);
    word-break: break-all;
}

.star-badge {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #F59E0B;
    font-weight: 700;
}

/* CUSTOM MODAL OVERLAYS & DIALOGS */
.custom-modal-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999 !important;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.custom-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
}

.custom-modal-dialog {
    background: #FFFDF8;
    border: 1px solid #C8C0B4;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 24px 60px rgba(23, 19, 17, 0.2);
    animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: #171311;
    margin: auto;
    scrollbar-width: thin;
    scrollbar-color: #C8C0B4 transparent;
}

.custom-modal-dialog::-webkit-scrollbar {
    width: 6px;
}

.custom-modal-dialog::-webkit-scrollbar-track {
    background: #EFEAE1;
    border-radius: 8px;
}

.custom-modal-dialog::-webkit-scrollbar-thumb {
    background: #C8C0B4;
    border-radius: 8px;
}

.custom-modal-dialog::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.exp-showcase-dialog {
    max-width: 900px !important;
    width: 95vw;
    border-radius: 20px !important;
    border: 1px solid #C8C0B4 !important;
    box-shadow: 0 25px 60px rgba(23, 19, 17, 0.15) !important;
    overflow-y: auto !important;
    max-height: 90vh !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #C8C0B4 transparent;
}

.exp-showcase-dialog::-webkit-scrollbar {
    width: 6px;
}

.exp-showcase-dialog::-webkit-scrollbar-track {
    background: #EFEAE1;
    border-radius: 8px;
}

.exp-showcase-dialog::-webkit-scrollbar-thumb {
    background: #C8C0B4;
    border-radius: 8px;
}

.exp-showcase-dialog::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.exp-modal-banner {
    background: #E9E4DB;
    border-top: 3px solid var(--accent-color);
    border-bottom: 1px solid #D6D0C5;
}

.btn-close-custom {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    color: #655F57;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-close-custom:hover {
    background: var(--accent-color);
    color: #FFFDF8;
    border-color: var(--accent-color);
    transform: rotate(90deg);
}

.exp-gallery-scroll-container {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #C8C0B4 transparent;
}

.exp-gallery-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.exp-gallery-scroll-container::-webkit-scrollbar-track {
    background: #EFEAE1;
    border-radius: 8px;
}

.exp-gallery-scroll-container::-webkit-scrollbar-thumb {
    background: #C8C0B4;
    border-radius: 8px;
}

.exp-gallery-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.exp-gallery-item-clean {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: 12px;
    padding: 10px;
    transition: var(--transition-fast);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.exp-gallery-item-clean:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 18px rgba(23, 19, 17, 0.08);
    transform: translateY(-2px);
}

.exp-gallery-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #EFEAE1;
    border: 1px solid #E2DCD1;
    cursor: zoom-in;
    margin-bottom: 8px;
}

.exp-gallery-img {
    width: 100%;
    height: 135px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.exp-gallery-img-wrap:hover .exp-gallery-img {
    transform: scale(1.04);
}

.exp-gallery-zoom-hint {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(23, 19, 17, 0.75);
    color: #FFFFFF;
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    transition: all 0.2s ease;
    opacity: 0.85;
}

.exp-gallery-img-wrap:hover .exp-gallery-zoom-hint {
    opacity: 1;
    background: var(--accent-color);
}

/* Lightbox Modal (High Z-Index above all modals) */
.image-lightbox-overlay {
    z-index: 2000000 !important;
    background: rgba(10, 8, 7, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-lightbox-overlay.active {
    display: flex !important;
    animation: fadeIn 0.2s ease-out;
}

.image-lightbox-container {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2000001 !important;
}

.lightbox-img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.btn-lightbox-close:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.lightbox-caption-bar {
    background: rgba(23, 19, 17, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 700px;
    width: 100%;
}

.exp-workflow-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.86rem;
    color: #171311;
    line-height: 1.5;
}

.exp-workflow-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    top: -2px;
    color: var(--accent-color);
    font-size: 1.3rem;
    line-height: 1;
}

.exp-growth-card {
    background: #E9E4DB;
    border: 1px solid #D6D0C5;
}

@keyframes modalPopIn {
    0% {
        transform: scale(0.92) translateY(20px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-header-studio {
    border-bottom: 1px solid #D6D0C5;
    padding: 22px 28px;
    background: #E9E4DB;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.modal-body-studio {
    padding: 28px 28px 32px 28px !important;
}

.modal-highlight-box {
    background: #E9E4DB;
    border: 1px solid #D6D0C5;
    border-radius: 14px;
    padding: 16px 20px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.65;
    color: #171311;
}

/* PROJECT SHOWCASE RICH MODAL STYLES */
.project-modal-hero {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid #D6D0C5;
    margin-bottom: 24px;
}

.project-modal-hero img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
}

.pintarbaca-tab-switcher {
    background: #E9E4DB;
    padding: 4px;
    border-radius: 12px;
    display: inline-flex;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #D6D0C5;
}

.pintarbaca-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #655F57;
    transition: var(--transition-fast);
}

.pintarbaca-tab-btn.active {
    background: #FFFDF8;
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(227, 107, 50, 0.15);
}

.pintarbaca-feature-card {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: 14px;
    padding: 16px;
    transition: var(--transition-fast);
}

.pintarbaca-feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 107, 50, 0.1);
}

.erc-service-card {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: 14px;
    padding: 16px;
    transition: var(--transition-fast);
}

.erc-service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 107, 50, 0.1);
}

.dot-feature-card {
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: 14px;
    padding: 16px;
    transition: var(--transition-fast);
}

.dot-feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--accent-glow);
}

.live-action-banner {
    background: linear-gradient(135deg, #171311, #2C2420);
    border-radius: 14px;
    padding: 20px;
    color: #FFFDF8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(214, 208, 197, 0.2);
}

/* FOOTER */
.studio-footer {
    border-top: 1px solid #D6D0C5;
    padding: 36px 0;
    margin-top: 80px;
    background: #E9E4DB;
    color: #655F57;
}

/* RESPONSIVE MEDIA QUERIES (TABLET & MOBILE) */
@media (max-width: 991.98px) {
    .section-spacing {
        padding-top: 100px !important;
        padding-bottom: 90px !important;
    }

    .section-header {
        margin-bottom: 42px !important;
    }

    .hero-section {
        min-height: auto;
        padding-top: 105px !important;
        padding-bottom: 65px !important;
    }

    .artboard-canvas {
        padding: 28px 20px;
        border-radius: 18px;
        margin-bottom: 2rem;
    }

    .avatar-artboard-wrapper {
        margin-top: 24px;
        width: 260px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .avatar-artboard {
        width: 260px;
        height: 260px;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: 50% 60%;
        border-radius: 20px;
    }

    .badge-gpa {
        top: -10px;
        right: -8px;
    }

    .badge-major {
        bottom: -10px;
        left: -8px;
    }
}

@media (max-width: 575.98px) {
    .studio-navbar {
        top: 10px;
        padding: 6px 14px;
        width: calc(100% - 20px);
    }

    .section-spacing {
        padding-top: 80px !important;
        padding-bottom: 70px !important;
    }

    .section-header {
        margin-bottom: 30px !important;
    }

    .hero-section {
        padding-top: 90px !important;
        padding-bottom: 45px !important;
    }

    .artboard-canvas {
        padding: 20px 16px;
        border-radius: 16px;
        margin-bottom: 1.5rem;
    }

    .artboard-header-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 1.55rem;
        line-height: 1.25;
        margin-bottom: 12px !important;
    }

    .hero-section .lead {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-bottom: 16px !important;
    }

    .avatar-artboard-wrapper {
        margin-top: 20px;
        width: 240px;
        max-width: 82vw;
        margin-left: auto;
        margin-right: auto;
    }

    .avatar-artboard {
        width: 240px;
        height: 240px;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: 50% 60%;
        border-radius: 18px;
    }

    .floating-badge {
        padding: 6px 12px;
        font-size: 0.72rem;
        border-radius: 20px;
        box-shadow: 0 4px 14px rgba(23, 19, 17, 0.12);
    }

    .badge-gpa {
        top: -10px;
        right: -8px;
    }

    .badge-major {
        bottom: -10px;
        left: -8px;
    }

    .btn-accent,
    .btn-outline-studio {
        padding: 10px 16px;
        font-size: 0.86rem;
        width: 100%;
        justify-content: center;
    }

    .skill-tab-switcher {
        width: 100%;
        max-width: 440px;
        display: flex !important;
        flex-direction: row;
        gap: 4px;
        padding: 4px !important;
    }

    .skill-tab-btn {
        flex: 1 1 50%;
        padding: 8px 6px !important;
        font-size: 0.74rem !important;
        text-align: center;
        white-space: normal;
        line-height: 1.25;
    }

    .custom-modal-dialog {
        max-height: 90vh;
        border-radius: 16px;
        margin: 10px auto;
    }

    .modal-header-studio,
    .modal-body-studio {
        padding: 16px;
    }

    .exp-showcase-dialog {
        width: calc(100% - 20px) !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }

    .video-cinema-dialog {
        width: calc(100% - 20px) !important;
        max-height: 90vh !important;
        margin: 10px auto !important;
        border-radius: 16px !important;
    }

    .modal-header-cinema {
        padding: 14px 18px !important;
    }

    .video-cinema-details {
        padding: 20px 18px 28px 18px !important;
    }

    .exp-gallery-img {
        height: 140px;
    }

    .floating-audio-widget {
        bottom: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.72rem;
    }
}

/* FLOATING AMBIENT AUDIO WIDGET */
.floating-audio-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
    background: rgba(255, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #D6D0C5;
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(23, 19, 17, 0.08);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
}

.floating-audio-widget:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(227, 107, 50, 0.2);
}

.floating-audio-widget #audioStatusText {
    font-size: 0.74rem;
    font-weight: 700;
    color: #171311;
    letter-spacing: 0.5px;
}

.audio-equalizer-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
    width: 14px;
}

.audio-equalizer-bars .bar {
    width: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    height: 4px;
    transition: height 0.2s ease;
}

.floating-audio-widget.playing .bar-1 {
    animation: eqBar 0.8s ease-in-out infinite alternate;
}

.floating-audio-widget.playing .bar-2 {
    animation: eqBar 1.1s ease-in-out infinite alternate 0.2s;
}

.floating-audio-widget.playing .bar-3 {
    animation: eqBar 0.7s ease-in-out infinite alternate 0.4s;
}

@keyframes eqBar {
    0% {
        height: 3px;
    }

    100% {
        height: 14px;
    }
}

/* ========================================================================== */
/* ARTBOARD VECTOR HANDLES (DESIGNER CANVAS ACCENTS)                          */
/* ========================================================================== */
.vector-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #FFFDF8;
    border: 2px solid var(--accent-color);
    border-radius: 2px;
    z-index: 10;
    pointer-events: none;
}

.handle-tl {
    top: -5px;
    left: -5px;
}

.handle-tr {
    top: -5px;
    right: -5px;
}

.handle-bl {
    bottom: -5px;
    left: -5px;
}

.handle-br {
    bottom: -5px;
    right: -5px;
}

/* ========================================================================== */
/* CONNECT & COLLABORATE SECTION (ARTBOARD 06)                               */
/* ========================================================================== */
.artboard-contact-canvas {
    padding-bottom: 0 !important;
    overflow: hidden;
}

.connect-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding-top: 0;
}

.connect-photo-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 107, 50, 0.22) 0%, rgba(227, 107, 50, 0.05) 55%, transparent 70%);
    border: 1.5px dashed rgba(227, 107, 50, 0.35);
    z-index: 1;
    animation: rotateBackdrop 28s linear infinite;
    pointer-events: none;
}

@keyframes rotateBackdrop {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.connect-photo-img {
    position: relative;
    z-index: 2;
    max-height: 560px;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-bottom: -2px;
    vertical-align: bottom;
    object-fit: contain;
    filter: drop-shadow(0 18px 34px rgba(23, 19, 17, 0.16));
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0.85) 96%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0.85) 96%, rgba(0, 0, 0, 0) 100%);
}

.connect-photo-wrapper:hover .connect-photo-img {
    transform: translateY(-6px) scale(1.02);
    filter: drop-shadow(0 24px 42px rgba(227, 107, 50, 0.30));
}

.connect-badge-top {
    top: 35px;
    left: -10px;
    animation: floatAnim 4.5s ease-in-out infinite alternate;
}

.connect-badge-bottom {
    bottom: 45px;
    right: -10px;
    animation: floatAnim 4.5s ease-in-out infinite alternate -2.2s;
}

.status-indicator-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #28a745;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    animation: statusPulse 2s infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

@media (max-width: 991.98px) {
    .artboard-contact-canvas {
        padding-bottom: 0 !important;
    }

    .connect-photo-wrapper {
        max-width: 380px;
        margin-top: 1.25rem;
    }

    .connect-photo-img {
        max-height: 440px;
    }

    .connect-photo-backdrop {
        width: 300px;
        height: 300px;
    }

    .connect-badge-top {
        top: 20px;
        left: 0;
    }

    .connect-badge-bottom {
        bottom: 30px;
        right: 0;
    }
}

@media (max-width: 575.98px) {
    .connect-photo-wrapper {
        max-width: 300px;
    }

    .connect-photo-img {
        max-height: 350px;
    }

    .connect-photo-backdrop {
        width: 240px;
        height: 240px;
    }

    .connect-badge-top,
    .connect-badge-bottom {
        padding: 6px 12px;
        font-size: 0.72rem;
    }
}

/* ========================================================================== */
/* INFINITE RUNNING TICKER / MARQUEE SLIDER BANNER                            */
/* ========================================================================== */
.marquee-ticker-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #E26B38;
    border-top: 2.5px solid #171311;
    border-bottom: 2.5px solid #171311;
    user-select: none;
    box-shadow: 0 4px 16px rgba(226, 107, 56, 0.18);
    z-index: 5;
    margin: 0;
}

.marquee-ticker-topline {
    display: none;
}

.marquee-ticker-body {
    display: flex;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

.marquee-ticker-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: marqueeScroll 24s linear infinite;
}

.marquee-ticker-banner:hover .marquee-ticker-track {
    animation-play-state: paused;
}

.marquee-ticker-group {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    padding-right: 2.2rem;
    flex-shrink: 0;
}

.marquee-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading), 'Outfit', sans-serif;
    font-size: clamp(1.02rem, 1.4vw, 1.22rem);
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    color: #FFFFFF;
}

.marquee-ticker-item .text-white-word {
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.marquee-sparkle-icon {
    width: clamp(13px, 1.25vw, 16px);
    height: clamp(13px, 1.25vw, 16px);
    color: #171311;
    margin-left: 0.5rem;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

@keyframes marqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .marquee-ticker-banner {
        border-top-width: 2px;
        border-bottom-width: 2px;
    }

    .marquee-ticker-body {
        padding: 8px 0;
    }

    .marquee-ticker-group {
        gap: 1.5rem;
        padding-right: 1.5rem;
    }

    .marquee-ticker-item {
        font-size: 0.95rem;
    }
}

/* ========================================================================== */
/* VIDEO SHOWCASE & CINEMA MODAL STYLES                                       */
/* ========================================================================== */
.video-play-overlay-hint {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    z-index: 3;
}

.video-play-pulse-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding-left: 4px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6), 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: videoPulseGlow 2.2s infinite;
}

@keyframes videoPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6), 0 8px 20px rgba(0, 0, 0, 0.25);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(255, 255, 255, 0), 0 12px 30px rgba(0, 0, 0, 0.35);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 8px 20px rgba(0, 0, 0, 0.25);
    }
}

.project-img-wrapper:hover .video-play-pulse-btn {
    transform: scale(1.15);
    background: var(--accent-color);
    color: #FFFFFF;
}

.project-img-wrapper:hover .video-play-overlay-hint {
    background: rgba(15, 23, 42, 0.25);
}

/* Studio Cinema Video Modal Overlay */
.video-cinema-dialog {
    max-width: 980px !important;
    width: 95% !important;
    background: #0F172A !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: 90vh !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8) !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.video-cinema-dialog::-webkit-scrollbar {
    width: 6px;
}

.video-cinema-dialog::-webkit-scrollbar-track {
    background: #0F172A;
    border-radius: 8px;
}

.video-cinema-dialog::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 8px;
}

.video-cinema-dialog::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.modal-header-cinema {
    background: #1E293B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 28px !important;
    position: sticky;
    top: 0;
    z-index: 20;
}

.video-cinema-details {
    padding: 34px 32px 52px 32px !important;
    background: #0F172A !important;
}

@media (min-width: 992px) {
    .modal-header-cinema {
        padding: 22px 36px !important;
    }

    .video-cinema-details {
        padding: 40px 44px 64px 44px !important;
    }
}

.video-desc-text {
    font-size: 0.88rem;
    line-height: 1.75;
}

.video-workflow-card {
    padding: 26px 28px !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border-radius: 20px !important;
}

.video-stage-container {
    position: relative;
    width: 100%;
    background: #000000;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-element-cinema {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
    outline: none;
}

.cursor-pointer {
    cursor: pointer;
}

/* ========================================================================== */
/* 1. 3D INTERACTIVE CARD TILT & GLASS SHINE (GPU-ACCELERATED)               */
/* ========================================================================== */
.project-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.15s ease-out, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    will-change: transform;
}

.project-card:hover {
    box-shadow: 0 20px 40px -12px rgba(227, 107, 50, 0.18), 0 10px 24px -8px rgba(23, 19, 17, 0.08);
}

.card-glare-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.22) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.project-card:hover .card-glare-shine {
    opacity: 1;
}

/* ========================================================================== */
/* 2. COMMAND PALETTE (CTRL+K / CMD+K) DESIGN SYSTEM                          */
/* ========================================================================== */
.cmd-palette-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(23, 19, 17, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1060;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 16px 30px;
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmd-palette-backdrop.active {
    display: flex;
    opacity: 1;
}

.cmd-palette-modal {
    width: 100%;
    max-width: 620px;
    background: #FFFDF8;
    border: 1px solid #D6D0C5;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(23, 19, 17, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden;
    transform: translateY(-20px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cmd-palette-backdrop.active .cmd-palette-modal {
    transform: translateY(0) scale(1);
}

.cmd-palette-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #E9E4DB;
    background: #FFFDF8;
}

.cmd-palette-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-primary);
    outline: none;
}

.cmd-palette-input::placeholder {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.cmd-kbd {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    background: #F7F4EE;
    border: 1px solid #D6D0C5;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cmd-palette-body {
    max-height: 380px;
    overflow-y: auto;
    padding: 10px 12px;
}

.cmd-group-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    padding: 10px 12px 6px;
}

.cmd-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-primary);
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
}

.cmd-item:hover, .cmd-item.selected {
    background: rgba(227, 107, 50, 0.1);
    color: var(--accent-color);
}

.cmd-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cmd-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F7F4EE;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cmd-item:hover .cmd-item-icon, .cmd-item.selected .cmd-item-icon {
    background: var(--accent-color);
    color: #FFFFFF;
}

.cmd-item-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.cmd-item-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.cmd-palette-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #F7F4EE;
    border-top: 1px solid #E9E4DB;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
}

/* ========================================================================== */
/* 3. AUDIO WAVEFORM VISUALIZER CANVAS                                        */
/* ========================================================================== */
.audio-canvas-wrap {
    width: 68px;
    height: 24px;
    display: flex;
    align-items: center;
}

#audioWaveCanvas {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* ========================================================================== */
/* 4. INTERACTIVE BEFORE/AFTER RETOUCH SLIDER COMPONENT                       */
/* ========================================================================== */
.before-after-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    user-select: none;
    cursor: col-resize;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    aspect-ratio: 16 / 10;
    background: #171311;
}

.before-after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.before-after-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    border-right: 2px solid #FFFFFF;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.before-after-overlay .before-after-img {
    width: 200%;
    max-width: none;
}

.before-after-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--accent-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: col-resize;
    z-index: 15;
    pointer-events: none;
    transition: transform 0.15s ease;
}

.before-after-container:active .before-after-handle {
    transform: translate(-50%, -50%) scale(1.15);
}

.before-after-tag {
    position: absolute;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 600;
    pointer-events: none;
    z-index: 12;
}

.tag-before {
    left: 14px;
    background: rgba(23, 19, 17, 0.75);
    color: #FFFFFF;
}

.tag-after {
    right: 14px;
    background: var(--accent-color);
    color: #FFFFFF;
}