/* ==========================================================================
   Balladi Studios — Main Core Stylesheet (Visual Fidelity Pass 1)
   Replicates exact Unicord parent & child theme CSS rendering specifications.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand Fonts (@font-face)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'BalladiFont1';
    src: url('../fonts/BalladiFont-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BalladiFont2';
    src: url('../fonts/BalladiFontType2-Regular.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BalladiFontType2';
    src: url('../fonts/BalladiFontType2-Regular.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Balladistudios-menu';
    src: url('../fonts/Balladistudios-menu.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Balladi';
    src: url('../fonts/Century-Gothic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'balladimenu';
    src: url('../fonts/menu.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Muli';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: local('Mulish'), local('Mulish-Regular'), local('Muli');
}

/* --------------------------------------------------------------------------
   2. Design Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
    --bg-dark: #131313;
    --bg-black: #000000;
    --bg-surface: #040503;
    --bg-card: rgba(255, 255, 255, 0.03);
    
    --text-white: #ffffff;
    --text-muted: #c4c3ca;
    --text-dim: rgba(255, 255, 255, 0.5);
    
    --gold-primary: #F5B544;
    --gold-accent: #f5b544;
    --gold-glow: rgba(245, 181, 68, 0.35);
    
    --border-light: rgba(255, 255, 255, 0.1);
    --border-grid: 5px solid #ffffff;
    
    --font-heading: 'Muli', 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-brand: 'Balladi', sans-serif;
    --font-display: 'BalladiFont1', sans-serif;
}

/* --------------------------------------------------------------------------
   3. Reset & Base Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    cursor: default;
}

.page-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    min-height: 100vh;
    overflow-x: hidden;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Muli', sans-serif;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1.35;
    color: #fff;
}

h1, .h1 { font-size: 3.2rem; font-weight: 600; }
h2, .h2 { font-size: 3.2rem; }
h3, .h3 { font-size: 2.6rem; font-weight: 400; }
h4, .h4 { font-size: 1.9rem; font-weight: 400; }
h5, .h5 { font-size: 1.35rem; font-weight: 400; }
h6, .h6 { font-size: 1rem; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }

@media (max-width: 767px) {
    h3, .h3 { font-size: 2rem; line-height: 1.35; }
    h4, .h4, .footer-lines a h4 { font-size: 1.4rem; }
}

p {
    margin-bottom: 1.25rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 300;
    color: #c4c3ca;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .lead {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

.lead-big {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 300;
}

.color-white {
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   4. Bootstrap 4 Grid & Layout Geometry (Parity with Unicord)
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Columns */
.col-12, .col-11, .col-sm-8, .col-md-6, .col-lg-5, .col-lg-7, .col-lg-8, .col-xl-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }

@media (min-width: 576px) {
    .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media (min-width: 1200px) {
    .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
}

/* Offsets */
.offset-1 { margin-left: 8.333333%; }

@media (min-width: 1200px) {
    .offset-xl-5 { margin-left: 41.666667%; }
}

/* Alignments & Flex Utilities */
.text-center { text-align: center !important; }
.justify-content-center { justify-content: center !important; }
.align-self-center { align-self: center !important; }

@media (min-width: 1200px) {
    .text-xl-right { text-align: right !important; }
}

.order-first { order: -1; }
@media (min-width: 1200px) {
    .order-xl-last { order: 13; }
}

/* Row Px Overrides */
.px-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
}

@media (min-width: 1200px) {
    .px-xl-2 {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }
    .px-xl-0 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

/* Margins & Paddings */
.mt-2 { margin-top: 0.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

@media (min-width: 576px) {
    .mt-sm-3 { margin-top: 1rem !important; }
}

@media (min-width: 768px) {
    .mt-md-0 { margin-top: 0 !important; }
}

@media (min-width: 1200px) {
    .mt-xl-0 { margin-top: 0 !important; }
    .mt-xl-5 { margin-top: 3rem !important; }
}

/* Section Geometry & Stacking */
.over-hide { overflow: hidden; }
.z-bigger { z-index: 10; position: relative; }
.z-too-big { z-index: 11000; }
.container.z-bigger { z-index: 50; }
.background-dark-3 { background-color: #040503 !important; }

/* --------------------------------------------------------------------------
   5. Section Spacing Utilities (Original Unicord Values)
   -------------------------------------------------------------------------- */
.padding-page-top {
    padding-top: 250px;
}
.padding-top-bottom {
    padding-top: 100px;
    padding-bottom: 100px;
}
.padding-top {
    padding-top: 100px;
}
.padding-bottom {
    padding-bottom: 100px;
}
.padding-top-bottom-big {
    padding-top: 140px;
    padding-bottom: 140px;
}
.padding-top-big {
    padding-top: 140px;
}
.padding-bottom-big {
    padding-bottom: 140px;
}

@media (max-width: 1199px) {
    .padding-page-top { padding-top: 170px; }
    .padding-top-bottom { padding-top: 80px; padding-bottom: 80px; }
    .padding-top { padding-top: 80px; }
    .padding-bottom { padding-bottom: 80px; }
    .padding-top-bottom-big { padding-top: 110px; padding-bottom: 110px; }
    .padding-top-big { padding-top: 110px; }
    .padding-bottom-big { padding-bottom: 110px; }
}

@media (max-width: 991px) {
    .padding-page-top { padding-top: 170px; }
    .padding-top-bottom { padding-top: 60px; padding-bottom: 60px; }
    .padding-top { padding-top: 60px; }
    .padding-bottom { padding-bottom: 60px; }
    .padding-top-bottom-big { padding-top: 90px; padding-bottom: 90px; }
    .padding-top-big { padding-top: 90px; }
    .padding-bottom-big { padding-bottom: 90px; }
}

/* --------------------------------------------------------------------------
   6. Watermark Shadow Title (Left-Side Vertical Parallax)
   -------------------------------------------------------------------------- */
.shadow-title {
    position: fixed;
    top: 0;
    margin-top: 80px;
    left: 20px;
    width: 100%;
    height: 300%;
    text-align: left;
    font-family: 'Muli', sans-serif;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    font-size: 14vw;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, rgba(200,200,200,0), rgba(200,200,200,0.65));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .shadow-title {
        display: none !important;
    }
}

body.nav-active .shadow-title {
    height: 100%;
}

/* --------------------------------------------------------------------------
   7. Page Title & Subtitle Geometry
   -------------------------------------------------------------------------- */
.page-title h1 {
    position: relative;
    font-size: 70px;
    color: #fff;
    font-weight: 900;
    line-height: 1;
    z-index: 2;
    text-align: center;
    margin-bottom: 0;
}

.page-title p {
    position: relative;
    font-size: 24px;
    font-weight: 500;
    padding-left: 45px;
    z-index: 2;
    margin-bottom: 1rem;
    color: #c4c3ca;
}

.page-title p:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transform: translateY(-50%);
}

.page-title-small p {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    padding-left: 95px;
    z-index: 2;
    color: #c4c3ca;
}

.page-title-small p:before {
    display: none;
    position: absolute;
    content: '';
    top: 50%;
    left: 35px;
    width: 40px;
    height: 1px;
    background-color: #616481;
    transform: translateY(-50%);
}

@media (max-width: 1199px) {
    .page-title h1 { font-size: 60px; }
    .page-title p { font-size: 22px; }
}

@media (max-width: 991px) {
    .page-title h1 { font-size: 50px; }
    .page-title p { font-size: 20px; }
}

@media (max-width: 767px) {
    .page-title h1 { font-size: 35px; }
}

@media (max-width: 575px) {
    .page-title h1 { font-size: 35px; }
    .page-title p { font-size: 17px; }
}

.img-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
}

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

/* --------------------------------------------------------------------------
   8. Top Navbar (Header Bar) - Authoritative Production Specs
   -------------------------------------------------------------------------- */

.navbar,
.balladi-navbar {
    width: 100%;
    height: 78px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 30px 30px !important;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1001;
    box-sizing: border-box;
    margin: 0;
}

.navbar .logo,
.balladi-navbar .logo {
    margin-left: 0;
    margin-right: 30px;
    display: flex;
    align-items: center;
}

.navbar .logo a,
.balladi-navbar .logo a {
    display: block;
    line-height: 0;
}

.navbar .logo img,
.balladi-navbar .logo img {
    width: 60px;
    height: 60px;
    display: block;
    object-fit: contain;
}

.navbar .email-us,
.balladi-navbar .email-us {
    margin-left: 0;
    margin-right: auto;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
}

.navbar .email-us a,
.balladi-navbar .email-us a {
    color: #808080;
    text-decoration: underline;
    pointer-events: none;
}

.navbar .email-us a:hover,
.balladi-navbar .email-us a:hover {
    color: #ffffff;
}

.navbar .email-us a span,
.balladi-navbar .email-us a span {
    color: #ffffff;
    text-decoration: underline;
}

.navbar .sandwich-nav,
.balladi-navbar .sandwich-nav {
    margin-right: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.navbar .sandwich-nav b,
.balladi-navbar .sandwich-nav b {
    font-size: 14px;
    line-height: 38px;
    color: #ffffff;
    font-weight: 400;
    font-family: Balladi !important;
    letter-spacing: normal;
    margin-right: 0;
}

.navbar .sandwich-btn.circle,
.balladi-navbar .sandwich-btn.circle {
    width: 38px;
    height: 38px;
    border: 2px solid #F5B544;
    background-color: rgb(245, 181, 68);
    border-radius: 50%;
    margin-left: 10px;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    display: block;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar .sandwich-btn.circle:hover,
.balladi-navbar .sandwich-btn.circle:hover {
    transform: scale(1.05);
}

.navbar .sandwich-btn.circle span,
.balladi-navbar .sandwich-btn.circle span {
    display: block;
    height: 2px;
    width: 18px;
    background: #ffffff;
    opacity: 1;
    position: absolute;
    left: 8px;
    right: 8px;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.navbar .sandwich-btn.circle span:nth-child(1),
.balladi-navbar .sandwich-btn.circle span:nth-child(1) {
    top: 12px;
}

.navbar .sandwich-btn.circle span:nth-child(2),
.balladi-navbar .sandwich-btn.circle span:nth-child(2) {
    top: 20px;
}

.navbar .sandwich-btn.circle.open,
.balladi-navbar .sandwich-btn.circle.open {
    border-color: #ffffff;
    background: #ffffff;
}

.navbar .sandwich-btn.circle.open span,
.balladi-navbar .sandwich-btn.circle.open span {
    background: #000000;
}

.navbar .sandwich-btn.circle.open span:nth-child(1),
.balladi-navbar .sandwich-btn.circle.open span:nth-child(1) {
    top: 16px;
    transform: rotate(135deg);
}

.navbar .sandwich-btn.circle.open span:nth-child(2),
.balladi-navbar .sandwich-btn.circle.open span:nth-child(2) {
    top: 16px;
    transform: rotate(-135deg);
}

@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
    .navbar,
    .balladi-navbar {
        padding: 30px 30px !important;
    }
    .navbar .email-us,
    .balladi-navbar .email-us {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   9. Tri-Circle Follower Cursor
   -------------------------------------------------------------------------- */
.cursor-dot,
.cursor-ring-1,
.cursor-ring-2 {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 99999;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
}

.cursor-ring-1 {
    width: 28px;
    height: 28px;
    border: 1px solid var(--gold-primary);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.cursor-ring-2 {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease, height 0.3s ease;
}

body.cursor-hover .cursor-ring-1 {
    width: 46px;
    height: 46px;
    background-color: rgba(245, 181, 68, 0.15);
    border-color: var(--gold-primary);
}

body.cursor-hover .cursor-ring-2 {
    width: 64px;
    height: 64px;
    border-color: transparent;
}

@media (pointer: coarse) {
    .cursor-dot, .cursor-ring-1, .cursor-ring-2 { display: none !important; }
}

/* --------------------------------------------------------------------------
   10. Fixed Social Links, Copyright, and Scroll-To-Top (Exact Unicord Spec)
   -------------------------------------------------------------------------- */
.social-fixed {
    position: fixed;
    top: auto;
    bottom: 40px;
    left: 30px;
    z-index: 100;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    display: flex;
    flex-direction: row;
    gap: 14px;
    transition: all 250ms linear;
    pointer-events: auto;
}

.social-fixed a {
    position: relative;
    text-align: center;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms linear;
    pointer-events: auto;
    z-index: 101;
}

.social-fixed a svg,
.social-fixed a i {
    width: 14px;
    height: 14px;
    fill: #ffffff;
    transition: fill 200ms linear;
    pointer-events: none;
}

.social-fixed a:hover {
    opacity: 0.5;
}

.copyr {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 94;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
    transform: rotate(180deg);
}

.copyr a {
    color: #fff;
    transition: all 200ms linear;
}

.copyr a:hover {
    opacity: 0.5;
}

.scroll-to-top {
    position: fixed;
    bottom: 210px;
    right: 36px;
    opacity: 0;
    visibility: hidden;
    width: 10px;
    height: 40px;
    z-index: 251;
    cursor: pointer;
    transform: translateY(-15px);
    transition: all 250ms linear;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top svg {
    width: 10px;
    height: 40px;
    fill: #ffffff;
}

.scroll-to-top:hover {
    bottom: 212px;
}

.scroll-to-top.active-arrow {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* The vertical Balladi watermark remains, but the separate arrow is intentionally removed. */
.scroll-to-top {
    display: none !important;
}

@media (max-width: 1199px) {
    .social-fixed {
        bottom: 15px;
        left: 17px;
    }
    .copyr {
        bottom: 15px;
        right: 17px;
    }
    .scroll-to-top {
        right: 22px;
        bottom: 180px;
    }
    .scroll-to-top:hover {
        bottom: 182px;
    }
}

/* --------------------------------------------------------------------------
   11. Reusable Footer ("Say Hola" / "Next Creation")
   -------------------------------------------------------------------------- */
.footer {
    width: 100%;
    display: block;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 6;
    background-color: #040503;
}

.footer .container {
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer .row {
    justify-content: center !important;
}

.footer-lines {
    position: relative;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
}

.footer-lines:after,
.footer-lines:before {
    position: absolute;
    width: 2px;
    height: 25px;
    content: '';
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4b4d64;
}

.footer-lines:after {
    top: -50px;
}

.footer-lines:before {
    bottom: -50px;
}

.footer-lines a h4 {
    font-size: 1.9rem;
    font-weight: 400;
    color: #fff;
    transition: all 200ms linear;
    margin: 0;
}

@media (max-width: 767px) {
    .footer-lines a h4 {
        font-size: 1.4rem;
    }
}

.footer-lines a:hover h4 {
    color: var(--gold-primary);
    opacity: 0.8;
}

.shadow-on-footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-family: 'Muli', sans-serif;
    font-size: 14vw;
    line-height: 1;
    color: rgba(200, 200, 200, 0.1);
    background: linear-gradient(rgba(245, 181, 68, 0.25), rgba(255, 255, 255, 0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   12. Studio Page Specific Styles (Parity with studio.php)
   -------------------------------------------------------------------------- */
.studio-page {
    background: #040503 !important;
}

.studio-page .shadow-title {
    -webkit-text-fill-color: #ffffff17;
}

.studio-cover {
    width: 100%;
    overflow: hidden;
    position: relative;
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .studio-cover {
        padding: 100px;
    }
}

.studio-mob-pad {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Logoslider Marquee */
.logoslider {
    width: 100%;
    height: var(--height, 150px);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
    position: relative;
}

.logoslider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width, 150px) * var(--quantity, 14));
    position: relative;
}

.logoslider .list .item {
    width: var(--width, 150px);
    height: var(--height, 150px);
    position: absolute;
    left: 100%;
    animation: autoRun 20s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((20s / var(--quantity, 14)) * (var(--position) - 1) - 20s) !important;
}

.logoslider .list .item img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes autoRun {
    from { left: 100%; }
    to { left: calc(var(--width, 150px) * -1); }
}

.logoslider:hover .item {
    animation-play-state: paused !important;
    filter: grayscale(1);
}

.logoslider .item:hover {
    filter: grayscale(0);
}

/* Studio Quote */
.blockquote {
    position: relative;
    padding-left: 70px;
    display: block;
}

.blockquote:before {
    position: absolute;
    content: '”';
    top: 0;
    left: 0;
    font-family: 'Muli', sans-serif;
    font-size: 120px;
    line-height: 0.9;
    -webkit-text-stroke: 2px #616481;
    text-stroke: 2px #616481;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Customization-3: responsive Studio composition. */
.studio-page {
    --studio-bg: #040503;
    --studio-rope: #f5b544;
    --studio-gutter: clamp(16px, 4vw, 48px);
    --studio-content: 1280px;
}

.studio-page .shadow-title {
    left: clamp(8px, 1.25vw, 24px);
    font-size: clamp(104px, 10vw, 168px);
    opacity: 0.68;
}

.studio-intro {
    padding-top: clamp(170px, 18vh, 250px);
    padding-bottom: clamp(28px, 3vw, 44px);
}

.studio-title-row {
    align-items: center;
    justify-content: center;
    margin-inline: 0;
    padding-inline: var(--studio-gutter);
    text-align: center;
}

.studio-page .studio-title-row h1 {
    font-size: clamp(35px, 5vw, 70px);
    white-space: nowrap;
}

.studio-page .studio-multilingual-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2em;
    line-height: 1.22;
}

.studio-ownership-word {
    display: inline-block;
    width: 3.9em;
    padding-block: 0.08em;
    color: #f5b544;
    text-align: right;
    transform: translateY(0);
    transition: opacity 260ms ease, transform 260ms ease;
}

.studio-ownership-word.is-changing {
    opacity: 0;
    transform: translateY(-0.16em);
}

.studio-title-static {
    color: #ffffff;
}

.studio-page .studio-subtitle {
    display: flex;
    justify-content: center;
    margin-left: 0;
}

.studio-page .studio-subtitle p,
.single-project .project-subtitle p {
    max-width: 42ch;
    margin: 0 auto;
    padding-left: 0;
    font-size: clamp(16px, 1.55vw, 24px);
    line-height: 1.55;
    text-align: center;
}

.studio-page .studio-subtitle p::before,
.single-project .project-subtitle p::before {
    display: none;
    content: none;
}

.single-project .project-title-row {
    justify-content: center;
    text-align: center;
}

.single-project .project-subtitle {
    margin-left: 0;
}

.studio-page .studio-content > .container {
    width: min(100%, calc(var(--studio-content) + (var(--studio-gutter) * 2)));
    max-width: none;
    padding-inline: var(--studio-gutter);
}

.studio-page .studio-content {
    padding-bottom: clamp(70px, 8vw, 110px);
}

.studio-content-row {
    margin-inline: 0;
}

.studio-content-row > .col-12 {
    padding-inline: 0;
}

.studio-cover {
    max-width: none;
    margin-inline: auto;
    padding: 0 !important;
    isolation: isolate;
    background: var(--studio-bg);
}

.studio-motion-scene {
    aspect-ratio: 1200 / 620;
    border: 0;
    background: var(--studio-bg);
}

.studio-page .studio-capabilities {
    padding-top: clamp(46px, 5vw, 72px);
}

.studio-motion-art {
    display: block;
    width: 100%;
    height: 100%;
}

.studio-motion-art image {
    image-rendering: auto;
}

.studio-motion-grid {
    fill: rgba(245, 181, 68, 0.36);
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
}

.studio-motion-halo {
    animation: studio-halo-breathe 7.2s ease-in-out infinite;
}

.studio-motion-symbol {
    color: rgba(255, 255, 255, 0.48);
    animation-delay: var(--motion-delay);
    filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.035));
}

.studio-motion-symbol--a {
    animation: studio-symbol-jitter-a 6.8s steps(1, end) infinite;
    animation-delay: var(--motion-delay);
}

.studio-motion-symbol--b {
    color: rgba(245, 181, 68, 0.58);
    animation: studio-symbol-jitter-b 8.4s steps(1, end) infinite;
    animation-delay: var(--motion-delay);
}

.studio-motion-symbol--c {
    animation: studio-symbol-flicker 9.6s steps(1, end) infinite;
    animation-delay: var(--motion-delay);
}

.studio-motion-mobile-only {
    display: none;
}

.studio-motion-signal {
    fill: none;
    stroke: rgba(245, 181, 68, 0.35);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 5 9;
    animation: studio-signal-travel 7.2s linear infinite;
}

.studio-motion-pulse {
    opacity: 0;
    stroke-dasharray: 14 36;
    transform-box: fill-box;
    transform-origin: center;
    animation: studio-gold-pulse 7.2s ease-out infinite;
    filter: url('#studio-motion-soft-glow');
}

.studio-motion-logo {
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.7));
}

.studio-motion-logo__body {
    transform-box: fill-box;
    transform-origin: center;
    animation: studio-logo-resolve 1.25s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.studio-motion-logo__clap {
    transform-box: view-box;
    transform-origin: 452px 178px;
    animation: studio-clap 7.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.studio-motion-caption {
    fill: rgba(255, 255, 255, 0.58);
    stroke: rgba(245, 181, 68, 0.65);
    stroke-width: 1;
}

.studio-motion-caption text {
    stroke: none;
    font-family: 'Muli', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.23em;
}

@keyframes studio-logo-resolve {
    0% { opacity: 0; scale: 0.965; filter: blur(7px); }
    55% { opacity: 1; filter: blur(0); }
    100% { opacity: 1; scale: 1; filter: blur(0); }
}

@keyframes studio-clap {
    0%, 4% { rotate: -13deg; }
    8% { rotate: 0deg; }
    10% { rotate: -2.5deg; }
    13%, 100% { rotate: 0deg; }
}

@keyframes studio-symbol-jitter-a {
    0%, 18%, 21%, 58%, 61%, 100% { translate: 0 0; opacity: 0.82; }
    19% { translate: 1px -1px; opacity: 1; }
    20% { translate: -1px 1px; opacity: 0.66; }
    59% { translate: -1px 0; }
    60% { translate: 1px 1px; }
}

@keyframes studio-symbol-jitter-b {
    0%, 33%, 36%, 76%, 79%, 100% { translate: 0 0; opacity: 0.78; }
    34% { translate: -1px 1px; opacity: 1; }
    35% { translate: 1px -1px; }
    77% { translate: 2px 0; }
    78% { translate: -1px 0; opacity: 0.62; }
}

@keyframes studio-symbol-flicker {
    0%, 46%, 48%, 81%, 83%, 100% { opacity: 0.78; }
    47%, 82% { opacity: 0.28; }
}

@keyframes studio-signal-travel {
    from { stroke-dashoffset: 0; opacity: 0.22; }
    42%, 65% { opacity: 0.72; }
    to { stroke-dashoffset: -84; opacity: 0.22; }
}

@keyframes studio-gold-pulse {
    0%, 9%, 100% { opacity: 0; scale: 0.86; rotate: -4deg; }
    13% { opacity: 0.34; }
    30% { opacity: 0; scale: 1.11; rotate: 5deg; }
}

@keyframes studio-halo-breathe {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.studio-capabilities {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 0;
}

.studio-capabilities__heading {
    display: grid;
    grid-template-columns: minmax(26px, 1fr) auto minmax(26px, 1fr);
    gap: clamp(14px, 2.5vw, 32px);
    align-items: center;
    margin-bottom: clamp(28px, 4vw, 54px);
    text-align: center;
}

.studio-capabilities__heading span {
    height: 2px;
    background: linear-gradient(90deg, transparent, #946500 26%, #ffe6a4 52%, #946500 78%, transparent);
}

.studio-capabilities__heading h2 {
    margin: 0;
    color: #f5b544;
    font-family: 'Muli', sans-serif;
    font-size: clamp(21px, 3vw, 39px);
    font-weight: 800;
    letter-spacing: 0.045em;
    line-height: 1.15;
    text-transform: uppercase;
}

.studio-capability-map {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.7fr 1.1fr 0.7fr 1fr;
    grid-template-rows: repeat(4, minmax(105px, auto));
    min-height: 650px;
    isolation: isolate;
}

.studio-capability-connectors {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.studio-capability-branches {
    stroke: rgba(245, 181, 68, 0.74);
}

.studio-capability-cable {
    stroke: var(--studio-rope);
    stroke-width: 3;
}

.studio-capability-nodes {
    fill: #f5b544;
    stroke: rgba(4, 5, 3, 0.9);
    stroke-width: 2;
}

.studio-capability-thread-mobile {
    display: none;
}

.studio-service {
    display: flex;
    gap: 14px;
    align-items: center;
    align-self: center;
    min-width: 0;
    color: #ffffff;
}

.studio-service > svg {
    flex: 0 0 clamp(46px, 4.8vw, 66px);
    width: clamp(46px, 4.8vw, 66px);
    height: auto;
    fill: none;
    stroke: #f5b544;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.studio-service h3,
.studio-service p {
    margin: 0;
    font-family: 'Muli', sans-serif;
}

.studio-service h3 {
    color: #ffffff;
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.25;
}

.studio-service p {
    margin-top: 3px;
    color: #c4c3ca;
    font-size: clamp(13px, 1.2vw, 17px);
    line-height: 1.35;
}

.studio-service--creative { grid-column: 1 / 3; grid-row: 1 / 3; justify-self: start; }
.studio-service--digital { grid-column: 4 / 6; grid-row: 1; justify-self: end; }
.studio-service--production { grid-column: 4 / 6; grid-row: 2 / 4; justify-self: end; }
.studio-service--concept { grid-column: 1 / 3; grid-row: 3 / 5; justify-self: start; }
.studio-service--other { grid-column: 4 / 6; grid-row: 4; justify-self: end; }

.studio-capability-core {
    position: relative;
    display: grid;
    z-index: 2;
    grid-column: 3;
    grid-row: 1 / 4;
    place-items: center;
    align-self: center;
    width: clamp(164px, 18vw, 220px);
    aspect-ratio: 180 / 230;
    justify-self: center;
}

.studio-page .studio-capability-core .bulb-hotspot {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    border-radius: 48% 48% 36% 36%;
    background: transparent;
    cursor: pointer;
}

.studio-page .studio-capability-core .bulb-hotspot:focus-visible {
    outline: 2px solid #F5B544;
    outline-offset: 5px;
}

.studio-capability-bulb {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.studio-capability-bulb__glass {
    fill: rgba(245, 181, 68, 0.12);
    stroke: #f5c95f;
    stroke-width: 4;
    transition: fill 250ms ease, filter 250ms ease;
}

.studio-capability-bulb__filament,
.studio-capability-bulb__base,
.studio-capability-bulb__rays {
    stroke: #ffffff;
    stroke-width: 4;
}

.studio-capability-bulb__base {
    fill: rgba(255, 255, 255, 0.08);
}

.studio-capability-core .bulb-glow {
    position: absolute;
    left: 50%;
    top: 43%;
    z-index: 1;
    width: 190%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 246, 170, 0.72) 0%, rgba(245, 181, 68, 0.26) 25%, rgba(245, 181, 68, 0.07) 48%, transparent 68%);
    filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.78);
    transition: opacity 250ms ease, transform 320ms ease;
}

.studio-capability-core .bulb-hotspot:hover ~ .bulb-glow,
.studio-capability-core .bulb-hotspot:focus-visible ~ .bulb-glow,
.studio-capability-core .bulb-hotspot[aria-pressed="true"] ~ .bulb-glow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.studio-capability-core .bulb-hotspot:hover .studio-capability-bulb__glass,
.studio-capability-core .bulb-hotspot:focus-visible .studio-capability-bulb__glass,
.studio-capability-core .bulb-hotspot[aria-pressed="true"] .studio-capability-bulb__glass {
    fill: rgba(255, 229, 116, 0.72);
    filter: drop-shadow(0 0 12px rgba(245, 181, 68, 0.86));
}

.studio-capability-people {
    grid-column: 2 / 5;
    grid-row: 3 / 5;
    align-self: end;
    justify-self: center;
    width: min(100%, 430px);
    height: auto;
    fill: rgba(255, 255, 255, 0.08);
    stroke: rgba(255, 255, 255, 0.74);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

.studio-capability-people ellipse {
    fill: rgba(255, 255, 255, 0.1);
    stroke: none;
}

.studio-team-cable {
    fill: none;
    stroke: var(--studio-rope);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    shape-rendering: geometricPrecision;
}

.studio-team-hand {
    fill: #f5b544;
    stroke: #040503;
    stroke-width: 2;
}

.studio-partners-heading,
.studio-partners-subtitle,
.studio-page .logoslider,
.studio-quote-column {
    max-width: 1180px;
    margin-inline: auto;
}

.studio-partners-heading {
    text-align: left;
}

.studio-partners-subtitle p {
    padding-left: 0;
}

.studio-page .logoslider {
    --width: clamp(138px, 12vw, 176px);
    --height: clamp(132px, 12vw, 164px);
}

.studio-page .logoslider .list .item {
    padding: 8px;
}

.studio-page .logoslider .list .client-logo-card {
    aspect-ratio: 1;
}

.studio-page .logoslider .list .client-logo-card > a,
.studio-page .logoslider .list .client-logo-card > img,
.studio-page .logoslider .list .client-logo-card > .client-wordmark {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(245, 181, 68, 0.16);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.97);
}

.studio-page .logoslider .list .client-logo-card img {
    width: 100%;
    height: 100%;
    padding: clamp(12px, 1.5vw, 20px);
    object-fit: contain;
}

.studio-page .client-wordmark {
    align-content: center;
    color: #7776a8;
    font-family: 'Muli', sans-serif;
    line-height: 0.82;
    text-align: center;
}

.studio-page .client-wordmark strong,
.studio-page .client-wordmark span {
    display: block;
}

.studio-page .client-wordmark strong {
    font-size: clamp(24px, 2.4vw, 35px);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: lowercase;
}

.studio-page .client-wordmark span {
    margin-top: 7px;
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 800;
    letter-spacing: 0.06em;
}

.studio-quote-column {
    flex: 0 0 min(100%, 800px);
    width: min(100%, 800px);
    max-width: 800px;
}

.studio-page .blockquote {
    padding-left: clamp(44px, 6vw, 72px);
}

.studio-page .blockquote::before {
    font-size: clamp(76px, 9vw, 120px);
}

@media (max-width: 991px) {
    .studio-intro {
        padding-top: clamp(145px, 18vh, 175px);
        padding-bottom: clamp(42px, 8vw, 64px);
    }

    .studio-page .studio-content > .container {
        padding-inline: clamp(15px, 5vw, 38px);
    }

    .studio-page .padding-top,
    .studio-page .studio-quote-column {
        padding-top: clamp(64px, 10vw, 90px);
    }
}

@media (max-width: 767px) {
    .studio-capabilities__heading {
        grid-template-columns: minmax(18px, 1fr) minmax(0, auto) minmax(18px, 1fr);
        gap: 12px;
    }

    .studio-capabilities__heading h2 {
        max-width: 15ch;
        font-size: clamp(20px, 5.8vw, 30px);
    }

    .studio-capability-map {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .studio-capability-connectors {
        display: none;
    }

    .studio-capability-thread-mobile {
        position: absolute;
        inset: 0;
        display: block;
        z-index: 0;
        width: 100%;
        height: 100%;
        overflow: visible;
        fill: none;
        stroke: var(--studio-rope);
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
        filter: drop-shadow(0 0 3px rgba(245, 181, 68, 0.2));
        pointer-events: none;
        vector-effect: non-scaling-stroke;
    }

    .studio-capability-thread-mobile circle {
        fill: #f5b544;
        stroke: #040503;
        stroke-width: 2;
    }

    .studio-mobile-spine {
        stroke: var(--studio-rope);
        stroke-width: 3;
        vector-effect: non-scaling-stroke;
        shape-rendering: geometricPrecision;
    }

    .studio-capability-core {
        order: 0;
        width: clamp(124px, 38vw, 170px);
        margin: 0 auto 26px;
    }

    .studio-service {
        position: relative;
        z-index: 1;
        width: 48%;
        min-height: 88px;
        gap: 8px;
        padding-block: 14px;
        background: transparent;
        text-shadow: 0 0 10px #040503, 0 0 18px #040503;
    }

    .studio-service::before {
        position: absolute;
        top: 50%;
        width: 4.1667%;
        height: 3px;
        border-radius: 999px;
        background: var(--studio-rope);
        box-shadow: 0 0 3px rgba(245, 181, 68, 0.2);
        content: '';
        pointer-events: none;
        transform: translateY(-50%);
    }

    .studio-service:nth-of-type(odd) {
        align-self: flex-start;
        flex-direction: row-reverse;
        text-align: right;
    }

    .studio-service:nth-of-type(odd)::before {
        left: 100%;
    }

    .studio-service:nth-of-type(even) {
        align-self: flex-end;
        flex-direction: row;
        text-align: left;
    }

    .studio-service:nth-of-type(even)::before {
        right: 100%;
    }

    .studio-service--creative { order: 1; }
    .studio-service--digital { order: 2; }
    .studio-service--production { order: 3; }
    .studio-service--concept { order: 4; }
    .studio-service--other { order: 5; }

    .studio-service h3 {
        font-size: clamp(14px, 3.8vw, 18px);
    }

    .studio-service p {
        font-size: clamp(12px, 3.2vw, 15px);
    }

    .studio-capability-people {
        position: relative;
        z-index: 1;
        order: 6;
        width: min(78%, 320px);
        margin: 24px auto 0;
        visibility: visible;
    }
}

@media (max-width: 575px) {
    .studio-page {
        --studio-gutter: clamp(15px, 4.5vw, 20px);
    }

    .studio-page .studio-title-row h1 {
        font-size: clamp(32px, 10vw, 38px);
    }

    .studio-page .studio-subtitle p {
        max-width: 31ch;
        font-size: clamp(15px, 4.6vw, 17px);
    }

    .studio-page .studio-content > .container {
        padding-inline: var(--studio-gutter);
    }

    .studio-motion-scene {
        aspect-ratio: 1 / 0.82;
    }

    .studio-motion-art {
        width: 154%;
        max-width: none;
        margin-left: -27%;
    }

    .studio-motion-symbol:not(.studio-motion-mobile-only) {
        display: none;
    }

    .studio-motion-mobile-only {
        display: inline;
    }

    .studio-motion-detail--optional {
        display: none;
    }

    .studio-service {
        width: 48%;
    }

    .studio-partners-heading,
    .studio-partners-subtitle {
        padding-inline: 0;
        text-align: center;
    }

    .studio-page .studio-partners-subtitle p {
        max-width: 26ch;
        margin-inline: auto;
        text-align: center;
    }

    .studio-page .logoslider {
        --width: 136px;
        --height: 136px;
    }

    .studio-page .blockquote {
        padding-left: 42px;
    }

    .studio-page .blockquote .lead-big {
        font-size: 18px;
        line-height: 1.55;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .studio-intro {
        padding-top: max(104px, calc(env(safe-area-inset-top) + 88px));
        padding-bottom: 28px;
    }

    .studio-page .studio-title-row h1 {
        font-size: clamp(34px, 5vw, 44px);
    }

    .studio-page .studio-subtitle {
        margin-top: 4px !important;
    }

    .studio-page .studio-subtitle p {
        font-size: clamp(15px, 2.4vw, 18px);
    }

    .studio-motion-scene {
        aspect-ratio: 2.15 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .studio-page .logoslider {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .studio-page .logoslider .list {
        position: static;
        width: max-content;
        min-width: max-content;
        gap: 10px;
    }

    .studio-page .logoslider .list .item {
        position: static;
        flex: 0 0 var(--width);
        animation: none !important;
    }

    .studio-page .bulb-glow {
        transition: none;
    }

    .studio-ownership-word {
        transition: none;
    }

    .studio-motion-halo,
    .studio-motion-symbol,
    .studio-motion-signal,
    .studio-motion-pulse,
    .studio-motion-logo__body,
    .studio-motion-logo__clap {
        animation: none !important;
    }

    .studio-motion-pulse {
        opacity: 0.16;
    }

    .studio-motion-logo__body,
    .studio-motion-logo__clap {
        opacity: 1;
        filter: none;
        rotate: 0deg;
        scale: 1;
    }

}

/* --------------------------------------------------------------------------
   13. Connect Page Specific Styles (Authoritative Production Parity)
   -------------------------------------------------------------------------- */
.custom-connect {
    background-color: #131313;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    color: #eee;
    font-size: 16px;
}

.custom-connect .wrap,
.custom-connect .custom-page,
.custom-connect main {
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.custom-connect main .banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3vmin;
    text-align: center;
    padding: 20px;
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    box-sizing: border-box;
}

.custom-connect .banner #dotsCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.custom-connect .banner h1,
.custom-connect .banner h4,
.custom-connect .banner button,
.custom-connect .banner .social-icons,
.custom-connect .banner .balladi-contact-address,
.custom-connect .copyright-notice {
    position: relative;
    z-index: 2;
}

.custom-connect h1 {
    font-size: 10vmin !important;
    font-weight: 700 !important;
    color: #f5b544 !important;
    text-transform: uppercase !important;
    line-height: 1em !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 5vmin 0px 2vmin !important;
    margin: 0px !important;
    letter-spacing: -1px !important;
    text-align: center !important;
}

.custom-connect .right {
    transition: text-shadow 0.4s ease, color 0.4s ease;
}

.custom-connect .right:hover {
    text-shadow: 0 0 20px rgba(245, 181, 68, 0.8);
}

.custom-connect .banner h4 {
    font-size: 3vmin !important;
    max-width: 80% !important;
    font-weight: 300 !important;
    font-style: normal !important;
    font-family: 'Outfit', sans-serif !important;
    color: #FFFFFF !important;
    line-height: 1.6 !important;
    margin: 0px 0px 20px !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
}

.custom-connect .banner button {
    all: unset !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 14px 30px !important;
    border-radius: 30px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    line-height: normal !important;
    color: #fff !important;
    margin: 0 0 10px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.custom-connect .banner button:hover {
    background-color: #f5b544 !important;
    color: #000 !important;
    border-color: #f5b544 !important;
    box-shadow: 0 4px 15px rgba(245, 181, 68, 0.4) !important;
    transform: translateY(-2px) !important;
}

.custom-connect .social-icons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 10px 0 0 0 !important;
}

.custom-connect .social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-connect .social-icons a svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.custom-connect .social-icons a:hover {
    background-color: #f5b544;
    color: #000;
    box-shadow: 0 4px 15px rgba(245, 181, 68, 0.4);
    transform: translateY(-3px);
    border-color: #f5b544;
}

.custom-connect .social-icons a:hover svg {
    fill: #000000;
}

.custom-connect .balladi-contact-address {
    max-width: min(90vw, 700px);
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.72rem, 1.2vw, 0.88rem);
    line-height: 1.45;
    font-style: normal;
    text-align: center;
}

.custom-connect .copyright-notice {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.8em !important;
    line-height: normal !important;
    color: rgba(255, 255, 255, 0.4) !important;
    z-index: 1000 !important;
    text-align: center !important;
}

.custom-connect .copyright-notice p {
    margin: 0 !important;
    color: #aaa !important;
    line-height: 1.5 !important;
}

/* --------------------------------------------------------------------------
   14. News Archive & Single Post (Elementor #2486 and #2517 Parity)
   -------------------------------------------------------------------------- */
.elementor.elementor-2486.elementor-location-archive {
    padding-top: 100px;
    background-color: #181818;
    min-height: 100vh;
}

.elementor-2486 .elementor-element.elementor-element-5f1f3d52 {
    display: flex;
    flex-direction: column;
    margin-top: 12%;
    margin-bottom: 0%;
    margin-left: 0%;
    margin-right: 0%;
    padding-top: 0%;
    padding-bottom: 0%;
    padding-left: 3%;
    padding-right: 65%;
    gap: 10px;
}

.elementor-2486 .elementor-element.elementor-element-21611234 .elementor-heading-title {
    font-family: Montserrat, sans-serif;
    font-size: 95px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 105px;
    letter-spacing: -0.28px;
    color: rgb(245, 181, 68);
    margin: 0;
}

.elementor-2486 .elementor-element.elementor-element-63701172 {
    margin: 0;
}
.elementor-2486 .elementor-element.elementor-element-63701172 p {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 1px;
    color: rgb(240, 240, 240);
    margin: 0 0 16px 0;
}

.elementor-2486 .elementor-element.elementor-element-1005efb5 {
    display: flex;
    flex-direction: column;
    margin-top: 10%;
    margin-bottom: 0%;
    margin-left: 0%;
    margin-right: 0%;
    padding-top: 0%;
    padding-bottom: 0%;
    padding-left: 3%;
    padding-right: 3%;
    gap: 100px;
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-posts-container.elementor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 39px;
    grid-row-gap: 35px;
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-post {
    border-style: solid;
    border-width: 1px;
    padding: 20px;
    border-color: rgb(240, 240, 240);
    background: transparent;
    display: flex;
    flex-direction: column;
}

.elementor-2486 .elementor-element.elementor-element-709390de.elementor-posts--thumbnail-top .elementor-post__thumbnail__link {
    width: 100%;
    margin-bottom: 20px;
    display: block;
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-posts-container .elementor-post__thumbnail {
    position: relative;
    overflow: hidden;
    padding-bottom: calc(66%);
    border-radius: 0;
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__thumbnail img {
    display: block;
    max-height: none;
    max-width: none;
    width: 100%;
    transition: filter 0.3s;
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-post:hover .elementor-post__thumbnail img {
    filter: brightness(110%) contrast(100%) saturate(100%) blur(0px) hue-rotate(0deg);
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__text {
    padding: 0px 30px 0px 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__title,
.elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__title a {
    color: rgb(240, 240, 240);
    font-family: Montserrat, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    letter-spacing: -0.13px;
    margin: 0 0 20px 0;
    text-decoration: none;
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__meta-data {
    color: rgb(240, 240, 240);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    margin-bottom: 45px;
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__excerpt {
    margin-bottom: 45px;
}

.elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__excerpt p {
    color: rgb(240, 240, 240);
    font-family: Montserrat, sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 35px;
    letter-spacing: 0px;
    margin: 0;
}

.elementor-2486 .elementor-element.elementor-element-709390de a.elementor-post__read-more {
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-decoration: underline;
    line-height: 30px;
    color: rgb(240, 240, 240);
    margin-top: 0px;
}

@media (max-width: 1024px) {
    .elementor-2486 .elementor-element.elementor-element-5f1f3d52 {
        padding-left: 3%;
        padding-right: 50%;
    }
    .elementor-2486 .elementor-element.elementor-element-21611234 .elementor-heading-title {
        font-size: 59px;
        line-height: 60px;
    }
    .elementor-2486 .elementor-element.elementor-element-63701172,
    .elementor-2486 .elementor-element.elementor-element-63701172 p {
        font-size: 15px;
        line-height: 17px;
    }
    .elementor-2486 .elementor-element.elementor-element-1005efb5 {
        margin-top: 15%;
        gap: 50px;
    }
    .elementor-2486 .elementor-element.elementor-element-709390de .elementor-posts-container.elementor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .elementor-2486 .elementor-element.elementor-element-5f1f3d52 {
        margin-top: 8%;
        padding-left: 3%;
        padding-right: 3%;
    }
    .elementor-2486 .elementor-element.elementor-element-21611234 .elementor-heading-title {
        font-size: 36px;
        line-height: 40px;
    }
    .elementor-2486 .elementor-element.elementor-element-63701172,
    .elementor-2486 .elementor-element.elementor-element-63701172 p {
        font-size: 16px;
        line-height: 20px;
    }
    .elementor-2486 .elementor-element.elementor-element-1005efb5 {
        margin-top: 25%;
    }
    .elementor-2486 .elementor-element.elementor-element-709390de .elementor-posts-container.elementor-grid {
        grid-row-gap: 52px;
    }
    .elementor-2486 .elementor-element.elementor-element-709390de .elementor-posts-container .elementor-post__thumbnail {
        padding-bottom: 50%;
    }
    .elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__meta-data {
        margin-bottom: 26px;
    }
    .elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__excerpt {
        margin-bottom: 22px;
    }
    .elementor-2486 .elementor-element.elementor-element-709390de .elementor-post__excerpt p {
        font-size: 18px;
        line-height: 20px;
    }
    .elementor-2486 .elementor-element.elementor-element-709390de a.elementor-post__read-more {
        font-size: 20px;
    }
}

/* Elementor 2486 CTA Section & Load More Button */
.elementor-2486 .elementor-element.elementor-element-5ef42ebd {
    --display: flex;
    display: flex;
    --min-height: 555px;
    min-height: 555px;
    --flex-direction: row;
    flex-direction: row;
    --container-widget-width: calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );
    --container-widget-height: 100%;
    --container-widget-flex-grow: 1;
    --container-widget-align-self: stretch;
    --flex-wrap-mobile: wrap;
    --align-items: stretch;
    align-items: stretch;
    --gap: 0px 0px;
    --row-gap: 0px;
    --column-gap: 0px;
    gap: 0px;
    border-style: solid;
    --border-style: solid;
    border-width: 1px 0px 0px;
    --border-top-width: 1px;
    --border-right-width: 0px;
    --border-bottom-width: 0px;
    --border-left-width: 0px;
    border-color: #F0F0F0;
    --border-color: #F0F0F0;
    --margin-top: 8%;
    margin-top: 8%;
    --margin-bottom: 0%;
    --margin-left: 0%;
    --margin-right: 0%;
    --padding-top: 0%;
    --padding-bottom: 0%;
    --padding-left: 3%;
    --padding-right: 3%;
    padding: 0 3%;
    background-color: #0b0b0b;
}

.elementor-2486 .elementor-element.elementor-element-2d4214b2,
.elementor-2486 .elementor-element.elementor-element-44a96ae4 {
    --display: flex;
    display: flex;
    --flex-direction: column;
    flex-direction: column;
    --container-widget-width: 100%;
    --container-widget-height: initial;
    --container-widget-flex-grow: 0;
    --container-widget-align-self: initial;
    --flex-wrap-mobile: wrap;
}

@media (min-width: 768px) {
    .elementor-2486 .elementor-element.elementor-element-44a96ae4 {
        width: 60%;
        --width: 60%;
    }
    .elementor-2486 .elementor-element.elementor-element-2d4214b2 {
        width: 40%;
        --width: 40%;
    }
}

.elementor-2486 .elementor-element.elementor-element-44a96ae4 {
    --justify-content: center;
    justify-content: center;
    border-style: solid;
    --border-style: solid;
    border-width: 0px 1px 0px 0px;
    --border-top-width: 0px;
    --border-right-width: 1px;
    --border-bottom-width: 0px;
    --border-left-width: 0px;
    border-color: #F0F0F0;
    --border-color: #F0F0F0;
    --padding-top: 0%;
    --padding-bottom: 0%;
    --padding-left: 0%;
    --padding-right: 3%;
    padding-right: 3%;
}

.elementor-2486 .elementor-element.elementor-element-6952d8e9 .elementor-heading-title {
    font-family: Montserrat, sans-serif;
    font-size: 95px;
    font-weight: 800;
    text-transform: uppercase;
    font-style: normal;
    text-decoration: none;
    line-height: 105px;
    letter-spacing: -0.28px;
    word-spacing: 0px;
    color: #f5b544;
}

.elementor-2486 .elementor-element.elementor-element-2d4214b2 {
    --justify-content: flex-start;
    justify-content: flex-start;
    --gap: 35px 35px;
    --row-gap: 35px;
    --column-gap: 35px;
    gap: 35px;
    --padding-top: 5%;
    --padding-bottom: 5%;
    --padding-left: 5%;
    --padding-right: 5%;
    padding: 5%;
}

.elementor-2486 .elementor-element.elementor-element-5dadb872 .elementor-heading-title {
    font-family: Montserrat, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    letter-spacing: -0.13px;
    color: #f0f0f0;
}

.elementor-2486 .elementor-element.elementor-element-6ea5e4e8 .elementor-button {
    background-color: #181818;
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 25px;
    letter-spacing: 1px;
    word-spacing: 0px;
    color: #f0f0f0;
    border-style: solid;
    border-width: 1px;
    border-color: #f0f0f0;
    border-radius: 0px;
    padding: 5px 15px;
    display: inline-block;
}

.elementor-2486 .elementor-element.elementor-element-6ea5e4e8 .elementor-button:focus,
.elementor-2486 .elementor-element.elementor-element-6ea5e4e8 .elementor-button:hover {
    background-color: #f0f0f0;
    color: #181818;
}

.elementor-2486 .elementor-element-709390de .elementor-button-wrapper {
    margin: 0;
}

.balladi-news-pagination {
    width: 100%;
    margin-top: 45px;
    text-align: center;
}

.balladi-news-pagination ul.page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.balladi-news-pagination li {
    margin: 0;
}

.balladi-news-pagination a,
.balladi-news-pagination span {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    color: #f0f0f0;
    padding: 8px 14px;
    font-family: Montserrat, sans-serif;
}

.balladi-news-pagination .current,
.balladi-news-pagination a:hover,
.balladi-news-pagination a:focus-visible {
    background: #f0f0f0;
    color: #181818;
}

.balladi-404 {
    min-height: 100vh;
    background: #080808;
}

.balladi-404-stage {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    align-items: center;
    gap: clamp(30px, 7vw, 130px);
    padding: 150px clamp(30px, 8vw, 150px) 100px;
    overflow: hidden;
    isolation: isolate;
}

.balladi-404-stage::before,
.balladi-404-stage::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.balladi-404-stage::before {
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(245, 181, 68, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(245, 181, 68, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, black, transparent 72%);
}

.balladi-404-stage::after {
    width: min(52vw, 800px);
    aspect-ratio: 1;
    right: -20%;
    top: 50%;
    z-index: -2;
    border: 1px solid rgba(245, 181, 68, 0.18);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 100px rgba(245, 181, 68, 0.018), 0 0 0 200px rgba(245, 181, 68, 0.012);
}

.balladi-404-grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.22;
    pointer-events: none;
    background: radial-gradient(circle at 28% 48%, rgba(245, 181, 68, 0.13), transparent 31%);
}

.balladi-404-number {
    position: absolute;
    left: -0.03em;
    bottom: -0.2em;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    font-family: 'BalladiFont1', sans-serif;
    font-size: clamp(210px, 36vw, 690px);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.08em;
    white-space: nowrap;
    user-select: none;
}

.balladi-404-clapper {
    width: min(100%, 570px);
    transform: rotate(-5deg);
    filter: drop-shadow(0 35px 60px rgba(0, 0, 0, 0.65));
    animation: balladi-clapper-float 6s ease-in-out infinite;
}

.balladi-404-clapper-top {
    height: clamp(58px, 7vw, 90px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    border: 2px solid #f5b544;
    background: #f5b544;
    transform: rotate(-4deg) translateY(-8px);
    transform-origin: left bottom;
}

.balladi-404-clapper-top span {
    background: #050505;
    clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);
}

.balladi-404-clapper-top span:nth-child(even) {
    background: #f5b544;
}

.balladi-404-clapper-body {
    min-height: clamp(210px, 25vw, 330px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 65px);
    border: 2px solid rgba(245, 181, 68, 0.82);
    background: rgba(6, 6, 6, 0.88);
    backdrop-filter: blur(8px);
}

.balladi-404-clapper-code {
    color: #f5b544;
    font-family: 'BalladiFont1', sans-serif;
    font-size: clamp(80px, 12vw, 170px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.06em;
}

.balladi-404-clapper-rule {
    width: 100%;
    height: 1px;
    margin: clamp(22px, 3vw, 38px) 0 16px;
    background: rgba(255, 255, 255, 0.3);
}

.balladi-404-clapper-label {
    color: rgba(255, 255, 255, 0.58);
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 0.32em;
}

.balladi-404-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.balladi-404-kicker {
    margin-bottom: 24px;
    color: #f5b544;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.23em;
    text-transform: uppercase;
}

.balladi-404-content h1 {
    margin: 0;
    color: #fff;
    font-family: 'BalladiFont1', sans-serif;
    font-size: clamp(62px, 8vw, 145px);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.055em;
}

.balladi-404-copy {
    max-width: 580px;
    margin: 32px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-family: 'Muli', sans-serif;
    font-size: clamp(16px, 1.35vw, 21px);
    line-height: 1.7;
}

.balladi-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 42px;
}

.balladi-404-actions a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid #f5b544;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.balladi-404-primary {
    background: #f5b544;
    color: #090909;
}

.balladi-404-secondary {
    color: #f5b544;
}

.balladi-404-actions a:hover,
.balladi-404-actions a:focus-visible {
    background: #fff;
    border-color: #fff;
    color: #090909;
    transform: translateY(-3px);
}

.balladi-404-frame-index {
    position: absolute;
    right: clamp(24px, 4vw, 70px);
    bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 9px;
    color: rgba(255, 255, 255, 0.38);
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    letter-spacing: 0.16em;
}

.balladi-404-frame-index strong {
    color: #f5b544;
    font-size: 18px;
    font-weight: 500;
}

@keyframes balladi-clapper-float {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-12px); }
}

@media (max-width: 900px) {
    .balladi-404-stage {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 42px;
        padding: 130px 30px 90px;
    }
    .balladi-404-clapper {
        width: min(80vw, 460px);
        margin: 0 auto;
    }
    .balladi-404-content {
        text-align: center;
        margin: 0 auto;
    }
    .balladi-404-copy {
        margin-left: auto;
        margin-right: auto;
    }
    .balladi-404-actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .balladi-404-stage {
        min-height: 100svh;
        align-content: center;
        gap: 24px;
        padding: max(128px, calc(env(safe-area-inset-top) + 118px)) 18px max(34px, env(safe-area-inset-bottom));
    }

    .balladi-404-clapper {
        width: min(76vw, 292px);
        transform: rotate(-3deg);
        filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.58));
        animation: none;
    }

    .balladi-404-clapper-top {
        height: 35px;
        transform: rotate(-3deg) translateY(-5px);
    }

    .balladi-404-clapper-body {
        min-height: 112px;
        padding: 17px 21px;
    }

    .balladi-404-clapper-code {
        font-size: clamp(48px, 14vw, 58px);
    }

    .balladi-404-clapper-rule {
        margin: 12px 0 8px;
    }

    .balladi-404-clapper-label {
        font-size: 8px;
        letter-spacing: 0.24em;
    }

    .balladi-404-kicker {
        max-width: 32ch;
        margin: 0 auto 14px;
        font-size: 9px;
        line-height: 1.6;
        letter-spacing: 0.19em;
    }

    .balladi-404-content h1 {
        font-size: clamp(46px, 13.5vw, 56px);
        line-height: 0.84;
        letter-spacing: -0.045em;
    }

    .balladi-404-copy {
        max-width: 34ch;
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.55;
    }

    .balladi-404-actions {
        flex-direction: column;
        gap: 11px;
        width: min(100%, 320px);
        margin: 22px auto 0;
    }

    .balladi-404-actions a {
        width: 100%;
        min-height: 46px;
        padding: 11px 16px;
        font-size: 10px;
    }

    .balladi-404-frame-index {
        display: none;
    }

    .balladi-404-number {
        display: none;
    }
}

@media (orientation: landscape) and (max-height: 520px) {
    .balladi-404-stage {
        min-height: 100dvh;
        grid-template-columns: minmax(220px, 0.82fr) minmax(300px, 1.18fr);
        align-content: center;
        align-items: center;
        gap: clamp(20px, 4vw, 48px);
        padding: max(72px, calc(env(safe-area-inset-top) + 62px)) max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    }

    .balladi-404-clapper {
        width: min(39vw, 330px);
        margin: 0 auto;
        transform: rotate(-3deg);
        animation: none;
    }

    .balladi-404-clapper-top {
        height: 40px;
        transform: rotate(-3deg) translateY(-4px);
    }

    .balladi-404-clapper-body {
        min-height: 136px;
        padding: 18px 24px;
    }

    .balladi-404-clapper-code {
        font-size: clamp(54px, 9vw, 72px);
    }

    .balladi-404-clapper-rule {
        margin: 13px 0 8px;
    }

    .balladi-404-clapper-label {
        font-size: 7px;
    }

    .balladi-404-content {
        text-align: left;
        margin: 0;
    }

    .balladi-404-kicker {
        margin: 0 0 8px;
        font-size: 8px;
    }

    .balladi-404-content h1 {
        font-size: clamp(44px, 7vw, 68px);
    }

    .balladi-404-copy {
        max-width: 42ch;
        margin: 12px 0 0;
        font-size: 12px;
        line-height: 1.45;
    }

    .balladi-404-actions {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 16px;
    }

    .balladi-404-actions a {
        width: auto;
        min-height: 42px;
        padding: 9px 15px;
        font-size: 9px;
    }

    .balladi-404-frame-index {
        display: none;
    }
}

@media (max-width: 767px), (orientation: landscape) and (max-height: 600px) {
    body.home .social-media {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .balladi-404-clapper {
        animation: none;
    }
}

.elementor-2486 .elementor-element-709390de .elementor-button {
    font-family: Poppins, sans-serif;
    font-size: 15px;
    color: #fff;
    background-color: #69727d;
    padding: 12px 24px;
    border: none;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .elementor-2486 .elementor-element.elementor-element-6952d8e9 .elementor-heading-title {
        font-size: 59px;
        line-height: 60px;
    }
    .elementor-2486 .elementor-element.elementor-element-6ea5e4e8 .elementor-button {
        font-size: 15px;
        line-height: 17px;
    }
    .elementor-2486 .elementor-element.elementor-element-5ef42ebd {
        min-height: 0px;
        flex-direction: column;
        width: 100%;
        margin-top: 15%;
    }
    .elementor-2486 .elementor-element.elementor-element-44a96ae4 {
        border-width: 0px 0px 1px;
        padding-top: 5%;
        padding-bottom: 5%;
        padding-right: 0%;
        width: 100%;
    }
    .elementor-2486 .elementor-element.elementor-element-2d4214b2 {
        padding-top: 8%;
        padding-bottom: 8%;
        padding-left: 0%;
        padding-right: 0%;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .elementor-2486 .elementor-element.elementor-element-5ef42ebd {
        margin-top: 25%;
    }
    .elementor-2486 .elementor-element.elementor-element-44a96ae4 {
        padding-top: 8%;
        padding-bottom: 8%;
    }
    .elementor-2486 .elementor-element.elementor-element-6952d8e9 .elementor-heading-title {
        font-size: 36px;
        line-height: 40px;
    }
    .elementor-2486 .elementor-element.elementor-element-2d4214b2 {
        padding-top: 12%;
        padding-bottom: 12%;
    }
    .elementor-2486 .elementor-element.elementor-element-6ea5e4e8 .elementor-button {
        font-size: 16px;
        line-height: 20px;
    }
}


/* Single Post (#2517) */
.elementor.elementor-2517.elementor-location-single {
    padding-top: 0px;
    background-color: #181818;
    min-height: 100vh;
}

.elementor-2517 .elementor-element.elementor-element-0ce1c8a {
    display: flex;
    flex-direction: column;
    margin: 120px 0px 0px;
    padding: 0 10px;
    width: 100%;
}

.elementor-2517 .elementor-element.elementor-element-0ce1c8a .e-con-inner {
    max-width: min(100%, 1140px);
    margin: 0 auto;
    width: 100%;
    padding: 10px 0px;
}

.elementor-2517 .elementor-element.elementor-element-7294375 img,
.elementor-2517 .elementor-element.elementor-element-0ce1c8a .e-con-inner img {
    width: 1140px;
    max-width: 100%;
    height: auto;
    display: block;
}

.elementor-2517 .elementor-element.elementor-element-4395d0cf {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 5%;
    margin-top: 8%;
    margin-bottom: 10%;
    padding-left: 3%;
    padding-right: 3%;
    width: 100%;
}

.elementor-2517 .elementor-element.elementor-element-590c3429 {
    display: flex;
    flex-direction: column;
    width: 30%;
    flex: 0 0 30%;
    padding: 10px;
    gap: 20px;
}

.elementor-2517 .elementor-element.elementor-element-1b18f2c5 {
    margin-bottom: 200px;
}

.elementor-2517 .elementor-element.elementor-element-1b18f2c5 .elementor-button {
    background-color: transparent;
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-decoration: underline;
    line-height: 30px;
    color: rgb(240, 240, 240);
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

.elementor-2517 .elementor-element.elementor-element-1b18f2c5 .elementor-button-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.elementor-2517 .elementor-element.elementor-element-3e553d6c .elementor-icon-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.elementor-2517 .elementor-element.elementor-element-3e553d6c .elementor-icon-list-text {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 1px;
    color: rgb(240, 240, 240);
}

.elementor-2517 .elementor-element.elementor-element-34f5ff36 .elementor-heading-title {
    font-family: Montserrat, sans-serif;
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 60px;
    letter-spacing: -0.28px;
    color: rgb(245, 181, 68);
    margin-top: 0px;
    margin-bottom: 0px;
}

.elementor-2517 .elementor-element.elementor-element-7830f95f {
    display: flex;
    flex-direction: column;
    width: 65%;
    flex: 0 0 65%;
    padding: 10px;
    gap: 20px;
    margin-top: 250px;
}

.elementor-2517 .elementor-element.elementor-element-1dde990a,
.elementor-2517 .entry-content p,
.elementor-2517 .entry-content {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 1px;
    color: rgb(240, 240, 240);
}

.elementor-2517 .entry-content p {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 16px;
    color: rgb(240, 240, 240);
}

.elementor-2517 .entry-content h2 {
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 38.4px;
    margin-top: 40px;
    margin-bottom: 8px;
    color: #ffffff;
}

.elementor-2517 .entry-content h3 {
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 33.6px;
    margin-top: 30px;
    margin-bottom: 8px;
    color: rgb(240, 240, 240);
}

.elementor-2517 .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.elementor-2517 .entry-content th,
.elementor-2517 .entry-content td {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

.elementor-2517 .entry-content th {
    background: rgba(255, 255, 255, 0.05);
    color: #f5b544;
}

@media (max-width: 1024px) {
    .elementor-2517 .elementor-element.elementor-element-4395d0cf {
        flex-direction: column;
        gap: 35px;
    }
    .elementor-2517 .elementor-element.elementor-element-590c3429,
    .elementor-2517 .elementor-element.elementor-element-7830f95f {
        width: 100%;
        flex: 0 0 100%;
    }
    .elementor-2517 .elementor-element.elementor-element-7830f95f {
        margin-top: 0px;
    }
    .elementor-2517 .elementor-element.elementor-element-1b18f2c5 {
        height: 33px;
        margin-bottom: 70px;
    }
    .elementor-2517 .elementor-element.elementor-element-1b18f2c5 .elementor-button {
        font-size: 22px;
        line-height: 30px;
    }
    .elementor-2517 .elementor-element.elementor-element-3e553d6c {
        height: 17px;
    }
    .elementor-2517 .elementor-element.elementor-element-3e553d6c,
    .elementor-2517 .elementor-element.elementor-element-3e553d6c *,
    .elementor-2517 .elementor-element.elementor-element-3e553d6c .elementor-icon-list-text {
        font-size: 15px;
        line-height: 17px;
    }
    .elementor-2517 .elementor-element.elementor-element-1dde990a,
    .elementor-2517 .entry-content p {
        font-size: 15px;
        line-height: 17px;
    }
}

@media (max-width: 767px) {
    .elementor-2517 .elementor-element.elementor-element-1b18f2c5 {
        height: 32px;
        margin-bottom: 20px;
    }
    .elementor-2517 .elementor-element.elementor-element-1b18f2c5 .elementor-button {
        font-size: 20px;
        line-height: 30px;
    }
    .elementor-2517 .elementor-element.elementor-element-3e553d6c {
        height: 20px;
    }
    .elementor-2517 .elementor-element.elementor-element-3e553d6c,
    .elementor-2517 .elementor-element.elementor-element-3e553d6c *,
    .elementor-2517 .elementor-element.elementor-element-3e553d6c .elementor-icon-list-text {
        font-size: 16px;
        line-height: 20px;
    }
    .elementor-2517 .elementor-element.elementor-element-34f5ff36 .elementor-heading-title {
        font-size: 36px;
        line-height: 50px;
    }
    .elementor-2517 .elementor-element.elementor-element-1dde990a,
    .elementor-2517 .entry-content p {
        font-size: 15px;
        line-height: 20px;
    }
}

/* --------------------------------------------------------------------------
   15. Creations Showcase (showcase.php Parity)
   -------------------------------------------------------------------------- */
.creations-showcase-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #131313;
    overflow: hidden;
}

.creations-showcase-wrapper .swiper-container,
#hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.creations-showcase-wrapper .swiper-wrapper {
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 3;
    display: flex;
    height: 100%;
    align-items: center;
    cursor: grab;
}

.creations-showcase-wrapper .swiper-wrapper:active {
    cursor: grabbing;
}

.creations-showcase-wrapper .swiper-slide {
    width: auto;
    height: 100%;
    z-index: 3;
    cursor: grab;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 250ms linear;
    flex-shrink: 0;
}

.creations-showcase-wrapper .swiper-slide a {
    cursor: pointer;
    width: clamp(260px, 31vw, 480px);
    margin: 0 clamp(32px, 5vw, 88px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.creations-showcase-wrapper .swiper-slide h2 {
    position: relative;
    font-family: 'Muli', sans-serif;
    font-size: clamp(40px, 4vw, 60px);
    letter-spacing: clamp(1px, 0.2vw, 3px);
    line-height: 0.98;
    font-weight: 800;
    text-align: center;
    padding: 0 5px;
    cursor: pointer;
    width: min(100%, 13ch);
    z-index: 3;
    color: #ffffff;
    opacity: 0.38;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.62);
    transition: opacity 200ms linear, transform 300ms ease;
}

.creations-showcase-wrapper .swiper-slide h2.creation-title--long {
    font-size: clamp(34px, 3.25vw, 50px);
    width: min(100%, 16ch);
}

.creations-showcase-wrapper .swiper-slide a h2:before,
.case-study-name h2:before {
    position: absolute;
    content: '';
    left: 29%;
    bottom: -15px;
    background-color: #f5b544;
    cursor: pointer;
    width: 42%;
    z-index: 2;
    opacity: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 200ms linear, transform 260ms ease;
}

.case-study-name:hover h2,
.case-study-name.active h2,
.case-study-name:focus-within h2 {
    opacity: 1;
    transform: translateY(-3px);
}

.case-study-name.active h2:before,
.case-study-name:focus-within h2:before {
    opacity: 1;
    transform: scaleX(1);
}

.creations-showcase-wrapper .swiper-slide a:focus-visible {
    outline: 1px solid rgba(245, 181, 68, 0.9);
    outline-offset: 16px;
}

/* Fullscreen Background Media & Shadow Titles */
.case-study-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1;
    pointer-events: none;
}

.case-study-images::after {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 6;
    background:
        linear-gradient(180deg, rgba(8, 10, 11, 0.24) 0%, transparent 32%, rgba(8, 10, 11, 0.08) 58%, rgba(8, 10, 11, 0.44) 100%),
        linear-gradient(90deg, rgba(8, 10, 11, 0.1) 0%, transparent 24%, transparent 76%, rgba(8, 10, 11, 0.1) 100%);
}

.case-study-images li {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    list-style: none;
    opacity: 0;
    transition: all 300ms linear;
}

.case-study-images li.show {
    opacity: 1;
}

.case-study-images li .img-hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    overflow: hidden;
    list-style: none;
    opacity: 0;
    z-index: 5;
    transition: all 300ms linear;
}

.case-study-images li.show .img-hero-background.no-blur {
    opacity: 0.9;
}

.case-study-images li .fullscreen-image {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 16vw;
    line-height: 0.8;
    color: #f5b54460;
    -webkit-text-fill-color: #f5b54460;
    font-weight: 800;
    bottom: 0;
    top: auto;
    left: 0;
    transform: translateY(-30px);
    white-space: nowrap;
    mix-blend-mode: screen;
    opacity: 0;
    z-index: 7;
    list-style: none;
    transition: all 300ms linear;
}

.case-study-images li.show .fullscreen-image {
    opacity: 1;
    transform: translateY(0);
}

/* Counter / Numbers */
.case-study-images li .hero-number {
    position: absolute;
    bottom: 70px;
    left: 50%;
    width: 40px;
    margin-left: -70px;
    text-align: center;
    display: block;
    letter-spacing: 2px;
    list-style: none;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1;
    color: #fff;
    z-index: 6;
    opacity: 0;
    transform: translateY(100%);
    transition: all 300ms linear;
}

.case-study-images li.show .hero-number {
    opacity: 1;
    transform: translateY(0);
}

.case-study-images li .hero-number-fixed {
    position: absolute;
    bottom: 70px;
    left: 50%;
    width: 40px;
    text-align: center;
    display: block;
    letter-spacing: 2px;
    list-style: none;
    font-size: 13px;
    margin-left: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1;
    color: #fff;
    z-index: 6;
}

.case-study-images li .hero-number-fixed:before {
    position: absolute;
    content: '';
    top: 50%;
    left: -60px;
    width: 60px;
    height: 1px;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.6);
}

/* Swiper Scrollbar */
.swiper-scrollbar {
    border-radius: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.2);
}

.swiper-container-horizontal > .swiper-scrollbar,
.swiper-horizontal > .swiper-scrollbar,
#hero-slider > .swiper-scrollbar {
    position: absolute;
    left: 30%;
    right: 30%;
    bottom: 35px;
    z-index: 50;
    height: 1px;
    width: 40%;
}

.swiper-scrollbar-drag {
    height: 19px;
    width: 19px;
    border-radius: 50%;
    position: relative;
    background: #ffffff;
    box-shadow: 0 0 0 0 #ffffff;
    left: 0;
    top: -9px;
    cursor: pointer;
}

.creations-swipe-hint {
    position: absolute;
    left: 50%;
    bottom: 82px;
    z-index: 60;
    display: none;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.creations-swipe-hint__line {
    position: relative;
    width: 28px;
    height: 1px;
    overflow: visible;
    background: rgba(245, 181, 68, 0.82);
}

.creations-swipe-hint__line::after {
    position: absolute;
    content: '';
    top: -2px;
    right: 0;
    width: 5px;
    height: 5px;
    border-top: 1px solid #f5b544;
    border-right: 1px solid #f5b544;
    transform: rotate(45deg);
}

.creations-showcase-wrapper.has-interacted .creations-swipe-hint {
    opacity: 0;
    visibility: hidden;
}

/* Fixed Social & Copyright */
.social-fixed {
    position: fixed;
    top: auto;
    bottom: 40px;
    left: 30px;
    z-index: 100;
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    transition: all 250ms linear;
    pointer-events: auto;
}

.social-fixed a {
    position: relative;
    text-align: center;
    margin: 7px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 23.8px;
    letter-spacing: 1px;
    color: #ffffff;
    display: inline-block;
    transition: all 200ms linear;
    pointer-events: auto;
    z-index: 101;
}

.social-fixed a i,
.social-fixed a svg {
    font-size: 14px;
    line-height: 14px;
    color: #ffffff;
    text-align: center;
    pointer-events: none;
}

.social-fixed a:hover {
    opacity: 0.5;
}

.copyr {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 100;
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 23.8px;
    letter-spacing: 1px;
    color: #ffffff;
}

.copyr a {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: all 200ms linear;
}

.copyr a:hover {
    opacity: 0.6;
}

/* Route-Scoped Social Icons Visibility (Parity with Live Production) */
body.home .social-fixed,
body.page-template-studio .social-fixed,
body.page-template-studio-php .social-fixed,
body.page-template-page-studio .social-fixed,
body.page-id-2377 .social-fixed,
body.blog .social-fixed,
body.archive .social-fixed,
body.page-template-page-news .social-fixed,
body.page-template-page-custom-perpage .social-fixed,
body.page-template-page-connect .social-fixed,
body.page-id-2313 .social-fixed,
body.error404 .social-fixed,
.custom-connect ~ .social-fixed {
    display: none !important;
}

/* Hide fixed vertical side elements on Connect page */
body.page-template-page-custom-perpage .copyr,
body.page-id-2313 .copyr,
body.error404 .copyr,
.custom-connect ~ .copyr {
    display: none !important;
}

/* Menu-Open State: Complete Disappearance of Underlying Fixed Page UI Behind Curtain */
body.menu-open .social-fixed,
body.menu-open .copyr,
body.menu-open .scroll-down,
body.menu-open .cursor-page-ui,
body.menu-open .social-media,
body.menu-open .cursor-dot,
body.menu-open .cursor-ring-1,
body.menu-open .cursor-ring-2,
body.menu-open .scroll-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
    .creations-showcase-wrapper .swiper-slide {
        width: auto !important;
    }
    .creations-showcase-wrapper .swiper-slide a {
        width: clamp(260px, 38vw, 400px);
        margin: 0 clamp(26px, 4vw, 56px) !important;
    }
    .creations-showcase-wrapper .swiper-slide h2 {
        font-size: 40px !important;
        letter-spacing: 1px !important;
    }
    .creations-showcase-wrapper .swiper-slide h2.creation-title--long {
        font-size: 34px !important;
    }
    .case-study-images li .hero-number,
    .case-study-images li .hero-number-fixed {
        bottom: 50px !important;
    }
    .swiper-container-horizontal > .swiper-scrollbar,
    .swiper-horizontal > .swiper-scrollbar,
    #hero-slider > .swiper-scrollbar {
        bottom: 25px !important;
    }
}

@media (max-width: 991px) {
    .creations-showcase-wrapper .swiper-slide {
        width: auto !important;
    }
    .creations-showcase-wrapper .swiper-slide a {
        width: min(68vw, 440px);
        margin: 0 clamp(22px, 5vw, 46px) !important;
    }
    .creations-showcase-wrapper .swiper-slide h2 {
        font-size: 30px !important;
    }
    .creations-showcase-wrapper .swiper-slide h2.creation-title--long {
        font-size: 27px !important;
    }
    .swiper-container-horizontal > .swiper-scrollbar,
    .swiper-horizontal > .swiper-scrollbar,
    #hero-slider > .swiper-scrollbar {
        left: 70px !important;
        right: 70px !important;
        width: calc(100% - 140px) !important;
    }
    .creations-swipe-hint {
        display: flex;
    }
}

@media (max-width: 767px) {
    .creations-showcase-wrapper .swiper-slide a {
        width: 70vw;
        margin: 0 14px !important;
    }
    .creations-showcase-wrapper .swiper-slide h2 {
        font-size: clamp(29px, 8vw, 34px) !important;
        width: min(100%, 16ch);
    }
    .creations-showcase-wrapper .swiper-slide h2.creation-title--long {
        font-size: clamp(24px, 6.7vw, 29px) !important;
        width: min(100%, 15ch);
    }
    .social-fixed {
        bottom: 15px !important;
        left: 17px !important;
    }
    .copyr {
        bottom: 15px !important;
        right: 17px !important;
    }
}

@media (max-width: 575px) {
    .creations-showcase-wrapper .swiper-slide {
        width: auto !important;
    }
    .creations-showcase-wrapper .swiper-slide a {
        margin: 0 12px !important;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .creations-showcase-wrapper .swiper-slide a {
        width: min(45vw, 360px);
        margin: 0 24px !important;
    }

    .creations-showcase-wrapper .swiper-slide h2 {
        font-size: clamp(26px, 4vw, 34px) !important;
    }

    .creations-showcase-wrapper .swiper-slide h2.creation-title--long {
        font-size: clamp(22px, 3.4vw, 29px) !important;
    }

    .creations-swipe-hint {
        bottom: 70px;
    }

    .creations-showcase-wrapper .social-fixed a {
        margin: 4px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .creations-showcase-wrapper .swiper-slide h2,
    .creations-showcase-wrapper .swiper-slide h2::before,
    .creations-swipe-hint {
        transition: none !important;
    }
}

/* Studio: keep the copyright watermark in a quiet edge rail on touch-sized layouts. */
@media (max-width: 991px) {
    body.page-template-studio .copyr {
        right: max(0px, env(safe-area-inset-right)) !important;
        bottom: max(12px, env(safe-area-inset-bottom)) !important;
        width: 16px;
        font-size: 11px;
        line-height: 16px;
        letter-spacing: 0.5px;
        opacity: 0.72;
        pointer-events: none;
    }

    body.page-template-studio .copyr a {
        font-size: inherit;
    }
}

/* --------------------------------------------------------------------------
   16. Branded, click-to-load Instagram Reel
   -------------------------------------------------------------------------- */
.balladi-reel {
    --reel-gold: #f5b544;
    width: min(100%, 430px);
    margin-inline: auto;
    color: #111;
}

.balladi-reel__poster,
.balladi-reel__player {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: clamp(10px, 2vw, 16px);
    background: #fff;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.balladi-reel__poster {
    isolation: isolate;
    aspect-ratio: 9 / 16;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(34px, 9%, 54px) clamp(64px, 17%, 82px) clamp(34px, 9%, 54px) clamp(28px, 9%, 42px);
    background: #e9e7e1;
}

.balladi-reel__poster[hidden] {
    display: none;
}

.balladi-reel__poster::before,
.balladi-reel__poster::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.balladi-reel__poster::before {
    left: clamp(28px, 9%, 42px);
    top: 19%;
    bottom: 19%;
    width: 1px;
    background: rgba(17, 17, 17, 0.12);
}

.balladi-reel__poster::after {
    left: clamp(28px, 9%, 42px);
    top: calc(19% - 4px);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--reel-gold);
    transform: translateX(-4px);
}

.balladi-reel__meta {
    position: absolute;
    z-index: 2;
    top: clamp(24px, 7%, 38px);
    left: clamp(28px, 9%, 42px);
    right: clamp(62px, 16%, 76px);
    display: flex;
    justify-content: space-between;
    color: #111;
    font: 600 clamp(9px, 2vw, 11px)/1.2 'Montserrat', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.balladi-reel__meta span:last-child {
    color: rgba(17, 17, 17, 0.5);
}

.balladi-reel__rail {
    position: absolute;
    z-index: 2;
    inset: 0 0 0 auto;
    display: flex;
    width: clamp(48px, 13%, 58px);
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-block: clamp(24px, 7%, 38px);
    border-left: 1px solid rgba(17, 17, 17, 0.12);
    color: #111;
    font: 600 10px/1 'Montserrat', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.balladi-reel__rail span:last-child {
    color: rgba(17, 17, 17, 0.45);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.balladi-reel__content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-left: clamp(18px, 6%, 28px);
    text-align: left;
}

.balladi-reel__eyebrow {
    margin-bottom: clamp(18px, 6%, 28px);
    color: rgba(17, 17, 17, 0.5);
    font-size: clamp(10px, 2.6vw, 12px);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.balladi-reel__title {
    max-width: 9ch;
    margin: 0 0 clamp(46px, 14%, 68px);
    color: #111;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(34px, 9vw, 54px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.balladi-reel__play {
    display: inline-flex;
    min-height: 68px;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
    color: #111;
    background: transparent;
    font: 600 11px/1 'Montserrat', sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease;
}

.balladi-reel__play:hover,
.balladi-reel__play:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.balladi-reel__play-icon {
    position: relative;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border: 1px solid #111;
    border-radius: 50%;
    background: var(--reel-gold);
    box-shadow: inset 0 0 0 8px #e9e7e1;
}

.balladi-reel__play-icon::after {
    content: "";
    position: absolute;
    left: 29px;
    top: 24px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #111;
}

.balladi-reel__play-label {
    position: relative;
}

.balladi-reel__play-label::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 1px;
    background: #111;
    transition: right 180ms ease;
}

.balladi-reel__play:hover .balladi-reel__play-label::after,
.balladi-reel__play:focus-visible .balladi-reel__play-label::after {
    right: 0;
}

.balladi-reel__instagram-link {
    position: absolute;
    z-index: 3;
    bottom: clamp(24px, 7%, 38px);
    left: clamp(28px, 9%, 42px);
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    color: rgba(17, 17, 17, 0.55);
    font-size: 11px;
    white-space: nowrap;
}

.balladi-reel__instagram-link:hover,
.balladi-reel__instagram-link:focus-visible {
    color: #111;
}

.balladi-reel__instagram-link svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.balladi-reel__player[hidden] {
    display: none;
}

.balladi-reel__player {
    min-height: 620px;
    padding-bottom: 48px;
    background: #fff;
}

.balladi-reel__iframe {
    display: block;
    width: 100%;
    min-height: 620px;
    border: 0;
    background: #fff;
}

.balladi-reel__loading {
    position: absolute;
    z-index: 2;
    inset: 0 0 48px;
    display: grid;
    place-items: center;
    color: var(--reel-gold);
    background: #050505;
    font: 600 12px/1 'Montserrat', sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.balladi-reel__player.is-loaded .balladi-reel__loading {
    display: none;
}

.balladi-reel__player-link,
.balladi-reel__noscript {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #0b0b0b;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.balladi-reel__player-link {
    position: absolute;
    inset: auto 0 0;
}

.balladi-reel__player-link:hover,
.balladi-reel__player-link:focus-visible,
.balladi-reel__noscript:hover,
.balladi-reel__noscript:focus-visible {
    color: var(--reel-gold);
}

@media (max-width: 767px) {
    .project-media-row {
        padding-inline: max(16px, env(safe-area-inset-left)) !important;
    }

    .balladi-reel {
        width: min(100%, 360px);
    }

    .balladi-reel__player,
    .balladi-reel__iframe {
        min-height: min(590px, 145vw);
    }

    .offset-xl-5.col-sm-8 p,
    .col-lg-8.mt-5.text-center p {
        letter-spacing: 0.25px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .balladi-reel__play {
        transition: none;
    }
}

/* Fix Desktop Scrollbar Layout Shift on long pages matching Unicord Child */
body.single-project,
body.page-template-studio,
body.blog,
body.single-post,
body.archive {
    overflow-y: scroll;
}

html:has(body.single-project),
html:has(body.page-template-studio),
html:has(body.blog),
html:has(body.single-post),
html:has(body.archive) {
    overflow-y: scroll !important;
}

/* Ensure non-scrolling single-screen apps never show scrollbar */
html:has(body.home),
html:has(body.page-template-showcase),
html:has(body.page-template-page-custom-perpage),
body.home,
body.page-template-showcase,
body.page-template-page-custom-perpage {
    overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   17. Production-Parity Site Preloader
   -------------------------------------------------------------------------- */
body.balladi-preloading {
    overflow: hidden !important;
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    overflow: hidden;
    background: #F5B544;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.595, 0.03, 0, 0.88) 0.48s;
}

.site-preloader__inner {
    position: absolute;
    inset: 0;
    background: #ffffff url('../images/preloader-logo.webp') center / 400px 400px no-repeat;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.595, 0.03, 0, 0.88);
}

.site-preloader__progress {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(128, 128, 128, 0.99);
}

.site-preloader__progress-bar {
    display: block;
    width: 0;
    height: 100%;
    background: #F5B544;
    transition: width 0.65s ease-out;
}

.site-preloader__status {
    position: absolute;
    top: calc(50% + 120px);
    right: 0;
    left: 0;
    color: #000000;
    font-family: 'Balladi', 'BalladiFont', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
    transform: translateY(-50%);
}

.site-preloader__cursor {
    animation: balladi-preloader-cursor 0.8s steps(1, end) infinite;
}

.site-preloader.is-leaving {
    transform: translateX(100%);
    pointer-events: none;
}

.site-preloader.is-leaving .site-preloader__inner {
    transform: translateX(100%);
}

.site-preloader.is-fast-exit {
    transition-duration: 0.32s;
    transition-delay: 0.18s;
}

.site-preloader.is-fast-exit .site-preloader__inner {
    transition-duration: 0.32s;
}

@keyframes balladi-preloader-cursor {
    50% { opacity: 0; }
}

@media (max-width: 767px) {
    .site-preloader__inner {
        background-size: min(88vw, 400px) min(88vw, 400px);
    }

    .site-preloader__status {
        top: calc(50% + 105px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-preloader,
    .site-preloader__inner,
    .site-preloader__progress-bar {
        transition-duration: 0.01ms;
        transition-delay: 0s;
    }

    .site-preloader__cursor {
        animation: none;
    }
}
