:root {
    --bg: #000;
    --text: #fff;
    --muted: rgba(255, 255, 255, .62);
    --line: rgba(255, 255, 255, .16);
    --soft: rgba(255, 255, 255, .08);
    --green: #74b843;
    --header-h: 86px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #161616;
    color: var(--text);
    font-family: 'Montserrat', Arial, sans-serif;
    overflow-x: hidden;
}

body.about-open {
    overflow-y: auto !important;
}

.imperial-case,
.imperial-case * {
    box-sizing: border-box;
}

.imperial-case a {
    color: inherit;
    text-decoration: none;
}

.imperial-case img {
    max-width: 100%;
    display: block;
}

.imperial-case {
    background: #161616;
    color: var(--text);
    min-height: 100vh;
}

.imperial-hero {
    display: flex;
    align-items: flex-end;
    padding: 120px 55px 50px;
}

.imperial-hero-inner {
    width: min(1720px, 100%);
    margin: 0 auto;
}

.imperial-kicker {
    font-size: clamp(12px, 1.1vw, 17px);
    color: var(--muted);
    margin-bottom: 24px;
}

.imperial-title {
    font-size: clamp(42px, 10.5vw, 100px);
    line-height: .92;
    letter-spacing: 0px;
    font-weight: 800;
    margin: 0 0 20px;
    max-width: 100%;
    color: #fff;
}

.imperial-subtitle {
    font-size: clamp(20px, 3.1vw, 58px);
    line-height: 1.1;
    letter-spacing: -.02em;
    font-weight: 500;
    max-width: 1050px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
}

.imperial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.imperial-tags span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .04);
}

.about-project-fixed {
    position: fixed;
    right: clamp(18px, 3vw, 46px);
    top: calc(var(--header-h) + 26px);
    z-index: 120;
    min-width: 230px;
    height: 60px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    background: #eeeeee;
    color: #171717;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    transition: transform .28s ease, background .28s ease, color .28s ease, opacity .28s ease, visibility .28s ease;
    box-shadow: none;
}

.about-project-fixed:hover {
    background: #e4e4e4;
    transform: translateY(-1px);
}

.about-project-fixed .label {
    white-space: nowrap;
}

.about-project-fixed .icon {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    transition: transform .32s ease;
}

body.about-open .about-project-fixed {
    background: #eeeeee;
    color: #171717;
}

body.about-open .about-project-fixed .icon {
    transform: rotate(45deg);
}

body.hide-about-fixed .about-project-fixed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(.96);
}

.project-shell {
    width: 100%;
    transition: all .55s cubic-bezier(.7, 0, .2, 1);
}

.media-column {
    width: 100%;
    padding: 24px;
    transition: width .55s cubic-bezier(.7, 0, .2, 1), padding .55s cubic-bezier(.7, 0, .2, 1);
}

.imperial-media-card {
    margin: 0 0 24px;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    background: #161616;
    transition: transform .55s cubic-bezier(.7, 0, .2, 1), border-color .35s ease;
}

.imperial-media-card img,
.imperial-media-card video {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.imperial-media-card.social-pair {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 0px;
    background: #161616;
}

.imperial-media-card.social-pair>* {
    box-sizing: border-box;
    width: calc(50% - 12px);
}

.imperial-media-card.social-pair img,
.imperial-media-card.social-pair video {
    height: auto;
    object-fit: contain;
    background: #000;
    border: 1px solid rgba(255, 255, 255, .08);
}

.imperial-media-card.social-pair a img,
.imperial-media-card.social-pair a video {
    width: 100%;
}

.imperial-media-card.image-three {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 0px;
    background: #161616;
}

.imperial-media-card.image-three>* {
    box-sizing: border-box;
    width: calc(33.333% - 16px);
}

.imperial-media-card.image-three img,
.imperial-media-card.image-three video {
    height: auto;
    object-fit: contain;
    background: #000;
    border: 1px solid rgba(255, 255, 255, .08);
}

.imperial-media-card.image-three a img,
.imperial-media-card.image-three a video {
    width: 100%;
}

.content-column {
    position: sticky;
    right: 0;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    width: 50%;
    transform: translateX(104%);
    opacity: 0;
    pointer-events: none;
    padding: clamp(28px, 4vw, 70px) clamp(16px, 4vw, 70px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #161616;
    color: #fff;
    z-index: 70;
    transition: transform .55s cubic-bezier(.7, 0, .2, 1), opacity .35s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .35) transparent;
    display: none;
}

.content-column::-webkit-scrollbar {
    width: 6px;
}

.content-column::-webkit-scrollbar-track {
    background: transparent;
}

.content-column::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .35);
    border-radius: 999px;
    display: none;
}

body.about-open .project-shell {
    display: flex;
    align-items: flex-start;
}

body.about-open .media-column {
    width: 50%;
    padding: 24px;
}

body.about-open .content-column {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    display: block;
}

.project-label {
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 18px;
}

.project-intro {
    color: #fff;
    font-size: clamp(26px, 3.5vw, 64px);
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 700;
    margin: 0 0 30px;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 28px 0;
    margin-bottom: 40px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.project-meta h4 {
    color: #fff;
    font-size: 12px;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.project-meta p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

.cs-text-content p,
.cs-impact-list p {
    font-size: clamp(16px, 1.55vw, 27px);
    line-height: 1.4;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .84);
    margin: 0 0 20px;
}

.cs-text-content h2,
.cs-impact-list h2 {
    color: #fff;
    font-size: clamp(28px, 4.1vw, 76px);
    line-height: 1;
    letter-spacing: 0;
    margin: 50px 0 20px;
    font-weight: 800;
}

.cs-text-content h3 {
    color: #fff;
    font-size: clamp(22px, 2.2vw, 42px);
    line-height: 1.1;
    letter-spacing: 0;
    margin: 40px 0 16px;
}

.cs-text-content h4,
.cs-impact-list h4 {
    color: #fff;
    font-size: clamp(18px, 2vw, 34px);
    line-height: 1.15;
    letter-spacing: 0;
    margin: 30px 0 12px;
}

.cs-asian-list {
    margin: 0 0 34px;
    padding-left: 22px;
    color: rgba(255, 255, 255, .84);
}

.cs-asian-list li {
    font-size: clamp(16px, 1.45vw, 25px);
    line-height: 1.4;
    margin-bottom: 11px;
}

.impact-wrap {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid var(--line);
}

.cs-back-to-top {
    margin-top: 60px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 14px 20px;
    border-radius: 999px;
}

.more-case-studies-section {
    padding: clamp(60px, 8vw, 120px) 24px;
    border-top: 1px solid var(--line);
    background: #000;
    color: #fff;
}

body.about-open .more-case-studies-section {
    width: 50%;
}

.more-case-head {
    width: min(1720px, 100%);
    margin: 0 auto 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.more-case-controls {
    display: flex;
    gap: 10px;
}

.more-case-btn {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.more-case-btn:hover {
    background: #fff;
    color: #000;
}

.more-case-carousel {
    width: min(1720px, 100%);
    margin: 0 auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(310px, 36vw);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.more-case-carousel::-webkit-scrollbar {
    display: none;
}

.more-case-card {
    scroll-snap-align: start;
    display: block;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .13);
    background: #080808;
    padding: 18px;
    min-height: 420px;
    transition: transform .35s ease, border-color .35s ease;
}

.more-case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, .42);
}

.more-case-thumb {
    display: block;
    aspect-ratio: 4 / 3;
    background: #111;
    overflow: hidden;
    margin-bottom: 20px;
}

.more-case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-case-meta {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.more-case-card strong {
    display: block;
    font-size: clamp(22px, 2.2vw, 42px);
    line-height: 1.1;
    letter-spacing: 0;
}

@media (max-width: 991px) {
    .about-project-fixed {
        min-width: 210px;
        height: 56px;
        padding: 0 18px;
        right: 18px;
        top: auto;
        bottom: 18px;
    }

    body.about-open {
        overflow: hidden !important;
    }

    body.about-open .project-shell {
        display: block;
    }

    body.about-open .media-column {
        width: 100%;
    }

    .content-column {
        position: fixed;
        left: 0;
        top: var(--header-h);
        width: 100%;
        height: calc(100vh - var(--header-h));
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        display: block;
        border-left: 0;
        border-top: 1px solid var(--line);
        background: #161616;
        z-index: 110;
        padding-bottom: 90px;
        transition: transform .45s cubic-bezier(.7, 0, .2, 1), opacity .4s ease, visibility .45s;
    }

    body.about-open .content-column {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.about-open .more-case-studies-section {
        width: 100%;
    }

    .impact-wrap {
        margin-top: 50px;
        padding-top: 30px;
    }

    .project-meta {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 0;
        margin-bottom: 30px;
    }

    .imperial-media-card.social-pair,
    .imperial-media-card.image-three {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 18px;
    }

    .imperial-media-card.social-pair>*,
    .imperial-media-card.image-three>*,
    .imperial-media-card.social-pair img,
    .imperial-media-card.social-pair video,
    .imperial-media-card.image-three img,
    .imperial-media-card.image-three video {
        width: 100%;
    }
}

@media (max-width: 640px) {

    .imperial-hero {
        padding: 110px 16px 40px 16px;
    }

    .media-column,
    .more-case-studies-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .more-case-carousel {
        grid-auto-columns: 86vw;
    }
}

/* =====================================================
   Hyderabad Zoo - Project Images Carousel
   ===================================================== */
#zooImagesCarousel {
    padding: 0 0 24px 0 !important;
    margin-bottom: 24px;
}

#zooImagesCarousel .asset {
    width: min(315px, 60vw);
    height: auto;
    aspect-ratio: 3 / 4;
}

#zooImagesCarousel .asset img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 768px) {
    #zooImagesCarousel {
        padding: 0 0 18px 0 !important;
    }

    #zooImagesCarousel .asset {
        width: 220px;
    }
}