.video-page-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 690px;
    border-bottom: 1px solid #292d31;
    background: radial-gradient(circle at 76% 35%, #351021 0, #17191d 34%, #060708 72%);
    color: #fff;
}

.video-page-header::before {
    position: absolute;
    z-index: -1;
    top: 95px;
    right: -75px;
    width: 440px;
    height: 440px;
    background: url('../../img/paint-logo-hd.png') center/contain no-repeat;
    content: '';
    opacity: .38;
    transform: rotate(-12deg);
}

.video-page-header .navbar {
    min-height: 92px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.video-page-header .brand img {
    display: block;
    width: 100%;
    max-height: 76px;
    object-fit: contain;
}

.video-page-header .nav-link {
    color: rgba(255, 255, 255, .86);
}

.video-page-header .nav-link:hover,
.video-page-header .nav-link.active {
    color: var(--pink);
}

.video-hero {
    position: relative;
    display: grid;
    min-height: 598px;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    align-items: center;
}

.video-hero-copy {
    position: relative;
    z-index: 4;
    padding: 58px 0 78px;
}

.video-hero-copy h1 {
    margin: 0 0 24px;
    font-size: clamp(4rem, 7vw, 7rem);
    letter-spacing: -.045em;
    line-height: .8;
    text-transform: uppercase;
}

.video-hero-copy h1 span {
    color: var(--pink);
}

.video-hero-copy > p:not(.eyebrow) {
    max-width: 620px;
    margin: 0 0 30px;
    color: #d1d4d7;
    font-size: 1rem;
    line-height: 1.7;
}

.video-hero-copy .btn {
    min-height: 52px;
    padding: 15px 24px;
    font-size: .9rem;
}

.video-hero-cast {
    position: relative;
    align-self: stretch;
}

.video-hero-cast::before {
    position: absolute;
    right: 4%;
    bottom: 0;
    width: 92%;
    height: 83%;
    border-radius: 50% 50% 0 0;
    background: radial-gradient(ellipse at center bottom, rgba(245, 0, 99, .34), rgba(245, 0, 99, .05) 44%, transparent 70%);
    content: '';
}

.video-hero-person {
    position: absolute;
    bottom: 0;
    width: 43%;
    height: 90%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 22px 32px rgba(0, 0, 0, .55));
}

.person-fatma {
    z-index: 1;
    left: 0;
    height: 77%;
    transform: rotate(-4deg);
}

.person-clown {
    z-index: 3;
    left: 29%;
    width: 48%;
}

.person-hugo {
    z-index: 2;
    right: -2%;
    height: 80%;
    transform: rotate(4deg);
}

.video-page-main {
    background-color: var(--paper);
    background-image: radial-gradient(circle, rgba(0, 0, 0, .035) 0 1px, transparent 1.2px);
    background-size: 14px 14px;
    color: #111316;
}

.video-library {
    padding-top: clamp(65px, 8vw, 110px);
    padding-bottom: clamp(75px, 9vw, 125px);
}

.video-library-heading {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 46px;
    padding-bottom: 26px;
    border-bottom: 3px solid #111316;
}

.video-library-heading::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 130px;
    height: 3px;
    background: var(--pink);
    content: '';
}

.video-library-heading h2 {
    margin: 4px 0 8px;
    font-size: clamp(3rem, 6vw, 5.8rem);
    letter-spacing: -.04em;
    line-height: .88;
}

.video-library-heading > div > p:last-child {
    max-width: 650px;
    margin: 0;
    color: #60656a;
    font-size: 1rem;
}

.video-count {
    min-width: 118px;
    padding: 15px 18px;
    border: 2px solid #111316;
    background: #fff;
    box-shadow: 7px 7px 0 var(--pink);
    font-size: .75rem;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(1deg);
}

.video-count strong {
    display: block;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: 900;
    line-height: .9;
}

.video-collection {
    scroll-margin-top: 28px;
}

.video-collection + .video-collection {
    margin-top: clamp(70px, 9vw, 120px);
}

.video-collection-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.video-collection-heading h3 {
    margin: 2px 0 0;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: .9;
}

.video-collection-heading > span {
    padding: 8px 13px;
    border: 1px solid #cfd0cd;
    background: #fff;
    color: #555a5e;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.video-collection-empty {
    margin: 0;
    padding: 28px;
    border: 1px dashed #b9b9b5;
    background: rgba(255, 255, 255, .62);
    color: #666b70;
}

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

.video-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d7d7d3;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(11, 13, 15, .08);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.video-card:hover {
    border-color: rgba(245, 0, 99, .48);
    box-shadow: 0 20px 46px rgba(11, 13, 15, .16);
    transform: translateY(-6px) rotate(-.2deg);
}

.video-card.is-featured {
    grid-column: span 2;
}

.video-card-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.video-card-trigger:focus-visible {
    outline: 4px solid var(--pink);
    outline-offset: -4px;
}

.video-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111418;
}

.video-card-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .56));
    content: '';
}

.video-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .3s ease;
}

.video-card:hover .video-card-media img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.045);
}

.video-card.is-featured .video-card-media img {
    object-position: center 20%;
}

.video-play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
    transform: translate(-50%, -50%);
    transition: transform .25s ease, background-color .25s ease;
}

.video-play i {
    margin-left: 4px;
}

.video-card:hover .video-play {
    background: #fff;
    color: var(--pink);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-number {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 10px;
    color: rgba(255, 255, 255, .92);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.video-card-copy {
    display: grid;
    min-height: 150px;
    align-content: start;
    padding: 23px 24px 21px;
}

.video-card-copy strong {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.video-card-copy small {
    margin-top: 8px;
    color: #696e73;
    font-size: .82rem;
}

.video-card-copy > span {
    align-self: end;
    width: max-content;
    margin-top: 20px;
    padding-bottom: 3px;
    border-bottom: 2px solid currentColor;
    color: var(--pink);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.video-card-copy > span i {
    margin-left: 7px;
    transition: transform .2s ease;
}

.video-card:hover .video-card-copy > span i {
    transform: translateX(5px);
}

.video-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 38px;
}

.video-pagination button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 118px;
    justify-content: center;
    padding: 11px 16px;
    border: 2px solid #111316;
    background: #111316;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.video-pagination button:hover:not(:disabled),
.video-pagination button:focus-visible {
    border-color: var(--pink);
    background: var(--pink);
}

.video-pagination button:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.video-pagination > span {
    min-width: 100px;
    color: #555a5e;
    font-size: .82rem;
    font-weight: 800;
    text-align: center;
}

.video-social-strip {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    background: radial-gradient(circle at 82% 40%, #3a0d22, #15181c 46%, #080a0c 82%);
    color: #fff;
}

.video-social-strip::after {
    position: absolute;
    top: -130px;
    right: -20px;
    width: 350px;
    height: 350px;
    background: url('../../img/paint-logo-hd.png') center/contain no-repeat;
    content: '';
    opacity: .28;
    transform: rotate(12deg);
}

.video-social-strip .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.video-social-strip h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: .92;
}

.video-social-actions {
    display: flex;
    gap: 12px;
}

.video-social-actions .btn {
    min-width: 135px;
}

.video-page-footer {
    border-top: 5px solid var(--pink);
}

.video-footer-contact > a,
.video-footer-contact > span {
    display: flex !important;
    align-items: center;
    gap: .7rem;
    margin-bottom: .8rem !important;
    color: #c7c9cb;
}

.video-footer-contact > a > i,
.video-footer-contact > span > i {
    display: grid;
    flex: 0 0 30px;
    width: 30px !important;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(245, 0, 99, .4);
    border-radius: 50%;
    color: var(--pink) !important;
}

.video-player-dialog {
    width: min(1120px, calc(100vw - 32px));
    max-width: none;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;
    background: #0b0d10;
    color: #fff;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .7);
}

.video-player-dialog::backdrop {
    background: rgba(2, 4, 6, .9);
    backdrop-filter: blur(8px);
}

.video-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 22px;
    border-bottom: 1px solid #2a2e33;
}

.video-dialog-header span {
    color: var(--pink);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.video-dialog-header h2 {
    margin: 2px 0 0;
    font-size: 1.65rem;
    line-height: 1;
    text-transform: uppercase;
}

.video-dialog-header button {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #444a51;
    border-radius: 50%;
    background: #191c20;
    color: #fff;
}

.video-dialog-header button:hover {
    border-color: var(--pink);
    background: var(--pink);
}

.video-dialog-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-dialog-stage iframe,
.video-dialog-stage video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

body.video-dialog-open {
    overflow: hidden;
}

@media (max-width: 1199.98px) {
    .video-hero {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
    }

    .video-hero-copy h1 {
        font-size: clamp(4rem, 7.5vw, 5.8rem);
    }
}

@media (max-width: 991.98px) {
    .video-page-header {
        min-height: 800px;
    }

    .video-page-header .navbar-collapse {
        margin-top: 10px;
        padding: 18px;
        border: 1px solid #30343a;
        background: #0c0e11;
    }

    .video-hero {
        min-height: 705px;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .video-hero-copy {
        max-width: 720px;
        padding: 60px 0 0;
    }

    .video-hero-cast {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 28%;
        height: 430px;
        opacity: .68;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-card.is-featured {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .video-page-header {
        min-height: 760px;
    }

    .video-hero {
        min-height: 665px;
    }

    .video-hero-copy {
        padding-top: 48px;
    }

    .video-hero-copy h1 {
        font-size: clamp(3.4rem, 15vw, 5.1rem);
    }

    .video-hero-copy > p:not(.eyebrow) {
        max-width: 90%;
    }

    .video-hero-cast {
        left: 35%;
        height: 330px;
        opacity: .42;
    }

    .video-library-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .video-count {
        display: none;
    }

    .video-grid {
        gap: 20px;
    }

    .video-social-strip .container {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .video-page-header {
        min-height: 790px;
    }

    .video-page-header::before {
        top: 170px;
        width: 290px;
        height: 290px;
    }

    .video-page-header .navbar {
        min-height: 76px;
    }

    .video-hero {
        min-height: 695px;
    }

    .video-hero-copy > p:not(.eyebrow) {
        max-width: 100%;
        font-size: .95rem;
    }

    .video-hero-cast {
        right: -24%;
        left: 3%;
        height: 310px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-collection-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .video-card.is-featured {
        grid-column: auto;
    }

    .video-card-copy {
        min-height: 138px;
        padding: 20px;
    }

    .video-play {
        width: 56px;
        height: 56px;
    }

    .video-pagination {
        gap: 9px;
    }

    .video-pagination button {
        min-width: 0;
        padding: 10px 12px;
    }

    .video-pagination > span {
        min-width: 82px;
        font-size: .75rem;
    }

    .video-social-actions {
        width: 100%;
        flex-direction: column;
    }

    .video-social-actions .btn {
        width: 100%;
    }

    .video-player-dialog {
        width: calc(100vw - 16px);
    }

    .video-dialog-header {
        padding: 14px 15px;
    }

    .video-dialog-header h2 {
        font-size: 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-card,
    .video-card-media img,
    .video-play,
    .video-card-copy > span i {
        transition: none;
    }
}

/* Mobile subpage layout: copy first, artwork second, without overlap. */
@media (max-width: 991.98px) {
    .video-page-header {
        min-height: 0;
    }

    .video-hero {
        display: flex;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .video-hero-copy {
        width: 100%;
        max-width: none;
        padding: 38px 0 28px;
    }

    .video-hero-copy h1 {
        margin-bottom: 18px;
        font-size: clamp(3rem, 13vw, 4.25rem);
    }

    .video-hero-copy > p:not(.eyebrow) {
        max-width: none;
        margin-bottom: 24px;
    }

    .video-hero-copy .btn {
        width: 100%;
    }

    .video-hero-cast {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        height: clamp(250px, 72vw, 330px);
        margin-top: 0;
        opacity: .9;
    }
}

@media (max-width: 575.98px) {
    .video-hero-copy {
        padding-top: 30px;
    }

    .video-hero-cast {
        right: auto;
        left: auto;
        height: 255px;
    }
}
