/*
 * Header collision guard.
 * The full desktop navigation needs more room than is available below 1601px.
 */
.site-header .header-inner {
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
}

/* Do not clip the fixed awards-video theatre to its page section. */
.accreditation-section {
    overflow: visible;
}

.recognition-theatre {
    position: fixed !important;
    z-index: 10000;
    inset: 0 !important;
    width: 100vw;
    height: 100dvh;
}

/* Let the fixed recognition theatre use the viewport, not page ancestry. */
body {
    overflow-x: clip;
}

.site-shell {
    overflow: visible !important;
}

.site-shell main,
.accreditation-section,
.accreditation-section > .site-container {
    transform: none !important;
    filter: none !important;
    contain: none !important;
}

@media (min-width: 701px) {
    .universal-back-button {
        position: fixed;
        top: 126px;
        left: max(18px, calc((100vw - 1240px) / 2 - 58px));
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
        justify-content: center;
        border-color: rgba(103, 232, 249, 0.2);
        background: rgba(5, 15, 25, 0.94);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    }

    .universal-back-button svg {
        box-sizing: border-box;
        width: 18px;
        height: 18px;
        padding: 0;
        background: transparent;
        color: #67e8f9;
    }

    .universal-back-button span {
        display: none;
    }
}

@media (max-width: 650px) {
    .map-lightbox .external-lightbox-panel > header button {
        position: fixed;
        top: max(12px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
        z-index: 1305;
        width: 46px;
        height: 46px;
        min-height: 46px;
        padding: 0;
        border: 2px solid rgba(255, 255, 255, 0.92);
        border-radius: 999px;
        background: #071525;
        color: #ffffff;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.48);
    }

    .map-lightbox .external-lightbox-panel > header button svg {
        width: 22px;
        height: 22px;
        stroke-width: 2.5;
    }
}

/* Advertising solutions — premium proposal tiers */
.pricing-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.pricing-grid::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -70px -8vw;
    background:
        radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.11), transparent 34rem),
        linear-gradient(180deg, #07131f, #02070d);
}

.price-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 590px;
    overflow: hidden;
    padding: 38px 34px 32px;
    flex-direction: column;
    border: 1px solid rgba(148, 190, 207, 0.2);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(18, 39, 54, 0.96), rgba(6, 17, 27, 0.98));
    color: #f6fbfd;
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.26);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 34px;
    width: 46px;
    height: 3px;
    border-radius: 0 0 5px 5px;
    background: rgba(103, 232, 249, 0.58);
}

.price-card::after {
    position: absolute;
    top: 29px;
    right: 30px;
    color: rgba(255, 255, 255, 0.11);
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.price-card:nth-child(1)::after { content: '01'; }
.price-card:nth-child(2)::after { content: '02'; }
.price-card:nth-child(3)::after { content: '03'; }

.price-card.featured {
    border-color: rgba(103, 232, 249, 0.62);
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.2), transparent 17rem),
        linear-gradient(145deg, #102d3d, #071521 74%);
    box-shadow:
        0 28px 85px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(103, 232, 249, 0.08);
}

.price-card.featured::before {
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 0;
    background: linear-gradient(90deg, #22d3ee, #67e8f9);
}

.price-card .popular {
    align-self: flex-start;
    margin: 0 0 19px;
    padding: 7px 10px;
    border: 1px solid rgba(103, 232, 249, 0.32);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.09);
    color: #67e8f9;
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.price-card:not(.featured) h2 {
    margin-top: 35px;
}

.price-card h2 {
    position: relative;
    z-index: 1;
    max-width: 85%;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.price-card > p {
    min-height: 78px;
    margin: 0;
    color: #aebfca;
    font-size: 0.93rem;
    line-height: 1.65;
}

.price-card .price-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding: 15px 0;
    border-block: 1px solid rgba(148, 190, 207, 0.16);
    color: #e7f8fb;
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.price-card .price-label::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22d3ee;
    box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.1);
}

.price-card ul {
    display: grid;
    margin: 6px 0 28px;
    padding: 0;
    list-style: none;
}

.price-card li {
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 11px 0;
    border-bottom: 1px solid rgba(148, 190, 207, 0.1);
    color: #cfdae0;
    font-size: 0.84rem;
    line-height: 1.42;
}

.price-card li svg {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.13);
    color: #67e8f9;
    stroke-width: 2.7;
}

.price-card > .button,
.price-card > .button.button-dark {
    width: 100%;
    min-height: 54px;
    margin-top: auto;
    padding-inline: 20px;
    justify-content: space-between;
    border: 1px solid rgba(103, 232, 249, 0.35);
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

.price-card > .button:hover,
.price-card > .button.button-dark:hover {
    border-color: #67e8f9;
    background: rgba(34, 211, 238, 0.1);
    color: #ffffff;
}

.price-card.featured > .button {
    border-color: #22d3ee;
    background: #22d3ee;
    color: #031019;
}

.price-card.featured > .button:hover {
    background: #67e8f9;
    color: #031019;
}

@media (max-width: 980px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .price-card {
        min-height: 0;
    }

    .price-card > p {
        min-height: 0;
    }
}

@media (max-width: 650px) {
    .pricing-grid {
        gap: 16px;
    }

    .pricing-grid::before {
        inset: -45px -20px;
    }

    .price-card {
        padding: 31px 22px 24px;
        border-radius: 16px;
    }

    .price-card::before {
        left: 22px;
    }

    .price-card::after {
        top: 23px;
        right: 22px;
        font-size: 2rem;
    }

    .price-card:not(.featured) h2 {
        margin-top: 29px;
    }

    .price-card h2 {
        font-size: 1.75rem;
    }
}

/* Videos page — cinematic portfolio */
.video-page-section {
    position: relative;
    overflow: hidden;
    padding-block: clamp(72px, 8vw, 118px);
    background:
        radial-gradient(circle at 86% 10%, rgba(34, 211, 238, 0.12), transparent 31rem),
        linear-gradient(180deg, #06111d 0%, #02070d 100%);
    color: #f8fbfd;
}

.video-page-section::before {
    content: 'SELECTED FILMS';
    position: absolute;
    top: 26px;
    right: max(24px, calc((100vw - 1240px) / 2));
    color: rgba(255, 255, 255, 0.035);
    font-size: clamp(72px, 10vw, 154px);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.07em;
    white-space: nowrap;
    pointer-events: none;
}

.video-page-section .site-container {
    position: relative;
    z-index: 1;
}

.video-intro {
    display: grid;
    grid-template-columns: 76px minmax(0, 780px) auto;
    gap: 24px;
    align-items: center;
    max-width: none;
    margin: 0 0 clamp(46px, 6vw, 76px);
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(148, 190, 207, 0.2);
}

.video-intro::after {
    content: '06 FILMS  /  SOUTH AFRICA';
    justify-self: end;
    color: #67e8f9;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.video-intro > svg {
    box-sizing: border-box;
    width: 64px;
    height: 64px;
    padding: 18px;
    border: 1px solid rgba(103, 232, 249, 0.35);
    border-radius: 999px;
    background: rgba(8, 30, 44, 0.82);
    color: #67e8f9;
}

.video-intro p {
    margin: 0;
    color: #d8e4e9;
    font-family: inherit;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 520;
    line-height: 1.42;
    letter-spacing: -0.025em;
}

.video-page-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.video-project {
    position: relative;
    grid-column: span 6;
    overflow: hidden;
    border: 1px solid rgba(148, 190, 207, 0.19);
    border-radius: 18px;
    background: rgba(8, 20, 31, 0.94);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.video-project:hover {
    transform: translateY(-4px);
    border-color: rgba(103, 232, 249, 0.5);
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.38);
}

.video-project-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.35fr);
    border-color: rgba(103, 232, 249, 0.3);
}

.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-embed::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.video-embed iframe {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-project-copy {
    position: relative;
    display: flex;
    min-height: 112px;
    padding: 24px 72px 24px 26px;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(148, 190, 207, 0.15);
}

.video-project-copy::before {
    color: #67e8f9;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.video-project:nth-child(1) .video-project-copy::before { content: 'Public sector film'; }
.video-project:nth-child(2) .video-project-copy::before { content: 'Corporate profile'; }
.video-project:nth-child(3) .video-project-copy::before { content: 'Automotive'; }
.video-project:nth-child(4) .video-project-copy::before { content: 'Industrial'; }
.video-project:nth-child(5) .video-project-copy::before { content: 'Education'; }
.video-project:nth-child(6) .video-project-copy::before { content: 'Enterprise'; }

.video-project-copy::after {
    position: absolute;
    right: 26px;
    top: 50%;
    color: rgba(255, 255, 255, 0.19);
    font-size: 1.05rem;
    font-weight: 850;
    transform: translateY(-50%);
}

.video-project:nth-child(1) .video-project-copy::after { content: '01'; }
.video-project:nth-child(2) .video-project-copy::after { content: '02'; }
.video-project:nth-child(3) .video-project-copy::after { content: '03'; }
.video-project:nth-child(4) .video-project-copy::after { content: '04'; }
.video-project:nth-child(5) .video-project-copy::after { content: '05'; }
.video-project:nth-child(6) .video-project-copy::after { content: '06'; }

.video-project-copy h2,
.video-project-featured .video-project-copy h2 {
    margin: 8px 0 0;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(1.1rem, 1.7vw, 1.55rem);
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.video-project-featured .video-project-copy {
    min-height: 100%;
    padding: 38px;
    justify-content: flex-end;
    border-top: 0;
    border-left: 1px solid rgba(148, 190, 207, 0.15);
    background:
        linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.055)),
        #08141f;
}

.video-project-featured .video-project-copy::after {
    top: 34px;
    right: 34px;
    transform: none;
}

.video-project-featured .video-project-copy h2 {
    max-width: 280px;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    line-height: 1.04;
}

@media (max-width: 900px) {
    .video-intro {
        grid-template-columns: 64px 1fr;
    }

    .video-intro::after {
        display: none;
    }

    .video-project-featured {
        display: block;
    }

    .video-project-featured .video-project-copy {
        min-height: 132px;
        padding: 24px 72px 24px 26px;
        border-top: 1px solid rgba(148, 190, 207, 0.15);
        border-left: 0;
    }

    .video-project-featured .video-project-copy::after {
        top: 50%;
        right: 26px;
        transform: translateY(-50%);
    }

    .video-project-featured .video-project-copy h2 {
        max-width: none;
        font-size: clamp(1.35rem, 3vw, 1.8rem);
    }
}

@media (max-width: 650px) {
    .video-page-section {
        padding-block: 58px 72px;
    }

    .video-page-section::before {
        display: none;
    }

    .video-intro {
        grid-template-columns: 46px 1fr;
        gap: 15px;
        margin-bottom: 30px;
        padding-bottom: 24px;
    }

    .video-intro > svg {
        width: 46px;
        height: 46px;
        padding: 12px;
    }

    .video-intro p {
        font-size: 1.04rem;
        line-height: 1.48;
    }

    .video-page-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .video-project,
    .video-project-featured {
        grid-column: auto;
        border-radius: 13px;
    }

    .video-project:hover {
        transform: none;
    }

    .video-project-copy,
    .video-project-featured .video-project-copy {
        min-height: 92px;
        padding: 18px 58px 18px 18px;
    }

    .video-project-copy::after,
    .video-project-featured .video-project-copy::after {
        right: 18px;
    }

    .video-project-copy h2,
    .video-project-featured .video-project-copy h2 {
        margin-top: 5px;
        font-size: 1.08rem;
    }
}

@media (max-width: 1100px) {
    .site-header .desktop-nav,
    .site-header .header-cta {
        display: none !important;
    }

    .site-header .header-search-toggle {
        margin-left: auto;
    }

    .site-header .menu-button {
        display: grid !important;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        place-items: center;
        margin-left: 0;
        border: 1px solid rgba(103, 232, 249, 0.2);
        border-radius: 50%;
    }

    .site-header .mobile-nav {
        display: grid;
    }
}

@media (min-width: 1101px) {
    .site-header .desktop-nav {
        display: flex !important;
        flex: 1 1 auto;
        justify-content: flex-start;
        gap: clamp(8px, 0.85vw, 14px);
        min-width: 0;
        padding-right: 0;
    }

    .site-header .desktop-nav a {
        padding: 9px 4px;
        font-size: clamp(0.65rem, 0.64vw, 0.72rem);
    }

    .site-header .brand-lockup {
        flex-basis: 154px;
        margin-right: 8px;
    }

    .site-header .brand-lockup img {
        width: 154px;
    }

    .site-header .header-cta,
    .site-header .menu-button {
        display: none !important;
    }

    .site-header .header-account-links {
        display: inline-flex !important;
        gap: 4px;
        padding-left: 6px;
    }

    .site-header .header-account-links a,
    .site-header .header-account-links button {
        font-size: 0.64rem;
    }

    .site-header .header-account-links .header-join-link {
        padding: 0.48rem 0.62rem;
    }

    .site-header .header-search-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        margin-left: 0;
    }

    .site-header .fullscreen-toggle {
        width: 40px;
        min-width: 40px;
        min-height: 40px;
        flex-basis: 40px;
    }
}

@media (max-width: 1100px) {
    .site-header .mobile-nav {
        width: min(680px, calc(100% - 24px));
        margin: 0 auto 12px;
        padding: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        border: 1px solid rgba(103, 232, 249, 0.16);
        border-radius: 18px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    }

    .site-header .mobile-nav > a,
    .site-header .mobile-account-links > a,
    .site-header .mobile-account-links > button {
        min-height: 48px;
        padding: 12px 14px;
        border: 1px solid rgba(148, 184, 204, 0.12);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.035);
    }

    .site-header .mobile-account-links {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 4px;
        padding-top: 12px;
    }
}

@media (max-width: 760px) {
    .site-header .header-inner {
        width: calc(100% - 20px);
        max-width: none;
        gap: 6px;
    }

    .site-header .brand-lockup {
        flex: 0 0 clamp(96px, 29vw, 118px);
        margin-right: auto;
    }

    .site-header .brand-lockup img {
        width: clamp(96px, 29vw, 118px);
        height: 46px;
    }

    .site-header .site-preferences {
        display: inline-flex;
        min-height: 38px;
        gap: 0;
        padding: 2px;
    }

    .site-header .site-preferences button {
        width: 32px;
        min-width: 32px;
        height: 32px;
        min-height: 32px;
    }

    .site-header .site-preferences label {
        width: 42px;
        min-width: 42px;
        height: 32px;
        min-height: 32px;
    }

    .site-header .site-preferences select {
        width: 22px;
        font-size: 0.61rem;
    }

    .site-header .header-search-toggle,
    .site-header .menu-button {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
    }

    .site-header .fullscreen-toggle {
        display: none !important;
    }
}

@media (max-width: 560px) {
    .site-header .mobile-nav,
    .site-header .mobile-account-links {
        grid-template-columns: 1fr;
    }
}

/* Mobile client-film theatre: introduce, watch, then browse. */
@media (max-width: 640px) {
    .interactive-video-block#client-films {
        margin-top: 3rem;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        background: #08121c;
    }

    .interactive-video-block#client-films .video-browser {
        order: -1;
        padding: 22px 20px 20px;
    }

    .interactive-video-block#client-films .video-browser h2 {
        margin: 0.7rem 0 0.85rem;
        font-size: clamp(1.9rem, 9vw, 2.55rem);
        line-height: 1.02;
    }

    .interactive-video-block#client-films .video-browser > p {
        margin-bottom: 0;
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .interactive-video-block#client-films .video-theatre {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 9;
        border-block: 1px solid rgba(255, 255, 255, 0.12);
    }

    .interactive-video-block#client-films .video-play {
        width: 58px;
        height: 58px;
        box-shadow: 0 0 0 9px rgba(39, 209, 231, 0.13);
    }

    .interactive-video-block#client-films .video-play-label {
        left: 1rem;
        bottom: 0.9rem;
        font-size: 0.6rem;
    }

    .interactive-video-block#client-films .video-film-strip {
        padding: 20px;
    }

    .interactive-video-block#client-films .video-film-strip-heading {
        gap: 0.8rem;
    }

    .interactive-video-block#client-films .video-film-strip-heading strong {
        font-size: 1.4rem;
        line-height: 1.08;
    }

    .interactive-video-block#client-films .video-selector {
        gap: 10px;
        margin: 1rem 0 0;
        padding-bottom: 0.55rem;
    }

    .interactive-video-block#client-films .video-selector button {
        flex-basis: min(260px, 78vw);
        border-radius: 10px;
    }

    .interactive-video-block#client-films .video-selector-copy {
        padding: 0.7rem 0.75rem 0.8rem;
    }
}
