
/* Background video must never participate in the article document flow. */
.global-video-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -10;
    pointer-events: none;
}

.global-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.global-video-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -9;
    pointer-events: none;
    background: rgba(5, 5, 5, .82);
}

/* Touquet Music Beach Festival 2026 — case study */

.case-study {
    position: relative;
    z-index: 1;
    padding-top: 110px;
}

.case-hero,
.case-section,
.case-stats,
.case-means,
.case-gallery,
.case-cta {
    width: min(1400px, 90%);
    margin-inline: auto;
}

.case-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: clamp(36px, 6vw, 88px);
    align-items: center;
    min-height: 72vh;
    padding: 70px 0 90px;
}

.case-back,
.case-copy a,
.case-gallery-link {
    color: #fff;
    font-weight: 700;
}

.case-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    color: #aaa;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.case-back:hover,
.case-copy a:hover,
.case-gallery-link:hover {
    color: var(--accent);
}

.case-eyebrow,
.case-section-label {
    display: inline-block;
    color: var(--primary);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.case-hero h1 {
    margin: 15px 0 24px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.7rem, 6.7vw, 6.4rem);
    line-height: .95;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

.case-hero h1 span {
    display: block;
    color: var(--accent);
}

.case-lead {
    max-width: 760px;
    margin: 0;
    color: #c6c6c6;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.case-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: #d5d5d5;
    font-size: .78rem;
}

.case-meta i {
    color: var(--accent);
}

.case-hero-media,
.case-feature-image {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    background: #0b0b0b;
    box-shadow: 0 28px 80px rgba(0,0,0,.45);
}

.case-hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.case-hero-media img,
.case-feature-image img {
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: contain;
    display: block;
}

.case-hero-media img {
    max-height: 680px;
}

.case-feature-image--panorama {
    grid-column: 1 / -1;
    min-height: 0;
    aspect-ratio: auto;
}

.case-feature-image--panorama img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.case-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(38px, 7vw, 95px);
    align-items: center;
    padding: 95px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.case-copy h2,
.case-heading h2,
.case-cta h2 {
    margin: 12px 0 22px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.case-copy p,
.case-heading p,
.case-cta p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.8;
}

.case-copy strong {
    color: #fff;
}

.case-copy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.case-feature-image {
    min-height: 0;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-intro {
    grid-template-columns: 1fr;
}

.case-intro .case-copy {
    max-width: 900px;
}

.case-challenge .case-feature-image {
    aspect-ratio: auto;
    max-height: none;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255,255,255,.035);
}

.case-stats article {
    min-height: 150px;
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.08);
}

.case-stats article:last-child {
    border-right: 0;
}

.case-stats strong {
    font-family: 'Syne', sans-serif;
    color: #fff;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.case-stats span {
    margin-top: 8px;
    color: #888;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.case-means,
.case-gallery {
    padding: 100px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.case-heading {
    max-width: 800px;
    margin-bottom: 48px;
}

.case-means-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.case-means-grid article {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    background: rgba(255,255,255,.035);
}

.case-means-grid article > span {
    color: var(--accent);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
}

.case-means-grid h3 {
    margin: 34px 0 12px;
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
}

.case-means-grid p {
    margin: 0;
    color: #999;
    font-size: .9rem;
    line-height: 1.65;
}

.case-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}

.case-gallery-item {
    position: relative;
    grid-column: span 4;
    min-height: 0;
    align-self: start;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #111;
}

.case-gallery-item:nth-child(1),
.case-gallery-item:nth-child(4) {
    grid-column: span 8;
}

.case-gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform .45s ease;
}

.case-gallery-item--panorama {
    grid-column: 1 / -1 !important;
}

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

.case-gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.3);
}

.case-cta {
    margin-bottom: 100px;
    padding: 70px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(45,91,255,.12), rgba(224,0,91,.12));
}

.case-cta p {
    max-width: 750px;
    margin: 0 auto;
}

.case-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.case-btn {
    padding: 13px 20px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}

.case-btn:hover {
    border-color: #fff;
}

.case-btn-primary {
    border-color: var(--accent);
    background: var(--accent);
}

@media (max-width: 980px) {
    .case-hero,
    .case-section {
        grid-template-columns: 1fr;
    }

    .case-hero {
        padding-top: 45px;
    }

    .case-hero-media {
        aspect-ratio: auto;
    }

    .case-challenge .case-feature-image {
        order: 2;
        aspect-ratio: auto;
    }

    .case-stats,
    .case-means-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-stats article:nth-child(2) {
        border-right: 0;
    }

    .case-stats article:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .case-gallery-item,
    .case-gallery-item:nth-child(1),
    .case-gallery-item:nth-child(4) {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    .case-study {
        padding-top: 70px;
    }

    .case-hero,
    .case-section,
    .case-stats,
    .case-means,
    .case-gallery,
    .case-cta {
        width: min(92%, 680px);
    }

    .case-hero {
        min-height: auto;
        padding: 50px 0 65px;
    }

    .case-back {
        margin-bottom: 24px;
    }

    .case-hero h1 {
        font-size: clamp(2.5rem, 13vw, 4.2rem);
    }

    .case-hero-media,
    .case-feature-image,
    .case-challenge .case-feature-image {
        aspect-ratio: 4 / 5;
        min-height: 0;
    }

    .case-section,
    .case-means,
    .case-gallery {
        padding: 70px 0;
    }

    .case-stats,
    .case-means-grid {
        grid-template-columns: 1fr;
    }

    .case-stats article {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .case-stats article:last-child {
        border-bottom: 0;
    }

    .case-gallery-item,
    .case-gallery-item:nth-child(1),
    .case-gallery-item:nth-child(4) {
        grid-column: 1 / -1;
        min-height: 280px;
    }

    .case-cta {
        padding: 45px 22px;
        margin-bottom: 70px;
    }

    .case-cta-actions {
        flex-direction: column;
    }
}

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