@font-face {
    font-family: 'Euclid Circular B';
    src: url('fonts/EuclidCircularB-Regular-WebS.woff2') format('woff2'),
         url('fonts/EuclidCircularB-Regular-WebS.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Euclid Circular B';
    src: url('fonts/EuclidCircularB-Medium-WebS.woff2') format('woff2'),
         url('fonts/EuclidCircularB-Medium-WebS.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Euclid Circular B';
    src: url('fonts/EuclidCircularB-Semibold-WebS.woff2') format('woff2'),
         url('fonts/EuclidCircularB-Semibold-WebS.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Euclid Circular B';
    src: url('fonts/EuclidCircularB-Bold-WebS.woff2') format('woff2'),
         url('fonts/EuclidCircularB-Bold-WebS.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

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

body {
    font-family: 'Euclid Circular B', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    /* background-color: #000; */
    color: #fff;
    line-height: 1.6;
}

html.no-scroll,
body.no-scroll {
    overflow: hidden;
}

/* Minimal “site header” structure (module / hero / stack / block) */
.w-inline-block {
    display: inline-block;
    max-width: 100%;
}

.module {
    width: 100%;
    padding: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.module.hero {
    text-align: left;
}

.module.hero {
    padding-top: 160px;
}

.stack {
    width: 100%;
    max-width: 830px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin: 0 auto;
}

.block {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    align-items: flex-start;
}

@media (max-width: 991px) {
    .module {
        padding: 60px;
    }
}

@media (max-width: 767px) {
    .module {
        padding: 60px 8px;
    }

    .module.hero {
        padding-top: 95px;
    }
}

@media (max-width: 479px) {
    .module {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .block {
        padding: 24px;
    }
}

.headline-lockup,
.headline-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.headline-group {
    gap: 8px;
}

/* Match GoDaddy scale (headline-xxl + paragraph-l) while keeping dark theme */
.headline-xxl {
    margin: 0;
    font-size: 50px;
    font-weight: 700;
    line-height: 122%;
    color: #fff;
    max-width: 18ch;
}

.paragraph-l {
    margin: 0;
    max-width: 800px;
    font-size: 20px;
    font-weight: 300;
    line-height: 150%;
    color: #888;
}

.rgbart-logo {
    display: block;
    filter: invert(1);
}

.module.rgbart-filters {
    padding-top: 0;
    padding-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
    .module {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

.filter-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    padding: 0;
    font-size: 18px;
    user-select: none;
}

.filter-sort-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    width: 100%;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.control-label {
    font-size: 14px;
    line-height: 1;
    color: rgba(210, 210, 210, 0.9);
    user-select: none;
}

.control-group-filter {
    flex: 1 1 auto;
    min-width: 0;
}

.control-group-sort {
    flex: 0 0 auto;
    margin-left: auto;
    align-items: flex-end;
    text-align: right;
}

.sort-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    user-select: none;
}

.sort-item {
    cursor: pointer;
    color: #adadad;
    transition: color 0.2s ease;
}

.sort-item.active {
    color: #fff;
}

.filter-item {
    cursor: pointer;
    color: #adadad;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(173, 173, 173, 0.6);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.filter-item.active {
    color: #fff;
    text-decoration: none;
}

main {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
    justify-content: center;
}

.item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 7 / 10;
    background: #000;
}

.item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    cursor: pointer;
    /* Zoom in to crop the baked-in frame in the gallery */
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.item:hover img {
    transform: scale(1.3);
}

@media (prefers-reduced-motion: reduce) {
    .item img {
        transition: none;
    }
}

.caption {
    display: none;
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    overscroll-behavior: contain;
    touch-action: none;
    overflow: hidden;
}

.fullscreen-overlay.active {
    display: flex;
}

.lightbox-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform, opacity;
    pointer-events: auto;
    transform: scale(1.2);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    user-select: none;
    padding: 1rem;
    transition: color 0.2s ease;
}

.nav-arrow:hover {
    color: rgba(255, 255, 255, 0.6);
}
.lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-family: 'Euclid Circular B', sans-serif;
    letter-spacing: 0.1em;
    pointer-events: none;
    z-index: 1001;
    text-transform: uppercase;
}
.nav-left {
    left: 5%;
}

.nav-right {
    right: 5%;
}

footer {
    margin-top: 3rem;
}

.rgbart-footer {
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: left;
}

.rgbart-footer .stack {
    margin: 0 auto;
    align-items: flex-start;
}

.rgbart-footer .block {
    align-items: flex-start;
}

.headline-lockup-3,
.frame-12 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.headline-lockup-3 {
    align-items: flex-start;
}

.headline-l {
    margin: 0;
    font-size: 45px;
    font-weight: 700;
    line-height: 120%;
    color: #fff;
}

.rgbart-footer-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.inline-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;
    width: 100%;
}

.arrow-right-up {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    flex: 0 0 auto;
}

.vectors-wrapper-2,
.vectors-wrapper-3,
.vectors-wrapper-4 {
    display: block;
}

.case-link-copy {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
}

.hyperlink {
    color: #e50eea;
    text-decoration: underline;
}

.hyperlink:visited {
    color: #e50eea;
}

.hyperlink:hover {
    color: #e50eea;
}

/* Dark footer asset treatment */
.rgbart-footer .rgbart-logo {
    filter: invert(1);
}

/* Recolor main-site blue icons to magenta on dark */
.rgbart-footer .vectors-wrapper-2,
.rgbart-footer .vectors-wrapper-3,
.rgbart-footer .vectors-wrapper-4 {
    filter: invert(15%) sepia(88%) saturate(7200%) hue-rotate(290deg) brightness(105%) contrast(120%);
}

@media (max-width: 768px) {
    /* Gallery: 2 columns on mobile */
    main {
        padding: 0;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
        gap: 8px;
    }

    /* Lightbox: true fullscreen, no arrows */
    .fullscreen-overlay {
        justify-content: stretch;
        align-items: stretch;
    }

    .nav-arrow {
        display: none;
    }
}
