.video-case-page {
    background: #04050a;
}

.video-case-hero {
    align-items: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    min-height: 100dvh;
}

.video-case-hero .offer-hero__panel {
    max-width: min(940px, 100%);
}

.video-case-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.video-case-meta-bar {
    background: #03040a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(42px, 6vw, 58px) 0;
}

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

.video-case-meta-bar__item {
    align-items: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    padding: 0 clamp(12px, 2.2vw, 24px);
    position: relative;
    text-align: center;
}

.video-case-meta-bar__item + .video-case-meta-bar__item::before {
    background: rgba(255, 255, 255, 0.14);
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 1px;
}

.video-case-meta-bar__num {
    color: var(--uxm-brand);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 0.8rem;
}

.video-case-meta-bar__title {
    color: #fdfcfa;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
    margin: 0;
}

.video-case-meta-bar__text {
    color: rgba(210, 206, 218, 0.72);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0.45rem 0 0;
}

.video-case-book-banner {
    background: radial-gradient(circle at 50% -20%, rgba(232, 25, 90, 0.16), transparent 56%), #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(84px, 12vw, 132px) 0;
}

.video-case-book-banner__container {
    max-width: 820px;
}

.video-case-book-banner__eyebrow {
    color: var(--uxm-brand);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.video-case-book-banner h2 {
    color: #ffffff;
    font-size: clamp(2rem, 3.8vw, 3.6rem);
    font-weight: 400;
    line-height: 1.08;
    margin: 0 0 16px;
}

.video-case-book-banner p {
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    margin: 0 auto 28px;
    max-width: 620px;
}

/* Match Model Agency section clarity: remove heavy dim overlays on case-study image sections */
.video-case-page .about-studio-section::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.45) 44%, rgba(0, 0, 0, 0.18) 100%);
}

.video-case-page .about-studio-section::after {
    background: linear-gradient(180deg, rgba(9, 9, 9, 0.28) 0%, transparent 22%, transparent 78%, rgba(9, 9, 9, 0.28) 100%);
}

.video-case-page .about-atmosphere {
    opacity: 0.18;
}

/* Keep Brief/Outcomes backgrounds crisp like Model Agency */
.video-case-page .services-section::before {
    background: radial-gradient(circle at 18% 18%, rgba(232, 25, 90, 0.08), transparent 34%), radial-gradient(circle at 88% 20%, rgba(3, 169, 245, 0.06), transparent 30%), linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.42));
}

.video-case-page .services-section::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 44%, rgba(0, 0, 0, 0.18));
}

.video-case-page .services-atmosphere {
    opacity: 0.14;
}

.video-case-page .services-ux-theory--has-bg::before {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.44) 0%, rgba(5, 5, 5, 0.52) 45%, rgba(5, 5, 5, 0.58) 100%);
}

/* Case-study outcomes cards: keep full copy visible and readable. */
.video-case-page .video-case-outcomes .services-ux-theory__cover {
    background: rgba(10, 11, 18, 0.9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.video-case-page .video-case-outcomes .services-ux-theory__text {
    color: rgba(255, 255, 255, 0.92);
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.he-video-showcase,
.he-before-after {
    background: #07080d;
    padding: clamp(90px, 10vw, 130px) 0;
}

.he-before-after {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.he-video-showcase__header,
.he-before-after__header {
    margin: 0 auto 34px;
    max-width: 900px;
    text-align: center;
}

.he-video-showcase__eyebrow,
.he-before-after__eyebrow {
    color: var(--uxm-brand);
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.he-video-showcase__header h2,
.he-before-after__header h2 {
    color: #fff;
    font-size: clamp(2rem, 3.8vw, 3.5rem);
    line-height: 1.08;
    margin: 0 0 12px;
}

.he-video-showcase__header p,
.he-before-after__header p {
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.he-video-showcase__frame {
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.he-video-showcase__frame video {
    display: block;
    height: auto;
    max-height: 84vh;
    object-fit: cover;
    width: 100%;
}

.he-compare {
    margin-top: 34px;
}

.he-compare__media {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.he-compare__media img {
    display: block;
    height: auto;
    width: 100%;
}

.he-compare__before {
    inset: 0;
    position: absolute;
}

.he-compare__before img {
    height: 100%;
    object-fit: cover;
}

.he-compare__handle {
    background: rgba(255, 255, 255, 0.86);
    bottom: 0;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
}

.he-compare__label {
    background: rgba(0, 0, 0, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 6px 12px;
    position: absolute;
    text-transform: uppercase;
    top: 14px;
}

.he-compare__label--before {
    left: 14px;
}

.he-compare__label--after {
    right: 14px;
}

.he-compare__media {
    cursor: ew-resize;
}

.video-case-page--cinematic .cinematic-brief {
    background: radial-gradient(circle at 50% -20%, rgba(232, 25, 90, 0.15), transparent 55%), #05060b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(88px, 11vw, 128px) 0;
}

.video-case-page--cinematic .cinematic-eyebrow {
    color: var(--uxm-brand);
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.video-case-page--cinematic .cinematic-brief h2 {
    color: #fff;
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 16px;
}

.video-case-page--cinematic .cinematic-brief p {
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 820px;
}

.video-case-page--cinematic .cinematic-stories {
    background: #06070d;
    padding: clamp(84px, 9vw, 120px) 0;
}

.video-case-page--cinematic .cinematic-story-card {
    background: rgba(9, 10, 15, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
}

.video-case-page--cinematic .cinematic-story-card__media img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.video-case-page--cinematic .cinematic-story-card__body {
    padding: 20px 20px 24px;
}

.video-case-page--cinematic .cinematic-story-card__body h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 10px;
}

.video-case-page--cinematic .cinematic-story-card__body p {
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    margin: 0;
}

.video-case-page--cinematic .cinematic-gallery {
    background: #05060b;
    padding: clamp(36px, 4vw, 56px) 0;
}

.video-case-page--cinematic .cinematic-gallery__grid {
    display: grid;
    gap: clamp(10px, 1.2vw, 18px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 clamp(10px, 1.6vw, 20px);
}

.video-case-page--cinematic .cinematic-gallery__item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.video-case-page--cinematic .cinematic-gallery__item img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 991px) {
    .video-case-meta-bar__container {
        grid-template-columns: 1fr;
    }

    .video-case-meta-bar__item {
        min-height: auto;
        padding: 18px 0;
    }

    .video-case-meta-bar__item + .video-case-meta-bar__item::before {
        height: 1px;
        left: 0;
        top: 0;
        width: 100%;
    }

}

@media (max-width: 576px) {
    .video-case-page--cinematic .cinematic-gallery__grid {
        grid-template-columns: 1fr;
    }
}

.nistravel-ui-gallery {
    background: #07080d;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(80px, 10vw, 120px) 0;
}

.nistravel-tools {
    background: #06070d;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(72px, 9vw, 108px) 0;
}

.nistravel-tools__header {
    margin: 0 auto 28px;
    max-width: 800px;
    text-align: center;
}

.nistravel-tools__header h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    line-height: 1.1;
    margin: 0;
}

.nistravel-tools__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
    justify-content: center;
}

.nistravel-tools__item {
    align-items: center;
    background: rgba(11, 12, 19, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 164px;
    padding: 16px 12px;
}

.nistravel-tools__icon-wrap {
    align-items: center;
    display: flex;
    height: 70px;
    justify-content: center;
    width: 70px;
}

.nistravel-tools__icon-wrap img {
    display: block;
    height: 58px;
    object-fit: contain;
    width: 58px;
}

.nistravel-tools__icon-wrap img.nistravel-tools__icon--figma {
    height: 62px;
    width: 62px;
}

.nistravel-tools__item h3 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 10px 0 0;
    text-align: center;
    text-transform: uppercase;
}

.nistravel-ui-gallery__grid {
    columns: 2;
    column-gap: 16px;
}

.nistravel-ui-gallery__item {
    background: rgba(11, 12, 19, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    break-inside: avoid;
    margin-bottom: 16px;
    padding: 10px;
}

.nistravel-ui-gallery__media {
    overflow: hidden;
}

.nistravel-ui-gallery__item img {
    display: block;
    height: auto;
    width: 100%;
}

@media (max-width: 767px) {
    .nistravel-tools__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nistravel-ui-gallery__grid {
        columns: 1;
    }
}

