:root {
    --orange: #E8572A;
    --orange-light: #FF7043;
    --dark: #111110;
    --dark-2: #1A1917;
    --cream: #F5F0E8;
    --cream-2: #FAF7F2;
    --text-muted-custom: #8A8070;
}

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

/* ── HERO ── */
.hero {
    position: relative;
    height: 400px;
    background: #0b0a08;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 52px;
}

.hero-split {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%);
    background: linear-gradient(160deg, #1a1510 0%, #0e0c09 100%);
    z-index: 0;
}

.hero-split::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(232, 87, 42, 0.12) 100%);
}

.hero-right-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #1c1208 0%, #0d0b07 100%);
    z-index: 0;
    overflow: hidden;
}

.hero-right-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(232, 87, 42, 0.03) 30px, rgba(232, 87, 42, 0.03) 31px);
}

.hero-right-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 80% 40%, rgba(232, 87, 42, 0.18) 0%, transparent 65%);
}

.hero-vline {
    position: absolute;
    left: 56%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--orange) 30%, var(--orange) 70%, transparent);
    z-index: 2;
}

.hero-bg-word {
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(100px, 20vw, 220px);
    color: rgba(232, 87, 42, 0.05);
    line-height: 1;
    letter-spacing: -8px;
    user-select: none;
    z-index: 1;
    white-space: nowrap;
}

.hero-ticker {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 5;
    opacity: 0.35;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
}

.hero-ticker-inner {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: ticker 22s linear infinite;
}

.hero-ticker span {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-ticker span::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 56px;
    max-width: 700px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.4)
    }
}

.hero-eyebrow span {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 600;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(52px, 9vw, 108px);
    color: #fff;
    line-height: 0.88;
    letter-spacing: 2px;
}

.hero h1 .outline {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    color: transparent;
}

.hero h1 .accent {
    color: var(--orange);
}

.hero-sub {
    margin-top: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.3px;
    font-weight: 400;
}

.hero-bottom-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--orange-light) 60%, transparent);
    z-index: 10;
}

/* ── GALLERY SECTION ── */
.gallery-section {
    padding: 64px 0 80px;
}

/* ── FILTER BAR ── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted-custom);
    margin-right: 8px;
    font-weight: 600;
}

.filter-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 9px 22px;
    border-radius: 30px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    background: transparent;
    color: var(--text-muted-custom);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 7px;
}

.filter-btn i {
    font-size: 13px;
}

.filter-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(232, 87, 42, 0.04);
}

.filter-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    box-shadow: 0 6px 20px rgba(232, 87, 42, 0.25);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* ── MASONRY GRID ── */
.gallery-grid {
    columns: 3;
    column-gap: 14px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #e0d8cc;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.55s cubic-bezier(.4, 0, .2, 1);
    object-fit: cover;
}

/* Tall tiles */
.gallery-item.tall img {
    height: 420px;
}

/* Wide tiles span 2 cols */
.gallery-item.wide {
    break-inside: avoid;
}

.gallery-item.wide img {
    height: 280px;
}

.gallery-item img {
    height: 260px;
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 8, 5, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.overlay-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 8px;
}

.overlay-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
}

.overlay-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* Orange corner accent on hover */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent var(--orange) transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 5, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-inner {
    position: relative;
    max-width: 1000px;
    width: 100%;
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
}

.lightbox.open .lightbox-inner {
    transform: scale(1);
}

.lightbox-inner img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.lightbox-close:hover {
    color: var(--orange);
}

.lightbox-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.lightbox-caption-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.lightbox-caption-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: #fff;
    letter-spacing: 1px;
}

.lightbox-nav {
    display: flex;
    gap: 8px;
}

.lightbox-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.lightbox-nav button:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* Section eyebrow */
.section-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-eyebrow::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--orange);
}

/* Gallery header */
.gallery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-count-badge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--text-muted-custom);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}

.gallery-count-badge span {
    color: var(--orange);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    display: none;
}

.empty-state i {
    font-size: 48px;
    color: rgba(0, 0, 0, 0.1);
    display: block;
    margin-bottom: 16px;
}

.empty-state p {
    color: var(--text-muted-custom);
    font-size: 14px;
}

/* Fade animation */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

/* Filter transition */
.gallery-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

@media (max-width: 991px) {
    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        columns: 1;
    }

    .hero-content {
        padding: 0 28px;
    }

    .hero-vline {
        display: none;
    }

    .hero-split {
        clip-path: none;
    }

    .hero-right-panel {
        width: 100%;
        opacity: 0.3;
    }
}