/* ============================================================
   OUR WORK / GALLERY PAGE  —  ow-* namespace
   All rules scoped to .our-work-page to prevent bleed
   ============================================================ */

/* ── HERO ──────────────────────────────────────────────────── */
.our-work-page .ow-hero {
    position: relative;
    min-height: 160px;
    padding: 0;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
}
.our-work-page .ow-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ow-hero-bg, none) center / cover no-repeat;
    opacity: 0.10;
    z-index: 0;
}
.our-work-page .ow-hero > .container {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 60px;
    width: 100%;
}
.our-work-page .ow-hero__ghost {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.07;
    line-height: 1;
    user-select: none;
    z-index: 0;
    pointer-events: none;
}
.our-work-page .ow-hero__eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C9A84C;
    margin-bottom: 10px;
    font-weight: 600;
}
.our-work-page .ow-hero__heading {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.05;
    margin-bottom: 12px;
    color: #fff;
}
.our-work-page .ow-hero__heading em {
    color: #C9A84C;
    font-style: normal;
}
.our-work-page .ow-hero__subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    line-height: 1.6;
}

/* ── FILTER BAR ─────────────────────────────────────────────── */
.our-work-page .ow-filter-bar {
    background: #0d0d0d;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.our-work-page .ow-filter-bar__inner {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.our-work-page .ow-filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1.4;
}
.our-work-page .ow-filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}
.our-work-page .ow-filter-btn.active {
    background: #C9A84C;
    border-color: #C9A84C;
    color: #111;
    font-weight: 700;
}

/* ── SHARED SECTION LABELS ──────────────────────────────────── */
.our-work-page .ow-section-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C9A84C;
    margin-bottom: 6px;
    font-weight: 600;
}
.our-work-page .ow-section-title {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
    color: #fff;
}

/* ── CASE STUDY CARDS ───────────────────────────────────────── */
.our-work-page .ow-cards-section {
    padding: 36px 0 24px;
    background: #111;
}
.our-work-page .ow-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.our-work-page .ow-card {
    position: relative;
    display: block;
    overflow: visible;
    text-decoration: none;
    color: #fff;
    background: #1a1a1a;
    transition: transform 0.4s ease;
    z-index: 1;
    cursor: pointer;
}
.our-work-page .ow-card:hover {
    transform: scale(1.04);
    z-index: 10;
    color: #fff;
    text-decoration: none;
}
.our-work-page .ow-card--featured {
    grid-column: span 2;
}
.our-work-page .ow-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.our-work-page .ow-card--featured .ow-card__img-wrap {
    aspect-ratio: 16 / 9;
}
.our-work-page .ow-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.4s ease;
    display: block;
}
.our-work-page .ow-card:hover .ow-card__img-wrap img {
    filter: grayscale(0);
}
.our-work-page .ow-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    transition: opacity 0.4s;
    z-index: 1;
}
.our-work-page .ow-card:hover .ow-card__img-wrap::after {
    opacity: 0;
}
.our-work-page .ow-card__body {
    padding: 14px;
}
.our-work-page .ow-card__tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 7px;
}
.our-work-page .ow-service-tag {
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: #C9A84C;
    color: #111;
    padding: 2px 8px;
    font-weight: 700;
    line-height: 1.4;
}
.our-work-page .ow-card__context {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.our-work-page .ow-card__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
    line-height: 1.2;
    color: #fff;
}
.our-work-page .ow-card__desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 10px;
}
.our-work-page .ow-card__stats {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
    flex-wrap: wrap;
}
.our-work-page .ow-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.our-work-page .ow-stat__value {
    font-size: 14px;
    font-weight: 700;
    color: #C9A84C;
}
.our-work-page .ow-stat__label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.our-work-page .ow-card__cta {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #C9A84C;
    display: flex;
    align-items: center;
    gap: 5px;
}
.our-work-page .ow-card__cta svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.our-work-page .ow-card:hover .ow-card__cta svg {
    transform: translateX(4px);
}

/* ── GALLERY GRID ───────────────────────────────────────────── */
.our-work-page .ow-gallery-section {
    padding: 36px 0;
    background: #0d0d0d;
}
.our-work-page .ow-gallery-section .container {
    margin-bottom: 16px;
}
.our-work-page .ow-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 0 14px 14px;
    max-width: 1140px;
    margin: 0 auto;
}
.our-work-page .ow-gtile {
    position: relative !important;
    overflow: visible;
    transition: transform 0.4s ease;
    z-index: 1;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}
.our-work-page .ow-gtile:hover {
    transform: scale(1.04);
    z-index: 10;
}
.our-work-page .ow-gtile__primary-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.our-work-page .ow-gtile__primary-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1);
    transition: filter 0.4s ease;
}
.our-work-page .ow-gtile:hover .ow-gtile__primary-link img {
    filter: grayscale(0);
}
.our-work-page .ow-gtile__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    transition: opacity 0.4s;
    z-index: 1;
}
.our-work-page .ow-gtile:hover .ow-gtile__overlay {
    opacity: 0;
}
.our-work-page .ow-gtile__tag {
    position: absolute;
    bottom: 6px;
    left: 6px;
    font-size: 8px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: #C9A84C;
    color: #111;
    padding: 2px 6px;
    font-weight: 700;
    z-index: 2;
    line-height: 1.4;
}
.our-work-page .ow-gtile__count {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 2px 6px;
    font-weight: 600;
    z-index: 2;
    line-height: 1.4;
}

/* ── CTA STRIP ──────────────────────────────────────────────── */
.our-work-page .ow-cta-strip {
    background: #C9A84C;
    padding: 36px 24px;
    text-align: center;
}
.our-work-page .ow-cta-strip__heading {
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111;
    margin-bottom: 16px;
}
.our-work-page .ow-cta-btn {
    display: inline-block;
    background: #111;
    color: #C9A84C;
    padding: 12px 32px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.our-work-page .ow-cta-btn:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .our-work-page .ow-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .our-work-page .ow-card--featured {
        grid-column: span 2;
    }
    .our-work-page .ow-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .our-work-page .ow-cards-grid {
        grid-template-columns: 1fr;
    }
    .our-work-page .ow-card--featured {
        grid-column: span 1;
    }
    .our-work-page .ow-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 8px 8px;
    }
    .our-work-page .ow-filter-bar__inner {
        gap: 4px;
    }
}