/* ---- MODAL ---- */
        .modal-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(10,8,6,0.90);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 500;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
            padding: 24px;
        }
        .modal-backdrop.open {
            opacity: 1;
            pointer-events: all;
        }
        .modal {
            position: relative;
            max-width: 900px;
            width: 100%;
            background: var(--white);
            border-radius: 3px;
            overflow: hidden;
            display: flex;
            transform: translateY(20px);
            transition: transform 0.35s ease;
            max-height: 90vh;
        }
        .modal-backdrop.open .modal {
            transform: translateY(0);
        }
        .modal-img-wrap {
            flex: 0 0 58%;
            position: relative;
            background: var(--text-dark);
            overflow: hidden;
        }
        .modal-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .modal-info {
            flex: 0 0 42%;
            padding: 48px 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background-color: var(--bg-cream);
            overflow-y: auto;
        }
        .modal-tag {
            font-size: 0.65rem;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: var(--sage-green);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .modal-tag::before {
            content: "";
            width: 22px;
            height: 1px;
            background-color: var(--sage-green);
        }
        .modal-title {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            font-weight: 400;
            margin-bottom: 18px;
            line-height: 1.2;
            color: var(--text-dark);
        }
        .modal-desc {
            font-size: 0.875rem;
            color: var(--text-grey);
            line-height: 1.85;
            margin-bottom: 32px;
        }
        .modal-book-btn {
            display: inline-block;
            background-color: var(--text-dark);
            color: var(--white);
            padding: 13px 28px;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            text-decoration: none;
            border-radius: 3px;
            transition: background-color 0.2s;
        }
        .modal-book-btn:hover {
            background-color: #000;
        }
        .modal-number {
            font-family: 'Playfair Display', serif;
            font-size: 5rem;
            color: var(--number-color);
            font-weight: 400;
            line-height: 1;
            margin-top: 24px;
        }
        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(0,0,0,0.45);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: background 0.2s;
        }
        .modal-close:hover {
            background: rgba(0,0,0,0.75);
        }
        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255,255,255,0.15);
            color: white;
            border: 1px solid rgba(255,255,255,0.3);
            cursor: pointer;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: background 0.2s;
        }
        .modal-nav:hover {
            background: rgba(255,255,255,0.3);
        }
        .modal-prev { left: 14px; }
        .modal-next { right: 14px; }

        /* ---- RESPONSIVE ---- */
        @media (max-width: 1024px) {
            .gallery-page-header { padding: 48px 40px 32px; }
            .filter-bar { padding: 0 40px; }
            .gallery-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .modal { flex-direction: column; max-height: 95vh; }
            .modal-img-wrap { flex: 0 0 50%; }
            .modal-info { padding: 28px 24px; }
        }
        @media (max-width: 600px) {
            .gallery-page-header { padding: 32px 20px 24px; }
            .gallery-page-header h1 { font-size: 2.5rem; }
            .filter-bar { padding: 0 16px; }
            .gallery-grid { grid-template-columns: repeat(2, 1fr); }
            nav ul { display: none; }
        }