/* Shared styles for static project pages. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');

@font-face {
            font-family: 'BehindTheNineties';
            src: url('Brand Assets/Fonts/Behind the Nineties/Behind-The-Nineties-Rg.woff2') format('woff2');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'BehindTheNineties';
            src: url('Brand Assets/Fonts/Behind the Nineties/Behind-The-Nineties-It.woff2') format('woff2');
            font-weight: 400;
            font-style: italic;
            font-display: swap;
        }

        @font-face {
            font-family: 'BehindTheNineties';
            src: url('Brand Assets/Fonts/Behind the Nineties/Behind-The-Nineties-Md.woff2') format('woff2');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'BehindTheNineties';
            src: url('Brand Assets/Fonts/Behind the Nineties/Behind-The-Nineties-Xbd-It.woff2') format('woff2');
            font-weight: 800;
            font-style: italic;
            font-display: block;
        }

        @font-face {
            font-family: 'Grift';
            src: url('Brand Assets/Fonts/Grift/Grift-Black.woff2') format('woff2');
            font-weight: 900;
            font-style: normal;
            font-display: swap;
        }

        :root {
            --burgundy: #610023;
            --olive: #6D6400;
            --pink: #EDABC1;
            --cream: #FFE5CF;
            --coral: #F19061;
            --sage: #c5c199;
            --shadow: 0 12px 16px -8px rgba(0, 0, 0, 0.18), 0 6px 8px -4px rgba(0, 0, 0, 0.10);
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: auto;
            overflow-x: hidden;
            background-color: var(--pink);
        }

        body {
            font-family: 'Montserrat', sans-serif;
            line-height: 1.5;
            background-color: var(--cream);
            color: var(--burgundy);
            overflow-x: hidden;
            position: relative;
            z-index: 0;
            padding-top: 80px;
        }

        img {
            display: block;
            max-width: 100%;
        }

        /* ── Navigation ── */

        .site-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background-color: var(--burgundy);
            height: 80px;
            padding: 0 10%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: transform 0.4s ease;
        }

        .site-nav.nav-hidden {
            transform: translateY(-100%);
        }

        .nav-logo img {
            height: 45px;
            width: auto;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .nav-links {
            list-style: none;
            display: flex;
            align-items: center;
            gap: 34px;
        }

        .nav-links a {
            font-family: 'Grift', sans-serif;
            font-weight: 900;
            font-size: 17px;
            letter-spacing: -0.36px;
            color: var(--cream);
            text-decoration: none;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 50%;
            width: 0;
            height: 2px;
            background-color: var(--coral);
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after { width: 100%; }

        .btn-nav {
            background-color: var(--pink);
            color: var(--burgundy);
            font-family: 'BehindTheNineties', serif;
            font-weight: 500;
            font-style: normal;
            font-size: 27px;
            letter-spacing: -0.36px;
            padding: 13px 30px;
            border-radius: 8px;
            text-decoration: none;
            display: inline-block;
            line-height: 1;
            width: 216px;
            text-align: center;
            white-space: nowrap;
            transition: background-color 0.2s ease, transform 0.4s cubic-bezier(0.34, 1.8, 0.64, 1);
        }

        .btn-nav:hover {
            background-color: var(--coral);
            transform: scale(1.02);
        }

        /* ── Burger button — hidden on desktop ── */

        .burger-btn {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            background: transparent !important;
            border: none;
            cursor: pointer;
            padding: 4px;
            -webkit-appearance: none;
            appearance: none;
            -webkit-tap-highlight-color: transparent;
            outline: none;
            transform: none !important;
            transition: none !important;
        }

        .burger-btn:focus,
        .burger-btn:active,
        .burger-btn:focus-visible {
            background: transparent !important;
            outline: none;
            box-shadow: none;
        }

        .burger-btn span {
            display: block;
            width: 24px;
            height: 2.5px;
            background-color: var(--pink);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .burger-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
        .burger-btn.open span:nth-child(2) { opacity: 0; }
        .burger-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

        /* ── Mobile menu ── */

        .mobile-menu {
            position: fixed;
            inset: 0;
            background-color: var(--burgundy);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center center;
            display: none;
            flex-direction: column;
            align-items: center;
            overflow-y: auto;
            transform: translateY(-100%);
            transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
            z-index: 99;
        }

        .mobile-menu.open { transform: translateY(0); }

        .mobile-menu-logo {
            padding: 52px 10% 0;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            width: 100%;
        }

        .mobile-menu-logo img {
            height: 45px;
            width: auto;
        }

        .mobile-menu-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 0 10%;
            gap: 56px;
        }

        .mobile-nav-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            width: 100%;
            text-align: center;
        }

        .mobile-nav-links a {
            font-family: 'Grift', sans-serif;
            font-weight: 900;
            font-size: clamp(1.9rem, 4vw, 2.6rem);
            letter-spacing: -0.36px;
            color: var(--cream);
            text-decoration: none;
            line-height: 1.3;
            position: relative;
            transition: color 0.2s ease;
        }

        .mobile-nav-links a::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 50%;
            width: 0;
            height: 2px;
            background-color: var(--coral);
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

        .mobile-nav-links a:hover { color: var(--coral); }
        .mobile-nav-links a:hover::after { width: 100%; }

        .mobile-menu .btn-nav {
            display: inline-block;
        }

        .mobile-menu-socials {
            display: flex;
            gap: 20px;
            align-items: center;
            justify-content: center;
            padding: 0 10% 48px;
            flex-shrink: 0;
            width: 100%;
        }

        .mobile-menu-socials img {
            height: 26px;
            width: auto;
            opacity: 0.85;
            transition: opacity 0.2s ease;
        }

        .mobile-menu-socials a:hover img {
            opacity: 1;
        }

        @media (max-width: 1024px) {
            .mobile-menu { background-image: url('Brand Assets/Patterns/Burger Menu Pattern MOBILE.webp'); }
            .mobile-menu-logo { display: none; }
        }

        /* ── Floating burger — desktop, appears when scrolled ── */

        .floating-burger {
            display: none;
            position: fixed;
            top: 20px;
            right: 32px;
            z-index: 101;
            background-color: var(--burgundy);
            border: none;
            border-radius: 10px;
            padding: 14px 16px;
            cursor: pointer;
            flex-direction: column;
            gap: 5px;
            justify-content: center;
            opacity: 0;
            transform: translateY(-8px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .floating-burger.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .floating-burger span {
            display: block;
            width: 22px;
            height: 2.5px;
            background-color: var(--cream);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .floating-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
        .floating-burger.open span:nth-child(2) { opacity: 0; }
        .floating-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

        @media (min-width: 1025px) {
            .mobile-menu { background-image: url('Brand Assets/Patterns/Burger Menu Pattern DESKTOP.webp'); }
            .floating-burger { display: flex; }
        }

        /* ── Back to top button ── */

        .back-to-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            z-index: 200;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background-color: var(--burgundy);
            color: var(--cream);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.8, 0.64, 1) !important;
            -webkit-tap-highlight-color: transparent;
            -webkit-appearance: none;
            appearance: none;
        }

        .back-to-top:focus,
        .back-to-top:active {
            background-color: var(--burgundy) !important;
            outline: none;
            box-shadow: none;
        }

        .back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .back-to-top svg {
            width: 18px;
            height: 18px;
            stroke: var(--cream);
            fill: none;
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* Hide back-to-top while the full-screen menu is open */
        .mobile-menu.open ~ .back-to-top.visible {
            opacity: 0 !important;
            pointer-events: none !important;
        }

        /* ── Hero ── */

        .project-hero {
            background-color: var(--burgundy);
            padding: 160px 10% 60px;
            border-radius: 0 0 24px 24px;
            position: relative;
            z-index: 3;
            box-shadow: 0 8px 6px -4px rgba(0, 0, 0, 0.22), 0 4px 3px -2px rgba(0, 0, 0, 0.14);
            min-height: 320px;
        }

        .project-crumb {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--coral);
            text-decoration: none;
            font-family: 'Grift', sans-serif;
            font-weight: 900;
            font-size: 22px;
            letter-spacing: -0.36px;
            margin-bottom: 88px;
            position: relative;
        }

        .project-crumb::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 50%;
            width: 0;
            height: 2px;
            background-color: var(--cream);
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

        .project-crumb:hover::after {
            width: 100%;
        }

        .project-title {
            font-family: 'BehindTheNineties', serif;
            font-weight: 800;
            font-style: italic;
            font-size: 74px;
            line-height: 0.92;
            letter-spacing: -0.03em;
            color: var(--cream);
            margin-bottom: 44px;
        }

        .project-meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px 24px;
            font-family: 'Grift', sans-serif;
            font-weight: 900;
            font-size: 22px;
            letter-spacing: -0.36px;
            color: var(--pink);
        }

        .meta-sep {
            color: var(--pink);
        }

        /* ── Hero image ── */

        .project-hero-image {
            position: relative;
            z-index: 1;
            margin-top: -64px;
            height: 82vh;
            overflow: hidden;
            border-radius: 0 0 24px 24px;
        }

        .project-hero-image img {
            position: absolute;
            width: 100%;
            height: 135%;
            top: -17.5%;
            left: 0;
            object-fit: cover;
            object-position: center 80%;
            will-change: transform;
            border-radius: 14px;
        }

        /* ── Buttons ── */

        .btn-primary,
        .btn-outline {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            line-height: 1;
            border-radius: 8px;
            font-family: 'BehindTheNineties', serif;
            font-weight: 500;
            font-size: 27px;
            padding: 16px 46px;
            transition: background-color 0.2s ease, color 0.2s ease, transform 0.4s cubic-bezier(0.34, 1.8, 0.64, 1);
        }

        .btn-primary {
            background-color: var(--olive);
            color: var(--cream);
            border: 2.5px solid transparent;
        }

        .btn-outline {
            background-color: transparent;
            color: var(--burgundy);
            border: 1.5px solid var(--burgundy);
        }

        .btn-primary:hover {
            background-color: var(--pink);
            color: var(--burgundy);
            transform: scale(1.02);
        }

        .btn-outline:hover {
            background-color: var(--burgundy);
            color: var(--cream);
            transform: scale(1.02);
        }

        /* ── Project content shell ── */

        .project-shell {
            background-color: var(--cream);
            padding: 72px 10% 120px;
            border-radius: 0 0 24px 24px;
            box-shadow: var(--shadow);
            position: relative;
            z-index: 2;
        }

        /* ── Shop interior image ── */

        .shop-image-section {
            position: relative;
            z-index: 1;
            margin-top: -24px;
            height: 100vh;
            min-height: 420px;
            overflow: hidden;
            box-shadow: 0 8px 6px -4px rgba(0, 0, 0, 0.22), 0 4px 3px -2px rgba(0, 0, 0, 0.14);
            background-color: var(--sage);
        }

        .shop-image-picture {
            display: block;
            width: 100%;
            height: 100%;
        }

        .shop-image {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transform: translate3d(0, 0, 0);
        }

        @media (min-width: 1025px) {
            .shop-image {
                height: calc(100% + 280px);
                margin-top: -140px;
            }
        }

        /* ── Testimonial ── */

        .project-testimonial {
            background-color: var(--pink);
            background-image: url('Brand Assets/Patterns/Pattern 2 - Pink Low Opacity DESKTOP.webp');
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            background-attachment: fixed;
            padding: 220px 10%;
            margin-top: -24px;
            z-index: 2;
            position: relative;
            text-align: center;
            box-shadow: 0 8px 6px -4px rgba(0, 0, 0, 0.22), 0 4px 3px -2px rgba(0, 0, 0, 0.14);
        }

        .project-testimonial-heading {
            font-family: 'BehindTheNineties', serif;
            font-weight: 800;
            font-style: italic;
            font-size: 65px;
            line-height: 0.92;
            letter-spacing: -0.025em;
            color: var(--burgundy);
            margin-bottom: 48px;
            position: relative;
            z-index: 1;
        }

        .project-testimonial-card {
            position: relative;
            z-index: 1;
            background-color: var(--cream);
            border-radius: 24px;
            border: 1px solid var(--burgundy);
            padding: 60px 80px;
            max-width: 900px;
            margin: 0 auto;
        }

        .project-testimonial-quote {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400;
            font-size: 20px;
            line-height: 1.5;
            color: #000;
            margin-bottom: 40px;
        }

        .project-testimonial-name {
            font-family: 'BehindTheNineties', serif;
            font-weight: 400;
            font-style: normal;
            font-size: 48px;
            line-height: 0.95;
            letter-spacing: -0.05em;
            color: var(--burgundy);
        }

        @media (max-width: 1024px) {
            .project-testimonial {
                background-image: url('Brand Assets/Patterns/Pattern 2 - Pink Low Opacity MOBILE.webp');
                background-position: center center;
                background-size: cover;
                background-attachment: scroll;
                padding: 110px 10% 150px;
            }
            .project-testimonial-heading {
                font-size: 45px;
            }
            .project-testimonial-card {
                padding: 40px 32px;
            }
            .project-testimonial-quote {
                font-size: 18px;
            }
            .project-testimonial-name {
                font-size: 36px;
            }
        }

        /* ── Finale ── */

        .project-finale {
            background-color: var(--cream);
            padding: 120px 10%;
            margin-top: -24px;
            margin-bottom: -40px;
            position: relative;
            z-index: 3;
            box-shadow: 0 -12px 16px -8px rgba(0, 0, 0, 0.18), 0 -6px 8px -4px rgba(0, 0, 0, 0.10), 0 12px 16px -8px rgba(0, 0, 0, 0.18), 0 6px 8px -4px rgba(0, 0, 0, 0.10);
            border-radius: 24px 24px 24px 24px;
        }

        .project-finale-images {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            margin-bottom: 60px;
        }

        .project-finale-img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            border-radius: 14px;
        }

        .project-finale-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .project-finale-link {
            font-family: 'Grift', sans-serif;
            font-weight: 900;
            font-size: 22px;
            letter-spacing: -0.36px;
            color: var(--olive);
            text-decoration: none;
            position: relative;
        }

        .project-finale-link::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 50%;
            width: 0;
            height: 2px;
            background-color: var(--burgundy);
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

        .project-finale-link:hover::after { width: 100%; }

        @media (max-width: 1024px) {
            .project-finale {
                padding: 56px 10% 56px;
            }
            .project-finale-images {
                grid-template-columns: 1fr;
                gap: 16px;
                margin-bottom: 40px;
            }
            .project-finale-link {
                font-size: 17px;
            }
        }

        /* ── Footer ── */

        .footer {
            background-color: var(--burgundy);
            background-image: url('Brand Assets/Patterns/Footer Pattern DESKTOP.webp');
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            padding: 100px 10% 60px;
            margin-top: -48px;
            position: relative;
            z-index: -5;
            text-align: center;
        }

        .footer-tagline {
            font-family: 'BehindTheNineties';
            font-weight: 400;
            font-style: italic;
            font-size: 26px;
            color: var(--cream);
            margin: 60px auto 40px;
            line-height: 1.3;
            max-width: 320px;
        }

        .footer-logo {
            width: 320px;
            margin: 0 auto 60px;
            display: block;
        }

        .footer-divider {
            border: none;
            border-top: 1px solid rgba(255, 229, 207, 0.35);
            margin: 0 0 36px;
        }

        .footer-bottom {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
        }

        .footer-back-top {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400;
            font-size: 14px;
            line-height: 1.5;
            color: var(--pink);
            text-decoration: none;
            justify-self: start;
            position: relative;
        }

        .footer-back-top::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 50%;
            width: 0;
            height: 2px;
            background-color: var(--pink);
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

        .footer-back-top:hover::after { width: 100%; }

        .footer-copyright {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400;
            font-size: 14px;
            line-height: 1.5;
            color: var(--pink);
        }

        .footer-socials {
            display: flex;
            align-items: center;
            gap: 20px;
            justify-self: end;
        }

        .footer-socials a {
            display: flex;
            align-items: center;
        }

        .footer-socials img {
            height: 26px;
            width: auto;
            display: block;
        }

        @media (max-width: 1024px) {
            .footer { background-image: url('Brand Assets/Patterns/Footer Pattern MOBILE.webp'); }
            .footer-tagline { font-size: 28px; }
            .footer-bottom { grid-template-columns: 1fr; gap: 16px; text-align: center; }
            .footer-back-top { justify-self: center; }
            .footer-socials { justify-self: center; }
        }

        /* ── Responsive ── */

        /* ── Brief section ── */

        .brief-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            margin-bottom: 0;
        }

        .brief-heading {
            font-family: 'BehindTheNineties', serif;
            font-weight: 800;
            font-style: italic;
            font-size: 62px;
            line-height: 1;
            letter-spacing: -0.025em;
            color: var(--burgundy);
            margin-bottom: 48px;
            max-width: 13ch;
        }

        .brief-badge {
            display: inline-block;
            background-color: var(--olive);
            color: var(--cream);
            font-family: 'BehindTheNineties', serif;
            font-weight: 500;
            font-style: normal;
            font-size: 41px;
            letter-spacing: -0.36px;
            line-height: 1.15;
            padding: 2px 26px;
            border-radius: 0;
            margin-bottom: 48px;
            transform: rotate(0.5deg);
        }

        .brief-text p {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400;
            font-size: 20px;
            line-height: 1.5;
            letter-spacing: 0;
            color: #000;
            margin-bottom: 24px;
        }

        .brief-text p:last-child {
            margin-bottom: 0;
        }

        .brief-img {
            width: 100%;
            object-fit: cover;
            border-radius: 14px;
        }

        .brief-img--tall {
            aspect-ratio: 4 / 5;
        }

        .brief-img--square {
            aspect-ratio: 1 / 1;
        }

        @media (max-width: 1024px) {
            .brief-section {
                grid-template-columns: 1fr;
                column-gap: 0;
                row-gap: 40px;
            }

            .brief-heading {
                font-size: 44px;
                margin-top: 32px;
                margin-bottom: 24px;
            }

            .brief-badge {
                font-size: 32px;
                margin-bottom: 30px;
            }

            .brief-text p {
                font-size: 18px;
            }
        }

        @media (max-width: 1024px) {
            body {
                padding-top: 72px;
            }

            .site-nav.nav-hidden { transform: none; }

            .nav-logo img { height: 40px; }

            .nav-links {
                display: none;
            }

            .btn-nav { display: none; font-size: 24px; }

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

            .project-hero {
                padding: 72px 10% 52px;
            }

            .project-title {
                font-size: 48px;
            }

            .project-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
            }

            .meta-sep {
                display: none;
            }

            .project-hero-image {
                margin-top: -48px;
                height: 56vw;
                min-height: 300px;
            }

            .shop-image-section {
                height: 48vw;
            }

            .shop-image {
                height: 100%;
                margin-top: 0;
            }

            #studio-shell {
                padding-top: 65px;
            }

            .project-shell {
                padding: 20px 10% 90px;
            }

            .btn-primary,
            .btn-outline {
                width: 100%;
                font-size: 22px;
            }
        }

        /* ── Scroll animations ── */

        .js-scroll .project-title,
        .js-scroll .project-meta {
            opacity: 0;
            transform: translateY(22px);
            transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .js-scroll .project-title.revealed,
        .js-scroll .project-meta.revealed {
            opacity: 1;
            transform: none;
        }

        .js-scroll [data-reveal] {
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .js-scroll [data-reveal="from-left"] {
            transform: translateX(-28px);
        }

        .js-scroll [data-reveal].revealed {
            opacity: 1;
            transform: none;
        }

        /* ── Lightbox ── */

        .lightbox-trigger {
            cursor: zoom-in;
        }

        #lightbox {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 9000;
            background: rgba(0, 0, 0, 0.92);
            align-items: center;
            justify-content: center;
        }

        #lightbox.open {
            display: flex;
        }

        #lightbox-img {
            max-width: min(90vw, 1200px);
            max-height: 88vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
            user-select: none;
            transition: opacity 0.2s ease;
            pointer-events: none;
        }

        #lightbox-img.fading {
            opacity: 0;
        }

        #lightbox-close,
        #lightbox-prev,
        #lightbox-next {
            position: fixed;
            background: rgba(255, 255, 255, 0.12);
            border: none;
            color: #fff;
            cursor: pointer;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        #lightbox-close:hover,
        #lightbox-prev:hover,
        #lightbox-next:hover {
            background: rgba(255, 255, 255, 0.25);
        }

        #lightbox-close {
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            font-size: 1.5rem;
            line-height: 1;
        }

        #lightbox-prev,
        #lightbox-next {
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            font-size: 2rem;
        }

        #lightbox-prev { left: 16px; }
        #lightbox-next { right: 16px; }

        #lightbox-prev.hidden,
        #lightbox-next.hidden {
            visibility: hidden;
        }

    

