/* =====================================================
   RANSARA FILM / ADVERTISEMENT
===================================================== */

:root {
    --film-black: #17130f;
    --film-dark: #201a15;
    --film-cream: #f4eee4;
    --film-soft: #cfc2b0;
    --film-gold: #b89558;
    --film-gold-light: #d5b77b;
    --film-border: rgba(214, 187, 135, 0.28);
}


/* =====================================================
   MAIN SECTION
===================================================== */

.rs-film {
    position: relative;
    width: 100%;
    min-height: 100svh;
    padding: 130px 7vw 80px;
    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(184, 149, 88, 0.10),
            transparent 30%
        ),
        var(--film-black);

    color: var(--film-cream);
    overflow: hidden;
    isolation: isolate;
}


/* =====================================================
   BACKGROUND
===================================================== */

.rs-film-noise {
    position: absolute;
    inset: 0;

    opacity: 0.035;
    pointer-events: none;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");

    z-index: -1;
}


.rs-film-glow {
    position: absolute;
    width: 420px;
    height: 420px;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;

    z-index: -1;
}


.rs-film-glow-one {
    top: 15%;
    right: -150px;
    background: rgba(184, 149, 88, 0.09);
}


.rs-film-glow-two {
    bottom: -200px;
    left: -150px;
    background: rgba(255, 239, 210, 0.045);
}


/* =====================================================
   TOP INFORMATION
===================================================== */

.rs-film-top {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 75px;

    z-index: 5;
}


.rs-film-number {
    display: flex;
    align-items: center;
    gap: 20px;
}


.rs-film-number span,
.rs-film-number strong,
.rs-film-category span {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    letter-spacing: 0.25em;
}


.rs-film-number span {
    color: var(--film-soft);
}


.rs-film-number strong {
    color: var(--film-gold-light);
    font-weight: 500;
}


.rs-film-category {
    display: flex;
    align-items: center;
    gap: 15px;

    color: var(--film-soft);
}


.rs-film-category i {
    width: 35px;
    height: 1px;

    background: var(--film-gold);

    opacity: 0.7;
}


/* =====================================================
   MAIN CONTAINER
===================================================== */

.rs-film-container {
    position: relative;

    display: grid;
    grid-template-columns: 0.72fr 1.28fr;

    align-items: center;

    gap: clamp(45px, 7vw, 120px);

    max-width: 1500px;
    margin: auto;

    z-index: 3;
}


/* =====================================================
   COPY
===================================================== */

.rs-film-copy {
    max-width: 470px;
}


.rs-film-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 30px;

    color: var(--film-gold-light);

    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
}


.rs-film-eyebrow i {
    display: block;

    width: 38px;
    height: 1px;

    background: var(--film-gold);
}


.rs-film-copy h2 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(70px, 7vw, 120px);
    font-weight: 400;

    line-height: 0.78;
    letter-spacing: -0.045em;
}


.rs-film-copy h2 em {
    display: block;

    padding-left: 50px;

    color: var(--film-gold-light);

    font-weight: 400;
    font-style: italic;
}


.rs-film-copy > p {
    max-width: 390px;

    margin: 42px 0 0;

    color: rgba(244, 238, 228, 0.62);

    font-family: "DM Sans", sans-serif;
    font-size: 14px;

    line-height: 1.9;
}


/* =====================================================
   META
===================================================== */

.rs-film-meta {
    display: flex;

    gap: 45px;

    margin-top: 55px;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.rs-film-meta div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.rs-film-meta small {
    color: rgba(244, 238, 228, 0.4);

    font-family: "DM Sans", sans-serif;
    font-size: 8px;
    letter-spacing: 0.2em;
}


.rs-film-meta strong {
    color: var(--film-cream);

    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 400;

    letter-spacing: 0.08em;
}


/* =====================================================
   VIDEO AREA
===================================================== */

.rs-film-video-wrap {
    position: relative;
}


.rs-film-video-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #0d0b09;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45);

    transform: rotate(1deg);

    transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}


.rs-film-video-frame:hover {
    transform: rotate(0deg) scale(1.01);
}


/* =====================================================
   BORDER
===================================================== */

.rs-film-border {
    position: absolute;
    inset: 12px;

    border: 1px solid var(--film-border);

    pointer-events: none;

    z-index: 5;
}


/* =====================================================
   VIDEO
===================================================== */

.rs-film-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    opacity: 0.88;

    transition:
        transform 1.2s ease,
        opacity 0.6s ease;
}


.rs-film-video-frame:hover .rs-film-video {
    transform: scale(1.035);
    opacity: 1;
}


/* =====================================================
   OVERLAY
===================================================== */

.rs-film-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.25),
            transparent 35%,
            rgba(0, 0, 0, 0.65)
        );

    pointer-events: none;

    z-index: 2;
}


/* =====================================================
   PLAY BUTTON
===================================================== */

.rs-film-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 120px;
    height: 120px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.55);

    background: rgba(20, 16, 12, 0.35);

    backdrop-filter: blur(8px);

    cursor: pointer;

    color: white;

    z-index: 10;

    transition:
        transform 0.45s ease,
        background 0.45s ease,
        border-color 0.45s ease;
}


.rs-film-play:hover {
    transform: translate(-50%, -50%) scale(1.08);

    background: rgba(184, 149, 88, 0.25);

    border-color: var(--film-gold-light);
}


.rs-play-ring {
    position: absolute;

    inset: -14px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;
}


.rs-play-icon {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -65%);

    display: flex;

    width: 26px;
    height: 26px;
}


.rs-play-icon svg {
    width: 100%;
    height: 100%;

    fill: white;
}


.rs-play-text {
    position: absolute;

    left: 50%;
    bottom: 22px;

    transform: translateX(-50%);

    white-space: nowrap;

    font-family: "DM Sans", sans-serif;

    font-size: 7px;

    letter-spacing: 0.18em;
}


/* =====================================================
   VIDEO INFORMATION
===================================================== */

.rs-video-info {
    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 25px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    z-index: 7;
}


.rs-video-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


.rs-video-title span {
    color: var(--film-gold-light);

    font-family: "DM Sans", sans-serif;

    font-size: 8px;

    letter-spacing: 0.25em;
}


.rs-video-title strong {
    font-family: "Cormorant Garamond", serif;

    font-size: 20px;

    font-weight: 400;
}


.rs-video-time {
    display: flex;
    align-items: center;
    gap: 10px;

    color: rgba(255, 255, 255, 0.75);

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    letter-spacing: 0.08em;
}


.rs-video-time i {
    width: 22px;
    height: 1px;

    background: rgba(255, 255, 255, 0.45);
}


/* =====================================================
   PROGRESS
===================================================== */

.rs-video-progress {
    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 12px;

    height: 1px;

    background: rgba(255, 255, 255, 0.22);

    z-index: 8;
}


.rs-video-progress span {
    display: block;

    width: 0;
    height: 100%;

    background: var(--film-gold-light);

    transition: width 0.1s linear;
}


/* =====================================================
   CAPTION
===================================================== */

.rs-film-caption {
    position: absolute;

    right: -60px;
    bottom: 15%;

    display: flex;
    align-items: center;
    gap: 14px;

    transform: rotate(90deg);

    transform-origin: center;

    color: rgba(244, 238, 228, 0.45);
}


.rs-film-caption span {
    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    color: var(--film-gold-light);
}


.rs-film-caption p {
    margin: 0;

    font-family: "DM Sans", sans-serif;

    font-size: 8px;

    letter-spacing: 0.25em;
}


/* =====================================================
   BOTTOM
===================================================== */

.rs-film-bottom {
    position: relative;

    display: flex;
    align-items: center;

    gap: 25px;

    max-width: 1500px;

    margin: 90px auto 0;

    color: rgba(244, 238, 228, 0.4);

    font-family: "DM Sans", sans-serif;

    font-size: 8px;

    letter-spacing: 0.25em;

    z-index: 4;
}


.rs-film-line {
    width: 100px;
    height: 1px;

    background: var(--film-gold);

    opacity: 0.6;
}


/* =====================================================
   BACKGROUND TYPOGRAPHY
===================================================== */

.rs-film-bg-text {
    position: absolute;

    left: -3vw;
    bottom: -5vw;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(180px, 25vw, 500px);

    font-weight: 500;

    line-height: 0.7;

    color: rgba(255, 255, 255, 0.018);

    letter-spacing: -0.08em;

    pointer-events: none;

    z-index: -1;

    user-select: none;
}


/* =====================================================
   PLAYING STATE
===================================================== */

.rs-film.is-playing .rs-film-play {
    opacity: 0;
    pointer-events: none;
}


.rs-film-play {
    opacity: 1;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .rs-film {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .rs-film-container {
        grid-template-columns: 0.8fr 1.2fr;

        gap: 50px;
    }

    .rs-film-copy h2 {
        font-size: clamp(65px, 8vw, 90px);
    }

    .rs-film-caption {
        right: -48px;
    }

}


/* =====================================================
   TABLET / SMALL LAPTOP
===================================================== */

@media (max-width: 850px) {

    .rs-film {
        padding-top: 110px;
        padding-bottom: 65px;
    }

    .rs-film-top {
        margin-bottom: 55px;
    }

    .rs-film-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .rs-film-copy {
        max-width: 620px;
    }

    .rs-film-copy h2 {
        font-size: clamp(75px, 13vw, 110px);
    }

    .rs-film-copy > p {
        max-width: 450px;
    }

    .rs-film-video-wrap {
        width: 92%;
        margin-left: auto;
    }

    .rs-film-caption {
        right: -50px;
    }

    .rs-film-bottom {
        margin-top: 65px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .rs-film {
        min-height: auto;

        padding:
            90px
            20px
            45px;
    }


    .rs-film-top {
        margin-bottom: 45px;
    }


    .rs-film-number {
        gap: 10px;
    }


    .rs-film-category {
        gap: 8px;
    }


    .rs-film-category span:first-child {
        display: none;
    }


    .rs-film-category i {
        width: 20px;
    }


    .rs-film-copy {
        max-width: 100%;
    }


    .rs-film-eyebrow {
        margin-bottom: 25px;

        font-size: 8px;
    }


    .rs-film-eyebrow i {
        width: 28px;
    }


    .rs-film-copy h2 {
        font-size: clamp(62px, 18vw, 90px);

        line-height: 0.8;
    }


    .rs-film-copy h2 em {
        padding-left: 25px;
    }


    .rs-film-copy > p {
        margin-top: 30px;

        font-size: 13px;

        line-height: 1.75;
    }


    .rs-film-meta {
        gap: 25px;

        margin-top: 35px;
    }


    .rs-film-meta strong {
        font-size: 8px;
    }


    .rs-film-video-wrap {
        width: 100%;
    }


    .rs-film-video-frame {
        aspect-ratio: 4 / 5;

        transform: rotate(0);
    }


    .rs-film-border {
        inset: 9px;
    }


    .rs-film-play {
        width: 95px;
        height: 95px;
    }


    .rs-play-text {
        bottom: 17px;
    }


    .rs-video-info {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }


    .rs-video-title strong {
        font-size: 17px;
    }


    .rs-video-time {
        font-size: 8px;
    }


    .rs-video-progress {
        left: 25px;
        right: 25px;
        bottom: 12px;
    }


    .rs-film-caption {
        display: none;
    }


    .rs-film-bottom {
        margin-top: 45px;

        gap: 12px;
    }


    .rs-film-line {
        width: 45px;
    }


    .rs-film-bottom span {
        font-size: 6px;
        letter-spacing: 0.18em;
    }


    .rs-film-bg-text {
        bottom: 0;

        font-size: 45vw;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .rs-film {
        padding-left: 16px;
        padding-right: 16px;
    }


    .rs-film-copy h2 {
        font-size: 60px;
    }


    .rs-film-meta {
        flex-direction: column;

        gap: 15px;
    }


    .rs-film-video-frame {
        aspect-ratio: 3 / 4;
    }


    .rs-video-title strong {
        font-size: 15px;
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .rs-film-video-frame,
    .rs-film-video,
    .rs-film-play {
        transition: none;
    }

}