/* ============================================================
   ARHA GALLERY
   MILK WHITE + DEEP SLATE + TEAL + GOLD
   ============================================================ */

#arhaGalleryPage {

    --gal-white:#FFFFFF;
    --gal-milk:#FAFBF8;
    --gal-soft:#F1F5F4;

    --gal-dark:#173641;
    --gal-slate:#435C64;
    --gal-muted:#75868B;

    --gal-teal:#337B7E;
    --gal-teal-dark:#245E62;
    --gal-teal-soft:#E6F0EF;

    --gal-gold:#B89659;
    --gal-gold-soft:#F5EDDE;

    --gal-red:#B94B50;

    --gal-border:#DFE7E5;

    --gal-heading:'Outfit',sans-serif;
    --gal-body:'Inter',sans-serif;

    width:100%;

    overflow:hidden;

    background:
        var(--gal-milk);

    color:
        var(--gal-slate);

    font-family:
        var(--gal-body);
}


#arhaGalleryPage *,
#arhaGalleryPage *::before,
#arhaGalleryPage *::after {

    box-sizing:border-box;
}


#arhaGalleryPage img {

    display:block;

    width:100%;
}


#arhaGalleryPage a {

    text-decoration:none;
}


.gallery-container {

    width:min(
        1320px,
        calc(100% - 56px)
    );

    margin-inline:auto;
}



/* ============================================================
   REVEAL
   ============================================================ */

#arhaGalleryPage [data-gallery-reveal] {

    opacity:0;

    transform:translateY(27px);

    transition:
        opacity .72s ease,
        transform .72s cubic-bezier(.2,.7,.2,1);
}


#arhaGalleryPage
[data-gallery-reveal].gallery-visible {

    opacity:1;

    transform:none;
}



/* ============================================================
   HERO
   ============================================================ */

.gallery-hero {

    position:relative;

    padding:
        82px 0 110px;

    overflow:hidden;

    background:

        radial-gradient(
            circle at 82% 19%,
            rgba(51,123,126,.12),
            transparent 28%
        ),

        linear-gradient(
            120deg,
            #FFFFFF,
            #F2F7F6
        );
}


.gallery-hero-grid {

    position:absolute;

    inset:0;

    opacity:.18;

    background-image:
        radial-gradient(
            rgba(51,123,126,.22) 1px,
            transparent 1px
        );

    background-size:
        36px 36px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000,
            transparent
        );
}


.gallery-orbit {

    position:absolute;

    border:
        1px solid rgba(51,123,126,.11);

    border-radius:50%;

    animation:
        galleryOrbit
        10s ease-in-out infinite alternate;
}


.gallery-orbit-one {

    width:580px;
    height:580px;

    right:-280px;
    top:-285px;
}


.gallery-orbit-two {

    width:230px;
    height:230px;

    left:-110px;
    bottom:-95px;

    border-color:
        rgba(184,150,89,.13);

    animation-delay:2s;
}


@keyframes galleryOrbit {

    to {

        transform:
            translate(30px,35px)
            scale(1.06);

    }

}



/* ============================================================
   HERO LAYOUT
   ============================================================ */

.gallery-hero-layout {

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:
        .86fr 1fr;

    align-items:center;

    gap:90px;
}


.gallery-breadcrumb {

    margin-bottom:28px;

    display:flex;

    align-items:center;

    gap:8px;

    font-size:9px;

    color:
        var(--gal-muted);
}


.gallery-breadcrumb a {

    color:
        var(--gal-teal);
}


.gallery-breadcrumb i {

    font-size:6px;
}


.gallery-kicker,
.gallery-section-label {

    display:block;

    margin-bottom:10px;

    font-size:9px;

    font-weight:800;

    letter-spacing:1.25px;

    color:
        var(--gal-teal);
}


.gallery-hero h1 {

    margin:0;

    font-family:
        var(--gal-heading);

    font-size:
        clamp(54px,6vw,82px);

    font-weight:800;

    line-height:.94;

    letter-spacing:-2.8px;

    color:
        var(--gal-dark);
}


.gallery-hero h1 strong {

    display:block;

    color:
        var(--gal-teal);
}


.gallery-hero-copy > p {

    max-width:590px;

    margin:
        25px 0 0;

    font-size:14.5px;

    line-height:1.8;

    color:
        var(--gal-slate);
}



/* ============================================================
   HERO ACTIONS
   ============================================================ */

.gallery-hero-actions {

    margin-top:30px;

    display:flex;

    flex-wrap:wrap;

    gap:10px;
}


.gallery-primary,
.gallery-secondary {

    min-height:54px;

    padding:
        0 18px;

    display:inline-flex;

    align-items:center;

    gap:9px;

    border-radius:8px;

    font-size:11px;

    font-weight:700;
}


.gallery-primary {

    background:
        var(--gal-teal);

    color:#fff !important;

    box-shadow:
        0 13px 28px
        rgba(51,123,126,.17);
}


.gallery-secondary {

    border:
        1px solid var(--gal-border);

    background:#fff;

    color:
        var(--gal-dark) !important;
}



/* ============================================================
   HERO COLLAGE
   ============================================================ */

.gallery-hero-collage {

    position:relative;

    min-height:580px;
}


.gallery-hero-collage figure {

    margin:0;

    overflow:hidden;

    box-shadow:
        0 23px 55px
        rgba(31,61,67,.13);
}


.gallery-hero-collage img {

    width:100%;
    height:100%;

    object-fit:cover;

    transition:
        transform 6s ease;
}


.gallery-hero-collage figure:hover img {

    transform:
        scale(1.05);
}


.gallery-hero-main {

    position:absolute;

    right:20px;
    top:0;

    width:68%;
    height:545px;

    border-radius:
        95px 15px 95px 15px;
}


.gallery-hero-main::after {

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(
            to top,
            rgba(23,54,65,.72),
            transparent 48%
        );
}


.gallery-hero-main figcaption {

    position:absolute;

    z-index:2;

    left:22px;
    bottom:20px;

    display:flex;

    flex-direction:column;

    color:#fff;
}


.gallery-hero-main small {

    font-size:8px;

    font-weight:800;

    letter-spacing:.8px;

    color:#B8E1DE;
}


.gallery-hero-main strong {

    margin-top:3px;

    font-family:
        var(--gal-heading);

    font-size:20px;
}


.gallery-hero-small {

    position:absolute;

    width:31%;
    height:215px;

    border:
        7px solid #fff;

    border-radius:
        15px 55px 15px 55px;
}


.gallery-small-one {

    left:0;
    top:55px;
}


.gallery-small-two {

    left:18px;
    bottom:30px;
}


.gallery-floating-label {

    position:absolute;

    right:0;
    bottom:20px;

    max-width:280px;

    padding:
        14px 16px;

    display:flex;

    align-items:center;

    gap:11px;

    border:
        1px solid var(--gal-border);

    border-radius:10px;

    background:
        rgba(255,255,255,.97);

    box-shadow:
        0 14px 34px
        rgba(31,61,67,.12);

    animation:
        galleryFloat
        4s ease-in-out infinite;
}


@keyframes galleryFloat {

    50% {

        transform:
            translateY(-7px);

    }

}


.gallery-floating-label > span {

    width:41px;
    height:41px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:9px;

    background:
        var(--gal-gold-soft);

    color:
        var(--gal-gold);
}


.gallery-floating-label div {

    display:flex;

    flex-direction:column;
}


.gallery-floating-label small {

    font-size:7px;

    font-weight:800;

    color:
        var(--gal-teal);
}


.gallery-floating-label strong {

    margin-top:3px;

    font-family:
        var(--gal-heading);

    font-size:11px;

    color:
        var(--gal-dark);
}



/* ============================================================
   MAIN GALLERY
   ============================================================ */

.gallery-main {

    padding:
        105px 0 115px;

    background:
        var(--gal-milk);
}


.gallery-heading {

    max-width:850px;

    margin-bottom:34px;
}


.gallery-heading h2,
.gallery-story-copy h2 {

    margin:0;

    font-family:
        var(--gal-heading);

    font-size:
        clamp(36px,4vw,52px);

    line-height:1.04;

    letter-spacing:-1.2px;

    color:
        var(--gal-dark);
}


.gallery-heading h2 em {

    font-style:normal;

    color:
        var(--gal-teal);
}


.gallery-heading > p {

    margin:
        15px 0 0;

    font-size:12px;

    color:
        var(--gal-muted);
}



/* ============================================================
   FILTER BAR
   ============================================================ */

.gallery-filter-bar {

    margin-bottom:35px;

    display:flex;

    flex-wrap:wrap;

    gap:7px;
}


.gallery-filter {

    min-height:42px;

    padding:
        0 14px;

    display:flex;

    align-items:center;

    gap:7px;

    border:
        1px solid var(--gal-border);

    border-radius:30px;

    background:#fff;

    color:
        var(--gal-slate);

    font-family:
        var(--gal-body);

    font-size:9px;

    font-weight:700;

    cursor:pointer;

    transition:
        background .22s ease,
        color .22s ease,
        border-color .22s ease,
        transform .22s ease;
}


.gallery-filter:hover {

    transform:
        translateY(-2px);
}


.gallery-filter.active {

    border-color:
        var(--gal-teal);

    background:
        var(--gal-teal);

    color:#fff;
}



/* ============================================================
   MASONRY
   ============================================================ */

.gallery-masonry {

    columns:3;

    column-gap:13px;
}


.gallery-item {

    width:100%;

    margin:
        0 0 13px;

    display:inline-block;

    break-inside:avoid;

    border-radius:12px;

    overflow:hidden;
}


.gallery-item[hidden] {

    display:none !important;
}


.gallery-image-button {

    position:relative;

    width:100%;

    padding:0;

    display:block;

    overflow:hidden;

    border:0;

    border-radius:12px;

    background:#e9efed;

    cursor:pointer;

    text-align:left;
}


/* variable heights */

.gallery-item:nth-child(6n + 1)
.gallery-image-button {

    height:440px;
}


.gallery-item:nth-child(6n + 2)
.gallery-image-button {

    height:310px;
}


.gallery-item:nth-child(6n + 3)
.gallery-image-button {

    height:370px;
}


.gallery-item:nth-child(6n + 4)
.gallery-image-button {

    height:290px;
}


.gallery-item:nth-child(6n + 5)
.gallery-image-button {

    height:410px;
}


.gallery-item:nth-child(6n)
.gallery-image-button {

    height:335px;
}


.gallery-image-button > img {

    height:100%;

    object-fit:cover;

    transition:
        transform .65s ease,
        filter .4s ease;
}


.gallery-image-button:hover > img {

    transform:scale(1.055);
}


.gallery-image-shade {

    position:absolute;

    inset:0;

    background:

        linear-gradient(
            to top,
            rgba(17,45,54,.79),
            transparent 55%
        );

    opacity:.84;

    transition:
        opacity .3s ease;
}


.gallery-image-button:hover
.gallery-image-shade {

    opacity:1;
}


.gallery-item-copy {

    position:absolute;

    z-index:2;

    left:18px;
    right:55px;
    bottom:17px;

    display:flex;

    flex-direction:column;

    color:#fff;
}


.gallery-item-copy small {

    font-size:7px;

    font-weight:800;

    letter-spacing:.8px;

    color:#A8DAD7;
}


.gallery-item-copy strong {

    margin-top:4px;

    font-family:
        var(--gal-heading);

    font-size:16px;
}


.gallery-view-icon {

    position:absolute;

    z-index:3;

    right:15px;
    bottom:15px;

    width:38px;
    height:38px;

    display:flex;

    align-items:center;
    justify-content:center;

    border:
        1px solid rgba(255,255,255,.22);

    border-radius:50%;

    background:
        rgba(255,255,255,.12);

    color:#fff;

    backdrop-filter:
        blur(7px);

    transition:
        transform .25s ease,
        background .25s ease;
}


.gallery-image-button:hover
.gallery-view-icon {

    transform:
        scale(1.08);

    background:
        rgba(255,255,255,.22);
}



/* ============================================================
   NO RESULTS
   ============================================================ */

.gallery-no-results {

    padding:
        60px 20px;

    text-align:center;
}


.gallery-no-results > i {

    font-size:28px;

    color:
        var(--gal-teal);
}


.gallery-no-results h3 {

    margin:
        13px 0 18px;

    font-family:
        var(--gal-heading);

    color:
        var(--gal-dark);
}


.gallery-no-results button {

    min-height:42px;

    padding:
        0 15px;

    border:0;

    border-radius:8px;

    background:
        var(--gal-teal);

    color:#fff;

    font-weight:700;

    cursor:pointer;
}



/* ============================================================
   STORY
   ============================================================ */

.gallery-story {

    padding:
        105px 0;

    background:
        var(--gal-soft);
}


.gallery-story-layout {

    display:grid;

    grid-template-columns:
        .7fr 1fr;

    align-items:center;

    gap:90px;
}


.gallery-story-copy > p {

    margin:
        17px 0 0;

    font-size:12.5px;

    line-height:1.75;

    color:
        var(--gal-muted);
}


.gallery-story-copy > a {

    margin-top:22px;

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:
        var(--gal-teal) !important;

    font-size:10px;

    font-weight:700;
}


.gallery-story-images {

    display:grid;

    grid-template-columns:
        1fr 1fr;

    gap:12px;
}


.gallery-story-images figure {

    height:390px;

    margin:0;

    overflow:hidden;

    border-radius:
        15px 65px 15px 65px;
}


.gallery-story-images figure:nth-child(2) {

    margin-top:55px;
}


.gallery-story-images img {

    height:100%;

    object-fit:cover;

    transition:
        transform .55s ease;
}


.gallery-story-images figure:hover img {

    transform:scale(1.045);
}



/* ============================================================
   VISIT CTA
   ============================================================ */

.gallery-visit {

    padding:
        70px 0;

    background:#fff;
}


.gallery-visit-panel {

    padding:
        26px 29px;

    display:grid;

    grid-template-columns:
        52px 1fr auto;

    align-items:center;

    gap:20px;

    border:
        1px solid var(--gal-border);

    border-radius:13px;

    background:
        var(--gal-milk);
}


.gallery-visit-icon {

    width:50px;
    height:50px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:10px;

    background:
        var(--gal-gold-soft);

    color:
        var(--gal-gold);
}


.gallery-visit-panel small {

    font-size:7px;

    font-weight:800;

    letter-spacing:.8px;

    color:
        var(--gal-teal);
}


.gallery-visit-panel h2 {

    margin:
        4px 0 0;

    font-family:
        var(--gal-heading);

    font-size:21px;

    color:
        var(--gal-dark);
}


.gallery-visit-panel p {

    margin:
        4px 0 0;

    font-size:9.5px;

    color:
        var(--gal-muted);
}


.gallery-visit-panel > a {

    min-height:45px;

    padding:
        0 14px;

    display:flex;

    align-items:center;

    gap:8px;

    border-radius:8px;

    background:
        var(--gal-teal);

    color:#fff !important;

    font-size:10px;

    font-weight:700;
}



/* ============================================================
   FINAL CTA
   ============================================================ */

.gallery-final {

    position:relative;

    padding:
        63px 0;

    overflow:hidden;

    background:
        var(--gal-dark);

    color:#fff;
}


.gallery-final-orbit {

    position:absolute;

    width:420px;
    height:420px;

    right:-190px;
    top:-220px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius:50%;
}


.gallery-final-layout {

    position:relative;

    z-index:2;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:50px;
}


.gallery-final-layout
> div:first-child > span {

    font-size:8px;

    font-weight:800;

    letter-spacing:.9px;

    color:#A9D5D2;
}


.gallery-final h2 {

    margin:
        6px 0 0;

    font-family:
        var(--gal-heading);

    font-size:
        clamp(29px,3.4vw,43px);
}


.gallery-final p {

    margin:
        8px 0 0;

    font-size:10px;

    color:#C3D2D5;
}


.gallery-final-actions {

    display:flex;

    gap:9px;
}


.gallery-final-primary,
.gallery-final-call {

    min-height:51px;

    padding:
        0 16px;

    display:flex;

    align-items:center;

    gap:8px;

    border-radius:8px;

    font-size:10px;

    font-weight:700;
}


.gallery-final-primary {

    background:
        var(--gal-teal);

    color:#fff !important;
}


.gallery-final-call {

    border:
        1px solid rgba(255,255,255,.2);

    color:#fff !important;
}



/* ============================================================
   LIGHTBOX
   ============================================================ */

.gallery-lightbox {

    position:fixed;

    z-index:15000;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    visibility:hidden;

    opacity:0;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}


.gallery-lightbox.is-open {

    visibility:visible;

    opacity:1;
}


.gallery-lightbox-backdrop {

    position:absolute;

    inset:0;

    background:
        rgba(7,20,25,.92);

    backdrop-filter:
        blur(8px);
}


.gallery-lightbox-content {

    position:relative;

    z-index:2;

    width:min(
        1050px,
        calc(100% - 150px)
    );
}


.gallery-lightbox-image-wrap {

    height:
        min(72vh,720px);

    overflow:hidden;

    border-radius:12px;

    background:#10191c;
}


.gallery-lightbox-image-wrap img {

    width:100%;
    height:100%;

    object-fit:contain;
}


.gallery-lightbox-caption {

    padding:
        14px 3px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    color:#fff;
}


.gallery-lightbox-caption > div {

    display:flex;

    flex-direction:column;
}


.gallery-lightbox-caption small {

    font-size:7px;

    font-weight:800;

    letter-spacing:.8px;

    color:#8CC8C5;
}


.gallery-lightbox-caption strong {

    margin-top:3px;

    font-family:
        var(--gal-heading);

    font-size:15px;
}


.gallery-lightbox-caption > span {

    font-size:9px;

    color:#B8C5C8;
}


.gallery-lightbox-close {

    position:absolute;

    z-index:4;

    right:27px;
    top:24px;

    width:46px;
    height:46px;

    display:flex;

    align-items:center;
    justify-content:center;

    border:
        1px solid rgba(255,255,255,.16);

    border-radius:50%;

    background:
        rgba(255,255,255,.08);

    color:#fff;

    font-size:16px;

    cursor:pointer;
}


.gallery-lightbox-nav {

    position:absolute;

    z-index:4;

    top:50%;

    width:48px;
    height:48px;

    display:flex;

    align-items:center;
    justify-content:center;

    border:
        1px solid rgba(255,255,255,.15);

    border-radius:50%;

    background:
        rgba(255,255,255,.08);

    color:#fff;

    cursor:pointer;

    transform:
        translateY(-50%);
}


.gallery-lightbox-prev {
    left:25px;
}


.gallery-lightbox-next {
    right:25px;
}



/* ============================================================
   MOBILE QUICK BAR
   ============================================================ */

.gallery-mobile-bar {
    display:none;
}



/* ============================================================
   TABLET
   ============================================================ */

@media(max-width:950px) {

    .gallery-hero-layout,
    .gallery-story-layout {

        grid-template-columns:1fr;

        gap:50px;
    }


    .gallery-hero-collage {

        max-width:680px;
    }


    .gallery-masonry {

        columns:2;
    }

}



/* ============================================================
   MOBILE
   ============================================================ */

@media(max-width:600px) {

    #arhaGalleryPage {

        padding-bottom:60px;
    }


    .gallery-container {

        width:
            calc(100% - 30px);
    }


    .gallery-mobile-bar {

        position:fixed;

        left:0;
        right:0;
        bottom:0;

        z-index:8500;

        height:60px;

        display:grid;

        grid-template-columns:
            repeat(3,1fr);

        background:#fff;

        border-top:
            1px solid var(--gal-border);

        box-shadow:
            0 -7px 25px rgba(0,0,0,.1);
    }


    .gallery-mobile-bar a {

        display:flex;

        flex-direction:column;

        align-items:center;
        justify-content:center;

        gap:4px;

        font-size:8px;

        font-weight:700;

        color:
            var(--gal-dark) !important;
    }


    .gallery-mobile-bar
    .gallery-mobile-primary {

        background:
            var(--gal-teal);

        color:#fff !important;
    }


    /* Hero */

    .gallery-hero {

        padding:
            50px 0 70px;
    }


    .gallery-hero h1 {

        font-size:
            clamp(43px,13vw,58px);

        letter-spacing:-1.7px;
    }


    .gallery-hero-copy > p {

        font-size:12.5px;
    }


    .gallery-hero-actions {

        flex-direction:column;
    }


    .gallery-primary,
    .gallery-secondary {

        width:100%;
    }


    .gallery-hero-collage {

        min-height:435px;
    }


    .gallery-hero-main {

        right:0;

        width:70%;
        height:390px;

        border-radius:
            60px 12px 60px 12px;
    }


    .gallery-hero-small {

        width:39%;
        height:150px;

        border-width:5px;

        border-radius:
            12px 38px 12px 38px;
    }


    .gallery-small-one {

        top:35px;
    }


    .gallery-small-two {

        left:7px;
        bottom:25px;
    }


    .gallery-floating-label {

        right:5px;
        bottom:-8px;

        max-width:235px;
    }


    /* Main */

    .gallery-main,
    .gallery-story {

        padding:
            72px 0;
    }


    .gallery-heading h2,
    .gallery-story-copy h2 {

        font-size:32px;
    }


    /* filters horizontal scroll */

    .gallery-filter-bar {

        flex-wrap:nowrap;

        overflow-x:auto;

        padding-bottom:5px;

        scrollbar-width:none;
    }


    .gallery-filter-bar::-webkit-scrollbar {

        display:none;
    }


    .gallery-filter {

        flex:0 0 auto;
    }


    /* masonry */

    .gallery-masonry {

        columns:1;

        column-gap:0;
    }


    .gallery-item {

        margin-bottom:10px;
    }


    .gallery-item:nth-child(n)
    .gallery-image-button {

        height:330px;
    }


    /* story */

    .gallery-story-images {

        gap:8px;
    }


    .gallery-story-images figure {

        height:270px;

        border-radius:
            12px 40px 12px 40px;
    }


    .gallery-story-images figure:nth-child(2) {

        margin-top:35px;
    }


    /* visit */

    .gallery-visit-panel {

        grid-template-columns:
            45px 1fr;

        padding:20px;
    }


    .gallery-visit-panel > a {

        grid-column:span 2;

        justify-content:center;
    }


    /* Final */

    .gallery-final-layout {

        align-items:flex-start;

        flex-direction:column;

        gap:25px;
    }


    .gallery-final-actions {

        width:100%;

        flex-direction:column;
    }


    .gallery-final-primary,
    .gallery-final-call {

        width:100%;
    }


    /* Lightbox */

    .gallery-lightbox-content {

        width:
            calc(100% - 28px);
    }


    .gallery-lightbox-image-wrap {

        height:68vh;

        border-radius:8px;
    }


    .gallery-lightbox-nav {

        width:42px;
        height:42px;

        top:auto;
        bottom:18px;

        transform:none;
    }


    .gallery-lightbox-prev {

        left:20px;
    }


    .gallery-lightbox-next {

        right:20px;
    }


    .gallery-lightbox-close {

        right:15px;
        top:15px;

        width:42px;
        height:42px;
    }


    .gallery-lightbox-caption {

        padding-bottom:70px;
    }

}



/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media(prefers-reduced-motion:reduce) {

    #arhaGalleryPage *,
    #arhaGalleryPage *::before,
    #arhaGalleryPage *::after {

        animation:none !important;

        transition:none !important;
    }


    #arhaGalleryPage
    [data-gallery-reveal] {

        opacity:1 !important;

        transform:none !important;
    }

}