/*
Theme Name: Unboxed Designs Child
Theme URI: https://unboxeddesigns.com/
Description: Custom child theme for Unboxed Designs - Architecture & Luxury Interiors
Author: Unboxed Designs
Author URI: https://unboxeddesigns.com/
Template: hello-elementor
Version: 1.6.3
Text Domain: unboxed-designs-child
*/

:root {
    --ub-main-bg: #FFFFFF;
    --ub-hero-bg: #F8F8F7;
    --ub-black: #161616;
    --ub-charcoal: #161616;
    --ub-card-dark: #1C1C1E;
    --ub-text-dark: #161616;
    --ub-text-grey: #6B6B6B;
    --ub-text-light: #8E8E93;
    --ub-silver: #A3A3A3;
    --ub-border-subtle: rgba(0, 0, 0, 0.08);
    --ub-border-dark: rgba(255, 255, 255, 0.12);

    --ub-font-heading: 'PoppinsDigits', 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
    --ub-font-body: 'PoppinsDigits', 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
    --ub-font-mono: 'Space Grotesk', monospace;
    --ub-font-serif: Georgia, serif;
}

/* -------------------------------------------------------------
 * 2. BASELINE & RESET
 * ------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

/* Poppins normal font for numbers (digits 0-9, +, -, /, etc.) */
@font-face {
    font-family: 'PoppinsDigits';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/poppins/v24/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2') format('woff2');
    unicode-range: U+0030-0039, U+002B, U+002D, U+002F, U+0028, U+0029, U+002E, U+002C, U+0023;
}

@font-face {
    font-family: 'PoppinsDigits';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2') format('woff2');
    unicode-range: U+0030-0039, U+002B, U+002D, U+002F, U+0028, U+0029, U+002E, U+002C, U+0023;
}

@font-face {
    font-family: 'PoppinsDigits';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1xlFd2JQEk.woff2') format('woff2');
    unicode-range: U+0030-0039, U+002B, U+002D, U+002F, U+0028, U+0029, U+002E, U+002C, U+0023;
}

@font-face {
    font-family: 'PoppinsDigits';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLCz7Z1xlFd2JQEk.woff2') format('woff2');
    unicode-range: U+0030-0039, U+002B, U+002D, U+002F, U+0028, U+0029, U+002E, U+002C, U+0023;
}

/* Poppins for normal digits 0-9 and telephone links */
a[href^="tel"],
.ubc-contact-text a[href^="tel"],
.ub-footer-info-item a[href^="tel"],
.ub-footer-copyright,
input[type="tel"],
input[type="number"],
.ubc-number,
.ub-num {
    font-family: 'Poppins', sans-serif !important;
    font-variant-numeric: normal !important;
}

/* Anchor Scroll Offsets for Fixed Header */
#ub-services-section,
#ub-signature-projects,
#ub-step-section,
#ub-about-section,
#ubm-spaces,
#ubm-portfolio,
#ubm-services,
#ubm-steps,
#ubm-testimonials,
#ubm-about {
    scroll-margin-top: 110px !important;
}

body {
    background-color: var(--ub-main-bg);
    color: #6B6B6B;
    font-family: var(--ub-font-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.elementor h1,
.elementor h2,
.elementor h3,
.elementor h4,
.elementor h5,
.elementor h6,
.elementor-heading-title,
.ubm-sec-heading,
.ubm-tserv-title,
.ubm-pname,
.ubm-services-main-title,
.ubm-about-title {
    font-family: var(--ub-font-heading, 'Raleway', sans-serif) !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    color: #161616 !important;
    margin-top: 0;
}

.ubm-about-role {
    font-family: var(--ub-font-mono, 'Space Grotesk', sans-serif) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #161616 !important;
    margin: 0 0 20px !important;
}

p,
.elementor p,
.ubm-sec-desc,
.ubm-tserv-desc,
.ubm-pdesc,
.ubm-services-lead-sub,
.ubm-about-lead,
.ubm-about-body {
    font-family: var(--ub-font-body, 'Raleway', sans-serif) !important;
    color: #6B6B6B !important;
}

a {
    color: inherit;
    text-decoration: none;
}

/* -------------------------------------------------------------
 * 3. FLOATING & STICKY DYNAMIC HEADER (INCLUDED VIA header.php)
 * ------------------------------------------------------------- */
.ub-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #FFFFFF !important;
    padding: 13px 0 !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    border-bottom: none !important;
}

body.admin-bar .ub-site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .ub-site-header {
        top: 46px;
    }
}

.ub-header-container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 18px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 24px;
}

/* Left: Brand Logo */
.ub-header-brand {
    display: flex;
    align-items: center;
    flex: 1 0 0;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.ub-header-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.ub-header-logo-img {
    height: 54px;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
    transition: opacity 0.25s ease, height 0.25s ease;
}

.ub-site-header .ub-logo-white {
    display: none !important;
    height: 54px;
}

.ub-site-header .ub-logo-black {
    display: block !important;
    height: 54px;
}

/* Center: Clean Text Navigation Menu (No box, no background) */
.ub-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 0 0 auto;
}

.ub-nav-link {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #161616 !important;
    text-decoration: none;
    background: transparent;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 6px 0;
    position: relative;
    display: inline-block;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.ub-nav-link::after {
    display: none !important;
    content: none !important;
}

.ub-nav-link:hover {
    color: #737373 !important;
    text-decoration: none !important;
    background: transparent !important;
}

.ub-nav-link:hover::after {
    display: none !important;
}

/* Right: Actions */
.ub-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1 0 0;
}

.ub-quote-pill {
    background: #161616;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    padding: 10px 22px;
    font-family: 'Raleway', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

.ub-quote-pill:hover {
    background: #FFFFFF;
    color: #161616;
    border-color: #FFFFFF;
}

.ub-mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    color: #FFFFFF;
    padding: 0;
    width: 42px;
    height: 42px;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.ub-mobile-menu-btn .ub-hamburger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 22px;
    transform: translateY(-1px);
}

/* Scrolled Header State */
.ub-site-header.ub-is-scrolled {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: none !important;
    padding: 13px 0 !important;
}

.ub-site-header.ub-is-scrolled .ub-logo-white {
    display: none;
}

.ub-site-header.ub-is-scrolled .ub-logo-black {
    display: block;
    height: 50px !important;
}
}

.ub-site-header.ub-is-scrolled .ub-nav-link {
    color: #161616 !important;
    text-decoration: none !important;
}

.ub-site-header.ub-is-scrolled .ub-nav-link::after {
    display: none !important;
    content: none !important;
}

.ub-site-header.ub-is-scrolled .ub-nav-link:hover {
    color: #737373 !important;
    text-decoration: none !important;
}

.ub-site-header.ub-is-scrolled .ub-quote-pill {
    background: #161616;
    color: #FFFFFF;
    border-color: #161616;
}

.ub-site-header.ub-is-scrolled .ub-quote-pill:hover {
    background: #333333;
    border-color: #333333;
    color: #FFFFFF;
}

.ub-site-header.ub-is-scrolled .ub-mobile-menu-btn {
    border-color: rgba(0, 0, 0, 0.2);
    color: #161616;
}

/* Home Page Hero Clearance (Seamless 0px gap below Header) */
#ub-modern-root {
    padding-top: 80px !important;
    margin-top: 0 !important;
}

body.admin-bar #ub-modern-root {
    padding-top: 112px !important;
}

.ubm-hero-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media screen and (max-width: 1024px) {
    #ub-modern-root {
        padding-top: 74px !important;
    }

    body.admin-bar #ub-modern-root {
        padding-top: 106px !important;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar #ub-modern-root {
        padding-top: 120px !important;
    }
}

@media screen and (max-width: 600px) {
    #ub-modern-root {
        padding-top: 66px !important;
    }

    body.admin-bar #ub-modern-root {
        padding-top: 112px !important;
    }
}

/* -------------------------------------------------------------
 * 3.0 MOBILE HEADER BACKDROP (HIDDEN - SEAMLESS WHITE HEADER)
 * ------------------------------------------------------------- */
.ubm-mobile-header-backdrop {
    display: none !important;
}

@media screen and (max-width: 860px) {
    .ubm-mobile-header-backdrop {
        display: none !important;
    }
}

@media screen and (max-width: 600px) {
    .ubm-mobile-header-backdrop {
        display: none !important;
    }
}

/* -------------------------------------------------------------
 * 3.1 HERO SECTION (FULL WIDTH, ZERO BOX / PADDING / MARGIN)
 * ------------------------------------------------------------- */
.ubm-hero-wrapper {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.ubm-hero-frame {
    position: relative !important;
    width: 100% !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #0A0A0A !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media screen and (min-width: 769px) {
    .ubm-hero-frame {
        height: calc(100vh - 80px) !important;
        min-height: calc(100vh - 80px) !important;
        max-height: calc(100vh - 80px) !important;
    }

    body.admin-bar .ubm-hero-frame {
        height: calc(100vh - 112px) !important;
        min-height: calc(100vh - 112px) !important;
        max-height: calc(100vh - 112px) !important;
    }
}

.ubm-hero-bg-media {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

.ubm-hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.ubm-hero-slide.ubm-slide-active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
}

.ubm-hero-img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

.ubm-hero-scrim {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .ubm-hero-wrapper {
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .ubm-hero-frame {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        height: 56.25vw !important;
        aspect-ratio: 16 / 9 !important;
        min-height: unset !important;
        max-height: 56.25vw !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .ubm-hero-img {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }
}

@media screen and (max-width: 480px) {
    .ubm-hero-frame {
        width: 100vw !important;
        height: 56.25vw !important;
        aspect-ratio: 16 / 9 !important;
        min-height: unset !important;
        max-height: 56.25vw !important;
    }
}

/* -------------------------------------------------------------
 * 4. GLOBAL SITE FOOTER (4-COLUMN MINIMAL LUXURY SPECIFICATION)
 * ------------------------------------------------------------- */
.ub-site-footer {
    position: relative !important;
    background: #0A0A0A url('https://unboxeddesigns.com/wp-content/uploads/2026/11/footer_l.avif') center center / cover no-repeat !important;
    color: #FFFFFF !important;
    padding: clamp(60px, 6vw, 85px) clamp(24px, 4vw, 64px) 36px !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    font-family: 'PoppinsDigits', 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    overflow: hidden !important;
}

.ub-site-footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.65) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

#ub-site-footer *,
.ub-site-footer *,
.ub-site-footer p,
.ub-site-footer span,
.ub-site-footer a,
.ub-site-footer li,
.ub-site-footer input,
.ub-site-footer button,
.ub-site-footer label {
    font-family: 'PoppinsDigits', 'Raleway', sans-serif !important;
}

.ub-footer-container,
.ub-footer-inner {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1380px !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.ub-footer-main-grid {
    display: grid !important;
    grid-template-columns: 1.35fr 1.15fr 0.85fr 1.25fr !important;
    gap: clamp(28px, 4vw, 64px) !important;
    align-items: start !important;
    width: 100% !important;
    margin-bottom: 52px !important;
    box-sizing: border-box !important;
}

/* Col 1: Brand & Contact Info */
.ub-fcol-brand {
    display: flex !important;
    flex-direction: column !important;
}

.ub-footer-logo-wrap,
.ub-footer-logo-link {
    margin-bottom: 28px !important;
    display: inline-block !important;
}

.ub-footer-logo-img {
    height: auto !important;
    max-height: 95px !important;
    max-width: 195px !important;
    object-fit: contain !important;
    display: block !important;
}

.ub-footer-info-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.ub-footer-info-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.ub-footer-info-item svg {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    color: #FFFFFF !important;
}

.ub-footer-info-item a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.ub-footer-info-item a:hover {
    color: #B38F85 !important;
}

/* Col Titles */
.ub-footer-col-title,
.ub-site-footer h3.ub-footer-col-title {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 0 22px 0 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    line-height: 1.25 !important;
}

/* Col 2: Connect With Us Form */
.ub-footer-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
}

.ub-fform-group {
    margin-bottom: 12px !important;
    display: flex !important;
    flex-direction: column !important;
}

.ub-fform-label {
    font-family: 'Raleway', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #FFFFFF !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.ub-fform-input {
    width: 100% !important;
    background: #FFFFFF !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 10px 14px !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 13.5px !important;
    color: #161616 !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: box-shadow 0.2s ease !important;
}

.ub-fform-input::placeholder {
    color: #A3A3A3 !important;
}

.ub-fform-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45) !important;
}

.ub-fform-btn {
    align-self: flex-start !important;
    background: #565656 !important;
    color: #FFFFFF !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 8px 26px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    margin-top: 4px !important;
}

.ub-fform-btn:hover {
    background: #707070 !important;
}

/* Col 3: Other Pages */
.ub-footer-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.ub-fnav-link {
    font-family: 'Raleway', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
}

.ub-fnav-link:hover {
    color: #B38F85 !important;
}

.ub-fnav-link.active {
    color: #B38F85 !important;
}

/* Col 4: Latest Projects (3x2 Grid) */
.ub-footer-projects-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 330px !important;
}

.ub-fproj-thumb {
    display: block !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: #242424 !important;
    border-radius: 2px !important;
}

.ub-fproj-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.ub-fproj-thumb:hover img {
    transform: scale(1.08) !important;
}

/* Bottom Copyright Bar: Aligned to Right on 1 Line */
.ub-footer-bottom-bar {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    border-top: none !important;
    padding-top: 10px !important;
    box-sizing: border-box !important;
}

.ub-footer-copyright {
    font-family: 'Raleway', sans-serif !important;
    font-size: 13.5px !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    text-align: right !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    border-top: none !important;
    padding: 0 !important;
    max-width: none !important;
    display: block !important;
}

@media (max-width: 1024px) {
    .ub-site-footer {
        padding: 60px 32px 30px !important;
    }

    .ub-footer-main-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 768px) {
    .ub-site-footer {
        background: #0A0A0A url('https://unboxeddesigns.com/wp-content/uploads/2026/11/footer_m.avif') center center / cover no-repeat !important;
    }
}

@media (max-width: 640px) {
    .ub-site-footer {
        padding: 50px 20px 26px !important;
    }

    .ub-footer-main-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    .ub-footer-form {
        max-width: 100% !important;
    }

    .ub-footer-bottom-bar {
        justify-content: center !important;
        text-align: center !important;
    }

    .ub-footer-copyright {
        text-align: center !important;
        white-space: normal !important;
    }
}

/* -------------------------------------------------------------
 * 5. GLOBAL CONTACT MODAL (INCLUDED VIA footer.php)
 * ------------------------------------------------------------- */
.ub-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ub-modal-backdrop.active {
    display: flex;
}

.ub-exact-contact-card {
    background: #FFFFFF;
    border-radius: 0;
    max-width: 540px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--ub-border-subtle);
    animation: ubCardZoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ubCardZoom {
    from {
        transform: scale(0.94);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ub-card-close-x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: rgba(10, 10, 10, 0.8);
    color: #FFFFFF;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ub-card-close-x:hover {
    background: #000000;
}

.ub-ccard-top-photo {
    position: relative;
    height: 170px;
    background: #161616;
    overflow: hidden;
}

.ub-ccard-top-photo>img.ub-ccard-bg-photo,
.ub-ccard-top-photo>img:first-child {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
}

.ub-ccard-top-photo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

.ub-ccard-brand-sign {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    z-index: 5;
    max-height: 40px;
}

.ub-ccard-brand-sign img,
.ub-ccard-brand-sign .ub-modal-logo-img,
img.ub-modal-logo-img {
    height: 26px !important;
    max-height: 26px !important;
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ub-ccard-body {
    background: #FFFFFF;
    padding: 32px 36px;
    color: var(--ub-text-dark);
}

.ub-ccard-title {
    font-family: var(--ub-font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--ub-black);
    margin: 0 0 18px;
}

.ub-ccard-info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ub-border-subtle);
}

.ub-clabel {
    display: block;
    font-family: var(--ub-font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--ub-silver);
    margin-bottom: 4px;
}

.ub-cval {
    font-size: 13px;
    font-weight: 500;
    color: var(--ub-text-dark);
    margin: 0;
    line-height: 1.45;
}

.ub-cform {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ub-cform-inputs {
    display: flex;
    gap: 12px;
}

.ub-cinput {
    width: 100%;
    padding: 12px 14px;
    border-radius: 0;
    border: 1px solid var(--ub-border-subtle);
    background: #FAF9F8;
    font-family: inherit;
    font-size: 13.5px;
    color: var(--ub-text-dark);
    outline: none;
    transition: border-color 0.2s;
}

.ub-cinput:focus {
    border-color: var(--ub-black);
    background: #FFFFFF;
}

.ub-ccard-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.ub-csocial-row {
    display: flex;
    gap: 8px;
}

.ub-csoc-icon {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: #F4F4F3;
    border: 1px solid var(--ub-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ub-text-dark);
    font-size: 13px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.ub-csoc-icon:hover {
    background: var(--ub-black);
    color: #FFFFFF;
}

.ub-cquote-submit-btn {
    background: var(--ub-black);
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 12px 24px;
    font-family: var(--ub-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ub-cquote-submit-btn:hover {
    background: #333333;
}

/* -------------------------------------------------------------
 * 6. RESPONSIVE BREAKPOINTS (HEADER, FOOTER & MODALS)
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .ub-site-header {
        padding: 12px 0 !important;
    }

    .ub-header-container {
        padding: 0 18px !important;
    }

    .ub-footer-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 860px) {
    .ub-hnav-left {
        display: none;
    }

    .ub-hide-mobile {
        display: none;
    }

    .ub-header-container {
        padding: 0 18px !important;
    }
}

@media (max-width: 767px) {
    .ub-site-header {
        padding: 10px 0 !important;
    }

    .ub-header-container {
        padding: 0 18px !important;
    }

    .ub-header-logo-img {
        height: 46px;
    }

    .ub-quote-pill {
        padding: 8px 14px;
        font-size: 10px;
    }

    .ub-mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
        padding: 0;
    }

    .ub-site-footer {
        padding: 60px 20px 30px;
    }

    .ub-footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 40px;
    }

    .ub-footer-copyright {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 20px;
    }

    .ub-exact-contact-card {
        margin: 10px;
    }

    .ub-ccard-body {
        padding: 24px 20px;
    }

    .ub-ccard-info-columns,
    .ub-cform-inputs {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 10px;
    }

    .ub-ccard-bottom-actions {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .ub-cquote-submit-btn {
        width: 100%;
        text-align: center;
    }
}

/* -------------------------------------------------------------
 * 7. SINGLE PROJECT PAGE STYLING (CPT: project)
 * Minimal Luxury Standard (Matched to single-project-page-minimal-luxury.html)
 * ------------------------------------------------------------- */
.ubm-project-container {
    width: 100%;
    margin: 0;
    padding: 68px 0 0;
    background: #FFFFFF;
    color: #0F0F10;
    overflow: visible;
    font-family: var(--ub-font-body);
}

body.admin-bar .ubm-project-container {
    padding-top: 100px;
}

@media screen and (max-width: 1024px) {
    .ubm-project-container {
        padding-top: 68px;
    }

    body.admin-bar .ubm-project-container {
        padding-top: 100px;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar .ubm-project-container {
        padding-top: 114px;
    }

    .ubm-pcard-media {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        width: 100% !important;
        margin-bottom: 14px !important;
    }

    .ubm-pcard-img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

@media screen and (max-width: 600px) {
    .ubm-project-container {
        padding-top: 64px;
    }

    body.admin-bar .ubm-project-container {
        padding-top: 110px;
    }
}

.ubm-header-bar {
    max-width: 1560px;
    margin: 0 auto;
    padding: 12px 32px;
    border-bottom: 1px solid var(--ub-border-subtle);
}

.ubm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ubm-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ub-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--ub-black);
    text-decoration: none;
    transition: opacity 0.2s;
}

.ubm-back-link:hover {
    opacity: 0.6;
}

.ubm-header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ubm-meta-pill {
    font-family: var(--ub-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    background: #EFEFEF;
    color: var(--ub-black);
}

.ubm-meta-light {
    background: transparent;
    color: var(--ub-text-grey);
}

.ubm-inquire-btn-top {
    background: var(--ub-black);
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    font-family: var(--ub-font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 9px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.25s;
}

.ubm-inquire-btn-top:hover {
    background: #333333;
}

.ubm-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 6px #4ADE80;
}

.ubm-title-section {
    width: min(1560px, calc((100vh - 70px) * 1.7758));
    max-width: min(1560px, calc((100vh - 70px) * 1.7758));
    margin: 0 auto;
    padding: 16px 24px 18px;
    box-sizing: border-box;
}

.ubm-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 36px;
}

.ubm-category-stamp {
    display: none !important;
}

.ubm-main-title {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    color: #161616 !important;
    text-transform: uppercase !important;
}

.ubm-title-right {
    max-width: 520px;
}

.ubm-lead-tagline {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ub-text-grey);
    margin: 0 0 20px;
}

.ubm-lead-tagline em {
    font-family: var(--ub-font-serif);
    font-style: italic;
    color: var(--ub-black);
}

.ubm-specs-inline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--ub-border-subtle);
}

.ubm-spec-cell small {
    display: block;
    font-family: var(--ub-font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--ub-silver);
    margin-bottom: 2px;
}

.ubm-spec-cell strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ub-black);
}

.ubm-lookbook-section {
    width: min(1560px, calc((100vh - 70px) * 1.7758));
    max-width: min(1560px, calc((100vh - 70px) * 1.7758));
    margin: 0 auto;
    padding: 0 24px 36px;
    box-sizing: border-box;
}

.ubm-master-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 1671 / 941;
    max-height: none;
    background: #111111;
    overflow: hidden;
    cursor: zoom-in;
    border: 1px solid var(--ub-border-subtle);
}

.ubm-stage-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: opacity 0.35s ease;
    transform-origin: center center;
    will-change: opacity;
    position: absolute;
    top: 0;
    left: 0;
}

.ubm-master-screen:hover .ubm-stage-photo {
    /* remove scale transform – it caused vertical shift on image swap */
}

.ubm-stage-arrow,
.ubm-master-screen .ubm-stage-arrow,
#ub-project-root .ubm-stage-arrow,
.elementor #ub-project-root .ubm-stage-arrow,
body button.ubm-stage-arrow,
body .ubm-master-screen button.ubm-stage-arrow,
button.ubm-stage-arrow.ubm-stage-prev,
button.ubm-stage-arrow.ubm-stage-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 0 !important;
    background: rgba(18, 18, 18, 0.32) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    outline: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 5 !important;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
    padding: 0 !important;
    text-shadow: none !important;
}

.ubm-stage-arrow:hover,
.ubm-master-screen .ubm-stage-arrow:hover,
#ub-project-root .ubm-stage-arrow:hover,
.elementor #ub-project-root .ubm-stage-arrow:hover,
body button.ubm-stage-arrow:hover {
    background: rgba(18, 18, 18, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    color: #FFFFFF !important;
    outline: none !important;
    box-shadow: none !important;
}

.ubm-stage-arrow:focus,
.ubm-stage-arrow:active,
.ubm-stage-arrow:focus-visible,
.ubm-stage-arrow:visited,
.ubm-master-screen .ubm-stage-arrow:focus,
.ubm-master-screen .ubm-stage-arrow:active,
.ubm-master-screen .ubm-stage-arrow:focus-visible,
#ub-project-root .ubm-stage-arrow:focus,
#ub-project-root .ubm-stage-arrow:active,
.elementor #ub-project-root .ubm-stage-arrow:focus,
.elementor #ub-project-root .ubm-stage-arrow:active,
body button.ubm-stage-arrow:focus,
body button.ubm-stage-arrow:active,
body button.ubm-stage-arrow:focus-visible {
    background: rgba(18, 18, 18, 0.42) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #FFFFFF !important;
    outline: none !important;
    box-shadow: none !important;
}

.ubm-stage-arrow svg,
.ubm-master-screen .ubm-stage-arrow svg,
body button.ubm-stage-arrow svg {
    stroke: #FFFFFF !important;
    color: #FFFFFF !important;
    fill: none !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
}

.ubm-stage-prev {
    left: 20px !important;
}

.ubm-stage-next {
    right: 20px !important;
}

.ubm-stage-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #FFFFFF;
    z-index: 4;
}

.ubm-counter-num {
    font-family: var(--ub-font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 10px;
}

.ubm-fullscreen-prompt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ub-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    opacity: 0.8;
}

.ubm-thumbs-wrap {
    margin-top: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 6px;
}

.ubm-thumbs-track {
    display: flex;
    gap: 10px;
}

.ubm-thumb-item {
    flex: 0 0 130px;
    height: auto !important;
    aspect-ratio: 1671 / 941;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.25s, border-color 0.25s, transform 0.25s;
    background: #1C1C1E;
}

.ubm-thumb-item:hover {
    opacity: 0.9;
}

.ubm-thumb-item.ubm-thumb-active {
    opacity: 1;
    border-color: var(--ub-black);
    transform: translateY(-2px);
}

.ubm-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ubm-narrative-section {
    max-width: 1560px;
    margin: 0 auto;
    padding: 48px 32px;
    border-top: none;
    border-bottom: none;
}

.ubm-narrative-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 56px;
}

.ubm-sec-num {
    font-family: var(--ub-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--ub-silver);
    display: block;
    margin-bottom: 8px;
}

.ubm-sec-title,
.ubm-project-subtitle {
    font-family: var(--ub-font-heading, 'Raleway', sans-serif);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 16px 0;
    color: var(--ub-black);
    line-height: 1.3;
}

.ubm-narrative-left .ubm-lead-tagline {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ub-text-grey);
    margin: 18px 0 24px;
}

.ubm-narrative-left .ubm-specs-inline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    padding-top: 20px;
    border-top: none;
    margin-top: 16px;
}

.ubm-narrative-left .ubm-spec-cell small {
    display: block;
    font-family: var(--ub-font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--ub-silver);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ubm-narrative-left .ubm-spec-cell strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ub-black);
    line-height: 1.4;
    display: block;
}

/* Lookbook & Mosaic Gallery Responsive Visibility */
.ubm-lookbook-section {
    display: block !important;
}

.ubm-mosaic-section {
    display: none !important;
}

@media screen and (max-width: 1024px) {
    .ubm-lookbook-section {
        display: block !important;
    }

    .ubm-mosaic-section {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .ubm-lookbook-section {
        padding: 0 16px 28px !important;
        margin: 0 auto !important;
    }

    .ubm-master-screen {
        aspect-ratio: 1671 / 941 !important;
        max-height: none !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    .ubm-stage-arrow,
    body button.ubm-stage-arrow {
        width: 40px !important;
        height: 40px !important;
        background: rgba(18, 18, 18, 0.35) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    .ubm-stage-prev {
        left: 8px !important;
    }

    .ubm-stage-next {
        right: 8px !important;
    }

    .ubm-stage-status {
        padding: 10px 14px !important;
    }

    .ubm-counter-num {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }

    .ubm-fullscreen-prompt {
        font-size: 9px !important;
        gap: 4px !important;
    }

    .ubm-thumbs-wrap {
        margin-top: 10px !important;
        padding-bottom: 4px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .ubm-thumb-item {
        flex: 0 0 96px !important;
        height: 58px !important;
    }
}

.ubm-p-lead {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--ub-black);
    margin: 0 0 16px;
}

.ubm-p-sub {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ub-text-grey);
    margin: 0 0 24px;
}

.ubm-scope-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ubm-tag {
    font-family: var(--ub-font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border: 1px solid var(--ub-border-subtle);
    background: #FAF9F8;
    color: var(--ub-text-dark);
}

.ubm-mosaic-section {
    max-width: 1560px;
    margin: 0 auto;
    padding: 56px 32px 72px;
}

.ubm-mosaic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.ubm-mosaic-count {
    font-family: var(--ub-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--ub-silver);
}

.ubm-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ubm-mcard {
    position: relative;
    aspect-ratio: 1671 / 941;
    overflow: hidden;
    cursor: zoom-in;
    background: #EFEFEF;
}

.ubm-mcard-wide {
    grid-column: span 3;
}

.ubm-mimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ubm-mcard:hover .ubm-mimg {
    transform: scale(1.03);
}

.ubm-mindex {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--ub-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: rgba(11, 11, 11, 0.7);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    padding: 3px 8px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ubm-mcard:hover .ubm-mindex {
    opacity: 1;
}

.ubm-footer-section {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

.ubm-footer-cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    padding: 44px 36px;
    background: var(--ub-black);
    color: #FFFFFF;
    margin-bottom: 24px;
}

.ubm-fcta-text h3,
.ubm-footer-cta-row .ubm-fcta-text h3 {
    font-family: var(--ub-font-heading);
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 700;
    margin: 6px 0 0;
    color: #FFFFFF !important;
}

.ubm-fcta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ubm-solid-btn {
    background: #FFFFFF;
    color: var(--ub-black);
    border: none;
    border-radius: 0;
    font-family: var(--ub-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}

.ubm-solid-btn:hover {
    background: #E5E5EA;
}

.ubm-whatsapp-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: var(--ub-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

.ubm-whatsapp-link:hover {
    color: #FFFFFF;
}

.ubm-footer-nav-row {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    border: 1px solid var(--ub-border-subtle);
    background: #FAF9F7;
}

.ubm-pnav-divider {
    background: var(--ub-border-subtle);
}

.ubm-pnav-cell {
    padding: 28px 36px;
    text-decoration: none;
    color: var(--ub-black);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.2s;
}

.ubm-pnav-cell:hover {
    background: #F0EFEA;
}

.ubm-pnav-next {
    text-align: right;
    align-items: flex-end;
}

.ubm-pnav-sub {
    font-family: var(--ub-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--ub-silver);
}

.ubm-pnav-cell strong {
    font-family: var(--ub-font-heading);
    font-size: 18px;
    font-weight: 700;
}

.ubm-pnav-cell small {
    font-size: 12.5px;
    color: var(--ub-text-grey);
}

/* Lightbox */
.ubm-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(18px);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ubm-lightbox-overlay.ubm-lb-active {
    opacity: 1;
    pointer-events: auto;
}

.ubm-lb-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    color: #FFFFFF;
    z-index: 10;
}

.ubm-lb-count {
    font-family: var(--ub-font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.75);
}

.ubm-lb-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    width: 44px;
    height: 44px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ubm-lb-close:hover {
    background: #FFFFFF;
    color: #000000;
}

.ubm-lb-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    width: 100%;
    min-height: 0;
}

.ubm-lb-img-wrap {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    max-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ubm-lb-img {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    aspect-ratio: 16 / 9;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.ubm-lb-bottom-controls {
    padding: 12px 24px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 10;
}

.ubm-lb-bottom-arrow {
    width: 60px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 0;
}

.ubm-lb-bottom-arrow:hover {
    background: #FFFFFF;
    color: #000000;
}

.ubm-lb-bottom-count {
    font-family: var(--ub-font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.85);
    min-width: 60px;
    text-align: center;
}

/* Modal */
.ubm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(14px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
}

.ubm-modal-overlay.ubm-modal-open {
    opacity: 1;
    pointer-events: auto;
}

.ubm-modal-box {
    position: relative;
    background: #FFFFFF;
    border-radius: 0;
    max-width: 580px;
    width: 100%;
    padding: 48px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.ubm-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--ub-black);
}

.ubm-modal-label {
    font-family: var(--ub-font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--ub-silver);
    display: block;
    margin-bottom: 6px;
}

.ubm-modal-head {
    font-family: var(--ub-font-heading);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--ub-black);
}

.ubm-modal-sub {
    font-size: 14px;
    color: var(--ub-text-grey);
    margin: 0 0 28px;
}

.ubm-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ubm-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ubm-input-group label {
    font-family: var(--ub-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ub-silver);
}

.ubm-input-group input {
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--ub-border-subtle);
    border-radius: 0;
    font-family: inherit;
    font-size: 14px;
    color: var(--ub-text-dark);
    outline: none;
    transition: border-color 0.2s;
}

.ubm-input-group input:focus {
    border-color: var(--ub-black);
}

.ubm-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ubm-modal-submit {
    height: 52px;
    background: var(--ub-black);
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    font-family: var(--ub-font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}

.ubm-modal-submit:hover {
    background: #333333;
}

@media (max-width: 1024px) {
    .ubm-narrative-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ubm-mosaic-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ubm-mcard-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {

    .ubm-header-bar,
    .ubm-title-section,
    .ubm-lookbook-section,
    .ubm-narrative-section,
    .ubm-mosaic-section,
    .ubm-footer-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ubm-header-meta {
        display: none;
    }

    .ubm-sec-title,
    .ubm-project-subtitle,
    .ubm-narrative-left .ubm-sec-title,
    .ubm-narrative-left .ubm-project-subtitle,
    .ubm-narrative-left .ubm-lead-tagline {
        font-size: clamp(20px, 5.5vw, 24px) !important;
        line-height: 1.25 !important;
        margin-bottom: 14px !important;
    }

    .ubm-specs-inline {
        grid-template-columns: 1fr 1fr;
    }

    .ubm-mosaic-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ubm-mcard-wide {
        grid-column: span 1;
    }

    .ubm-footer-nav-row {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .ubm-pnav-next {
        text-align: left;
        align-items: flex-start;
    }

    .ubm-stage-arrow {
        width: 40px;
        height: 40px;
    }

    .ubm-fullscreen-prompt {
        display: none;
    }

    .ubm-modal-box {
        padding: 32px 24px;
    }

    .ubm-input-row {
        grid-template-columns: 1fr;
    }

    .ubm-lb-stage {
        padding: 0 4px;
    }

    .ubm-lb-img-wrap {
        max-height: calc(100vh - 140px);
    }

    .ubm-lb-img {
        max-height: calc(100vh - 140px);
    }

    .ubm-lb-bottom-controls {
        padding: 8px 16px 22px;
        gap: 16px;
    }

    .ubm-lb-bottom-arrow {
        width: 52px;
        height: 44px;
    }
}

/* -------------------------------------------------------------
 * CLIENT LOGO INFINITE MARQUEE (SHARED THEME COMPONENT)
 * ------------------------------------------------------------- */
.ubm-client-marquee-section {
    width: 100% !important;
    background: #FFFFFF !important;
    color: #161616 !important;
    padding: 38px 0 34px !important;
    overflow: hidden !important;
    border-top: 1px solid #ECECEC !important;
    border-bottom: 1px solid #ECECEC !important;
    margin: 40px 0 30px !important;
    box-sizing: border-box !important;
}

.ubm-client-marquee-label {
    text-align: center !important;
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(22px, 2.5vw, 34px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #161616 !important;
    margin-bottom: 28px !important;
    padding: 0 20px !important;
}

.ubm-client-marquee-track {
    display: flex !important;
    width: 100% !important;
    overflow: hidden !important;
    user-select: none !important;
    background: #FFFFFF !important;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.ubm-client-marquee-inner {
    display: flex !important;
    align-items: center !important;
    gap: 56px !important;
    padding-right: 56px !important;
    white-space: nowrap !important;
    animation: ubmClientMarqueeLoop 36s linear infinite !important;
    flex-shrink: 0 !important;
}

.ubm-client-marquee-track:hover .ubm-client-marquee-inner {
    animation-play-state: paused !important;
}

.ubm-client-logo-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 180px !important;
    height: 100px !important;
    background: #FFFFFF !important;
    padding: 8px 14px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease !important;
}

.ubm-client-logo-item:hover {
    transform: scale(1.05) !important;
}

.ubm-client-logo-img {
    max-width: 100% !important;
    max-height: 85px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease !important;
}

.ubm-client-logo-item:hover .ubm-client-logo-img {
    filter: none !important;
    opacity: 1 !important;
}

.ubm-client-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
}

@keyframes ubmClientMarqueeLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   ABOUT US PAGE TYPOGRAPHY & STYLES (LIGHT MINIMAL LUXURY)
   ========================================================================== */
#ub-about-root,
.elementor #ub-about-root {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #6B6B6B !important;
    background-color: #FFFFFF !important;
}

#ub-about-root h1,
#ub-about-root h2,
#ub-about-root h3,
#ub-about-root h4,
#ub-about-root h5,
#ub-about-root h6,
.elementor #ub-about-root h1,
.elementor #ub-about-root h2,
.elementor #ub-about-root h3,
.elementor #ub-about-root h4,
.elementor #ub-about-root h5,
.elementor #ub-about-root h6,
.uba-hero-title,
.uba-sec-heading,
.uba-hww-title,
.uba-hww-step-title,
.uba-leader-name,
.uba-serv-card h3,
.uba-stat-num,
.uba-cta-title {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: #161616 !important;
}

#ub-about-root p,
.elementor #ub-about-root p,
.uba-hero-lead,
.uba-sec-desc,
.uba-ntext,
.uba-hww-subtitle,
.uba-hww-step-desc,
.uba-leader-bio,
.uba-serv-card p,
.uba-cta-desc {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #6B6B6B !important;
}

/* About Us Hero & Light Layout */
.uba-hero-section {
    background: #FFFFFF !important;
    color: #161616 !important;
    padding: 130px 24px 70px !important;
    border-bottom: 1px solid #ECECEC !important;
}

.uba-hero-title {
    color: #161616 !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 0 20px !important;
}

.uba-hero-title em {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: #404040 !important;
}

.uba-hero-lead {
    color: #6B6B6B !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin: 0 0 32px !important;
}

.uba-hero-visual {
    width: 100% !important;
    height: 460px !important;
    overflow: hidden !important;
    border: 1px solid #ECECEC !important;
    background: #F4F4F2 !important;
}

.uba-hero-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    filter: none !important;
}

/* How We Work Custom WebP Icons (Static, No Hover Animation) */
.uba-hww-icon-wrap {
    width: 90px !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 22px !important;
}

.uba-hww-icon-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    filter: none !important;
}

/* Natural Images (No Grayscale, No Dark Hover Inversion) */
.uba-leader-photo img {
    filter: none !important;
}

.uba-serv-card:hover {
    background: #FFFFFF !important;
    border-color: #161616 !important;
}

.uba-serv-card:hover h3 {
    color: #161616 !important;
}

.uba-serv-card:hover p {
    color: #6B6B6B !important;
}

/* Light Stats & CTA */
.uba-stats-section {
    background: #F9F9F8 !important;
    color: #161616 !important;
    padding: 60px 44px !important;
    border-top: 1px solid #ECECEC !important;
    border-bottom: 1px solid #ECECEC !important;
}

.uba-stats-section .uba-stat-num {
    color: #161616 !important;
}

.uba-stats-section .uba-stat-label {
    color: #6B6B6B !important;
}

.uba-cta-frame {
    background: #F8F8F7 !important;
    border: 1px solid #ECECEC !important;
    color: #161616 !important;
}

.uba-cta-frame .uba-cta-title {
    color: #161616 !important;
}

.uba-cta-frame .uba-cta-desc {
    color: #6B6B6B !important;
}

/* About Us Client Logo Marquee */
.uba-client-marquee-section {
    background: #FFFFFF !important;
    padding: 46px 0 52px !important;
    overflow: hidden !important;
    border-top: 1px solid #ECECEC !important;
    border-bottom: 1px solid #ECECEC !important;
}

.uba-client-marquee-label {
    text-align: center !important;
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #6B6B6B !important;
    margin-bottom: 28px !important;
    padding: 0 24px !important;
}

.uba-client-marquee-track {
    display: flex !important;
    width: 100% !important;
    overflow: hidden !important;
    user-select: none !important;
    background: #FFFFFF !important;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent) !important;
}

.uba-client-marquee-inner {
    display: flex !important;
    align-items: center !important;
    gap: 48px !important;
    padding-right: 48px !important;
    white-space: nowrap !important;
    animation: ubaClientMarqueeLoop 32s linear infinite !important;
    flex-shrink: 0 !important;
}

.uba-client-marquee-track:hover .uba-client-marquee-inner {
    animation-play-state: paused !important;
}

.uba-client-logo-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 120px !important;
    height: 75px !important;
    background: #FFFFFF !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease !important;
}

.uba-client-logo-item:hover {
    transform: scale(1.06) !important;
}

.uba-client-logo-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: grayscale(100%);
    opacity: 0.78;
    transition: filter 0.3s ease, opacity 0.3s ease !important;
}

.uba-client-logo-item:hover .uba-client-logo-img {
    filter: grayscale(0%);
    opacity: 1 !important;
}

@keyframes ubaClientMarqueeLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}



/* ==========================================================================
   HOMEPAGE: 3 CORE SERVICES & HIDE ROADMAP
   ========================================================================== */
.ubm-services-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px clamp(20px, 4vw, 60px) 24px !important;
    box-sizing: border-box !important;
}

.ubm-services-center-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 16px !important;
}

.ubm-services-center-header .ubm-badge-mono {
    display: inline-block;
    margin-bottom: 12px;
}

.ubm-services-main-title {
    font-family: var(--ubm-font-heading, 'Raleway', sans-serif);
    font-size: clamp(32px, 3.8vw, 44px);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ubm-black, #0A0A0A);
    margin: 0 0 14px;
    line-height: 1.15;
}

.ubm-services-lead-sub {
    font-size: 15.5px;
    color: var(--ubm-grey-text, #666666);
    line-height: 1.6;
    margin: 0;
}

.ubm-three-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.ubm-tserv-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ubm-tserv-card:hover {
    transform: translateY(-4px);
    border-color: #0A0A0A;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.ubm-tserv-media {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #EFEFEF;
}

.ubm-tserv-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ubm-tserv-card:hover .ubm-tserv-img {
    transform: scale(1.05) !important;
}

.ubm-tserv-body {
    padding: 32px 28px 36px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.ubm-tserv-title {
    font-family: var(--ubm-font-heading, 'Raleway', sans-serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--ubm-black, #0A0A0A);
    margin: 0 0 10px;
    line-height: 1.35;
}

.ubm-tserv-desc {
    font-size: 14px;
    color: var(--ubm-grey-text, #666666);
    line-height: 1.65;
    margin: 0 0 24px;
    flex-grow: 1;
}

.ubm-tserv-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ubm-font-mono, 'Space Grotesk', sans-serif);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ubm-black, #0A0A0A);
    text-decoration: none;
    transition: gap 0.2s ease, opacity 0.2s ease;
    margin-top: auto;
}

.ubm-tserv-link:hover {
    gap: 12px;
    opacity: 0.7;
}

/* Hide Precision Execution Roadmap per user request */
#ub-step-section,
.ubm-step-section {
    display: none !important;
}

@media screen and (max-width: 1024px) {
    .ubm-three-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media screen and (max-width: 680px) {
    .ubm-services-section {
        padding: 60px 20px 40px;
    }

    .ubm-three-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ubm-tserv-media {
        height: 220px;
    }

    .ubm-tserv-body {
        padding: 24px 20px 28px;
    }
}

/* ==========================================================================
   SIGNATURE SPATIAL DISCIPLINES: HIGH-CONTRAST CRISP WHITE TYPOGRAPHY
   ========================================================================== */
.ubm-acc-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 35%, rgba(0, 0, 0, 0.85) 70%, rgba(0, 0, 0, 0.96) 100%) !important;
    transition: opacity 0.4s ease !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

#ub-modern-root .ubm-acc-top,
.elementor #ub-modern-root .ubm-acc-top,
.ubm-acc-top {
    position: absolute !important;
    top: 28px !important;
    left: 28px !important;
    right: 28px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 2 !important;
    color: #FFFFFF !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
}

#ub-modern-root .ubm-acc-num,
.elementor #ub-modern-root .ubm-acc-num,
.ubm-acc-num {
    color: #FFFFFF !important;
}

#ub-modern-root .ubm-acc-tag,
.elementor #ub-modern-root .ubm-acc-tag,
.ubm-acc-tag {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(10px) !important;
    padding: 6px 14px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
}

.ubm-acc-bottom {
    position: absolute !important;
    bottom: 32px !important;
    left: 32px !important;
    right: 32px !important;
    z-index: 2 !important;
    color: #FFFFFF !important;
}

#ub-modern-root .ubm-acc-bottom h3,
.elementor #ub-modern-root .ubm-acc-bottom h3,
#ub-modern-root .ubm-acc-card h3,
.elementor #ub-modern-root .ubm-acc-card h3,
.ubm-acc-bottom h3 {
    font-family: 'Raleway', sans-serif !important;
    font-size: clamp(20px, 2.2vw, 30px) !important;
    font-weight: 700 !important;
    margin: 0 0 10px !important;
    line-height: 1.25 !important;
    color: #FFFFFF !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}

#ub-modern-root .ubm-acc-detail,
.elementor #ub-modern-root .ubm-acc-detail,
#ub-modern-root .ubm-acc-bottom p,
.elementor #ub-modern-root .ubm-acc-bottom p,
.ubm-acc-detail {
    font-family: 'Raleway', sans-serif !important;
    font-size: 13.5px !important;
    color: #F0F0F0 !important;
    line-height: 1.6 !important;
    margin: 0 0 16px !important;
    max-width: 480px !important;
    opacity: 0.95 !important;
    max-height: 120px !important;
    overflow: hidden !important;
    transition: all 0.4s ease !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9) !important;
}

#ub-modern-root .ubm-acc-link,
.elementor #ub-modern-root .ubm-acc-link,
.ubm-acc-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    opacity: 0.95 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9) !important;
    transition: opacity 0.2s, transform 0.2s !important;
}

/* ==========================================================================
   FEATURED PROJECTS: 3-COLUMN DIRECTION-AWARE HOVER GRID (16:9 RATIO)
   ========================================================================== */
.ubm-direction-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ubm-dir-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: #F4F4F4 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.ubm-dir-media {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ubm-dir-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ubm-dir-card:hover .ubm-dir-img {
    transform: scale(1.05) !important;
}

.ubm-dir-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(14, 14, 14, 0.48) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
    z-index: 2 !important;
    transform: translate3d(0, -100%, 0);
    opacity: 0;
    will-change: transform, opacity;
}

#ub-modern-root .ubm-dir-title,
.elementor #ub-modern-root .ubm-dir-title,
#ub-modern-root .ubm-dir-overlay h3,
.elementor #ub-modern-root .ubm-dir-overlay h3,
.ubm-dir-title {
    font-family: 'Raleway', sans-serif !important;
    font-size: clamp(16px, 1.3vw, 20px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

@media (max-width: 1024px) {
    .ubm-direction-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

@media (max-width: 768px) {
    .ub-site-footer {
        background: #0A0A0A url('https://unboxeddesigns.com/wp-content/uploads/2026/11/footer_m.avif') center center / cover no-repeat !important;
    }
}

@media (max-width: 640px) {
    .ubm-direction-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .ubm-dir-title {
        font-size: 16px !important;
        text-transform: uppercase !important;
    }
}

@media (hover: none) {
    .ubm-dir-overlay {
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(10, 10, 10, 0.65) 100%) !important;
        align-items: flex-end !important;
        padding: 20px !important;
    }

    .ubm-dir-title {
        text-align: left !important;
        font-size: 16px !important;
        text-transform: uppercase !important;
    }
}

/* Completely hide hover overlays on mobile for Portfolio Filter Gallery */
@media screen and (max-width: 1024px),
(hover: none),
(pointer: coarse) {

    body.page-template-page-portfolio .ubm-dir-overlay,
    body.page-template-page-portfolio .ubp-overlay,
    body.post-type-archive-project .ubm-dir-overlay,
    body.post-type-archive-project .ubp-overlay,
    #ub-portfolio-root .ubm-dir-overlay,
    #ub-portfolio-root .ubp-overlay,
    .ubp-item .ubm-dir-overlay,
    .ubp-item .ubp-overlay {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate3d(0, -9999px, 0) !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
    }
}

/* ==========================================================================
   FULL-WIDTH TESTIMONIAL AUTO SLIDER & ARROW COLOR OVERRIDES
   ========================================================================== */
#ub-modern-root .ubm-testimonials-section,
.elementor #ub-modern-root .ubm-testimonials-section,
.ubm-testimonials-section {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #EBEAE8 !important;
    padding: 95px 24px 85px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: relative;
    overflow: hidden;
}

#ub-modern-root .ubm-testi-slider-wrapper,
.ub-portfolio-wrapper .ubm-testi-slider-wrapper,
.elementor #ub-modern-root .ubm-testi-slider-wrapper,
.ubm-testi-slider-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

#ub-modern-root .ubm-testi-slider-title,
.ub-portfolio-wrapper .ubm-testi-slider-title,
.elementor #ub-modern-root .ubm-testi-slider-title,
.ubm-testi-slider-title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(20px, 2.2vw, 25px) !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #1a1a1a !important;
    text-align: center !important;
    margin: 0 0 34px !important;
}

#ub-modern-root .ubm-testi-quote-mark,
.ub-portfolio-wrapper .ubm-testi-quote-mark,
.elementor #ub-modern-root .ubm-testi-quote-mark,
.ubm-testi-quote-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #161616;
    margin-bottom: 34px;
}

#ub-modern-root .ubm-testi-carousel,
.ub-portfolio-wrapper .ubm-testi-carousel,
.elementor #ub-modern-root .ubm-testi-carousel,
.ubm-testi-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    user-select: none;
}

#ub-modern-root .ubm-testi-viewport,
.ub-portfolio-wrapper .ubm-testi-viewport,
.elementor #ub-modern-root .ubm-testi-viewport,
.ubm-testi-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
    transition: height 0.35s ease;
}

#ub-modern-root .ubm-testi-track,
.ub-portfolio-wrapper .ubm-testi-track,
.elementor #ub-modern-root .ubm-testi-track,
.ubm-testi-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    will-change: transform;
}

#ub-modern-root .ubm-testi-slide,
.ub-portfolio-wrapper .ubm-testi-slide,
.elementor #ub-modern-root .ubm-testi-slide,
.ubm-testi-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 0 16px;
    opacity: 0.2;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
}

#ub-modern-root .ubm-testi-slide.active,
.ub-portfolio-wrapper .ubm-testi-slide.active,
.elementor #ub-modern-root .ubm-testi-slide.active,
.ubm-testi-slide.active {
    opacity: 1;
}

#ub-modern-root .ubm-testi-inner,
.ub-portfolio-wrapper .ubm-testi-inner,
.elementor #ub-modern-root .ubm-testi-inner,
.ubm-testi-inner {
    max-width: 890px;
    margin: 0 auto;
    text-align: center;
}

#ub-modern-root .ubm-testi-quote-text,
.ub-portfolio-wrapper .ubm-testi-quote-text,
.elementor #ub-modern-root .ubm-testi-quote-text,
.ubm-testi-quote-text {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(14.5px, 1.22vw, 16.5px) !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    color: #181818 !important;
    margin: 0 0 30px !important;
    text-align: center !important;
    letter-spacing: 0.005em !important;
}

#ub-modern-root .ubm-testi-author-citation,
.ub-portfolio-wrapper .ubm-testi-author-citation,
.elementor #ub-modern-root .ubm-testi-author-citation,
.ubm-testi-author-citation {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #606060 !important;
    text-align: center !important;
    letter-spacing: 0.02em !important;
    margin: 0 auto !important;
}

#ub-modern-root .ubm-testi-nav-arrow,
.ub-portfolio-wrapper .ubm-testi-nav-arrow,
.elementor #ub-modern-root .ubm-testi-nav-arrow,
#ub-modern-root button.ubm-testi-nav-arrow,
.ub-portfolio-wrapper button.ubm-testi-nav-arrow,
.elementor #ub-modern-root button.ubm-testi-nav-arrow,
body .ubm-testi-nav-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    color: rgba(22, 22, 22, 0.28) !important;
    padding: 10px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

#ub-modern-root .ubm-testi-nav-arrow:hover,
.ub-portfolio-wrapper .ubm-testi-nav-arrow:hover,
.elementor #ub-modern-root .ubm-testi-nav-arrow:hover,
#ub-modern-root button.ubm-testi-nav-arrow:hover,
.ub-portfolio-wrapper button.ubm-testi-nav-arrow:hover,
.elementor #ub-modern-root button.ubm-testi-nav-arrow:hover,
#ub-modern-root .ubm-testi-nav-arrow:focus,
.ub-portfolio-wrapper .ubm-testi-nav-arrow:focus,
.elementor #ub-modern-root .ubm-testi-nav-arrow:focus,
#ub-modern-root button.ubm-testi-nav-arrow:focus,
.ub-portfolio-wrapper button.ubm-testi-nav-arrow:focus,
.elementor #ub-modern-root button.ubm-testi-nav-arrow:focus,
#ub-modern-root .ubm-testi-nav-arrow:active,
.ub-portfolio-wrapper .ubm-testi-nav-arrow:active,
.elementor #ub-modern-root .ubm-testi-nav-arrow:active,
body .ubm-testi-nav-arrow:hover,
body .ubm-testi-nav-arrow:focus {
    color: #111111 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    transform: translateY(-50%) scale(1.18) !important;
}

#ub-modern-root .ubm-testi-nav-arrow svg,
.ub-portfolio-wrapper .ubm-testi-nav-arrow svg,
.elementor #ub-modern-root .ubm-testi-nav-arrow svg,
body .ubm-testi-nav-arrow svg {
    stroke: currentColor !important;
    fill: none !important;
    transition: stroke 0.3s ease !important;
}

#ub-modern-root .ubm-testi-nav-arrow:hover svg,
.ub-portfolio-wrapper .ubm-testi-nav-arrow:hover svg,
.elementor #ub-modern-root .ubm-testi-nav-arrow:hover svg,
#ub-modern-root button.ubm-testi-nav-arrow:hover svg,
.ub-portfolio-wrapper button.ubm-testi-nav-arrow:hover svg,
.elementor #ub-modern-root button.ubm-testi-nav-arrow:hover svg,
#ub-modern-root .ubm-testi-nav-arrow:focus svg,
.ub-portfolio-wrapper .ubm-testi-nav-arrow:focus svg,
.elementor #ub-modern-root .ubm-testi-nav-arrow:focus svg,
body .ubm-testi-nav-arrow:hover svg,
body .ubm-testi-nav-arrow:focus svg {
    stroke: #111111 !important;
    fill: none !important;
}

.ubm-testi-nav-arrow.ubm-testi-prev {
    left: 0 !important;
}

.ubm-testi-nav-arrow.ubm-testi-next {
    right: 0 !important;
}

#ub-modern-root .ubm-testi-dots,
.ub-portfolio-wrapper .ubm-testi-dots,
.elementor #ub-modern-root .ubm-testi-dots,
.ubm-testi-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 36px !important;
}

#ub-modern-root .ubm-testi-dot,
.ub-portfolio-wrapper .ubm-testi-dot,
.elementor #ub-modern-root .ubm-testi-dot,
#ub-modern-root button.ubm-testi-dot,
.ub-portfolio-wrapper button.ubm-testi-dot,
.elementor #ub-modern-root button.ubm-testi-dot,
.ubm-testi-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background-color: #BFBFBF !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

#ub-modern-root .ubm-testi-dot:hover,
.ub-portfolio-wrapper .ubm-testi-dot:hover,
.elementor #ub-modern-root .ubm-testi-dot:hover,
#ub-modern-root button.ubm-testi-dot:hover,
.ub-portfolio-wrapper button.ubm-testi-dot:hover,
.elementor #ub-modern-root button.ubm-testi-dot:hover,
.ubm-testi-dot:hover {
    background-color: #777777 !important;
    box-shadow: none !important;
    outline: none !important;
}

#ub-modern-root .ubm-testi-dot.active,
.ub-portfolio-wrapper .ubm-testi-dot.active,
.elementor #ub-modern-root .ubm-testi-dot.active,
#ub-modern-root button.ubm-testi-dot.active,
.ub-portfolio-wrapper button.ubm-testi-dot.active,
.elementor #ub-modern-root button.ubm-testi-dot.active,
.ubm-testi-dot.active {
    background-color: #1a1a1a !important;
    transform: scale(1.35) !important;
    box-shadow: none !important;
    outline: none !important;
}

@media (max-width: 768px) {

    #ub-modern-root .ubm-testimonials-section,
    .ub-portfolio-wrapper .ubm-testimonials-section,
    .elementor #ub-modern-root .ubm-testimonials-section,
    .ubm-testimonials-section {
        padding: 70px 20px 60px !important;
    }

    #ub-modern-root .ubm-testi-slider-title,
    .ub-portfolio-wrapper .ubm-testi-slider-title,
    .elementor #ub-modern-root .ubm-testi-slider-title,
    .ubm-testi-slider-title {
        margin-bottom: 24px !important;
    }

    #ub-modern-root .ubm-testi-quote-mark,
    .ub-portfolio-wrapper .ubm-testi-quote-mark,
    .elementor #ub-modern-root .ubm-testi-quote-mark,
    .ubm-testi-quote-mark {
        margin-bottom: 24px !important;
    }

    #ub-modern-root .ubm-testi-viewport,
    .ub-portfolio-wrapper .ubm-testi-viewport,
    .elementor #ub-modern-root .ubm-testi-viewport,
    .ubm-testi-viewport {
        padding: 0 4px !important;
    }

    #ub-modern-root .ubm-testi-quote-text,
    .ub-portfolio-wrapper .ubm-testi-quote-text,
    .elementor #ub-modern-root .ubm-testi-quote-text,
    .ubm-testi-quote-text {
        font-size: 14px !important;
        line-height: 1.72 !important;
        margin-bottom: 24px !important;
    }

    #ub-modern-root .ubm-testi-author-citation,
    .ub-portfolio-wrapper .ubm-testi-author-citation,
    .elementor #ub-modern-root .ubm-testi-author-citation,
    .ubm-testi-author-citation {
        font-size: 12.5px !important;
    }

    .ubm-testi-nav-arrow {
        display: none !important;
        /* Swipe gestures and pagination dots on mobile */
    }

    #ub-modern-root .ubm-testi-dots,
    .ub-portfolio-wrapper .ubm-testi-dots,
    .elementor #ub-modern-root .ubm-testi-dots,
    .ubm-testi-dots {
        margin-top: 26px !important;
    }
}

/* ==========================================================================
   7B. LET'S CONNECT SECTION & FLUENT FORM STYLING
   ========================================================================== */
.ubm-connect-section {
    width: 100% !important;
    max-width: 100% !important;
    background: #FFFFFF !important;
    padding: clamp(60px, 7vw, 100px) clamp(20px, 4vw, 64px) !important;
    box-sizing: border-box !important;
    position: relative;
}

.ubm-connect-header {
    text-align: center !important;
    margin-bottom: clamp(36px, 4.5vw, 60px) !important;
}

.ubm-connect-title {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(26px, 3.2vw, 42px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.ubm-connect-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(32px, 4.5vw, 64px) !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ubm-connect-media-col {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    line-height: 0 !important;
}

.ubm-connect-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.ubm-connect-form-col {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Fluent Form & Native Form Matching Styles */
.ubm-connect-form-col .fluentform,
.ubm-connect-form-col .fluentform .frm-fluent-form,
.ubm-connect-form {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ubm-connect-form-col .fluentform .ff-el-group,
.ubm-connect-form .ff-el-group {
    margin-bottom: 20px !important;
    display: flex !important;
    flex-direction: column !important;
}

.ubm-connect-form-col .fluentform .ff-el-group:last-child,
.ubm-connect-form-col .fluentform .ff_submit_btn_wrapper,
.ubm-connect-form .ff-el-group:last-child,
.ubm-connect-form .ff_submit_btn_wrapper {
    margin-bottom: 0 !important;
}

.ubm-connect-form-col .fluentform .ff-el-input--label,
.ubm-connect-form-col .fluentform label,
.ubm-connect-form-col .fluentform .ff-el-input--label label,
.ubm-connect-form .ff-el-input--label,
.ubm-connect-form label {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #161616 !important;
    margin-bottom: 8px !important;
    display: block !important;
    letter-spacing: 0.01em !important;
}

.ubm-connect-form-col .fluentform .ff-el-asterisk,
.ubm-connect-form .ff-el-asterisk,
.ubm-connect-form-col .fluentform .asterisk-sym {
    color: #E53935 !important;
    font-weight: 700 !important;
    margin-left: 2px !important;
}

.ubm-connect-form-col .fluentform .ff-el-form-control,
.ubm-connect-form-col .fluentform input[type="text"],
.ubm-connect-form-col .fluentform input[type="email"],
.ubm-connect-form-col .fluentform input[type="tel"],
.ubm-connect-form-col .fluentform input[type="number"],
.ubm-connect-form-col .fluentform textarea,
.ubm-connect-form .ff-el-form-control,
.ubm-connect-form input,
.ubm-connect-form textarea {
    width: 100% !important;
    background: #FFFFFF !important;
    border: 1px solid #D6D6D6 !important;
    border-radius: 3px !important;
    padding: 10px 14px !important;
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14px !important;
    color: #161616 !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.ubm-connect-form-col .fluentform input[type="text"]:focus,
.ubm-connect-form-col .fluentform input[type="email"]:focus,
.ubm-connect-form-col .fluentform input[type="tel"]:focus,
.ubm-connect-form-col .fluentform input[type="number"]:focus,
.ubm-connect-form-col .fluentform textarea:focus,
.ubm-connect-form input:focus,
.ubm-connect-form textarea:focus {
    border-color: #111111 !important;
    box-shadow: 0 0 0 1px #111111 !important;
}

.ubm-connect-form-col .fluentform textarea,
.ubm-connect-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.ubm-connect-form-col .fluentform .ff-btn-submit,
.ubm-connect-form-col .fluentform .ff_submit_btn_wrapper button,
.ubm-connect-form-col .fluentform button[type="submit"],
.ubm-connect-form .ubm-ff-submit {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 2px !important;
    padding: 12px 28px !important;
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    cursor: pointer !important;
    display: inline-block !important;
    transition: background 0.25s ease, color 0.25s ease !important;
    margin-top: 6px !important;
}

.ubm-connect-form-col .fluentform .ff-btn-submit:hover,
.ubm-connect-form-col .fluentform .ff_submit_btn_wrapper button:hover,
.ubm-connect-form-col .fluentform button[type="submit"]:hover,
.ubm-connect-form .ubm-ff-submit:hover {
    background: #2B2B2B !important;
    border-color: #2B2B2B !important;
    color: #FFFFFF !important;
}

@media (max-width: 960px) {
    .ubm-connect-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .ubm-connect-media-col {
        height: auto !important;
    }

    .ubm-connect-img {
        position: static !important;
        height: auto !important;
        max-height: 380px !important;
    }
}

/* -------------------------------------------------------------
 * HIDE SIGNATURE SPATIAL DISCIPLINES SECTION
 * ------------------------------------------------------------- */
#ubm-spaces,
.ubm-spaces-section {
    display: none !important;
}

/* -------------------------------------------------------------
 * OUR STORY - EDITORIAL STARTING SECTION (EXACT CLIENT MATCH)
 * ------------------------------------------------------------- */
.uba-story-editorial-section {
    width: 100% !important;
    background-color: #FFFFFF !important;
    padding: 90px clamp(24px, 5vw, 60px) clamp(40px, 5vw, 60px) !important;
    box-sizing: border-box !important;
}

body.admin-bar .uba-story-editorial-section {
    padding-top: 100px !important;
}

@media screen and (max-width: 768px) {
    .uba-story-editorial-section {
        padding-top: 85px !important;
    }

    body.admin-bar .uba-story-editorial-section {
        padding-top: 100px !important;
    }
}

.uba-story-editorial-container {
    max-width: 1480px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.uba-story-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: clamp(40px, 5vw, 70px) !important;
    align-items: center !important;
}

.uba-story-col-text {
    max-width: 760px !important;
}

.uba-story-main-title {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: clamp(36px, 4.5vw, 56px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: #222222 !important;
    line-height: 1.15 !important;
    margin: 0 0 8px 0 !important;
}

.uba-story-lead,
.uba-story-body,
.uba-story-closing {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: clamp(16px, 1.25vw, 18px) !important;
    line-height: 1.7 !important;
    color: #555555 !important;
    margin: 0 0 24px 0 !important;
}

.uba-story-lead strong,
.uba-story-body strong,
.uba-story-closing strong {
    color: #222222 !important;
    font-weight: 700 !important;
}

.uba-story-subtitle {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: clamp(22px, 2.2vw, 28px) !important;
    font-weight: 800 !important;
    color: #222222 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 24px 0 !important;
    line-height: 1.25 !important;
}

.uba-story-services-list {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 0 28px 0 !important;
}

.uba-story-services-list li {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: clamp(16px, 1.2vw, 18px) !important;
    line-height: 1.8 !important;
    color: #555555 !important;
    position: relative !important;
    padding-left: 20px !important;
    margin-bottom: 6px !important;
}

.uba-story-services-list li::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #666666 !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.uba-story-col-image {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.uba-story-image-wrap {
    width: 100% !important;
    height: 100% !important;
    max-height: 640px !important;
    min-height: 440px !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    background-color: #F8F8F7 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.uba-story-img {
    width: 100% !important;
    height: 100% !important;
    min-height: 440px !important;
    max-height: 640px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.uba-story-image-wrap:hover .uba-story-img {
    transform: scale(1.02) !important;
}

@media (max-width: 991px) {
    .uba-story-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .uba-story-col-text {
        max-width: 100% !important;
    }

    .uba-story-image-wrap {
        max-height: 460px !important;
        min-height: 300px !important;
    }

    .uba-story-img {
        min-height: 300px !important;
        max-height: 460px !important;
    }
}

/* ==========================================================================
   HOMEPAGE SECTION HEADINGS: 30PX UPPERCASE (DESKTOP) / 26PX UPPERCASE (MOBILE)
   ========================================================================== */
#ub-modern-root h2,
.elementor #ub-modern-root h2,
#ub-modern-root .ubm-sec-heading,
#ub-modern-root .ubm-services-main-title,
#ub-modern-root .ubm-about-title,
#ub-modern-root .ubm-testi-slider-title,
#ub-modern-root .ubm-connect-title,
.ubm-sec-heading,
.ubm-services-main-title,
.ubm-about-title,
.ubm-testi-slider-title,
.ubm-connect-title {
    font-size: 30px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

@media screen and (max-width: 768px) {

    #ub-modern-root h2,
    .elementor #ub-modern-root h2,
    #ub-modern-root #ub-signature-projects .ubm-sec-heading,
    #ub-modern-root #ub-services-section .ubm-services-main-title,
    #ub-modern-root #ub-about-section .ubm-about-title,
    #ub-modern-root .ubm-sec-heading,
    #ub-modern-root .ubm-services-main-title,
    #ub-modern-root .ubm-about-title,
    #ub-modern-root .ubm-testi-slider-title,
    #ub-modern-root .ubm-connect-title,
    .ubm-sec-heading,
    .ubm-services-main-title,
    .ubm-about-title,
    .ubm-testi-slider-title,
    .ubm-connect-title {
        font-size: 26px !important;
        text-transform: uppercase !important;
    }
}

/* ==========================================================================
   TOP TITLE BANNERS: 100PX (ADMIN BAR) / 20PX BOTTOM PADDING
   (Project Page, Walkthrough Page, Contact Us Page)
   ========================================================================== */
.ubw-top-title-banner,
.ubp-top-title-banner,
.ubc-top-title-banner {
    padding: 85px 24px 20px !important;
}

body.admin-bar .ubw-top-title-banner,
body.admin-bar .ubp-top-title-banner,
body.admin-bar .ubc-top-title-banner {
    padding-top: 100px !important;
    padding-bottom: 20px !important;
}

@media screen and (max-width: 768px) {

    .ubw-top-title-banner,
    .ubp-top-title-banner,
    .ubc-top-title-banner {
        padding: 85px 20px 20px !important;
    }

    body.admin-bar .ubw-top-title-banner,
    body.admin-bar .ubp-top-title-banner,
    body.admin-bar .ubc-top-title-banner {
        padding-top: 100px !important;
        padding-bottom: 20px !important;
    }
}

/* ==========================================================================
   ABOUT US: SECTION GAPS, HOW WE WORK SUBHEADINGS & CO-FOUNDER 1:1 IMAGES
   ========================================================================== */
#ub-about-root .uba-how-we-work-section,
.uba-how-we-work-section {
    padding: clamp(32px, 3.8vw, 48px) clamp(20px, 4vw, 60px) !important;
}

#ub-about-root .uba-hww-header,
.uba-hww-header {
    margin: 0 auto 24px !important;
}

#ub-about-root .uba-hww-title,
.uba-hww-title {
    font-size: clamp(26px, 3vw, 32px) !important;
    margin: 0 0 10px !important;
}

#ub-about-root .uba-hww-subtitle,
.uba-hww-subtitle {
    font-size: 15px !important;
    color: #6B6B6B !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

#ub-about-root .uba-hww-step-title,
.uba-hww-step-title {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #161616 !important;
    margin: 0 0 10px !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

@media screen and (max-width: 767px) {

    #ub-about-root .uba-hww-step-title,
    .uba-hww-step-title {
        font-size: 16px !important;
    }
}

#ub-about-root .uba-leadership-section,
.uba-leadership-section {
    padding: clamp(32px, 3.8vw, 48px) clamp(20px, 4vw, 60px) !important;
}

#ub-about-root .uba-center-header,
.uba-center-header {
    margin: 0 auto 24px !important;
}

#ub-about-root .uba-lead-grid,
.uba-lead-grid {
    margin-top: 24px !important;
}

#ub-about-root .uba-services-section,
.uba-services-section {
    padding: clamp(32px, 3.8vw, 48px) clamp(20px, 4vw, 60px) !important;
}

#ub-about-root .uba-serv-grid,
.uba-serv-grid {
    margin-top: 24px !important;
}

/* Services We Offer Card Subheadings: Reduced for proper visual hierarchy */
#ub-about-root .uba-serv-card h3,
#ub-about-root .uba-serv-title,
.uba-serv-card h3,
.uba-serv-title {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #161616 !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
}

#ub-about-root .uba-serv-card.uba-serv-card-featured h3,
#ub-about-root .uba-serv-card.uba-serv-card-featured .uba-serv-title,
.uba-serv-card.uba-serv-card-featured h3,
.uba-serv-card.uba-serv-card-featured .uba-serv-title {
    font-size: 19px !important;
}

@media screen and (max-width: 767px) {

    #ub-about-root .uba-serv-card h3,
    #ub-about-root .uba-serv-title,
    .uba-serv-card h3,
    .uba-serv-title {
        font-size: 16px !important;
    }

    #ub-about-root .uba-serv-card.uba-serv-card-featured h3,
    #ub-about-root .uba-serv-card.uba-serv-card-featured .uba-serv-title,
    .uba-serv-card.uba-serv-card-featured h3,
    .uba-serv-card.uba-serv-card-featured .uba-serv-title {
        font-size: 17px !important;
    }
}

/* Founder Profile 1:1 Images (No Expansion on Read More) */
#ub-about-root .uba-leader-card,
.uba-leader-card {
    align-items: start !important;
    grid-template-columns: minmax(320px, 420px) 1fr !important;
}

#ub-about-root .uba-leader-card:nth-child(even),
.uba-leader-card:nth-child(even) {
    grid-template-columns: 1fr minmax(320px, 420px) !important;
}

#ub-about-root .uba-leader-photo,
.uba-leader-photo {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    align-self: start !important;
    position: relative !important;
    overflow: hidden !important;
    background: #EDEAE4 !important;
}

#ub-about-root .uba-leader-photo img,
.uba-leader-photo img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 15% !important;
}

@media screen and (max-width: 768px) {

    #ub-about-root .uba-leader-card,
    #ub-about-root .uba-leader-card:nth-child(even),
    .uba-leader-card,
    .uba-leader-card:nth-child(even) {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    #ub-about-root .uba-leader-card:nth-child(even) .uba-leader-photo,
    #ub-about-root .uba-leader-card:nth-child(even) .uba-leader-details,
    .uba-leader-card:nth-child(even) .uba-leader-photo,
    .uba-leader-card:nth-child(even) .uba-leader-details {
        order: 0 !important;
    }

    #ub-about-root .uba-leader-photo,
    .uba-leader-photo {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        min-height: unset !important;
        max-height: unset !important;
    }

    #ub-about-root .uba-leader-details,
    .uba-leader-details {
        width: 100% !important;
        padding: 28px 20px !important;
    }
}

/* About Us Editorial Intro: Reduced Spacing between Main Title & Subtitle */
#ub-about-root .uba-about-heading,
#ub-about-root .uba-story-main-title {
    margin-bottom: 8px !important;
}

#ub-about-root .uba-story-subtitle {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

/* ==========================================================================
   PORTFOLIO FILTER BAR: SEAMLESS BACKGROUND (HEADER NAVIGATION CONSISTENCY)
   ========================================================================== */
.ubp-filter-section {
    margin-bottom: 40px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.ubp-filter-nav {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(12px, 2vw, 28px) !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.ubp-filter-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    color: #737373 !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 0 !important;
    line-height: 1.2 !important;
    position: relative !important;
    box-shadow: none !important;
}

.ubp-filter-btn:hover {
    background: transparent !important;
    color: #161616 !important;
}

.ubp-filter-btn.ubp-active {
    background: transparent !important;
    color: #161616 !important;
    font-weight: 700 !important;
    border-color: #161616 !important;
    border-bottom: 2px solid #161616 !important;
    box-shadow: none !important;
}

@media screen and (max-width: 768px) {
    .ubp-filter-section {
        margin-bottom: 28px !important;
    }

    .ubp-filter-nav {
        gap: 6px 14px !important;
    }

    .ubp-filter-btn {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}