
        /* ─── Variables ─────────────────────────────────────────────────────────────── */
        :root {
            --glry-maroon: #513c3a;
            --glry-gold: #c9a84c;
            --glry-green: #009368;
            --glry-light: #faf9f8;
            --glry-radius: 14px;
        }

        /* ─── Filter Section ────────────────────────────────────────────────────────── */
        .glry-filter-section {
            background: #faf9f8;
            border-bottom: 2px solid rgba(0, 0, 0, .07);
            padding: 28px 0 24px;
        }

        .glry-filter-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 40px;
        }

        /* Header row */
        .glry-filter-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .glry-filter-header__left {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--glry-maroon);
        }

        .glry-filter-header__icon {
            width: 32px;
            height: 32px;
            background: rgba(81, 60, 58, .1);
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .glry-filter-header__text {
            font-size: 15px;
            font-weight: 700;
            color: var(--glry-maroon);
            letter-spacing: .3px;
        }

        .glry-filter-header__right {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .glry-filter-count-badge {
            background: var(--glry-maroon);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            padding: 5px 14px;
            border-radius: 20px;
            letter-spacing: .2px;
        }

        .glry-filter-count-badge span {
            font-weight: 800;
        }

        .glry-filter-reset {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: none;
            border: 1.5px solid rgba(0, 0, 0, .15);
            color: #888;
            font-size: 12px;
            font-weight: 600;
            padding: 5px 12px;
            border-radius: 20px;
            cursor: pointer;
            transition: all .2s;
        }

        .glry-filter-reset:hover {
            border-color: #dc3545;
            color: #dc3545;
        }

        /* Filter body */
        .glry-filter-body {
            background: #fff;
            border: 2px solid rgba(0, 0, 0, .08);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 16px rgba(0, 0, 0, .05);
        }

        .glry-filter-row {
            display: flex;
            align-items: center;
            gap: 0;
            padding: 16px 24px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .glry-filter-row__label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            font-weight: 700;
            color: #aaa;
            text-transform: uppercase;
            letter-spacing: 1px;
            white-space: nowrap;
            min-width: 100px;
            flex-shrink: 0;
        }

        .glry-filter-divider {
            height: 1px;
            background: rgba(0, 0, 0, .06);
            margin: 0 24px;
        }

        /* Chip group */
        .glry-chip-group {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

        /* Chips */
        .glry-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 18px;
            border-radius: 30px;
            border: 1.5px solid rgba(0, 0, 0, .1);
            background: #f8f8f8;
            font-size: 13px;
            font-weight: 500;
            color: #555;
            cursor: pointer;
            transition: all .2s;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }

        .glry-chip::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--glry-maroon);
            opacity: 0;
            transition: opacity .2s;
        }

        .glry-chip:hover {
            border-color: var(--glry-maroon);
            color: var(--glry-maroon);
            background: rgba(81, 60, 58, .05);
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(81, 60, 58, .12);
        }

        .glry-chip--active {
            background: var(--glry-maroon);
            color: #fff !important;
            border-color: var(--glry-maroon);
            box-shadow: 0 4px 14px rgba(81, 60, 58, .3);
            font-weight: 600;
            transform: translateY(-1px);
        }

        .glry-chip--active:hover {
            background: #3e2e2c;
            transform: translateY(-1px);
        }

        /* Gold accent on the "All" chips */
        .glry-chip:first-child {
            border-color: rgba(201, 168, 76, .3);
            color: #866b24;
            background: rgba(201, 168, 76, .07);
        }

        .glry-chip:first-child:hover,
        .glry-chip:first-child.glry-chip--active {
            background: var(--glry-gold);
            color: #fff !important;
            border-color: var(--glry-gold);
            box-shadow: 0 4px 14px rgba(201, 168, 76, .35);
        }

        /* Count badge updates */
        .glry-count {
            display: none;
        }

        /* replaced by badge in header */

        /* ─── Gallery Section ───────────────────────────────────────────────────────── */
        .glry-section {
            max-width: 1340px;
            margin: 0 auto;
            padding: 50px 28px 70px;
        }

        /* Masonry-style CSS columns grid */
        .glry-grid {
            columns: 4;
            column-gap: 16px;
        }

        /* Item */
        .glry-item {
            display: inline-block;
            width: 100%;
            margin-bottom: 16px;
            break-inside: avoid;
            border-radius: var(--glry-radius);
            overflow: hidden;
            cursor: pointer;
            transition: opacity .3s, transform .3s;
        }

        /* Featured items span 2 columns via a wrapper trick */
        .glry-item--featured {
            column-span: none;
            /* CSS columns don't support 2-column spans cleanly — handled via aspect ratio */
        }

        .glry-item--hidden {
            display: none;
        }

        .glry-item__inner {
            position: relative;
            overflow: hidden;
            border-radius: var(--glry-radius);
            box-shadow: 0 3px 16px rgba(0, 0, 0, .1);
        }

        .glry-item__img {
            display: block;
            width: 100%;
            height: auto;
            transition: transform .5s cubic-bezier(.25, .46, .45, .94);
        }

        .glry-item:hover .glry-item__img {
            transform: scale(1.07);
        }

        /* Overlay */
        .glry-item__overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(81, 60, 58, .88) 0%, rgba(0, 0, 0, .1) 60%, transparent 100%);
            opacity: 0;
            transition: opacity .3s;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 16px;
        }

        .glry-item:hover .glry-item__overlay {
            opacity: 1;
        }

        .glry-item__zoom {
            align-self: flex-end;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, .15);
            backdrop-filter: blur(4px);
            border: 1.5px solid rgba(255, 255, 255, .35);
            border-radius: 50%;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .2s, transform .2s;
        }

        .glry-item__zoom:hover {
            background: rgba(255, 255, 255, .3);
            transform: scale(1.1);
        }

        .glry-item__info {
            margin-top: auto;
        }

        .glry-item__title {
            font-size: 15px;
            font-weight: 700;
            color: #fff;
            margin: 0 0 6px;
        }

        .glry-item__tags {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }

        .glry-item__tag {
            font-size: 11px;
            padding: 3px 10px;
            border-radius: 20px;
            background: rgba(255, 255, 255, .18);
            backdrop-filter: blur(4px);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, .25);
        }

        .glry-item__tag--loc {
            background: rgba(201, 168, 76, .35);
            border-color: rgba(201, 168, 76, .5);
        }

        .glry-item__featured-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--glry-gold);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 20px;
        }

        /* Empty / No results */
        .glry-empty,
        .glry-no-results {
            text-align: center;
            padding: 80px 20px;
            color: #aaa;
            font-size: 16px;
        }

        .glry-no-results svg {
            display: block;
            margin: 0 auto 16px;
        }

        /* ─── Lightbox ──────────────────────────────────────────────────────────────── */
        /* ─── Lightbox ──────────────────────────────────────────────────────────────── */

        /* Backdrop — sits over EVERYTHING including navbar */
        .glry-lb__backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(6, 5, 5, .95);
            z-index: 99998;
            opacity: 0;
            pointer-events: none;
            transition: opacity .35s ease;
        }

        .glry-lb__backdrop.active {
            opacity: 1;
            pointer-events: all;
        }

        /* Lightbox wrapper — full viewport, flex centred */
        .glry-lightbox {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            height: 100vh;
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity .35s ease;
            /* prevent site layout from shrinking this */
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }

        .glry-lightbox.active {
            opacity: 1;
            pointer-events: all;
        }

        /* Stage — centres the image */
        .glry-lb__stage {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            /* Leave room for close btn (top 70px) and counter (bottom 60px) and side navs (80px each) */
            max-width: calc(100vw - 160px);
            max-height: calc(100vh - 130px);
            padding: 0 10px;
        }

        /* The actual image */
        .glry-lb__img {
            display: block;
            max-width: 100%;
            max-height: calc(100vh - 160px);
            width: auto;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 24px 80px rgba(0, 0, 0, .7);
            object-fit: contain;
            transition: opacity .25s ease;
            /* never let the image be tiny */
            min-width: 200px;
            min-height: 150px;
        }

        .glry-lb__img.loading {
            opacity: .25;
        }

        /* Caption below image */
        .glry-lb__caption {
            margin-top: 16px;
            color: rgba(255, 255, 255, .65);
            font-size: 14px;
            text-align: center;
            max-width: 600px;
            line-height: 1.5;
        }

        /* Close button — top right */
        .glry-lb__close {
            position: fixed;
            top: 20px;
            right: 24px;
            background: rgba(255, 255, 255, .15);
            border: 1.5px solid rgba(255, 255, 255, .3);
            border-radius: 50%;
            width: 48px;
            height: 48px;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .2s, transform .2s;
            z-index: 100000;
            flex-shrink: 0;
        }

        .glry-lb__close:hover {
            background: rgba(255, 255, 255, .28);
            transform: rotate(90deg);
        }

        /* Prev / Next nav buttons */
        .glry-lb__nav {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, .13);
            border: 1.5px solid rgba(255, 255, 255, .25);
            border-radius: 50%;
            width: 52px;
            height: 52px;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .2s, transform .2s;
            z-index: 100000;
            flex-shrink: 0;
        }

        .glry-lb__nav:hover {
            background: rgba(255, 255, 255, .26);
        }

        .glry-lb__nav--prev {
            left: 20px;
            transform: translateY(-50%);
        }

        .glry-lb__nav--prev:hover {
            transform: translateY(-50%) translateX(-3px);
        }

        .glry-lb__nav--next {
            right: 20px;
            transform: translateY(-50%);
        }

        .glry-lb__nav--next:hover {
            transform: translateY(-50%) translateX(3px);
        }

        /* Counter — bottom centre */
        .glry-lb__counter {
            position: fixed;
            bottom: 22px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, .5);
            font-size: 13px;
            font-weight: 500;
            letter-spacing: .5px;
            z-index: 100000;
            background: rgba(0, 0, 0, .4);
            padding: 4px 14px;
            border-radius: 20px;
            white-space: nowrap;
        }

        /* ─── CTA Banner ────────────────────────────────────────────────────────────── */
        .glry-cta {
            background: var(--glry-maroon);
            padding: 80px 20px;
            text-align: center;
        }

        .glry-cta__inner {
            max-width: 640px;
            margin: 0 auto;
        }

        .glry-cta__title {
            font-size: clamp(26px, 4vw, 40px);
            font-weight: 800;
            color: #fff;
            margin: 0 0 14px;
        }

        .glry-cta__sub {
            font-size: 17px;
            color: rgba(255, 255, 255, .7);
            margin: 0 0 30px;
        }

        .glry-cta__btn {
            display: inline-block;
            padding: 14px 36px;
            background: var(--glry-gold);
            color: #fff;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 700;
            text-decoration: none;
            transition: background .2s, transform .2s;
        }

        .glry-cta__btn:hover {
            background: #b8943e;
            transform: translateY(-2px);
            color: #fff;
        }

        /* ─── Responsive ────────────────────────────────────────────────────────────── */
        @media (max-width: 1200px) {
            .glry-grid {
                columns: 3;
            }
        }

        @media (max-width: 900px) {
            .glry-grid {
                columns: 2;
            }
        }

        @media (max-width: 600px) {
            .glry-grid {
                columns: 1;
            }

            .glry-filter-container {
                padding: 0 16px;
            }

            .glry-filter-row {
                padding: 12px 16px;
            }

            .glry-filter-row__label {
                min-width: auto;
            }

            .glry-filter-divider {
                margin: 0 16px;
            }

            .glry-hero {
                height: 360px;
            }

            .glry-lb__nav {
                width: 38px;
                height: 38px;
            }

            .glry-lb__nav--prev {
                left: 6px;
            }

            .glry-lb__nav--next {
                right: 6px;
            }
        }