/* ==========================================
   ELITE PHYSICAL CHALLENGE
   IMMERSIVE GALLERY
========================================== */

.ep-gallery-page {
    --eg-lime: #d5ff18;
    --eg-bg: #060b0c;
    --eg-text: #f5f8f1;
    --eg-muted: #9ba99c;
    --eg-border: rgba(213, 255, 24, .17);

    background: var(--eg-bg);
    color: var(--eg-text);
    overflow: clip;
}

.ep-gallery-page [hidden] {
    display: none !important;
}


/* ==========================================
   HERO
========================================== */

.eg-hero {
    position: relative;
    padding: 145px 0 35px;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            #1c3513,
            transparent 65%
        ),
        #060b0c;
}

.eg-hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    width: 1000px;
    height: 650px;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse,
        rgba(161, 255, 0, .13),
        transparent 65%
    );
    filter: blur(40px);
    z-index: -2;
    pointer-events: none;
}

.eg-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(213, 255, 24, .045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(213, 255, 24, .045) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
    mask-image: linear-gradient(#000, transparent);
    z-index: -1;
    pointer-events: none;
}

.eg-watermark {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(150px, 25vw, 450px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke:
        1px rgba(213, 255, 24, .045);
    line-height: .9;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
}

.eg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.eg-breadcrumb a {
    color: var(--eg-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eg-breadcrumb a:hover {
    color: var(--eg-lime);
}

.eg-breadcrumb > i {
    color: var(--eg-muted);
    font-size: 8px;
}

.eg-breadcrumb > span {
    color: var(--eg-lime);
}

.eg-hero-content {
    max-width: 1150px;
    text-align: center;
    margin: 60px auto 50px;
    animation: egHeroReveal 1s ease both;
}

.eg-hero-content h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(75px, 10vw, 160px);
    font-weight: 900;
    line-height: .84;
    letter-spacing: -2px;
    color: var(--eg-text);
    margin: 28px 0;
}

.eg-hero-content h1 em {
    color: var(--eg-lime);
    text-shadow: 0 0 60px rgba(213, 255, 24, .15);
}

.eg-hero-content p {
    max-width: 450px;
    margin: 28px auto;
    color: var(--eg-muted);
    font-size: 14px;
    line-height: 1.9;
}

.eg-hero-scroll {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--eg-border);
    border-radius: 50%;
    color: var(--eg-lime);
    background: rgba(213, 255, 24, .04);
    animation: egScrollBounce 2s ease-in-out infinite;
}

.eg-hero-scroll:hover {
    background: var(--eg-lime);
    color: var(--eg-bg);
}

@keyframes egHeroReveal {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes egScrollBounce {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }

}


/* ==========================================
   CINEMATIC FILM STRIP
========================================== */

.eg-film-wrapper {
    position: relative;
    margin: 20px -20px 50px;
    padding: 25px 0;
    overflow: hidden;
    transform: rotate(-3deg) scale(1.025);
    border-block: 1px solid rgba(213, 255, 24, .2);
    background: #0b130d;
    isolation: isolate;
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
}

.eg-film-wrapper::before,
.eg-film-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 7px;
    background: repeating-linear-gradient(
        90deg,
        rgba(213, 255, 24, .20) 0 12px,
        transparent 12px 32px
    );
    z-index: 2;
}

.eg-film-wrapper::before {
    top: 6px;
}

.eg-film-wrapper::after {
    bottom: 6px;
}

.eg-film-track {
    display: flex;
    width: max-content;
    animation: egFilmMove 65s linear infinite;
}

.eg-film-wrapper:hover .eg-film-track,
.eg-film-wrapper:focus-within .eg-film-track {
    animation-play-state: paused;
}

.eg-film-group {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
    padding-right: 12px;
}

.eg-film-frame {
    position: relative;
    width: 310px;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--eg-border);
    border-radius: 5px;
    background: #162518;
}

.eg-film-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.65) brightness(.85);
}

.eg-film-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(4, 15, 6, .65),
        transparent
    );
}

.eg-film-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: var(--eg-lime);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

@keyframes egFilmMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

.eg-hero-bottom {
    max-width: 1500px;
    margin: 60px auto 0;
    padding-inline: 45px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--eg-muted);
    font-size: 9px;
    letter-spacing: 2px;
}

.eg-bottom-line {
    flex: 1;
    height: 1px;
    background: var(--eg-border);
}


/* ==========================================
   GALLERY COLLECTION
========================================== */

.eg-collection {
    position: relative;
    background:
        radial-gradient(
            ellipse at 100% 10%,
            rgba(117, 170, 8, .07),
            transparent 45%
        ),
        #060b0c;

    scroll-margin-top: 90px;
}

.eg-collection-watermark {
    position: absolute;
    top: 0;
    right: -25px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(170px, 25vw, 450px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke:
        1px rgba(213, 255, 24, .04);
    line-height: .9;
    pointer-events: none;
}


/* ==========================================
   FILTER TOOLBAR
========================================== */

.eg-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px;
    margin-bottom: 25px;
    border: 1px solid var(--eg-border);
    border-radius: 12px;
    background: rgba(213, 255, 24, .025);
}

.eg-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.eg-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--eg-muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: .3s ease;
}

.eg-filter small {
    font-size: 9px;
    opacity: .7;
}

.eg-filter:hover {
    border-color: var(--eg-border);
    color: var(--eg-lime);
}

.eg-filter.active {
    color: #060b0c;
    background: var(--eg-lime);
    border-color: var(--eg-lime);
    font-weight: 700;
}

.eg-gallery-count {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-right: 8px;
    flex-shrink: 0;
    color: var(--eg-muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.eg-gallery-count i,
#egVisibleCount {
    color: var(--eg-lime);
}


/* ==========================================
   ASYMMETRIC BENTO GRID
========================================== */

.eg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 245px;
    grid-auto-flow: dense;
    gap: 15px;
}

.eg-photo {
    display: block;
    position: relative;
    height: 100%;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 1px solid var(--eg-border);
    border-radius: 12px;
    overflow: hidden;
    background: #152519;
    text-align: left;
    cursor: zoom-in;
    isolation: isolate;
    transition:
        border-color .4s,
        box-shadow .4s;
}

.eg-photo-wide {
    grid-column: span 2;
}

.eg-photo-tall {
    grid-row: span 2;
}

.eg-photo-normal {
    grid-column: span 1;
}

.eg-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .8s cubic-bezier(.2, .7, .3, 1),
        filter .5s;
    filter: saturate(.85);
}

.eg-photo:hover {
    border-color: rgba(213, 255, 24, .65);
    box-shadow: 0 0 25px rgba(213, 255, 24, .08);
    z-index: 2;
}

.eg-photo:hover img {
    transform: scale(1.09);
    filter: saturate(1.1);
}

.eg-photo-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(3, 12, 5, .95),
            rgba(3, 12, 5, .20) 35%,
            transparent 65%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .25),
            transparent 35%
        );
    pointer-events: none;
    transition: .4s;
}

.eg-photo:hover .eg-photo-overlay {
    background:
        linear-gradient(
            0deg,
            rgba(3, 15, 5, .98),
            rgba(3, 15, 5, .2) 55%,
            transparent 80%
        );
}

.eg-photo-index {
    position: absolute;
    top: 18px;
    left: 18px;
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    letter-spacing: 2px;
}

.eg-photo-expand {
    display: grid;
    place-items: center;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(213, 255, 24, .35);
    border-radius: 50%;
    background: rgba(6, 15, 8, .55);
    backdrop-filter: blur(12px);
    color: var(--eg-lime);
    font-size: 14px;
    transition: .35s;
}

.eg-photo:hover .eg-photo-expand {
    color: #060b0c;
    background: var(--eg-lime);
    transform: rotate(8deg);
}

.eg-photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    transition: transform .4s;
}

.eg-photo:hover .eg-photo-info {
    transform: translateY(-5px);
}

.eg-photo-category {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--eg-lime);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.eg-photo-category .elite-dot {
    width: 5px;
    height: 5px;
}

.eg-photo-title {
    display: block;
    color: #f5f8f1;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
}

.eg-photo-wide .eg-photo-title {
    font-size: 36px;
}

.eg-photo-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0;
    transition: .35s;
    pointer-events: none;
}

.eg-corner-tl {
    top: 8px;
    left: 8px;
    border-top: 2px solid var(--eg-lime);
    border-left: 2px solid var(--eg-lime);
}

.eg-corner-br {
    bottom: 8px;
    right: 8px;
    border-bottom: 2px solid var(--eg-lime);
    border-right: 2px solid var(--eg-lime);
}

.eg-photo:hover .eg-photo-corner {
    opacity: 1;
}

.eg-photo.eg-photo-enter {
    animation: egPhotoEnter .55s ease both;
}

@keyframes egPhotoEnter {

    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* ==========================================
   EMPTY STATE
========================================== */

.eg-empty-state {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed var(--eg-border);
    border-radius: 15px;
}

.eg-empty-state > i {
    font-size: 40px;
    color: var(--eg-lime);
    margin-bottom: 20px;
}

.eg-empty-state h3 {
    color: var(--eg-text);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 40px;
    text-transform: uppercase;
}

.eg-empty-state p {
    color: var(--eg-muted);
    font-size: 13px;
    margin-bottom: 25px;
}


/* ==========================================
   LOAD MORE AND PROGRESS
========================================== */

.eg-load-more-area {
    margin-top: 45px;
    text-align: center;
}

.eg-load-progress {
    max-width: 220px;
    margin: 0 auto 25px;
}

.eg-progress-track {
    height: 3px;
    border-radius: 10px;
    background: #243224;
    overflow: hidden;
}

.eg-progress-bar {
    width: 0;
    height: 100%;
    background: var(--eg-lime);
    box-shadow: 0 0 15px var(--eg-lime);
    transition: width .5s;
}

.eg-load-progress p {
    color: var(--eg-muted);
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 12px;
}

.eg-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 17px 30px;
    border: 1px solid var(--eg-border);
    border-radius: 50px;
    background: rgba(213, 255, 24, .04);
    color: var(--eg-lime);
    font-size: 12px;
    font-weight: 600;
    transition: .3s;
}

.eg-load-more:hover {
    background: var(--eg-lime);
    color: #060b0c;
}

.eg-load-more:hover i {
    transform: rotate(90deg);
}

.eg-load-more i {
    transition: .3s;
}


/* ==========================================
   CINEMATIC STATEMENT
========================================== */

.eg-statement {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    padding: 80px 0;
}

.eg-statement-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        url("https://images.unsplash.com/photo-1459749411175-04bf5292ceea?w=1920&auto=format&fit=crop&q=85")
        center center / cover no-repeat;
    filter: saturate(.45);
}

.eg-statement::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            #060b0c,
            rgba(6, 19, 8, .45) 45%,
            #060b0c
        ),
        rgba(6, 14, 8, .65);
}

.eg-quote-icon {
    font-size: 38px;
    color: var(--eg-lime);
    opacity: .8;
    margin-bottom: 20px;
}

.eg-statement-content h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(55px, 7.5vw, 120px);
    font-weight: 900;
    line-height: .9;
    color: var(--eg-text);
    margin-bottom: 30px;
}

.eg-statement-content h2 em {
    color: var(--eg-lime);
}

.eg-statement-content p {
    color: var(--eg-muted);
    font-size: 10px;
    letter-spacing: 4px;
}


/* ==========================================
   CTA
========================================== */

.eg-cta {
    background: #060b0c;
    padding-top: 45px;
}

.eg-cta-panel {
    position: relative;
    padding: 65px;
    border: 1px solid rgba(213, 255, 24, .25);
    border-radius: 25px;
    background:
        radial-gradient(
            ellipse at 100% 50%,
            rgba(213, 255, 24, .12),
            transparent 55%
        ),
        linear-gradient(
            140deg,
            #182c15,
            #09130c 65%
        );
    overflow: hidden;
    isolation: isolate;
}

.eg-cta-rings {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border: 1px solid var(--eg-border);
    border-radius: 50%;
    box-shadow:
        0 0 0 40px rgba(213, 255, 24, .025),
        0 0 0 80px rgba(213, 255, 24, .02),
        0 0 0 120px rgba(213, 255, 24, .015);
    pointer-events: none;
}

.eg-cta-logo {
    position: absolute;
    top: 50%;
    right: 8%;
    width: 25%;
    transform: translateY(-50%);
    opacity: .45;
    pointer-events: none;
}

.eg-cta-logo img {
    display: block;
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(
        0 0 25px rgba(213, 255, 24, .25)
    );
}

.eg-cta-content {
    position: relative;
    z-index: 2;
}

.eg-cta-content > p {
    color: var(--eg-muted);
    max-width: 450px;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.eg-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}


/* ==========================================
   FULLSCREEN LIGHTBOX
========================================== */

body.eg-lightbox-open {
    overflow: hidden !important;
}

.eg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    height: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: rgba(3, 7, 5, .98);
    backdrop-filter: blur(25px);
    color: #f5f8f1;
    animation: egLightboxOpen .3s ease both;
}

@keyframes egLightboxOpen {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

.eg-lightbox-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 15px 30px;
    border-bottom: 1px solid var(--eg-border);
    background: rgba(213, 255, 24, .025);
}

.eg-lightbox-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--eg-lime);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.eg-lightbox-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eg-lightbox-btn {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid var(--eg-border);
    border-radius: 8px;
    background: rgba(213, 255, 24, .035);
    color: var(--eg-lime);
    font-size: 14px;
    transition: .3s;
    text-decoration: none;
}

.eg-lightbox-btn:hover,
.eg-lightbox-btn.active {
    background: var(--eg-lime);
    color: #060b0c;
}

.eg-close-btn {
    background: var(--eg-lime);
    color: #060b0c;
    font-size: 20px;
}

.eg-close-btn:hover {
    background: #f5f8f1;
    color: #060b0c;
}

.eg-lightbox-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px 85px;
    touch-action: pan-y;
}

.eg-lightbox-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.eg-lightbox-image-wrap.zoomed {
    overflow: auto;
    display: block;
    cursor: zoom-out;
}

.eg-lightbox-image-wrap img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    user-select: none;
    -webkit-user-drag: none;
    cursor: zoom-in;
}

.eg-lightbox-image-wrap.zoomed img {
    width: 160%;
    max-width: none;
    max-height: none;
    cursor: zoom-out;
}

.eg-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--eg-border);
    border-radius: 50%;
    background: rgba(6, 15, 8, .8);
    backdrop-filter: blur(10px);
    color: var(--eg-lime);
    font-size: 16px;
    transition: .3s;
}

.eg-lightbox-nav:hover {
    background: var(--eg-lime);
    color: #060b0c;
}

.eg-prev {
    left: 23px;
}

.eg-next {
    right: 23px;
}

.eg-lightbox-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 18px 30px;
    border-top: 1px solid var(--eg-border);
}

#egLightboxCategory {
    color: var(--eg-lime);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#egLightboxTitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 35px;
    font-weight: 800;
    color: #f5f8f1;
    line-height: 1;
    text-transform: uppercase;
    margin: 7px 0 0;
}

.eg-lightbox-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--eg-muted);
    font-size: 14px;
}

.eg-lightbox-counter strong {
    color: var(--eg-lime);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 38px;
    font-weight: 800;
}

.eg-thumbnail-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex-shrink: 0;
    padding: 12px 25px 20px;
    scrollbar-width: thin;
    scrollbar-color: #455d14 transparent;
    border-top: 1px solid var(--eg-border);
}

.eg-thumbnail {
    width: 90px;
    height: 60px;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
    background: #162518;
    opacity: .45;
    transition: .3s;
}

.eg-thumbnail.active,
.eg-thumbnail:hover {
    opacity: 1;
    border-color: var(--eg-lime);
}

.eg-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================
   SCROLL REVEAL
========================================== */

.ep-gallery-page.eg-animations .eg-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.ep-gallery-page.eg-animations
.eg-reveal.eg-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1199px) {

    .eg-gallery-grid {
        grid-auto-rows: 210px;
        gap: 12px;
    }

    .eg-photo-title {
        font-size: 25px;
    }

    .eg-photo-wide .eg-photo-title {
        font-size: 30px;
    }

    .eg-filter {
        padding: 12px 14px;
    }

}

@media (max-width: 991px) {

    .eg-hero {
        padding-top: 125px;
    }

    .eg-hero-content h1 {
        font-size: clamp(65px, 10vw, 105px);
    }

    .eg-film-frame {
        width: 250px;
        height: 170px;
    }

    .eg-gallery-grid {
        grid-template-columns: repeat(
            3,
            minmax(0, 1fr)
        );
        grid-auto-rows: 205px;
    }

    .eg-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .eg-gallery-count {
        align-self: flex-end;
    }

    .eg-cta-panel {
        padding: 45px;
    }

    .eg-cta-logo {
        opacity: .2;
    }

}

@media (max-width: 575px) {

    .eg-hero {
        padding-top: 110px;
        padding-bottom: 25px;
    }

    .eg-breadcrumb {
        font-size: 11px;
    }

    .eg-hero-content {
        margin: 45px auto 35px;
    }

    .eg-hero-content h1 {
        font-size: clamp(48px, 12vw, 75px);
        letter-spacing: -.7px;
    }

    .eg-hero-content p {
        font-size: 12px;
        max-width: 300px;
    }

    .eg-hero-scroll {
        width: 42px;
        height: 42px;
    }

    .eg-film-wrapper {
        margin-bottom: 25px;
        padding-block: 20px;
        transform: rotate(-4deg) scale(1.025);
    }

    .eg-film-frame {
        width: 190px;
        height: 135px;
    }

    .eg-hero-bottom {
        margin-top: 35px;
        padding-inline: 24px;
        font-size: 6px;
        letter-spacing: .5px;
        gap: 10px;
    }

    .eg-toolbar {
        padding: 10px;
        gap: 10px;
    }

    .eg-filters {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: thin;
        scrollbar-color: #455d14 transparent;
    }

    .eg-filter {
        flex-shrink: 0;
        padding: 10px 12px;
        font-size: 11px;
        gap: 8px;
    }

    .eg-gallery-count {
        font-size: 9px;
    }

    .eg-gallery-grid {
        grid-template-columns: repeat(
            2,
            minmax(0, 1fr)
        );
        grid-auto-rows: 155px;
        gap: 9px;
    }

    .eg-photo {
        border-radius: 8px;
    }

    .eg-photo-wide {
        grid-column: span 2;
    }

    .eg-photo-tall {
        grid-row: span 2;
    }

    .eg-photo-info {
        padding: 12px;
    }

    .eg-photo-title {
        font-size: 20px;
    }

    .eg-photo-wide .eg-photo-title {
        font-size: 26px;
    }

    .eg-photo-category {
        font-size: 7px;
        letter-spacing: .8px;
    }

    .eg-photo-expand {
        width: 29px;
        height: 29px;
        top: 9px;
        right: 9px;
        font-size: 10px;
    }

    .eg-photo-index {
        top: 12px;
        left: 12px;
        font-size: 8px;
    }

    .eg-statement {
        min-height: 330px;
        padding-block: 55px;
    }

    .eg-statement-content h2 {
        font-size: clamp(44px, 10vw, 65px);
    }

    .eg-statement-content p {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .eg-cta-panel {
        padding: 30px 24px;
        border-radius: 15px;
    }

    .eg-cta-content .elite-heading {
        font-size: clamp(45px, 10vw, 65px);
    }

    .eg-cta-logo {
        width: 70%;
        right: -25%;
        opacity: .07;
    }

    .eg-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .eg-cta-actions a {
        justify-content: center;
    }


    /* Mobile lightbox */

    .eg-lightbox-top {
        padding: 12px 15px;
    }

    .eg-lightbox-brand {
        font-size: 8px;
        letter-spacing: .5px;
        gap: 6px;
    }

    .eg-lightbox-tools {
        gap: 6px;
    }

    .eg-lightbox-btn {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .eg-close-btn {
        font-size: 18px;
    }

    .eg-lightbox-stage {
        padding: 10px;
    }

    .eg-lightbox-nav {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .eg-prev {
        left: 10px;
    }

    .eg-next {
        right: 10px;
    }

    .eg-lightbox-caption {
        padding: 15px;
        gap: 15px;
    }

    #egLightboxCategory {
        font-size: 8px;
    }

    #egLightboxTitle {
        font-size: 25px;
    }

    .eg-lightbox-counter {
        gap: 7px;
        font-size: 12px;
    }

    .eg-lightbox-counter strong {
        font-size: 28px;
    }

    .eg-thumbnail-strip {
        padding: 10px 15px 15px;
    }

    .eg-thumbnail {
        width: 65px;
        height: 45px;
    }

}


/* ==========================================
   ACCESSIBILITY
========================================== */

.ep-gallery-page button:focus-visible,
.ep-gallery-page a:focus-visible {
    outline: 2px solid var(--eg-lime);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .eg-film-track,
    .eg-hero-scroll,
    .eg-hero-content,
    .eg-photo.eg-photo-enter,
    .eg-lightbox {
        animation: none;
    }

    .eg-film-wrapper {
        overflow-x: auto;
    }

    .eg-photo img,
    .eg-photo,
    .eg-photo-info {
        transition: none;
    }

    .ep-gallery-page.eg-animations .eg-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}