/* =========================================================
   DIVILEN STUDIO
========================================================= */

:root {
    --studio-bg: #f4efe7;
    --studio-surface: #f8f4ed;

    --studio-text: #171614;
    --studio-muted: #57534d;

    --studio-blue: #7892ad;
    --studio-blue-dark: #587494;

    --studio-border: rgba(29, 25, 20, 0.14);
    --studio-border-soft: rgba(29, 25, 20, 0.08);
}


/* =========================================================
   STUDIO HERO
========================================================= */

.studio-hero {
    position: relative;

    width: 100%;
    height: 680px;

    overflow: hidden;

    background: #dce7ed;
}


.studio-hero::after {
    content: "";

    position: absolute;

    z-index: 3;

    left: 0;
    right: 0;
    bottom: 0;

    height: 42px;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(244, 239, 231, 0) 0%,
            rgba(244, 239, 231, 0.22) 38%,
            rgba(244, 239, 231, 0.72) 78%,
            rgba(244, 239, 231, 0.96) 100%
        );

    backdrop-filter: blur(2px);
}


/* ---------------------------------------------------------
   HERO IMAGE
--------------------------------------------------------- */

.studio-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;
}


/* ---------------------------------------------------------
   HERO OVERLAY
--------------------------------------------------------- */

.studio-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(244, 239, 231, 0.70) 0%,
            rgba(244, 239, 231, 0.48) 21%,
            rgba(244, 239, 231, 0.16) 38%,
            rgba(244, 239, 231, 0.03) 52%,
            rgba(244, 239, 231, 0) 65%
        );
}


/* ---------------------------------------------------------
   HERO CONTENT
--------------------------------------------------------- */

.studio-hero-content {
    position: relative;

    z-index: 2;

    width: min(100% - 108px, 1680px);
    height: 100%;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


/* ---------------------------------------------------------
   HERO EYEBROW
--------------------------------------------------------- */

.studio-eyebrow {
    margin: 0 0 20px;

    color: var(--studio-blue-dark);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   HERO TITLE
--------------------------------------------------------- */

.studio-hero-content h1 {
    width: 100%;
    max-width: 900px;

    margin: 0;

    color: var(--studio-text);

    font-family:
        "Bodoni MT",
        Didot,
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(52px, 4vw, 70px);
    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -0.035em;
}


/* ---------------------------------------------------------
   HERO DETAIL
--------------------------------------------------------- */

.studio-hero-line {
    display: block;

    width: 58px;
    height: 1px;

    margin: 24px 0 21px;

    background: var(--studio-blue);
}


/* ---------------------------------------------------------
   HERO DESCRIPTION
--------------------------------------------------------- */

.studio-description {
    max-width: 430px;

    margin: 0;

    color: #302e2a;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    line-height: 1.65;
}

/* =========================================================
   FEATURED
========================================================= */

.studio-featured {
    position: relative;
    z-index: 5;
    width: calc(100% - 54px);
    max-width: 1460px;
    margin: -32px auto 0;
    padding: 18px 22px 34px;
    background: var(--studio-bg);
    border-left: 1px solid var(--studio-border);
    border-right: 1px solid var(--studio-border);
}

.studio-featured-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}


.studio-featured-heading h2 {
    margin: 0;

    color: var(--studio-text);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   FEATURED CARD
--------------------------------------------------------- */

.studio-featured-card {
    position: relative;

    width: 100%;
    height: 330px;

    overflow: hidden;

    display: block;

    background: #111315;

    border: 1px solid var(--studio-border);
    border-radius: 3px;

    color: inherit;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}


.studio-featured-card:hover {
    transform: translateY(-2px);

    border-color: rgba(120, 146, 173, 0.58);

    box-shadow:
        0 12px 32px
        rgba(15, 15, 15, 0.08);
}


/* ---------------------------------------------------------
   FEATURED IMAGE
--------------------------------------------------------- */

.studio-featured-image {
    position: absolute;
    inset: 0;
}


.studio-featured-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform
        0.8s
        cubic-bezier(.2, .7, .2, 1);
}


.studio-featured-card:hover
.studio-featured-image img {
    transform: scale(1.018);
}


/* ---------------------------------------------------------
   FEATURED OVERLAY
--------------------------------------------------------- */

.studio-featured-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(10, 12, 14, 0.92) 0%,
            rgba(10, 12, 14, 0.74) 24%,
            rgba(10, 12, 14, 0.38) 46%,
            rgba(10, 12, 14, 0.08) 72%,
            rgba(10, 12, 14, 0.02) 100%
        );
}


/* ---------------------------------------------------------
   FEATURED CONTENT
--------------------------------------------------------- */

.studio-featured-content {
    position: absolute;

    z-index: 2;

    left: 34px;
    bottom: 30px;

    width: min(430px, calc(100% - 68px));

    color: #ffffff;
}


.studio-featured-type {
    display: block;

    margin-bottom: 12px;

    color: #9bb3ca;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 9px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


.studio-featured-content h2 {
    margin: 0;

    color: #ffffff;

    font-family:
        "Bodoni MT",
        Didot,
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(30px, 2.5vw, 44px);
    font-weight: 400;

    line-height: 1;

    letter-spacing: -0.025em;
}


.studio-featured-content p {
    max-width: 390px;

    margin: 14px 0 0;

    color: rgba(255, 255, 255, 0.80);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 11px;

    line-height: 1.55;
}


/* ---------------------------------------------------------
   FEATURED EXPLORE
--------------------------------------------------------- */

.studio-featured-explore {
    width: fit-content;

    margin-top: 17px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


.studio-featured-explore > span {
    color: #9bb3ca;

    font-size: 14px;

    transition:
        transform 180ms ease;
}


.studio-featured-card:hover
.studio-featured-explore > span {
    transform: translate(2px, -2px);
}

/* =========================================================
   LATEST RELEASES
========================================================= */

.studio-releases {
    width: calc(100% - 54px);
    max-width: 1460px;

    margin: 0 auto;

    padding: 8px 22px 30px;

    overflow: hidden;

    background: var(--studio-bg);

    border-left: 1px solid var(--studio-border);
    border-right: 1px solid var(--studio-border);
}


.studio-releases-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 14px;
}


.studio-releases-heading h2 {
    margin: 0;

    color: var(--studio-text);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   VIEWPORT
--------------------------------------------------------- */

.studio-releases-carousel {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 14px 0 18px;
}


/* ---------------------------------------------------------
   TRACK
--------------------------------------------------------- */

.studio-releases-track {
    display: flex;

    align-items: center;

    gap: 12px;

    width: max-content;

    transform: translate3d(0, 0, 0);

    will-change: transform;
}


/* ---------------------------------------------------------
   RELEASE CARD
--------------------------------------------------------- */

.studio-release-card {
    flex: 0 0 220px;

    overflow: hidden;

    display: block;

    background: var(--studio-surface);

    border: 1px solid var(--studio-border);

    color: inherit;

    text-decoration: none;

    cursor: pointer;

    opacity: 1;

    transform: scale(1);

    transform-origin: center center;

    will-change: transform;

    transition:
        transform 180ms linear,
        border-color 220ms ease,
        box-shadow 220ms ease;
}


.studio-release-card:hover {
    border-color:
        rgba(120, 146, 173, 0.58);

    box-shadow:
        0 8px 24px
        rgba(20, 20, 20, 0.06);
}


.studio-release-card > img {
    width: 100%;
    height: 145px;

    display: block;

    object-fit: cover;

    transition:
        transform
        500ms
        cubic-bezier(.2, .7, .2, 1);
}


.studio-release-card:hover > img {
    transform: scale(1.018);
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.studio-release-content {
    min-height: 105px;

    padding: 12px 12px 10px;

    display: flex;
    flex-direction: column;
}


.studio-release-type {
    color: var(--studio-blue-dark);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


.studio-release-card h3 {
    margin: 7px 0 0;

    color: var(--studio-text);

    font-family:
        "Bodoni MT",
        Didot,
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.12;
}


.studio-release-meta {
    margin-top: auto;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 10px;
}


.studio-release-meta small {
    margin-top: 12px;

    color: var(--studio-muted);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 8px;
}


.studio-release-arrow {
    color: var(--studio-blue);

    font-size: 14px;

    line-height: 1;

    transition: transform 180ms ease;
}


.studio-release-card:hover
.studio-release-arrow {
    transform: translate(2px, -2px);
}


/* ---------------------------------------------------------
   ONE RELEASE
--------------------------------------------------------- */

.studio-releases.is-single
.studio-releases-carousel {
    overflow: visible;
}


.studio-releases.is-single
.studio-releases-track {
    transform: none !important;
}


.studio-releases.is-single
.studio-release-card {
    transform: none !important;
}


/* ---------------------------------------------------------
   REDUCED MOTION
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .studio-releases-track {
        transform: none !important;
    }

}

/* =========================================================
   RECOMMENDED
========================================================= */

.studio-worlds {
    width: calc(100% - 54px);
    max-width: 1460px;

    margin: 0 auto;

    padding: 8px 22px 36px;

    background: var(--studio-bg);

    border-left: 1px solid var(--studio-border);
    border-right: 1px solid var(--studio-border);
}


.studio-worlds-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 14px;
}


.studio-worlds-heading h2 {
    margin: 0;

    color: var(--studio-text);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   RECOMMENDED GRID
--------------------------------------------------------- */

.studio-worlds-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


/* ---------------------------------------------------------
   RECOMMENDED CARD
--------------------------------------------------------- */

.studio-world-card {
    position: relative;

    height: 340px;

    overflow: hidden;

    display: block;

    background: #111315;

    border: 1px solid var(--studio-border);
    border-radius: 3px;

    color: inherit;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}


.studio-world-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(120, 146, 173, 0.58);

    box-shadow:
        0 10px 28px
        rgba(15, 15, 15, 0.08);
}


.studio-world-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform
        0.7s
        cubic-bezier(.2, .7, .2, 1);
}


.studio-world-card:hover
.studio-world-image {
    transform: scale(1.025);
}


.studio-world-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(10, 12, 14, 0.02) 20%,
            rgba(10, 12, 14, 0.18) 42%,
            rgba(10, 12, 14, 0.82) 72%,
            rgba(10, 12, 14, 0.96) 100%
        );
}


.studio-world-content {
    position: absolute;

    z-index: 2;

    left: 20px;
    right: 20px;
    bottom: 18px;

    color: #ffffff;
}


.studio-world-content h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: 0.025em;
}


.studio-world-content p {
    max-width: 260px;

    margin: 0 0 11px;

    color:
        rgba(255, 255, 255, 0.82);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;

    line-height: 1.45;
}


.studio-world-genres {
    display: block;

    margin-bottom: 10px;

    color: #9bb3ca;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 8px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.10em;

    text-transform: uppercase;
}


.studio-world-explore {
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


.studio-world-explore > span {
    color: #9bb3ca;

    font-size: 13px;

    transition:
        transform 180ms ease;
}


.studio-world-card:hover
.studio-world-explore > span {
    transform:
        translate(2px, -2px);
}


/* =========================================================
   EXPLORE BY FORMAT
========================================================= */

.studio-formats {
    width: calc(100% - 54px);
    max-width: 1460px;

    margin: 0 auto;

    padding: 8px 22px 36px;

    background: var(--studio-bg);

    border-left: 1px solid var(--studio-border);
    border-right: 1px solid var(--studio-border);
    border-bottom: 1px solid var(--studio-border);
}


.studio-formats-label {
    margin: 0 0 14px;

    color: var(--studio-text);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


.studio-formats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


.studio-format-card {
    position: relative;

    min-height: 145px;

    overflow: hidden;

    display: flex;

    background: #efeae1;

    border: 1px solid var(--studio-border);

    color: inherit;

    text-decoration: none;

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}


.studio-format-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(120, 146, 173, 0.52);

    box-shadow:
        0 8px 22px
        rgba(20, 20, 20, 0.04);
}


.studio-format-copy {
    position: relative;

    z-index: 3;

    width: 64%;

    padding: 18px 14px;

    display: flex;

    align-items: flex-start;

    gap: 12px;
}


.studio-format-icon {
    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--studio-text);
}


.studio-format-icon svg {
    width: 27px;
    height: 27px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.15;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.studio-format-text {
    min-width: 0;
}


.studio-format-text h3 {
    margin: 3px 0 0;

    color: var(--studio-text);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.04em;
}


.studio-format-text p {
    max-width: 130px;

    margin: 14px 0 0;

    color: var(--studio-muted);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;

    line-height: 1.45;
}


.studio-format-arrow {
    display: block;

    margin-top: 12px;

    color: var(--studio-blue);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    line-height: 1;

    transition:
        transform 180ms ease;
}


.studio-format-card:hover
.studio-format-arrow {
    transform: translateX(3px);
}


.studio-format-image {
    position: absolute;

    z-index: 1;

    top: 0;
    right: 0;

    width: 52%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    opacity: 0.66;

    filter:
        saturate(0.68)
        contrast(0.94);

    transition:
        transform
        0.7s
        cubic-bezier(.2, .7, .2, 1),
        opacity
        200ms ease;
}


.studio-format-card::after {
    content: "";

    position: absolute;

    z-index: 2;

    top: 0;
    right: 30%;

    width: 34%;
    height: 100%;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #efeae1 0%,
            rgba(239, 234, 225, 0.92) 30%,
            rgba(239, 234, 225, 0.48) 70%,
            rgba(239, 234, 225, 0) 100%
        );
}


.studio-format-card:hover
.studio-format-image {
    transform: scale(1.018);

    opacity: 0.74;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.studio-empty {
    grid-column: 1 / -1;

    margin: 0;

    padding: 28px;

    background: var(--studio-surface);

    border:
        1px solid
        var(--studio-border-soft);

    color: var(--studio-muted);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    text-align: center;
}


/* =========================================================
   RESPONSIVE — SMALL DESKTOP
========================================================= */

@media (max-width: 1180px) {

    .studio-worlds-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .studio-formats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 980px) {

    .studio-hero {
        height: 600px;
    }

    .studio-hero-content {
        width: calc(100% - 48px);

        padding-top: 40px;
    }

    .studio-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(244, 239, 231, 0.84) 0%,
                rgba(244, 239, 231, 0.66) 40%,
                rgba(244, 239, 231, 0.12) 72%,
                rgba(244, 239, 231, 0) 100%
            );
    }

    .studio-featured,
    .studio-releases,
    .studio-worlds,
    .studio-formats {
        width: calc(100% - 32px);
    }

    .studio-featured-card {
        height: 320px;
    }

    .studio-featured-content {
        left: 32px;
        bottom: 32px;

        width: min(420px, calc(100% - 64px));
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 640px) {

    .studio-hero {
        height: 620px;
    }

    .studio-hero-image {
        object-position: 67% center;
    }

    .studio-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(244, 239, 231, 0.78) 0%,
                rgba(244, 239, 231, 0.62) 48%,
                rgba(244, 239, 231, 0.22) 76%,
                rgba(244, 239, 231, 0.06) 100%
            );
    }

    .studio-hero-content {
        width: calc(100% - 40px);

        justify-content: flex-start;

        padding-top: 126px;
    }

    .studio-eyebrow {
        margin-bottom: 18px;

        font-size: 10px;
    }

    .studio-hero-content h1 {
        max-width: 340px;

        font-size: clamp(38px, 11.5vw, 48px);
        line-height: 0.96;
    }

    .studio-description {
        max-width: 290px;

        font-size: 13px;
        line-height: 1.6;
    }

    .studio-hero-line {
        margin: 20px 0 18px;
    }
    /* FEATURED */

    .studio-featured,
    .studio-releases,
    .studio-worlds,
    .studio-formats {
        width: calc(100% - 20px);
    }

    .studio-featured {
        margin-top: -24px;

        padding:
            16px
            14px
            30px;
    }

    .studio-featured-card {
        height: 340px;
    }

    .studio-featured-overlay {
        background:
            linear-gradient(
                to top,
                rgba(10, 12, 14, 0.96) 0%,
                rgba(10, 12, 14, 0.80) 38%,
                rgba(10, 12, 14, 0.28) 70%,
                rgba(10, 12, 14, 0.04) 100%
            );
    }

    .studio-featured-content {
        left: 22px;
        right: 22px;
        bottom: 24px;

        width: auto;
    }

    .studio-featured-content h2 {
        font-size: 34px;
    }

    .studio-featured-content p {
        max-width: 100%;

        font-size: 11px;
    }


    /* RELEASES */

    .studio-releases {
        padding:
            8px
            14px
            30px;
    }

    .studio-worlds-grid,
    .studio-formats-grid {
        grid-template-columns: 1fr;
    }

    .studio-releases-carousel {
        margin:
            0
            -14px;

        width:
            calc(
                100% + 28px
            );

        padding:
            18px
            0
            24px;
    }


    .studio-releases-track {
        gap: 12px;
    }


    .studio-release-card {
        flex-basis:
            min(
                76vw,
                290px
            );
    }


    .studio-release-card.is-active {
        transform:
            scale(1.035)
            translateZ(0);
    }


    .studio-release-card > img {
        height: 190px;
    }


    .studio-releases-control {
        gap: 12px;
    }


    /* RECOMMENDED */

    .studio-world-card {
        height: 360px;
    }

    .studio-worlds,
    .studio-formats {
        padding:
            8px
            14px
            30px;
    }


    /* FORMATS */

    .studio-format-card {
        min-height: 135px;
    }

}