/* ==============================================
   ANTON KONONOV PORTFOLIO - MAIN STYLES
   ============================================== */
/* ==============================================
   Slick Highlights – Scoped, safe styles
   ============================================== */
/* Neutralize any legacy layout effects only for this section */
#other-works {
    padding: 80px 0 40px;
}

#other-works .carousel-title {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: clamp(20px, 2.5vh, 36px);
    /* Reduced spacing to carousel */
}

#other-works .highlights-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-top: clamp(45px, 6vh, 90px);
    /* Increased margin - more gap to text */
}

#other-works .slick-highlights {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

#other-works .slick-highlights .slick-list,
#other-works .slick-highlights .slick-track {
    overflow: visible;
}

#other-works .slick-highlights {
    padding-bottom: 0px;
}

/* No padding - dots will be positioned outside */

/* 16:9 uniform slides with GPU acceleration */
#other-works .slick-highlights .slide {
    position: relative;
    padding: 0 4px;
    /* Further reduced padding to minimize gaps */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

#other-works .slick-highlights .slide::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

#other-works .slick-highlights .slide>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced hover effects for center image */
#other-works .slick-highlights .slick-slide.is-center .slide>img {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 12px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Enhanced center emphasis with progressive scaling and 3D depth */
#other-works .slick-highlights .slick-slide {
    transform-origin: center center;
    z-index: 1;
    transition:
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.4s ease,
        filter 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

#other-works .slick-highlights .slick-slide {
    transform: scale(0.65) translateZ(-100px);
    filter: blur(0.5px);
}

/* Default side scale with depth */
#other-works .slick-highlights .slick-slide.is-center {
    z-index: 3;
    transform: scale(1.75) translateZ(0px);
    /* Bigger center image with enhanced scale */
    filter: blur(0px);
}

#other-works .slick-highlights .slick-slide.is-left-1,
#other-works .slick-highlights .slick-slide.is-right-1 {
    transform: scale(0.95) translateZ(-50px);
    filter: blur(0.3px);
}

/* Immediate neighbors with depth */
#other-works .slick-highlights .slick-slide:not(.is-center):not(.is-left-1):not(.is-right-1) {
    transform: scale(0.65) translateZ(-100px);
    opacity: 0.6;
    /* More dimming for distant slides */
    filter: blur(0.5px);
}

/* Arrows/Dots minimal treatment */
/* Center arrows vertically to the middle of the slide area (ignores bottom tooltip reserve of 90px) */
#other-works .slick-prev,
#other-works .slick-next {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 50%;
    /* Exactly in the middle vertically of the carousel images */
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    will-change: transform, background;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

#other-works .slick-prev {
    left: 2vw;
}

#other-works .slick-next {
    right: 2vw;
}

#other-works .slick-prev:before,
#other-works .slick-next:before {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
}

#other-works .slick-prev:hover,
#other-works .slick-next:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-50%) scale(1.05);
}

#other-works .slick-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -190px;
    /* Position dots another 10px down */
    z-index: 5;
}

#other-works .slick-dots li button:before {
    color: #ffffff;
    opacity: 0.4;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Larger dots with better contrast */
#other-works .slick-dots li.slick-active button:before {
    color: #ffffff;
    opacity: 1;
    transform: scale(1.2);
    /* Slightly larger active dot */
}

#other-works .slick-dots li:hover button:before {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Tooltip/info card sizing */
#other-works .highlights-info {
    max-width: clamp(560px, 68vw, 760px);
    margin: 120px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

#other-works .highlights-info .info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    margin: 0 auto;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Apply glint effect to info card (same as project cards) */
#other-works .highlights-info .info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s;
    pointer-events: none;
    z-index: 2;
}

#other-works .highlights-info .info-card:hover::after {
    left: 100%;
}

#other-works .highlights-info .info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

#other-works .highlights-info h4 {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(16px, 2.2vw, 20px);
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

#other-works .highlights-info p {
    font-size: clamp(13px, 1.8vw, 15px);
    color: #cfcfcf;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

/* UNIFORM MOBILE TYPOGRAPHY FOR HIGHLIGHTS INFO */
@media (max-width: 768px) {
    #other-works .highlights-info h4 {
        font-family: 'Cormorant Garamond', 'Garamond', serif !important;
        font-size: 24px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        margin-bottom: 12px !important;
    }

    #other-works .highlights-info p {
        font-size: 18px !important;
        line-height: 1.4 !important;
        letter-spacing: 0.01em !important;
        color: #cfcfcf !important;
    }
}

@media (max-width: 1024px) {
    #other-works .highlights-info {
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    #other-works .highlights-info {
        max-width: 92%;
    }
}

/* Responsive scaling for the carousel */
/* Large screens and ultra-wide monitors */
@media (min-width: 1920px) {
    #other-works .carousel-title {
        padding-bottom: clamp(45px, 6vh, 90px);
    }

    #other-works .highlights-wrapper {
        margin-top: clamp(55px, 8vh, 110px);
    }
}

@media (max-width: 1280px) {
    #other-works .carousel-title {
        padding-bottom: clamp(30px, 4vh, 60px);
    }

    #other-works .highlights-wrapper {
        margin-top: clamp(35px, 5vh, 70px);
    }

    #other-works .slick-highlights {
        padding-bottom: 0px;
    }

    #other-works .slick-dots {
        bottom: -185px;
    }

    #other-works .slick-dots li button:before {
        font-size: 12px;
    }

    #other-works .highlights-info {
        margin: 180px auto 0;
    }

    #other-works .slick-highlights .slick-slide.is-center {
        transform: scale(1.65) translateZ(0px);
    }

    #other-works .slick-highlights .slick-slide.is-left-1,
    #other-works .slick-highlights .slick-slide.is-right-1 {
        transform: scale(0.95) translateZ(-50px);
    }

    #other-works .slick-highlights .slick-slide:not(.is-center):not(.is-left-1):not(.is-right-1) {
        transform: scale(0.65) translateZ(-100px);
    }
}

@media (max-width: 1024px) {
    #other-works .carousel-title {
        padding-bottom: clamp(25px, 3vh, 50px);
    }

    #other-works .highlights-wrapper {
        margin-top: clamp(30px, 4vh, 60px);
    }

    #other-works .slick-highlights {
        padding-bottom: 0px;
    }

    #other-works .slick-dots {
        bottom: -180px;
    }

    #other-works .slick-dots li button:before {
        font-size: 11px;
    }

    #other-works .highlights-info {
        margin: 180px auto 0;
    }

    #other-works .slick-highlights .slick-slide.is-center {
        transform: scale(1.55) translateZ(0px);
    }

    #other-works .slick-highlights .slick-slide.is-left-1,
    #other-works .slick-highlights .slick-slide.is-right-1 {
        transform: scale(0.95) translateZ(-50px);
    }

    #other-works .slick-highlights .slick-slide:not(.is-center):not(.is-left-1):not(.is-right-1) {
        transform: scale(0.65) translateZ(-100px);
    }
}

@media (max-width: 768px) {
    #other-works {
        padding: 40px 0 30px;
    }

    #other-works .carousel-title {
        padding-bottom: clamp(15px, 2vh, 30px);
    }

    #other-works .highlights-wrapper {
        margin-top: clamp(20px, 2.5vh, 40px);
    }

    #other-works .slick-highlights {
        padding-bottom: 0px;
    }

    #other-works .slick-dots {
        bottom: -120px;
    }

    #other-works .slick-dots li button:before {
        font-size: 10px;
    }

    #other-works .highlights-info {
        margin: 100px auto 0;
    }

    #other-works .slick-highlights .slick-slide.is-center {
        transform: scale(1.35);
    }

    /* More prominent on mobile */
    #other-works .slick-highlights .slick-slide.is-left-1,
    #other-works .slick-highlights .slick-slide.is-right-1 {
        transform: scale(0.90);
    }

    #other-works .slick-highlights .slick-slide:not(.is-center):not(.is-left-1):not(.is-right-1) {
        transform: scale(0.65);
    }

    #other-works .slick-prev,
    #other-works .slick-next {
        display: none !important;
    }
}

@media (max-width: 480px) {
    #other-works {
        padding: 30px 0 20px;
    }

    #other-works .carousel-title {
        padding-bottom: clamp(12px, 1.5vh, 25px);
    }

    #other-works .highlights-wrapper {
        margin-top: clamp(15px, 2vh, 30px);
    }

    #other-works .slick-highlights {
        padding-bottom: 0px;
    }

    #other-works .slick-dots {
        bottom: -100px;
    }

    #other-works .slick-dots li button:before {
        font-size: 9px;
    }

    #other-works .highlights-info {
        margin: 80px auto 0;
    }

    #other-works .slick-highlights .slick-slide.is-center {
        transform: scale(1.25);
    }

    #other-works .slick-highlights .slick-slide.is-left-1,
    #other-works .slick-highlights .slick-slide.is-right-1 {
        transform: scale(0.85);
    }

    #other-works .slick-highlights .slick-slide:not(.is-center):not(.is-left-1):not(.is-right-1) {
        transform: scale(0.60);
    }
}


/* ==============================================
   GLOBAL STYLES & TYPOGRAPHY
   ============================================== */

* {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Fallback solid color while image loads */
    background-color: #0a0a0a;
    /* Background handled by HTML body rules for consistency */
    /* Performance optimizations */
    image-rendering: -webkit-optimize-contrast;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Optimized static lighting overlay - CPU friendly */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 120% 80% at 25% 35%, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.65) 100%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: -1;
    /* Remove animation completely for performance */
}

/* Background image handled by HTML body rules */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 2px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

/* ==============================================
   NAVIGATION
   ============================================== */

.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    color: #888;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    outline: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.nav-link:focus,
.nav-link:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
    gap: 8px;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-btn .hamburger-line:nth-child(1) {
    top: 8px;
}

.mobile-menu-btn .hamburger-line:nth-child(2) {
    top: 18px;
}

.mobile-menu-btn .hamburger-line:nth-child(3) {
    top: 28px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 18px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg);
    top: 18px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    /* Modal overlay - standardized */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for better mobile support */
    gap: 8px;
    padding: 20px 20px 80px;
    /* Extra bottom padding for iPhone Pro Max */
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border: none;
    border-radius: 0;
    margin: 0;
    overflow: visible;
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* Move content higher using justify-content instead of transform */
    padding-top: 60px;
}

.mobile-nav-link {
    background: none;
    border: none;
    border-radius: 0;
    padding: 8px 20px;
    width: auto;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 24px;
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.6px;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.mobile-menu-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(6) {
    transition-delay: 0.6s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(7) {
    transition-delay: 0.7s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(8) {
    transition-delay: 0.8s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(9) {
    transition-delay: 0.9s;
}

.mobile-nav-link:focus,
.mobile-nav-link:focus-visible {
    outline: none;
}

.mobile-nav-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: translateX(-50%);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
}

.mobile-nav-link:hover::after {
    width: 100%;
    opacity: 1;
}

.mobile-nav-link.active::after {
    width: 100% !important;
    opacity: 1 !important;
}

/* ==============================================
   UNIVERSAL CONTENT CONTAINER STANDARDIZATION
   ============================================== */

/* Standard content width - MATCH SELECTED WORKS EXACTLY */
.about-container,
.contact-container,
.contact-content,
.press-grid,
.expertise-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

/* EMERGENCY OVERRIDE - FORCE ALL CONTAINERS TO MATCH STATS EXACTLY */
@media (max-width: 768px) {
    /* About Section */
    .projects-section#about,
    .projects-section#about .about-container,
    .projects-section#about .about-content,

    /* Press Section */
    .projects-section#press,
    .projects-section#press .press-grid,
    .projects-section#press .press-item,

    /* Expertise Section */
    .projects-section#expertise,
    .projects-section#expertise .expertise-grid,

    /* Contact Section */
    .projects-section#contact,
    .projects-section#contact .contact-container,
    .projects-section#contact .contact-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    /* About Section */
    .projects-section#about,
    .projects-section#about .about-container,
    .projects-section#about .about-content,

    /* Press Section */
    .projects-section#press,
    .projects-section#press .press-grid,
    .projects-section#press .press-item,

    /* Expertise Section */
    .projects-section#expertise,
    .projects-section#expertise .expertise-grid,

    /* Contact Section */
    .projects-section#contact,
    .projects-section#contact .contact-container,
    .projects-section#contact .contact-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==============================================
   LOGO
   ============================================== */

.logo {
    height: 64px !important;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0 !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    width: auto;
    max-width: none;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 64px !important;
    width: auto !important;
    max-height: 64px !important;
    max-width: none !important;
    border-radius: 4px;
    filter:
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 8px rgba(135, 206, 250, 0)) drop-shadow(0 0 12px rgba(135, 206, 250, 0)) drop-shadow(0 0 16px rgba(135, 206, 250, 0));
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.logo img.logo-glow-active {
    animation: logoGlowPulse 6s ease-in-out forwards;
}

@keyframes logoGlowPulse {
    0% {
        filter:
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 8px rgba(135, 206, 250, 0)) drop-shadow(0 0 12px rgba(135, 206, 250, 0)) drop-shadow(0 0 16px rgba(135, 206, 250, 0));
    }

    8% {
        filter:
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 10px rgba(135, 206, 250, 0.30)) drop-shadow(0 0 14px rgba(135, 206, 250, 0.18)) drop-shadow(0 0 18px rgba(135, 206, 250, 0.12));
    }

    20%,
    35% {
        filter:
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 12px rgba(135, 206, 250, 0.42)) drop-shadow(0 0 18px rgba(135, 206, 250, 0.30)) drop-shadow(0 0 24px rgba(135, 206, 250, 0.18));
    }

    27.5%,
    42.5% {
        filter:
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 10px rgba(135, 206, 250, 0.30)) drop-shadow(0 0 14px rgba(135, 206, 250, 0.18)) drop-shadow(0 0 18px rgba(135, 206, 250, 0.12));
    }

    50% {
        filter:
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 10px rgba(135, 206, 250, 0.30)) drop-shadow(0 0 14px rgba(135, 206, 250, 0.18)) drop-shadow(0 0 18px rgba(135, 206, 250, 0.12));
    }

    100% {
        filter:
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 8px rgba(135, 206, 250, 0)) drop-shadow(0 0 12px rgba(135, 206, 250, 0)) drop-shadow(0 0 16px rgba(135, 206, 250, 0));
    }
}

/* ==============================================
   HERO SECTION
   ============================================== */

.hero-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 40px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 482px;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-text {
    opacity: 0;
    animation: fadeInUp 1.2s ease 0.5s forwards;
}

.hero-photo {
    opacity: 0;
    animation: fadeInUp 1.2s ease 0.8s forwards;
    position: relative;
}

.hero-name {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(41px, 6vw, 83px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-spacing: 0.02em;
    white-space: nowrap;
    text-transform: uppercase;
    cursor: default;
    position: relative;
    filter:
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 8px rgba(135, 206, 250, 0)) drop-shadow(0 0 12px rgba(135, 206, 250, 0)) drop-shadow(0 0 16px rgba(135, 206, 250, 0));
}

.hero-name.hero-name-glow-active {
    animation: logoGlowPulse 6s ease-in-out forwards;
}









.hero-titles {
    margin-bottom: 48px;
}

.hero-title {
    font-size: 20px;
    font-weight: 300;
    color: #b3b3b3;
    margin-bottom: 12px;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    line-height: 1.5;
    text-align: left;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    line-height: 1.5;
    text-align: left;
}

.immersive-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.9s ease;
    border-bottom: 1px solid transparent;
    font-weight: 500;
}

.immersive-link:hover {
    color: #aaa;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.title-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.9s ease;
    border-bottom: 1px solid transparent;
}

.title-link:hover {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.hero-description {
    font-size: 21px;
    font-weight: 300;
    color: #c4c4c4;
    line-height: 1.75;
    max-width: 720px;
    margin-bottom: 56px;
    letter-spacing: 0.02em;
}

.hero-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    justify-content: flex-start;
}

.hero-specialty-pill {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 14px;
    color: #888;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.hero-specialty-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.1);
    color: #aaa;
    transform: translateY(-1px);
}

.photo-container {
    width: 482px;
    height: 482px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.7);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 0 auto;
}

.photo-container::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
            transparent 25%,
            rgba(60, 90, 120, 0.04) 35%,
            rgba(70, 100, 140, 0.09) 45%,
            rgba(80, 110, 160, 0.13) 55%,
            rgba(70, 100, 140, 0.09) 65%,
            rgba(60, 90, 120, 0.05) 75%,
            rgba(50, 80, 110, 0.03) 85%,
            transparent 95%);
    opacity: 0;
    transform: scale(0.6);
    transition: all 2s ease-out;
    pointer-events: none;
    z-index: 3;
}

.photo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0.95) 95%, #000000 100%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.6s ease;
}



.photo-container:hover::before {
    animation: magicalPulse 3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes magicalPulse {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

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

.photo-container:hover::after {
    opacity: 0.8;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: contrast(1.1) saturation(1.1);
    position: relative;
    z-index: 1;
    border-radius: 50%;
}



.photo-container:hover .hero-photo-img {
    filter: contrast(1.15) saturation(1.2);
}

/* Shine effect for portrait */
.portrait-shine {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    z-index: 6;
    pointer-events: none;
    transform: none;
    /* vertical sweep */
}

/* Moving specular band (crescent radial glint) */
.portrait-shine::before {
    content: '';
    position: absolute;
    /* Oversized so the radial ring can arc across the portrait */
    width: 180%;
    height: 180%;
    left: -40%;
    top: -90%;
    /* Crescent-like ring using radial gradient with offset focal point */
    background: radial-gradient(ellipse at 60% 50%,
            rgba(255, 255, 255, 0) 46%,
            rgba(255, 255, 255, 0.18) 55%,
            rgba(255, 255, 255, 0.34) 60%,
            rgba(255, 255, 255, 0.16) 66%,
            rgba(255, 255, 255, 0) 74%);
    filter: blur(1.8px);
    mix-blend-mode: screen;
    opacity: 0;
    will-change: transform, opacity;
    border-radius: 50%;
}

.photo-container:hover .portrait-shine::before {
    animation: premiumCrescentUp 7.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes premiumCrescentUp {
    0% {
        transform: translate(-4%, 260%) rotate(-6deg);
        opacity: 0;
    }

    25% {
        opacity: 0.12;
    }

    50% {
        opacity: 0.24;
    }

    85% {
        opacity: 0.12;
    }

    100% {
        transform: translate(4%, -160%) rotate(6deg);
        opacity: 0;
    }
}

/* Subtle static conic glow to add depth */
.portrait-shine::after {
    content: '';
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: conic-gradient(from 210deg at 35% 45%,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0) 25%,
            rgba(255, 255, 255, 0) 75%,
            rgba(255, 255, 255, 0.08));
    filter: blur(10px);
    mix-blend-mode: soft-light;
    opacity: 0;
    transition: opacity 1200ms ease;
}

.photo-container:hover .portrait-shine::after {
    opacity: 0.10;
}

@keyframes premiumShineSweepVUp {
    0% {
        transform: translateY(260%);
        opacity: 0;
    }

    20% {
        opacity: 0.115;
    }

    55% {
        opacity: 0.253;
    }

    85% {
        opacity: 0.138;
    }

    100% {
        transform: translateY(-160%);
        opacity: 0;
    }
}

/* ==============================================
   STATS SECTION
   ============================================== */

.stats-container {
    padding: 50px 80px;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Apply glint effect to stats container */
.stats-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.7s;
    pointer-events: none;
    z-index: 1;
}

.stats-container:hover::after {
    left: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
    position: relative;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Luxury vertical dividers with fade-out effect */
.stat-item:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 100%);
}

.stat-number {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(77px, 7.2vw, 106px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.stat-number.stat-text {
    font-size: clamp(36px, 3.5vw, 52px);
    letter-spacing: -0.01em;
}

.stat-unit {
    font-size: 0.65em;
    letter-spacing: 0.02em;
}

.stat-label {
    font-size: 15px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    line-height: 1.4;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   SHOWREEL SECTION
   ============================================== */

.showreel-section {
    padding: 50px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.showreel-title {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
    animation: fadeInUp 0.6s ease forwards;
    color: #f5f5f5;
}

.showreel-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.showreel-container {
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 60px 180px rgba(0, 0, 0, 0.8);
    opacity: 1;
    transform: scale(1);
    transition: all 1s ease;
    animation: fadeInUp 0.8s ease forwards;
}

.showreel-container.visible {
    opacity: 1;
    transform: scale(1);
}

/* Video Player Styles */
.showreel-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Fullscreen styles with proper letterboxing */
.showreel-video-container:fullscreen,
.showreel-video-container:-webkit-full-screen,
.showreel-video-container:-moz-full-screen,
.showreel-video-container:-ms-fullscreen {
    border-radius: 0 !important;
    border: none !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 15000 !important;
    /* Lightbox overlay */
}

.showreel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
}

/* Vimeo embed styles */
.showreel-video.vimeo-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.showreel-video.vimeo-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Overlay inside Vimeo embed - matches video area exactly */
.showreel-video.vimeo-embed .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 16px;
}

/* Fullscreen Vimeo styles */
.showreel-video-container:fullscreen .showreel-video.vimeo-embed,
.showreel-video-container:-webkit-full-screen .showreel-video.vimeo-embed {
    padding-bottom: 0;
    height: 100%;
}

.showreel-video-container:fullscreen .showreel-video.vimeo-embed iframe,
.showreel-video-container:-webkit-full-screen .showreel-video.vimeo-embed iframe {
    border-radius: 0;
}

/* Fullscreen styles handled by JavaScript for better letterboxing control */

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    cursor: pointer;
    transition: all 0.4s ease;
}

.video-overlay:hover {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}


/* Fullscreen video overlay positioning */
.showreel-video-container:fullscreen .video-overlay,
.showreel-video-container:-webkit-full-screen .video-overlay,
.showreel-video-container:-moz-full-screen .video-overlay,
.showreel-video-container:-ms-fullscreen .video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
}

.play-button {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.play-button svg {
    width: 32px;
    height: 32px;
    margin-left: 4px; /* Optical alignment for play icon */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.play-button:active {
    transform: scale(0.98);
}

.showreel-hint {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

/* Minimal Scrub Timeline */
.minimal-scrub-timeline {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 15;
}

.minimal-scrub-timeline.visible {
    opacity: 1;
    transform: translateY(0);
}

.scrub-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scrub-play-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    padding-left: 2px;
    /* Optical alignment */
    transition: all 0.3s ease;
    flex-shrink: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.scrub-play-btn:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
}

.scrub-play-btn:active {
    background: rgba(255, 255, 255, 0.2);
}

.scrub-fullscreen-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.scrub-fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
}

.scrub-fullscreen-btn:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
}

.scrub-fullscreen-btn:active {
    background: rgba(255, 255, 255, 0.2);
}

.scrub-fullscreen-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Hide appropriate icon based on fullscreen state */
.showreel-video-container:fullscreen .scrub-fullscreen-btn .fullscreen-enter,
.showreel-video-container:-webkit-full-screen .scrub-fullscreen-btn .fullscreen-enter,
.showreel-video-container:-moz-full-screen .scrub-fullscreen-btn .fullscreen-enter,
.showreel-video-container:-ms-fullscreen .scrub-fullscreen-btn .fullscreen-enter {
    display: none !important;
}

.showreel-video-container:fullscreen .scrub-fullscreen-btn .fullscreen-exit,
.showreel-video-container:-webkit-full-screen .scrub-fullscreen-btn .fullscreen-exit,
.showreel-video-container:-moz-full-screen .scrub-fullscreen-btn .fullscreen-exit,
.showreel-video-container:-ms-fullscreen .scrub-fullscreen-btn .fullscreen-exit {
    display: block !important;
    flex-shrink: 0;
}

.scrub-play-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
    transform: scale(1.05);
}

.scrub-progress-container {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    flex: 1;
}

.scrub-progress-bar {
    height: 100%;
    background: #ffffff;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.scrub-progress-handle {
    position: absolute;
    top: -4px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    left: 0%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.scrub-progress-container:hover .scrub-progress-handle {
    opacity: 1;
}

/* Fullscreen minimal scrub timeline */
.showreel-video-container:fullscreen .minimal-scrub-timeline,
.showreel-video-container:-webkit-full-screen .minimal-scrub-timeline,
.showreel-video-container:-moz-full-screen .minimal-scrub-timeline,
.showreel-video-container:-ms-fullscreen .minimal-scrub-timeline {
    position: fixed;
    bottom: 40px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 400px;
    max-width: 80vw;
}

.showreel-video-container:fullscreen .minimal-scrub-timeline.visible,
.showreel-video-container:-webkit-full-screen .minimal-scrub-timeline.visible,
.showreel-video-container:-moz-full-screen .minimal-scrub-timeline.visible,
.showreel-video-container:-ms-fullscreen .minimal-scrub-timeline.visible {
    transform: translateX(-50%) translateY(0);
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

/* Fullscreen video controls positioning */
.showreel-video-container:fullscreen .video-controls,
.showreel-video-container:-webkit-full-screen .video-controls,
.showreel-video-container:-moz-full-screen .video-controls,
.showreel-video-container:-ms-fullscreen .video-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
}

.showreel-video-container:hover .video-controls {
    transform: translateY(0);
}

.progress-container {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 12px;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: -6px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    left: 0%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-container:hover .progress-handle {
    opacity: 1;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.control-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.3s ease;
}

.control-btn:hover {
    opacity: 0.7;
}

.time-display {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-left: auto;
    margin-right: 16px;
}

/* Reusable glint effect */
.glint-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    pointer-events: none;
    z-index: 1;
}

.glint-effect:hover::before {
    left: 100%;
}

/* ==============================================
   PROJECTS SECTION
   ============================================== */

.projects-section {
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* UNIFORM MOBILE TYPOGRAPHY - GOLD STANDARD */
@media (max-width: 768px) {
    .section-title {
        font-family: 'Cormorant Garamond', 'Garamond', serif !important;
        font-size: 32px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        margin-bottom: 12px !important;
    }

    .section-subtitle {
        font-size: 18px !important;
        line-height: 1.4 !important;
        font-weight: 400 !important;
        letter-spacing: 0.01em !important;
        margin-bottom: 24px !important;
    }

    .showreel-title {
        font-family: 'Cormorant Garamond', 'Garamond', serif !important;
        font-size: 32px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        margin-bottom: 20px !important;
    }
}

.projects-section#about {
    margin-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 15px;
    margin-top: 0;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
    animation: fadeInUp 0.6s ease forwards;
}

/* First section after hero should not have top margin */
#projects .section-header {
    margin-top: 0;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: #ffffff;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 0 rgba(245, 245, 245, 0));
    cursor: pointer;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-title:hover {
    filter: drop-shadow(0 0 12px rgba(245, 245, 245, 0.4));
}

.section-subtitle {
    font-size: 20px;
    color: #b3b3b3;
    font-weight: 300;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 24px;
    letter-spacing: 0.02em;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

.projects-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
}

.project-card {
    background: rgba(255, 255, 255, 0.008);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.0575);
    border-radius: 24px;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease forwards;
    display: flex;
    flex-direction: column;
}

/* Apply glint effect to project cards */
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s;
    pointer-events: none;
    z-index: 2;
}

.project-card:hover::after {
    left: 100%;
}

.project-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000000;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: 300;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 0 32px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}



.project-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 20px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-meta {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.4;
}

.project-title {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #f5f5f5;
    line-height: 1.3;
    letter-spacing: -0.01em;
}



.project-description {
    font-size: 17px;
    color: #c4c4c4;
    line-height: 1.7;
    margin-bottom: 28px;
    font-weight: 300;
    flex-grow: 1;
    letter-spacing: 0.01em;
}



.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 36px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(58px, 8.4vw, 86px);
    font-weight: 500;
    color: #f5f5f5;
    display: block;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    font-weight: 400;
    line-height: 1.4;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.project-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #d4d4d4;
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.project-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Purged legacy Embla block: moved to Git history to avoid conflicts with Slick */

.carousel-tooltip-fixed {
    display: none !important;
}

.carousel-title {
    text-align: center;
    margin-bottom: 15px;
    margin-top: -40px;
    padding: 0 40px;
}

/* UNIFORM MOBILE TYPOGRAPHY FOR CAROUSEL */
@media (max-width: 768px) {
    .carousel-title h3 {
        font-family: 'Cormorant Garamond', 'Garamond', serif !important;
        font-size: 32px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        margin-bottom: 12px !important;
    }
}

/* First carousel section after projects should have proper spacing */
#other-works .carousel-title {
    margin-top: -40px;
}

.carousel-title h3 {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 500;
    color: #f5f5f5;
    margin-bottom: 12px;
    /* Balanced spacing to subtitle */
    letter-spacing: -0.01em;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 0 rgba(245, 245, 245, 0));
    cursor: pointer;
}

.carousel-title h3:hover {
    filter: drop-shadow(0 0 12px rgba(245, 245, 245, 0.4));
}

.carousel-title p {
    font-size: 18px;
    color: #aaa;
    font-weight: 300;
    margin-bottom: 0;
    /* Spacing controlled by carousel-title padding-bottom */
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.carousel-drag-hint {
    display: none;
    /* Hint removed per design update */
}

.carousel-container {
    height: 570px;
    perspective: 2000px;
    perspective-origin: center 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    cursor: grab;
    user-select: none;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    margin-top: 80px;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 340px;
    transform-style: preserve-3d;
    transform-origin: center center;
    transform: rotateX(6deg) translateY(70px);
    display: block;
    overflow: visible;
}

.carousel-item {
    position: absolute !important;
    width: 480px;
    height: 300px;
    left: 50% !important;
    top: 50% !important;
    margin-left: -240px;
    margin-top: -150px;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(40px) saturate(1.3);
    -webkit-backdrop-filter: blur(40px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    will-change: transform, opacity;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
    transform-style: preserve-3d;
    transform-origin: center center;
    opacity: 1;
    visibility: visible;
    /* Anti-aliasing and rendering improvements */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.carousel-item.center {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 12px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px) saturate(1.5);
    -webkit-backdrop-filter: blur(50px) saturate(1.5);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), filter 0.3s ease;
    filter: contrast(1.05) saturate(1.1) brightness(0.95);
    border-radius: 20px;
    display: block;
    /* Enhanced anti-aliasing and image quality */
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Prevent ghost images and improve rendering */
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.carousel-item:hover img {
    transform: scale(1.02) translate3d(0, 0, 0);
    filter: contrast(1.1) saturate(1.2) brightness(1);
}

.carousel-tooltip-fixed {
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%) scale(1.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    color: #f5f5f5;
    padding: 23px 32px;
    border-radius: 21px;
    width: max-content;
    max-width: 552px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-family: 'Inter', sans-serif;
    z-index: 100;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

/* Enhanced glint effect to match site design */
.carousel-tooltip-fixed::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s;
    pointer-events: none;
    z-index: 2;
}

/* Only show tooltip on center item hover with glint */
.carousel-item.center:hover~.carousel-tooltip-fixed,
.carousel-item.center:hover+.carousel-tooltip-fixed {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

.carousel-item.center:hover~.carousel-tooltip-fixed::after,
.carousel-item.center:hover+.carousel-tooltip-fixed::after {
    left: 100%;
}

.carousel-tooltip-fixed .tooltip-title {
    font-weight: 600;
    color: #f5f5f5;
    font-size: 23px;
    margin-bottom: 9px;
    display: block;
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-family: 'Cormorant Garamond', 'Garamond', serif;
}

.carousel-tooltip-fixed .tooltip-description {
    font-size: 17px;
    color: #c4c4c4;
    line-height: 1.5;
    display: block;
    font-weight: 300;
    opacity: 1;
    font-family: 'Inter', sans-serif;
}

.carousel-controls {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    z-index: 90;
    align-items: center;
}

.carousel-nav-btn {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(40px) saturate(1.5);
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-nav-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: scale(1.05) translateY(-2px);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.carousel-nav-btn:active {
    transform: scale(0.95) translateY(0px);
    transition-duration: 0.1s;
}

.carousel-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(40px) saturate(1.5);
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.carousel-indicator.active {
    background: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* ==============================================
   ABOUT SECTION
   ============================================== */

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 80px;
}

.about-content {
    padding: 60px;
    background: rgba(255, 255, 255, 0.008);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Apply glint effect to about content */
.about-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.9s;
    pointer-events: none;
    z-index: 1;
}

.about-content:hover::after {
    left: 100%;
}

.about-intro {
    font-size: 24px;
    font-weight: 300;
    color: #f0f0f0;
    line-height: 1.7;
    margin-bottom: 40px;
    letter-spacing: 0.01em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    text-justify: inter-word;
}

.about-intro strong {
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.005em;
}

.about-paragraph {
    font-size: 19px;
    font-weight: 300;
    color: #d4d4d4;
    line-height: 1.7;
    margin-bottom: 32px;
    letter-spacing: 0.005em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    text-justify: inter-word;
}

.about-paragraph strong {
    font-weight: 500;
    color: #f5f5f5;
    letter-spacing: 0.005em;
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

/* About Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    margin: 56px auto 0;
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr;
}

.about-testimonial {
    grid-row: 1;
    grid-column: 1;
    padding: 40px 48px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 12px 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    pointer-events: none;
}

.about-testimonial.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.about-testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
}

.about-testimonial p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin: 0 0 28px 0;
}

.about-testimonial cite {
    display: flex;
    flex-direction: column;
    font-style: normal;
}

.about-testimonial .cite-name {
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.about-testimonial .cite-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
    margin-top: 4px;
}

/* ==============================================
   RECOGNITION SECTION
   ============================================== */

.recognition-section {
    padding: 80px 60px 100px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
}

.recognition-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
}

.recognition-column {
    padding: 0 20px;
}

.recognition-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #ffffff;
    margin: 0 0 28px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recognition-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recognition-list li {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.recognition-list li:last-child {
    border-bottom: none;
}

.award-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    min-width: 70px;
    text-align: center;
}

/* Professional Bodies 3x2 Grid */
.recognition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
}

.membership-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.membership-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Recognition tablet */
@media (max-width: 1024px) {
    .recognition-section {
        padding: 60px 40px 80px;
    }
    
    .recognition-content {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 600px;
    }
    
    .recognition-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .membership-item {
        font-size: 13px;
        padding: 12px 14px;
    }
    
    .testimonial-carousel {
        margin: 40px auto 0;
    }
    
    .about-testimonial {
        padding: 32px;
    }
    
    .about-testimonial p {
        font-size: 20px;
    }
    
    .recognition-heading {
        font-size: 28px;
    }
}

/* Recognition mobile */
@media (max-width: 768px) {
    .recognition-section {
        padding: 50px 20px 70px;
    }
    
    .recognition-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
    }
    
    .recognition-column {
        padding: 0;
    }
    
    .recognition-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .membership-item {
        font-size: 14px;
        white-space: normal;
    }
    
    .testimonial-carousel {
        margin: 28px auto 0;
    }
    
    .about-testimonial {
        padding: 28px 24px;
        border-radius: 0 8px 8px 0;
    }
    
    .about-testimonial::before {
        font-size: 55px;
        top: 12px;
        left: 14px;
    }
    
    .about-testimonial p {
        font-size: 19px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .about-testimonial .cite-name {
        font-size: 16px;
    }
    
    .about-testimonial .cite-title {
        font-size: 13px;
    }
    
    .recognition-list li {
        font-size: 15px;
        white-space: normal;
        flex-wrap: wrap;
    }
    
    .award-badge {
        min-width: 60px;
        font-size: 10px;
    }
    
    .recognition-heading {
        font-size: 26px;
        margin-bottom: 20px;
    }
}

/* Small mobile - iPhone 16 Pro Max and similar */
@media (max-width: 480px) {
    .testimonial-carousel {
        margin: 24px auto 0;
    }
    
    .about-testimonial {
        padding: 24px 20px;
    }
    
    .about-testimonial::before {
        font-size: 50px;
        top: 10px;
        left: 12px;
    }
    
    .about-testimonial p {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 18px;
    }
    
    .about-testimonial .cite-name {
        font-size: 15px;
    }
    
    .about-testimonial .cite-title {
        font-size: 12px;
    }
    
    .recognition-list li {
        font-size: 14px;
        padding: 12px 0;
    }
    
    .membership-item {
        font-size: 13px;
        padding: 12px 14px;
    }
    
    .recognition-heading {
        font-size: 24px;
    }
}

/* ==============================================
   EXPERTISE SECTION
   ============================================== */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 80px;
}

.expertise-item {
    padding: 48px;
    background: rgba(255, 255, 255, 0.008);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Apply glint effect to expertise items */
.expertise-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.7s;
    pointer-events: none;
    z-index: 1;
}

.expertise-item:hover::after {
    left: 100%;
}

.expertise-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    stroke: #f5f5f5;
    fill: none;
    stroke-width: 1.5;
    margin: 0 auto 24px auto;
    opacity: 0.9;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 0 rgba(245, 245, 245, 0));
}

.expertise-item:hover .expertise-icon {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(245, 245, 245, 0.4));
    transform: scale(1.05);
}

.expertise-title {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 32px;
    color: #f5f5f5;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #c4c4c4;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    flex-grow: 1;
    letter-spacing: 0.01em;
}

.expertise-list li {
    margin-bottom: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.expertise-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==============================================
   CONTACT SECTION
   ============================================== */

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-content {
    padding: 60px;
    background: rgba(255, 255, 255, 0.008);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Apply glint effect to contact content */
.contact-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.8s;
    pointer-events: none;
    z-index: 1;
}

.contact-content:hover::after {
    left: 100%;
}

.contact-intro {
    font-size: 20px;
    color: #c4c4c4;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    width: 24px;
    height: 24px;
    stroke: #f5f5f5;
    stroke-width: 1.5;
    flex-shrink: 0;
    opacity: 0.9;
}

.contact-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 16px;
    color: #f5f5f5;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.4;
    white-space: nowrap;
}

.contact-link {
    color: #f5f5f5;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-link:focus {
    outline: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-footer {
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-availability {
    font-size: 16px;
    color: #888;
    font-weight: 300;
    line-height: 1.6;
}

/* ==============================================
   FOOTER
   ============================================== */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 80px;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.footer-content {
    font-size: 16px;
    color: #888;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* ==============================================
   ANIMATIONS
   ============================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

/* Landscape orientation optimizations for tablets */
@media (max-width: 1280px) and (orientation: landscape) {
    .hero-container {
        padding: 30px 0 15px;
    }

    .hero-content {
        gap: 30px;
    }

    .photo-container {
        width: 320px;
        height: 320px;
    }

    .projects-section,
    .showreel-section,
    .stats-container {
        padding: 50px;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
    .hero-container {
        padding: 25px 0 10px;
    }

    .photo-container {
        width: 300px;
        height: 300px;
    }
}

/* Tablet and iPad sizes - use mobile menu and centered hero layout */
@media (max-width: 1280px) {

    /* Switch to mobile menu on all tablet/iPad sizes */
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Centered hero layout for tablets */
    .hero-container {
        padding: 40px 0 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 60px;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-photo {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .photo-container {
        width: 380px;
        height: 380px;
        margin: 0 auto;
    }

    /* Center all hero text elements */
    .hero-titles {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title,
    .hero-subtitle {
        text-align: center !important;
    }

    .hero-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-specialties {
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .hero-name {
        text-align: center;
    }
}

/* Large tablet landscape and small desktop breakpoints */
@media (max-width: 1440px) and (min-width: 1366px) {

    .projects-section,
    .showreel-section,
    .stats-container {
        padding: 70px;
    }
}

@media (max-width: 1366px) and (min-width: 1280px) {

    .projects-section,
    .showreel-section,
    .stats-container {
        padding: 65px;
    }
}

@media (max-width: 1280px) {

    .projects-section,
    .showreel-section,
    .stats-container {
        padding: 60px;
    }
}

@media (max-width: 1024px) {

    .projects-section,
    .showreel-section,
    .stats-container {
        padding: 40px;
    }

    .about-container,
    .expertise-grid,
    .contact-container {
        padding: 40px 60px;
    }

    .contact-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Press section grid - explicit 2-column at 1024px */
    .press-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .projects-section#about {
        margin-top: 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .projects-grid-new {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .carousel-section {
        padding: 60px 0 120px;
    }

    .carousel-title {
        padding: 0 40px;
        margin-bottom: 50px;
        margin-top: -40px;
    }

    #other-works .carousel-title {
        margin-top: -40px;
    }

    /* Edge-to-edge Responsive - Tablet */
    .slider-container {
        margin-top: 100px;
        height: 400px;
    }

    .carousel-slide img {
        height: 240px;
    }



    .carousel-container {
        height: 530px;
        perspective: 1500px;
        margin-top: 60px;
    }

    .carousel-track {
        height: 320px;
    }

    .carousel-item {
        width: 380px;
        height: 240px;
        margin-left: -190px;
        margin-top: -120px;
    }

    .carousel-tooltip-fixed {
        top: -30px;
        max-width: 320px;
        padding: 18px 24px;
    }

    .carousel-tooltip-fixed .tooltip-title {
        font-size: 18px;
    }

    .carousel-tooltip-fixed .tooltip-description {
        font-size: 14px;
    }

    .carousel-controls {
        top: calc(100% + 10px);
        gap: 24px;
    }

    .carousel-nav-btn {
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }

    .carousel-nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .stats-container {
        padding: 30px 40px;
    }

    .showreel-section {
        padding: 30px 40px;
    }

    .nav-container {
        padding: 20px 20px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .logo {
        height: 64px !important;
        padding: 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    .logo img {
        height: 64px !important;
        max-height: 64px !important;
        max-width: none !important;
        width: auto !important;
        min-width: auto !important;
    }

    .hero-container {
        padding: 30px 0 20px;
    }

    .hero-title,
    .hero-subtitle {
        text-align: center;
    }

    .hero-specialties {
        justify-content: center;
        margin-left: 0;
    }

    .hero-content {
        padding: 0 40px;
        gap: 30px;
    }

    .hero-description {
        font-size: 18px;
        max-width: 100%;
    }

    .section-title {
        font-size: clamp(36px, 6vw, 64px);
    }

    .section-subtitle {
        font-size: 18px;
    }

    .projects-section,
    .stats-container,
    .showreel-section {
        padding: 30px;
    }

    .about-container,
    .expertise-grid,
    .contact-container {
        padding: 30px 20px;
    }

    .contact-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

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

    .projects-section#about {
        margin-top: 50px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: clamp(43px, 9.6vw, 65px);
    }

    .about-content,
    .contact-content {
        padding: 20px;
    }

    .expertise-item {
        padding: 32px;
    }

    .carousel-section {
        padding: 40px 0 100px;
    }

    .carousel-title {
        padding: 0 20px;
        margin-bottom: 30px;
        margin-top: -10px;
    }

    #other-works .carousel-title {
        margin-top: -5px;
    }

    /* Edge-to-edge Responsive - Mobile */
    .slider-container {
        margin-top: 80px;
        height: 350px;
    }

    .carousel-slide img {
        height: 200px;
    }



    .carousel-title h3 {
        font-size: clamp(28px, 6vw, 36px);
    }

    .carousel-container {
        height: 470px;
        perspective: 1200px;
        margin-top: 40px;
    }

    .carousel-track {
        height: 280px;
    }

    .carousel-item {
        width: 340px;
        height: 220px;
        margin-left: -170px;
        margin-top: -110px;
    }

    .carousel-tooltip-fixed {
        top: -30px;
        max-width: 280px;
        padding: 16px 20px;
    }

    .carousel-tooltip-fixed .tooltip-title {
        font-size: 16px;
    }

    .carousel-tooltip-fixed .tooltip-description {
        font-size: 13px;
    }

    .carousel-controls {
        top: calc(100% + 0px);
        gap: 20px;
    }

    .carousel-nav-btn {
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }

    .carousel-nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .carousel-indicators {
        padding: 10px 16px;
        gap: 8px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
        border-radius: 5px;
    }

    .footer {
        padding: 40px;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .contact-text {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .contact-label {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 15px 15px;
    }

    .logo {
        height: 64px !important;
        padding: 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    .logo img {
        height: 64px !important;
        max-height: 64px !important;
        max-width: none !important;
        width: auto !important;
        min-width: auto !important;
    }

    .mobile-menu-btn {
        width: 44px;
        /* Minimum touch target size for accessibility */
        height: 44px;
    }

    .mobile-nav-link {
        font-size: 25px;
        font-family: 'Cormorant Garamond', 'Garamond', serif;
        width: auto;
        padding: 8px 20px;
    }

    .mobile-menu {
        gap: 6px;
        padding: 20px 15px;
    }

    .hero-container {
        padding: 80px 20px 40px;
        min-height: 85vh;
    }

    .hero-content {
        padding: 0 20px;
        gap: 20px;
    }

    .photo-container {
        width: 320px;
        height: 320px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-title,
    .hero-subtitle {
        text-align: center;
    }

    .hero-specialties {
        justify-content: center;
        margin-left: -20px;
    }

    .section-title {
        font-size: clamp(28px, 6vw, 48px);
    }

    .section-subtitle {
        font-size: 16px;
    }

    .projects-section,
    .stats-container,
    .showreel-section {
        padding: 20px;
    }

    .video-controls {
        padding: 15px;
    }

    .control-buttons {
        gap: 12px;
    }

    .time-display {
        font-size: 12px;
        margin-right: 8px;
    }

    .play-button {
        width: 80px;
        height: 80px;
        font-size: 20px;
        margin: 0;
    }

    .minimal-scrub-timeline {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 10px 12px;
    }

    .scrub-progress-container {
        height: 5px;
    }

    .scrub-progress-handle {
        width: 12px;
        height: 12px;
        top: -3.5px;
    }

    .scrub-play-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .scrub-fullscreen-btn {
        width: 28px;
        height: 28px;
    }

    .scrub-fullscreen-btn svg {
        width: 14px;
        height: 14px;
    }

    .scrub-controls {
        gap: 10px;
    }

    .about-container,
    .expertise-grid,
    .contact-container {
        padding: 60px 20px 25px;
    }

    .projects-section#about {
        margin-top: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: clamp(34px, 12vw, 43px);
    }

    .about-content,
    .contact-content {
        padding: 30px;
    }

    .about-intro {
        font-size: 18px;
    }

    .about-paragraph {
        font-size: 16px;
    }

    .contact-intro {
        font-size: 18px;
    }

    .expertise-title {
        font-size: 20px;
    }

    .expertise-list {
        font-size: 14px;
    }

    .expertise-item {
        padding: 30px;
    }

    .carousel-section {
        padding: 30px 0 80px;
    }

    .carousel-title {
        padding: 0 20px;
        margin-bottom: 30px;
        margin-top: -10px;
    }

    #other-works .carousel-title {
        margin-top: -5px;
    }

    /* Edge-to-edge Responsive - Small Mobile */
    .slider-container {
        margin-top: 60px;
        height: 300px;
    }

    .carousel-slide img {
        height: 180px;
    }



    .carousel-title h3 {
        font-size: clamp(24px, 8vw, 32px);
    }

    .carousel-container {
        height: 530px;
        perspective: 1000px;
        margin-top: 30px;
    }

    .carousel-track {
        height: 350px;
    }

    .carousel-item {
        width: 340px;
        height: 220px;
        margin-left: -170px;
        margin-top: -110px;
    }

    .carousel-tooltip-fixed {
        top: -30px;
        max-width: 240px;
        padding: 12px 16px;
    }

    .carousel-tooltip-fixed .tooltip-title {
        font-size: 14px;
    }

    .carousel-tooltip-fixed .tooltip-description {
        font-size: 12px;
    }

    .carousel-controls {
        top: calc(100% - 10px);
        gap: 16px;
    }

    .carousel-nav-btn {
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }

    .carousel-nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .carousel-indicators {
        padding: 10px 16px;
        gap: 8px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
        border-radius: 5px;
    }
}

/* iPhone Specific Optimizations */
@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3),
only screen and (device-width : 414px) and (device-height : 896px) and (-webkit-device-pixel-ratio : 2),
only screen and (device-width : 414px) and (device-height : 896px) and (-webkit-device-pixel-ratio : 3),
only screen and (device-width : 390px) and (device-height : 844px) and (-webkit-device-pixel-ratio : 3),
only screen and (device-width : 428px) and (device-height : 926px) and (-webkit-device-pixel-ratio : 3) {

    .nav-container {
        padding: 12px 20px;
        backdrop-filter: blur(30px);
    }

    .hero-container {
        padding: 100px 20px 40px;
        min-height: 100vh;
    }

    .hero-content {
        gap: 30px;
        padding: 0;
    }

    .hero-name {
        font-size: clamp(36px, 12vw, 56px);
        line-height: 1.1;
    }

    .hero-title {
        font-size: 18px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.7;
        max-width: 100%;
    }

    .photo-container {
        width: 280px;
        height: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 0 10px;
    }

    .stat-number {
        font-size: clamp(32px, 10vw, 40px);
    }

    .section-title {
        font-size: clamp(32px, 6vw, 48px);
    }

    .carousel-container {
        height: 320px;
        padding: 0 10px;
    }

    .carousel-item {
        width: 280px;
        height: 180px;
        margin-left: -140px;
        margin-top: -90px;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
    }

    .carousel-title h3 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .carousel-tooltip-fixed {
        max-width: 200px;
        padding: 10px 14px;
        top: 10px;
    }

    .carousel-tooltip-fixed .tooltip-title {
        font-size: 13px;
    }

    .carousel-tooltip-fixed .tooltip-description {
        font-size: 11px;
    }
}

/* iPhone X and newer with safe area support */
@supports (padding: max(0px)) {
    .nav-container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .hero-container,
    .projects-section,
    .stats-container,
    .showreel-section,
    .about-container,
    .expertise-grid,
    .contact-container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* ==============================================
   PROJECT DETAIL MODAL - PREMIUM LAYOUT MATCHING REFERENCE
   ============================================== */

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    cursor: pointer;
}

.modal-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    transition: background 0.3s ease;
}

.modal-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    transition: background 0.3s ease;
}

.modal-overlay:hover::before {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05), transparent);
}

.modal-overlay:hover::after {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.05), transparent);
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    width: 95vw;
    max-width: 1600px;
    height: 90vh;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px !important;
    overflow: hidden;
    transform: scale(0.95) translateY(60px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 55% 45%;
    grid-template-rows: 1fr;
    grid-template-areas: "text images";
}

.project-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

/* CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    outline: none !important;
    /* Remove duplicate outline, keep border only */
}

.modal-close:focus,
.modal-close:focus-visible {
    outline: none !important;
    /* Remove focus outline */
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Use border for focus indication */
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.modal-close svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Modal Navigation Arrows */
.modal-nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1001;
    height: 0;
}

.modal-nav-arrow {
    position: absolute;
    top: -60px;
    /* Adjusted for 50% larger size (was -40px) */
    width: 75px;
    /* Increased by 50% (was 50px) */
    height: 120px;
    /* Increased by 50% (was 80px) */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.modal-nav-left {
    left: 15px;
}

.modal-nav-right {
    right: 15px;
}

.modal-nav-arrow:hover {
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.2);
}

.modal-nav-arrow svg {
    width: 27px;
    /* Increased by 50% (was 18px) */
    height: 27px;
    /* Increased by 50% (was 18px) */
    stroke: #ffffff;
    stroke-width: 1.5;
}

/* LEFT SIDE - TEXT CONTENT */
.modal-text {
    grid-area: text;
    padding: 24px 32px 24px 32px;
    color: #ffffff;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal-header {
    margin-bottom: 12px;
}

.modal-logo {
    display: none;
}

.modal-logo::before,
.modal-logo::after {
    display: none !important;
}

.modal-logo img {
    height: 40px;
    width: auto;
    /* filter: brightness(0) invert(1); REMOVED to allow original PNG */
    filter: none !important;
    background: transparent !important;
    background-color: transparent !important;
    mix-blend-mode: normal !important;
    box-shadow: none !important;
    border: none !important;
}

/* ===== PROJECT MODAL TYPOGRAPHY HIERARCHY (Apple-inspired) ===== */
/* 
 * STANDARDIZED TYPOGRAPHY SYSTEM - Applied consistently across all project pages
 * Based on Apple's design principles: clarity, hierarchy, readability
 * 
 * HIERARCHY LEVELS:
 * Level 1: Primary Title (36-56px) - Largest, most prominent, serif
 * Level 2: Subtitle (14px) & Stats Numbers (32-48px) - Secondary prominence
 * Level 3: Body Text (20px) & Metadata Values (18px) - Main readable content
 * Level 4: Labels (11px) & Tags (13px) - Supporting information
 * Level 5: Footer (13px) - Least prominent
 * 
 * PRINCIPLES:
 * - Minimum 16px for body text (Apple standard)
 * - Line-height: 1.15-1.2 for headings, 1.6-1.7 for body
 * - High contrast colors (#ffffff for primary, #e0e0e0 for body)
 * - Consistent spacing: 24px between major sections
 * - Proportional scaling across breakpoints maintaining hierarchy
 */

.modal-title-section {
    margin-bottom: 12px;
}

.modal-title-section h2 {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(30px, 4vw, 48px);
    /* Reduced overall size */
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 6px 0;
    /* Tighter spacing to subtitle */
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    font-size: 13px;
    /* Reduced slightly */
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    margin-bottom: 16px;
    /* Less space before body content */
    font-weight: 500;
    line-height: 1.35;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.modal-description {
    font-size: 18px;
    /* Reduced for better fit */
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
    max-width: 800px;
}

.modal-description p {
    margin: 0 0 10px 0;
}

.modal-description p:last-child {
    margin-bottom: 0;
}

.modal-description ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    /* Slightly reduced spacing */
}

.modal-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal-description li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    /* Match body text size */
}

/* Read More Button Styles */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.read-more-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.read-more-btn.expanded .read-more-icon {
    transform: rotate(180deg);
}

.description-hidden {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Compact spacing between label and value */
}

.modal-detail-label {
    font-size: 10px;
    /* Compact label size */
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 500;
    line-height: 1.3;
}

.modal-detail-value {
    font-size: 16px;
    /* Compact value size */
    color: #ffffff;
    font-weight: 400;
    line-height: 1.4;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-stat {
    text-align: left;
}

.modal-stat-number {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(24px, 3vw, 32px);
    /* More compact - reduced from 32-48px */
    font-weight: 500;
    color: #ffffff;
    display: block;
    line-height: 1.1;
    margin-bottom: 4px;
    /* Compact spacing */
    letter-spacing: -0.02em;
}

.modal-stat-label {
    font-size: 10px;
    /* More compact - matches detail labels */
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    /* Matches detail labels */
    font-weight: 500;
    line-height: 1.3;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    /* Slightly increased gap */
    margin-top: auto;
}

.modal-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    /* Higher contrast */
    padding: 10px 18px;
    /* Slightly larger padding */
    border-radius: 14px;
    font-size: 13px;
    /* Level 4: Tags - Slightly larger for readability */
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Slightly more visible */
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.modal-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Modal Videos */
.modal-videos {
    margin: 0;
}

.modal-video-item {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-video-item:last-child {
    margin-bottom: 0;
}

.modal-video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-footer {
    margin-top: auto;
    padding-top: 24px;
    /* Increased spacing */
    color: #888;
    /* Slightly brighter */
    font-size: 13px;
    /* Level 5: Footer - Small but readable */
    font-weight: 400;
    line-height: 1.5;
}

/* RIGHT SIDE - IMAGE GRID */
.modal-images {
    grid-area: images;
    position: relative;
    background: #000;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 2px;
}

.modal-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    /* Hide carousel for grid layout */
}

/* Image grid items */
.modal-image-grid {
    display: contents;
}

.modal-grid-item {
    position: relative;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.modal-grid-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.modal-grid-item:hover::after {
    left: 100%;
}

.modal-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel fallback for single images */
.modal-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-carousel-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.modal-carousel-slide.active {
    opacity: 1;
}

.modal-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* CAROUSEL NAVIGATION (hidden for grid layout) */
.modal-carousel-nav {
    display: none;
}

.modal-indicators {
    display: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .modal-content {
        width: 90vw;
        grid-template-columns: 52% 48%;
    }

    .modal-text {
        padding: 50px 40px 50px 50px;
    }
}

@media (max-width: 1024px) {
    .modal-container {
        padding: 20px 16px;
    }

    .modal-content {
        width: 95vw;
        height: 90vh;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 50%;
        grid-template-areas: "text" "images";
    }

    .modal-images {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .modal-text {
        padding: 32px 32px 40px;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .modal-details {
        grid-template-columns: repeat(4, 1fr);
        /* Maintain 4-column grid on tablet */
        gap: 12px;
        /* Slightly reduced gap */
    }

    .modal-stats {
        grid-template-columns: repeat(4, 1fr);
        /* Maintain 4-column grid - matches details */
        gap: 12px;
        /* Same gap as details */
    }
}

/* Tablet Large (1024px - 1200px) - 3-column grid transition */
@media (max-width: 1200px) and (min-width: 1024px) {
    .modal-content {
        width: 95vw;
        height: 95vh;
        grid-template-rows: 1fr 45%;
        grid-template-areas: "text" "images";
    }

    .modal-text {
        padding: 32px 32px 40px;
    }

    .modal-title-section h2 {
        font-size: clamp(32px, 4vw, 48px);
    }

    .modal-subtitle {
        font-size: 13px;
    }

    .modal-description {
        font-size: 18px;
        line-height: 1.7;
    }

    .modal-detail-label {
        font-size: 10px;
    }

    .modal-detail-value {
        font-size: 16px;
    }

    .modal-stat-number {
        font-size: clamp(22px, 2.8vw, 28px);
    }

    .modal-stat-label {
        font-size: 10px;
    }

    .modal-tag {
        font-size: 12px;
    }

    .modal-details {
        grid-template-columns: repeat(3, 1fr);
        /* 3-column grid transition */
        gap: 16px;
    }

    .modal-stats {
        grid-template-columns: repeat(3, 1fr);
        /* 3-column grid transition */
        gap: 16px;
    }

    .modal-images {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 3px;
    }

    .modal-grid-item {
        aspect-ratio: 16/9;
    }
}

/* Tablet (768px - 1024px) - 2-column grid */
@media (max-width: 1024px) and (min-width: 768px) {
    .modal-content {
        width: 95vw;
        height: 95vh;
        grid-template-rows: 1fr 45%;
        grid-template-areas: "text" "images";
    }

    .modal-text {
        padding: 32px 32px 40px;
    }

    .modal-title-section h2 {
        font-size: clamp(32px, 4vw, 48px);
    }

    .modal-subtitle {
        font-size: 13px;
    }

    .modal-description {
        font-size: 18px;
        line-height: 1.7;
    }

    .modal-detail-label {
        font-size: 10px;
    }

    .modal-detail-value {
        font-size: 16px;
    }

    .modal-stat-number {
        font-size: clamp(22px, 2.8vw, 28px);
    }

    .modal-stat-label {
        font-size: 10px;
    }

    .modal-tag {
        font-size: 12px;
    }

    .modal-details {
        grid-template-columns: repeat(2, 1fr);
        /* 2-column grid */
        gap: 16px;
    }

    .modal-stats {
        grid-template-columns: repeat(2, 1fr);
        /* 2-column grid */
        gap: 16px;
    }

    .modal-images {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 3px;
    }

    .modal-grid-item {
        aspect-ratio: 16/9;
    }
}

/* Mobile (480px - 768px) - Single column grid */
@media (max-width: 768px) and (min-width: 480px) {
    .modal-content {
        width: 98vw;
        height: 98vh;
        grid-template-rows: 1fr 50%;
        grid-template-areas: "text" "images";
    }

    .modal-text {
        padding: 24px 24px 32px;
        overflow-y: auto;
    }

    .modal-title-section h2 {
        font-size: clamp(28px, 5vw, 40px);
        /* Maintain hierarchy - proportional scaling */
    }

    .modal-subtitle {
        font-size: 12px;
        /* Proportional to desktop */
    }

    .modal-description {
        font-size: 17px;
        /* Maintain readability */
        line-height: 1.7;
    }

    .modal-detail-label {
        font-size: 10px;
        /* Proportional scaling */
    }

    .modal-detail-value {
        font-size: 15px;
        /* Maintain readability */
    }

    .modal-stat-number {
        font-size: clamp(20px, 3.5vw, 26px);
        /* More compact - proportional to desktop */
    }

    .modal-stat-label {
        font-size: 10px;
        /* Matches desktop */
    }

    .modal-tag {
        font-size: 12px;
        /* Proportional scaling */
    }

    .modal-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .modal-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .modal-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .modal-close svg {
        width: 16px;
        height: 16px;
    }

    .modal-images {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
        gap: 4px;
        overflow-y: auto;
        padding: 8px;
    }

    .modal-grid-item {
        aspect-ratio: 16/9;
        min-height: 120px;
    }
}

/* Small Mobile (320px - 480px) - Optimized for latest iPhones */
@media (max-width: 480px) {
    .modal-container {
        padding: 0;
    }

    .modal-content {
        width: 100vw;
        height: 100vh;
        border-radius: 24px;
        grid-template-rows: 1fr 55%;
        grid-template-areas: "text" "images";
    }

    .modal-text {
        padding: 20px 20px 28px;
        overflow-y: auto;
    }

    .modal-title-section h2 {
        font-size: clamp(24px, 6vw, 32px);
        /* Maintain hierarchy - proportional scaling */
    }

    .modal-subtitle {
        font-size: 11px;
        /* Proportional to desktop */
    }

    .modal-description {
        font-size: 16px;
        /* Minimum readable size (Apple standard) */
        line-height: 1.6;
    }

    .modal-detail-label {
        font-size: 9px;
        /* Proportional scaling - still readable */
    }

    .modal-detail-value {
        font-size: 14px;
        /* Maintain readability */
    }

    .modal-stat-number {
        font-size: clamp(18px, 4vw, 24px);
        /* More compact - proportional to desktop */
    }

    .modal-stat-label {
        font-size: 9px;
        /* Slightly smaller for very small screens */
    }

    .modal-tag {
        font-size: 11px;
        /* Proportional scaling */
    }

    .modal-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modal-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: left;
    }

    .modal-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .modal-close {
        top: 6px;
        right: 2px;
        width: 36px;
        height: 36px;
    }

    .modal-close svg {
        width: 14px;
        height: 14px;
    }
    
    /* iPhone 16 Pro Max and similar large phones - perfect corner alignment */
    @supports (-webkit-touch-callout: none) {
        .modal-close {
            top: 6px;
            right: 2px;
        }
    }

    .modal-images {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
        gap: 3px;
        overflow-y: auto;
        padding: 6px;
    }

    .modal-grid-item {
        aspect-ratio: 16/9;
        min-height: 100px;
    }
}

/* IMAGE LIGHTBOX */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.lightbox-content {
    position: relative;
    width: 65vw;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    display: none !important;
    /* Hidden - click outside image to close */
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 15001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .lightbox-container {
        padding: 40px 20px;
    }

    .lightbox-content {
        width: 85vw;
        height: 65vh;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .lightbox-close svg {
        width: 16px;
        height: 16px;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-nav svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        width: 90vw;
        height: 60vh;
    }

    .lightbox-container {
        padding: 30px 15px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* ==============================================
   SLICK HYBRID - FULL WIDTH CENTER MODE + INFO
   ============================================== */

/* These styles are now handled by the scoped #other-works rules above */

/* Disable legacy radial pulse on the hero portrait to keep a single wave */
.hero-photo .photo-container:hover::before {
    animation: none !important;
    opacity: 0 !important;
}

/* Remove static conic glow so only the moving crescent is visible */
/* (previous .portrait-shine::after and hover opacity are intentionally omitted) */

/* ==============================================
   CLIENTS SECTION
   ============================================== */

/* Section-specific scroll margins for consistent title positioning */
/* Target: All titles should appear at ~140px from viewport top (80px nav + 60px breathing room) */
/* Formula: scroll-margin-top = 140px - section-padding-top */

#home {
    scroll-margin-top: 0;
}

/* Clients: 40px top padding, so 140px - 40px = 100px */
/* When clicking "Clients" nav link, scrolls to show "Trusted by Global Leaders" title 
   positioned with consistent breathing room below the navigation bar */
#clients {
    scroll-margin-top: 100px;
}

/* Showreel: 50px top padding, so 140px - 50px = 90px */
#showreel {
    scroll-margin-top: 90px;
}

/* Projects: 20px top padding, so 140px - 20px = 120px */
#projects {
    scroll-margin-top: 120px;
}

/* Other-works: 80px top padding - 40px carousel-title margin = 40px effective, so 140px - 40px = 100px */
#other-works {
    scroll-margin-top: 100px;
}

/* About/Press/Expertise/Contact: All use projects-section with 20px top padding, so 120px */
#about {
    scroll-margin-top: 120px;
}

#press {
    scroll-margin-top: 120px;
}

#expertise {
    scroll-margin-top: 120px;
}

#contact {
    scroll-margin-top: 120px;
}

/* Responsive scroll margins for mobile - maintain consistent title positioning */
/* Tablet target: ~100px from top (60px nav + 40px breathing room) */
@media (max-width: 768px) {

    /* Clients: 100px top padding (tablet), so 100px - 100px = 0px, but need breathing room, so 20px */
    #clients {
        scroll-margin-top: 20px;
    }

    /* Showreel: 30px top padding, so 100px - 30px = 70px */
    #showreel {
        scroll-margin-top: 70px;
    }

    /* Projects: 20px top padding, so 100px - 20px = 80px */
    #projects {
        scroll-margin-top: 80px;
    }

    /* Other-works: 40px top padding - 40px margin = 0px effective, so 100px - 0px = 100px, but adjust for breathing room */
    #other-works {
        scroll-margin-top: 80px;
    }

    /* About/Press/Expertise/Contact: 20px top padding, so 80px */
    #about,
    #press,
    #expertise,
    #contact {
        scroll-margin-top: 80px;
    }
}

/* Mobile target: ~90px from top (50px nav + 40px breathing room) */
@media (max-width: 480px) {

    /* Clients: 80px top padding (mobile), so 90px - 80px = 10px, but need breathing room */
    #clients {
        scroll-margin-top: 20px;
    }

    /* Showreel: 30px top padding, so 90px - 30px = 60px */
    #showreel {
        scroll-margin-top: 60px;
    }

    /* Projects: 20px top padding, so 90px - 20px = 70px */
    #projects {
        scroll-margin-top: 70px;
    }

    /* Other-works: 30px top padding - 40px margin = -10px effective, so adjust */
    #other-works {
        scroll-margin-top: 70px;
    }

    /* About/Press/Expertise/Contact: 20px top padding, so 70px */
    #about,
    #press,
    #expertise,
    #contact {
        scroll-margin-top: 70px;
    }
}

.clients-section {
    padding: 40px 80px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.clients-section .section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.clients-section .section-title {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.clients-section .section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* Ensure text wrapping on mobile for clients subtitle */
@media (max-width: 768px) {
    .clients-section .section-subtitle {
        max-width: 100% !important;
        padding: 0 20px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px 20px;
    max-width: 1400px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.client-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    height: 150px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.client-logo:hover::before {
    opacity: 1;
}

.client-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.7s;
    pointer-events: none;
    z-index: 1;
}

.client-logo:hover::after {
    left: 100%;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.client-logo img {
    max-width: 240px;
    max-height: 120px;
    width: auto;
    height: auto;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

/* Larger logos for specific clients */
.client-logo[data-client="immersive"] img {
    max-width: 330px;
    max-height: 165px;
}

.client-logo[data-client="cape-town"] img {
    max-width: 300px;
    max-height: 150px;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}


.clients-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.clients-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-weight: 300;
}

.clients-button {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.clients-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.clients-button:hover::before {
    left: 100%;
}

.clients-disclaimer {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 40px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.clients-button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Clients Section */
@media (max-width: 1024px) {
    .clients-section {
        padding: 100px 60px 80px;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px 20px;
    }

    .client-logo {
        padding: 20px;
        height: 130px;
    }

    .client-logo img {
        max-width: 192px;
        max-height: 96px;
    }

    /* Larger logos for specific clients - tablet */
    .client-logo[data-client="immersive"] img {
        max-width: 264px;
        max-height: 132px;
    }

    .client-logo[data-client="cape-town"] img {
        max-width: 240px;
        max-height: 120px;
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 80px 40px 60px;
    }

    .clients-section .section-header {
        margin-bottom: 60px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 20px;
        margin-bottom: 60px;
    }

    .client-logo {
        padding: 25px;
        height: 120px;
    }

    .client-logo img {
        max-width: 144px;
        max-height: 72px;
    }

    /* Larger logos for specific clients - mobile */
    .client-logo[data-client="immersive"] img {
        max-width: 198px;
        max-height: 99px;
    }

    .client-logo[data-client="cape-town"] img {
        max-width: 180px;
        max-height: 90px;
    }

}

@media (max-width: 480px) {
    .clients-section {
        padding: 60px 20px 40px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }

    .client-logo {
        padding: 20px;
        height: 100px;
    }

    .client-logo img {
        max-width: 96px;
        max-height: 48px;
    }

    /* Larger logos for specific clients - small mobile */
    .client-logo[data-client="immersive"] img {
        max-width: 132px;
        max-height: 66px;
    }

    .client-logo[data-client="cape-town"] img {
        max-width: 120px;
        max-height: 60px;
    }

    .clients-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Animation for client logos - disabled to prevent conflict with hover effects */
/* 
@keyframes clientLogoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.client-logo {
    animation: clientLogoFloat 6s ease-in-out infinite;
}

.client-logo:nth-child(2) {
    animation-delay: 0.5s;
}

.client-logo:nth-child(3) {
    animation-delay: 1s;
}

.client-logo:nth-child(4) {
    animation-delay: 1.5s;
}

.client-logo:nth-child(5) {
    animation-delay: 2s;
}

.client-logo:nth-child(6) {
    animation-delay: 2.5s;
}

.client-logo:nth-child(7) {
    animation-delay: 3s;
}

.client-logo:nth-child(8) {
    animation-delay: 3.5s;
}
*/

/* ==============================================
   PRESS SECTION
   ============================================== */

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.press-item {
    background: rgba(255, 255, 255, 0.008);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.0575);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.press-featured {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.008);
    position: relative;
}

.press-featured::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
}

.press-featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.press-featured:hover::after {
    opacity: 1;
}

.press-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.press-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.press-item:hover::before {
    opacity: 1;
}

/* Apply sine wave glint effect to press items */
.press-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s;
    pointer-events: none;
    z-index: 2;
}

.press-item:hover::after {
    left: 100%;
}

.press-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 8px;
}

.press-meta {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
}

.press-logo {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.press-project-tag {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-bottom: 12px;
    display: inline-block;
    width: fit-content;
}

.press-publication {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.press-item:hover .press-project-tag {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.press-featured-indicator {
    position: absolute;
    top: 32px;
    right: 32px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.press-featured:hover .press-featured-indicator {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.press-title {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.3;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.press-excerpt {
    font-size: 17px;
    line-height: 1.6;
    color: #b3b3b3;
    margin-bottom: 32px;
    font-weight: 300;
}

.press-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.press-button {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

.press-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Press Logo Styling */
.press-logo-link {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 90px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 5;
}

.press-logo-link:hover {
    transform: scale(1.05);
}

.press-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    /* Full color */
    transition: transform 0.3s ease;
}

.press-item:hover .press-logo-img {
    filter: grayscale(0%) brightness(1);
    /* Reveal original brand colors on hover */
}

/* Remove old logo styles */
.press-logo {
    display: none;
}

/* ==============================================
   HERO SECTION RESPONSIVE DESIGN
   ============================================== */

/* Medium screens (iPad and down) - Center text and tags */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
        padding: 0 40px;
        text-align: center;
    }

    .photo-container {
        width: 350px !important;
        height: 350px !important;
        margin: 0 auto !important;
    }

    .hero-name {
        font-size: clamp(32px, 6vw, 60px) !important;
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    .hero-titles {
        font-size: clamp(13px, 2.5vw, 16px) !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .hero-description {
        font-size: clamp(15px, 2.8vw, 18px) !important;
        max-width: 100% !important;
        text-align: center !important;
        margin: 0 auto 25px !important;
        line-height: 1.6 !important;
    }

    .hero-specialties {
        justify-content: center !important;
        gap: 10px !important;
        margin-top: 0 !important;
    }

    .hero-specialty-pill {
        font-size: clamp(11px, 2vw, 14px) !important;
        padding: 6px 12px !important;
    }

    /* Center client logos for medium screens */
    .clients-grid {
        justify-content: center;
    }
}

/* Mobile screens - Further adjustments */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 20px !important;
        gap: 50px !important;
    }

    .photo-container {
        width: 320px !important;
        height: 320px !important;
    }

    .hero-name {
        font-size: clamp(56px, 10vw, 72px) !important;
        margin-bottom: 25px !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .hero-titles {
        font-size: clamp(14px, 3.5vw, 16px) !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .hero-description {
        font-size: clamp(16px, 3.8vw, 18px) !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }

    .hero-specialties {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 0 !important;
    }

    .hero-specialty-pill {
        font-size: clamp(12px, 3vw, 14px) !important;
        padding: 10px 16px !important;
        width: fit-content !important;
        text-align: center !important;
    }
}

/* ==============================================
   APPLE-INSPIRED MOBILE GALLERY - GOLD STANDARD DESIGN
   ============================================== */

/* Mobile gallery - COMPLETELY HIDDEN on desktop */
.mobile-gallery,
.mobile-gallery-image,
.mobile-gallery-dots,
.mobile-gallery-dot,
.mobile-gallery-info {
    display: none !important;
}

/* Show mobile gallery ONLY on mobile devices */
@media (max-width: 768px) {

    /* Hide the problematic carousel completely */
    #other-works .slick-highlights,
    #other-works .slick-list,
    #other-works .slick-track {
        display: none !important;
    }

    /* Apple-style section spacing */
    #other-works {
        padding: 16px 20px 24px 20px !important;
        overflow: hidden !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0) 100%) !important;
    }

    /* Apple-inspired gallery container */
    .mobile-gallery {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 280px !important;
        overflow: hidden !important;
        border-radius: 16px !important;
        margin-bottom: 20px !important;
        background: #000 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    /* Apple-style image transitions */
    .mobile-gallery-image {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 0 !important;
        transition: opacity 0.6s ease !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    .mobile-gallery-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        filter: brightness(1.02) contrast(1.05) !important;
    }

    .mobile-gallery-image.active {
        opacity: 1 !important;
        z-index: 2 !important;
        transform: scale(1.02) !important;
    }

    /* Mobile gallery dots - FORCE VISIBILITY */
    .mobile-gallery-dots {
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 16px !important;
        z-index: 10 !important;
        position: relative !important;
        padding: 8px 16px !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border-radius: 20px !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        min-height: 26px !important;
        /* Debug: ensure visibility */
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mobile-gallery-dot {
        display: block !important;
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.4) !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        touch-action: manipulation !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }

    .mobile-gallery-dot.active {
        background: rgba(255, 255, 255, 1) !important;
        transform: scale(1.3) !important;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.6) !important;
    }

    .mobile-gallery-dot:hover {
        background: rgba(255, 255, 255, 0.8) !important;
        transform: scale(1.1) !important;
    }

    .mobile-gallery-dot:active {
        transform: scale(0.95) !important;
        transition: transform 0.1s ease !important;
    }

    /* Mobile gallery info block below dots - matches site styling */
    .mobile-gallery-info {
        display: block !important;
        background: rgba(0, 0, 0, 0.9) !important;
        color: white !important;
        padding: 24px !important;
        margin-top: 20px !important;
        border-radius: 20px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(20px) !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        text-align: center !important;
    }

    .mobile-gallery-info h3 {
        font-family: 'Cormorant Garamond', 'Garamond', serif !important;
        font-size: 24px !important;
        font-weight: 500 !important;
        margin: 0 0 16px 0 !important;
        color: white !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        text-align: center !important;
    }

    .mobile-gallery-info p {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        font-weight: 400 !important;
        text-align: center !important;
        letter-spacing: 0.01em !important;
    }

    /* Apple-style section title - UNIFORM MOBILE TYPOGRAPHY */
    #other-works h2 {
        font-family: 'Cormorant Garamond', 'Garamond', serif !important;
        font-size: 32px !important;
        font-weight: 500 !important;
        text-align: center !important;
        margin-bottom: 12px !important;
        color: #1d1d1f !important;
        letter-spacing: -0.01em !important;
        line-height: 1.2 !important;
    }

    /* Apple-style subtitle - UNIFORM MOBILE TYPOGRAPHY */
    #other-works p {
        font-size: 18px !important;
        line-height: 1.4 !important;
        text-align: center !important;
        margin-bottom: 0 !important;
        color: #86868b !important;
        font-weight: 400 !important;
        letter-spacing: 0.01em !important;
    }
}

/* ============================================== 
   STATS SECTION - CRITICAL OVERRIDES
   ============================================== */

/* Small caps for M and BN - FORCED */
.stats-container .stat-number .stat-unit {
    font-size: 0.65em !important;
    letter-spacing: 0.02em !important;
}

/* Dividers between stats - FORCED */
.stats-container .stat-item:not(:last-child)::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 1px !important;
    height: 60% !important;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 100%) !important;
}

/* ==============================================
   MOBILE UNIFORM WIDTH OVERRIDE - HIGHEST PRIORITY
   All bordered containers MUST match exactly
   Added: 2025-11-29 - FINAL FIX
   ============================================== */

@media (max-width: 768px) {
    
    /* MASTER WIDTH RULE - All sections get same padding */
    html body .projects-section,
    html body #about,
    html body #press,
    html body #expertise,
    html body #contact {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* STATS CONTAINER - Full width, no centering */
    html body .stats-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 30px 20px !important;
        box-sizing: border-box !important;
    }
    
    /* ABOUT CONTENT - Reference bordered box */
    html body .about-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    html body .about-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 28px 24px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* PRESS GRID - Full width */
    html body .press-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* PRESS ITEM - Same width as about-content */
    html body .press-item {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 20px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* EXPERTISE GRID - Full width */
    html body .expertise-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* EXPERTISE ITEM - Same width as about-content */
    html body .expertise-item {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 20px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* CONTACT CONTAINER - Full width */
    html body .contact-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* CONTACT CONTENT - Same width as about-content */
    html body .contact-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 20px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* CONTACT GRID - Full width, centered items */
    html body .contact-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    /* CONTACT ITEM - Centered content */
    html body .contact-item {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    html body .contact-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
}

/* Small caps "at" prefix for company name */
.at-prefix {
    font-variant: small-caps;
    text-transform: none;
}