:root{
    /* FONT_GLOBAL_OUTFIT_FLAG: global typography family switch
       Set ON: Outfit (current)
       Set OFF: Jost (previous) */
    --font-global: 'Outfit', sans-serif;
    /* --font-global: 'Jost', sans-serif; */
    --font-hero: 'Outfit', sans-serif;
    --copy-font-size: clamp(1.1rem, 1.5vw, 1.26rem);
    --copy-font-size-mobile: clamp(1.16rem, 4.2vw, 1.34rem);
    --copy-font-size-mobile-xs: clamp(1.08rem, 4.8vw, 1.24rem);
    --copy-line-height: 1.6;
    --copy-line-height-mobile: 1.5;
    --copy-line-height-mobile-xs: 1.46;
    --container-width: 1230px;
    --section-padding-y: 160px;
    --color-dark-1: #111;
    --color-gray-1: #777;
    --text-primary: #111;
    --text-secondary: #777;
    --nav-font-size: 18px;
    --nav-line-height: 1.6;
    --nav-font-weight: 400;
    --nav-letter-spacing: 5;
    --nav-item-margin-x: 22px;
}
.dark-mode{
    --color-dark-1: #0B0B0B;
    --color-dark-2: #1a1a1a;
    --bs-body-color: #F0EEE9;
    --bs-body-bg: #0B0B0B;
    --bs-secondary-color: rgba(240,238,233,0.7);
    --bs-secondary-bg: #1f1f1f;
    --bs-border-color: rgba(240,238,233,0.25);
    --text-primary: #F0EEE9;
    --text-secondary: #F0EEE9;
}
body{
    color: var(--text-primary);
    font-family: var(--font-global);
    font-size: var(--copy-font-size);
    font-weight: 300;
    letter-spacing: 0.012em;
    line-height: var(--copy-line-height);
}
body p,
body li,
.section-descr,
.text-18,
.alt-features-descr,
.post-prev-text,
.blog-item-body,
.ci-text,
.footer-text{
    font-size: var(--copy-font-size) !important;
    line-height: var(--copy-line-height) !important;
}
body.dark-mode{
    background-color: #0B0B0B;
}
.dark-mode .page{
    background-color: #0B0B0B;
}
.dark-mode .footer{
    background-color: #0B0B0B !important;
    color: var(--text-secondary);
}
.dark-mode .footer a{
    color: var(--text-secondary);
}
.dark-mode .footer a:hover{
    color: var(--text-primary);
}
.dark-mode .work-img-bg{
    background-color: var(--color-dark-2);
}
.dark-mode .light-content .work-img-bg{
    background-color: var(--color-dark-2);
}
.dark-mode .works-grid.hide-titles.hover-white .work-intro:before{
    background: var(--color-dark-2);
    opacity: 0.96;
}
.dark-mode .btn-mod.btn-border{
    border-color: rgba(255,255,255, .35);
}
.dark-mode .btn-mod.btn-border:hover,
.dark-mode .btn-mod.btn-border:focus{
    border-color: #fff;
}
h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6{
    font-weight: 400;
    letter-spacing: 0;
}
.home-section .hs-title-1,
.home-section .hs-title-4,
.home-section .section-title-tiny,
.home-section .section-title-tiny-alt{
    font-family: var(--font-hero);
}
@media (min-width: 768px){
    .hs-title-1{
        font-size: clamp(3.2rem, calc(1.7rem + 3.1vw), 4.85rem);
        font-weight: 400;
        letter-spacing: -0.02em;
    }
}
.main-nav.dark-mode{
    background-color: rgba(30,30,30, .905);
}
.form label{
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 400;
}
.form .form-group{
    margin-bottom: 30px;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="number"],
.form input[type="url"],
.form input[type="search"],
.form input[type="tel"],
.form input[type="password"],
.form input[type="date"],
.form input[type="color"],
.form select,
.form textarea{
    border-color: var(--text-secondary);
}
.form input[type="text"].input-lg,
.form input[type="email"].input-lg,
.form input[type="number"].input-lg,
.form input[type="url"].input-lg,
.form input[type="search"].input-lg,
.form input[type="tel"].input-lg,
.form input[type="password"].input-lg,
.form input[type="date"].input-lg,
.form input[type="color"].input-lg,
.form select.input-lg{
    height: 51px;
}
.light-content input[type="text"],
.light-content input[type="email"],
.light-content input[type="number"],
.light-content input[type="url"],
.light-content input[type="search"],
.light-content input[type="tel"],
.light-content input[type="password"],
.light-content input[type="date"],
.light-content input[type="color"],
.light-content select,
.light-content textarea{
    border-color: var(--text-secondary);
}
.light-content input[type="text"]:hover,
.light-content input[type="email"]:hover,
.light-content input[type="number"]:hover,
.light-content input[type="url"]:hover,
.light-content input[type="search"]:hover,
.light-content input[type="tel"]:hover,
.light-content input[type="password"]:hover,
.light-content input[type="date"]:hover,
.light-content input[type="color"]:hover,
.light-content select:hover,
.light-content textarea:hover{
    border-color: var(--text-secondary);
}
.light-content input[type="text"]:focus,
.light-content input[type="email"]:focus,
.light-content input[type="number"]:focus,
.light-content input[type="url"]:focus,
.light-content input[type="search"]:focus,
.light-content input[type="tel"]:focus,
.light-content input[type="password"]:focus,
.light-content input[type="date"]:focus,
.light-content input[type="color"]:focus,
.light-content select:focus,
.light-content textarea:focus{
    border-color: var(--text-secondary);
}
.form-tip,
.form-tip a{
    font-size: 13px;
    line-height: 1.7;
}
.form-tip-inline{
    white-space: normal;
}
.form-tip-wrap{
    white-space: normal !important;
}
.no-break{
    white-space: nowrap;
}

/* Cookie banner styling to match Camolese dark tone (disabled)
.cookie-banner{
    max-width: 520px;
}
.cookie-banner{
    animation: cookie-slide-in 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    will-change: transform, opacity;
}
.cookie-banner--bar{
    left: auto;
    right: 20px;
    transform: none;
    bottom: 20px;
    max-width: 420px;
    width: calc(100% - 40px);
    padding: 8px 12px;
}
.cookie-banner.light-content .cookie-banner-inner{
    background: #2b2b2b;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.cookie-banner--bar .cookie-banner-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 12px;
    border-radius: 8px;
}
.cookie-banner--bar .cookie-banner-content{
    flex: 1 1 auto;
    min-width: 0;
}
.cookie-banner--bar .cookie-banner-actions{
    flex: 0 0 auto;
}
.cookie-banner .h4{
    color: #f2f2f2;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.cookie-banner-text{
    color: #cfcfcf;
}
.cookie-banner--bar .cookie-banner-text{
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}
.cookie-banner .btn{
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.cookie-banner--bar .btn{
    padding: 6px 14px;
    min-width: 86px;
    height: auto;
}

/* Instant paint: avoid blank screen while JS initializes */
.page-loader{
    display: none !important;
}
.wow,
.wow-menubar,
.wow-p{
    opacity: 1 !important;
    transform: none !important;
}
.cookie-banner .btn-border-w{
    border-color: rgba(255,255,255,0.55);
    color: #f2f2f2;
    background: transparent;
}
.cookie-banner .btn-border-w:hover,
.cookie-banner .btn-border-w:focus{
    border-color: rgba(255,255,255,0.8);
    color: #ffffff;
}
.cookie-banner .btn-w{
    background: #f2f2f2;
    color: #111;
    border-color: #f2f2f2;
}
.cookie-banner .btn-w:hover,
.cookie-banner .btn-w:focus{
    background: #ffffff;
    border-color: #ffffff;
    color: #111;
}
@media (max-width: 767px){
    .cookie-banner--bar .cookie-banner-inner{
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner--bar .cookie-banner-actions{
        width: 100%;
    }
    .cookie-banner--bar .btn{
        width: 100%;
    }
    .cookie-banner--bar{
        bottom: 120px;
    }
}

@keyframes cookie-slide-in{
    from{
        opacity: 0;
        transform: translateY(10px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce){
    .cookie-banner{
        animation: none;
    }
}
End cookie banner styling */
@media (min-width: 992px){
    .form-tip-inline{
        white-space: nowrap;
    }
}
.btn-mod.btn-large{
    padding-top: 12px;
    padding-bottom: 12px;
} 
.main-nav.dark .inner-nav > ul > li > a{
    opacity: .625;
    text-transform: uppercase;
}
.main-nav.dark .inner-nav ul li .mn-sub li a{
    text-transform: uppercase;
}
@media (min-width: 992px){
    .main-nav.dark .inner-nav ul li .mn-sub li a{
        font-size: calc(var(--nav-font-size) - 1px);
    }
}
.btn-mod, a.btn-mod{
    font-weight: 500;
    border-width: 2px;
}
.btn-mod.btn-border,
.btn-mod.btn-border-c,
.btn-mod.btn-border-w,
.btn-mod.btn-border-w-light{
    border-width: 2px;
}
.btn-mod.btn-small{
    height: auto;
    padding: 7px 20px;
    font-size: 13px;
    letter-spacing: 0.085em;
} 
.btn-mod.btn-border-w{
    border-color: var(--text-secondary);
}
.link-hover-anim{
    font-size: 16px;
}
.link-strong .icon{
    position: relative;
    top: 0;
    max-width: 1.2em;
    max-height: 1.2em;
}
.section-title{
    font-size: 54px;
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: 0;
}
.section-title-small{
    font-size: 38px;
    font-weight: 200;
    letter-spacing: 0;
}
.section-title-tiny{
    font-size: 52px;
    font-weight: 200;
    line-height: 1.6;
}
.section-descr {
    color: var(--text-secondary);
    font-weight: 300;
}
.light-content .text-gray{
    color: var(--text-secondary);
}
.team-item-detail{ 
    transform: translate(-50%,0);
    opacity: 1;
    will-change: unset;
}
.team-item-name{
    margin-top: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.059em;
}
.team-item-role{
    margin-top: 5px;
    font-size: 14px;    
}
.team-item-detail:before{
    display: none;
}
.section-title-nowrap{
    white-space: normal;
}
@media (min-width: 992px){
    .section-title-nowrap{
        white-space: nowrap;
    }
}
.team-item-image{
    width: 100%;
    margin-left: 0;
}
@media (min-width: 992px){
    #about .team-item-image{
        width: 100%;
        margin-left: 0;
    }
    #about .team-item-image.selfie-large{
        width: 71%;
        margin-left: 14.5%;
    }
}
.team-social-links a{
    width: 32px;
    height: 32px;
    margin: 0 2px;
    background: #fff;
    color: var(--color-dark-1);
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateY(10px);
    transition: all .27s var(--ease-out-medium);
    will-change: transform, opacity;
}
.team-social-links a:nth-child(2){
    transition-delay: 0.1s;
}
.team-social-links a:nth-child(3){
    transition-delay: 0.2s;
}
.team-social-links a:nth-child(4){
    transition-delay: 0.3s;
}
.team-social-links a:nth-child(5){
    transition-delay: 0.4s;
}
.team-social-links a:nth-child(6){
    transition-delay: 0.5s;
}
.team-social-links a:nth-child(7){
    transition-delay: 0.6s;
}
.team-social-links a:nth-child(8){
    transition-delay: 0.7s;
}
.team-social-links a:not(.team-social-links a:last-child){
    border: none;
}
.team-social-links a:hover{
    opacity: 1;
    background: var(--color-dark-1);
    color: #fff;
}
.light-content .team-social-links a:hover{
    background: var(--color-dark-1);
    color: #fff;
}
.no-mobile .team-item:hover .team-social-links a,
.team-item.js-active .team-social-links a{
    opacity: 1;
    transform: none;    
}
.services-3-icon{
    margin: 0 auto 35px;
}
.services-3-title{
    font-weight: 300;
}
.services-3-text{
    line-height: 1.75;
}
.works-grid.hide-titles .work-title{
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0;
}
.works-grid.hide-titles .work-descr{
    letter-spacing: 0;
}
.works-grid.work-grid-round .work-item .work-img,
.works-grid.work-grid-round .work-item .work-img-bg,
.works-grid.work-grid-round .work-item .work-img img{
    border-radius: var(--border-radius-large);
}
.post-prev-container{
    overflow: hidden;
    border-radius: var(--border-radius-default);
    box-shadow: var(--box-shadow-block);
}
.post-prev-container:before{
   display: none;
}
.post-prev-title{
    margin-bottom: 15px;
    font-size: 21px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.523;
}
.post-prev-text{
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.86;
}
.post-prev-info{
    position: relative;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}
.post-prev-info:before{
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;    
    background: var(--color-dark-1);
    opacity: .08;
}
.post-prev-info,
.post-prev-info a{
    font-size: 13px;
    letter-spacing: -0.01em;
}
.light-content .post-prev-container{
    overflow: hidden;
    background: var(--color-dark-3);
    border: 1px solid var(--color-dark-mode-gray-2);
    box-shadow: var(--box-shadow-block);
}
a.blog-item-more{
    font-weight: 400;
}
.newsletter-elegant input.newsletter-field{
    font-weight: 300 !important;
}
.pagination a,
.pagination span{
    font-weight: 400;
}
.widget-title{
    font-weight: 400;
}
.blog-item-body {
    font-size: 18px;
    line-height: 1.7em;
}
.comment-item {
    line-height: 1.8;
}
.ci-title{
    margin-bottom: 7px;
    font-size: 21px;
    font-weight: 300;
    letter-spacing: 0;
}
.ci-text{
    font-size: 16px;
}
.ci-link{
    font-size: 13px;
}
.ci-link a:hover{
    opacity: .67;
}
.footer-text{
    line-height: 1.85;
    letter-spacing: 0.01em;
}
.footer-text > div:first-child{
    font-size: 0.9em;
}
.footer-text a{
    text-decoration: none;
}
.footer-made{
    letter-spacing: 0.01em;
}
.features-2-item:before{
    border: 1px solid var(--color-dark-1);
	background:	none;
    opacity: 0.15;
    transition: opacity .27s var(--ease-default);
    z-index: -1;
}
.features-2-item:hover:before{
    opacity: 1;
}
.features-2-label{
    font-weight: 500;
    color: var(--text-primary);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}
.features-2-icon:before{
    background: var(--color-gray-light-1);
    opacity: 1;
    z-index: -1;
}
.features-2-icon svg{
    fill: var(--color-dark-1);
}
.light-content .features-2-item:before{    
	background: var(--color-dark-mode-gray-2);
    border: 1px solid var(--color-dark-mode-gray-2);
    transition: border-color .27s var(--ease-default);
    opacity: 1;
    z-index: -1;
}
.light-content .features-2-item:hover:before{
    background: var(--color-dark-mode-gray-2);
    opacity: 1;
}
.light-content .features-2-label{
    color: var(--text-primary);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}
.light-content. features-2-icon{
    color: var(--text-primary);
}
.light-content .features-2-icon svg{
    fill: #fff;
}
.light-content .features-2-icon:before{
    background: var(--color-dark-mode-gray-2);
    opacity: 1;
    z-index: -1;
}
.light-content .features-2-descr{
    color: var(--text-secondary);
}
.bg-border-gradient:before{
    background: none;
    border: 1px solid var(--color-dark-1);
    opacity: 0.15;
}
.light-content .bg-border-gradient:before{
    background: none;
    border: 1px solid #fff;
    opacity: 0.25;
}
.bg-gradient-dark-alpha-1:before{
    opacity: .9;
}
.bg-gradient-dark-alpha-2:before{
    opacity: .9;
}
.tpl-minimal-tabs{
    font-size: 16px;
    letter-spacing: inherit; 
    text-transform: none;   
}
.alt-features-title{
    font-weight: 300;
}
.alt-features-descr{
    font-size: 15px;
    font-weight: 300;
    color: var(--text-primary);
}
.features-list-icon{
    top: 0.17em;
    margin-right: 8px;
}
@media only screen and (max-width: 1366px) {
    :root{
        --section-padding-y: 140px;
    }
    .container{
        max-width: var(--container-width);
    }
    .section-title{
        font-size: calc(1.635rem + 0.57vw);
    }
    .section-title-small{
        font-size: calc(1.635rem + 0.57vw);
    }    
}

@media only screen and (max-width: 767px) {
    body{
        font-size: var(--copy-font-size-mobile);
        font-weight: 300;
        line-height: var(--copy-line-height-mobile);
    }
    body p,
    body li,
    .section-descr,
    .text-18,
    .alt-features-descr,
    .post-prev-text,
    .blog-item-body,
    .ci-text,
    .footer-text{
        font-size: var(--copy-font-size-mobile) !important;
        line-height: var(--copy-line-height-mobile) !important;
    }
    .hs-title-1{
        font-size: clamp(2.35rem, 10.5vw, 3.25rem);
        font-weight: 400;
        letter-spacing: -0.015em;
        line-height: 1.08;
    }
    .section-title{
        font-size: clamp(2rem, 10.8vw, 2.85rem);
        line-height: 1.18;
    }
    .text-18{
        font-size: clamp(1.02rem, 4.9vw, 1.18rem);
        font-weight: 300;
    }
    .h6-micro{
        font-size: clamp(0.62rem, 2.3vw, 0.72rem);
        font-weight: 300;
        line-height: 1.45;
    }
    .alt-features-title{
        font-size: clamp(1.24rem, 3.8vw, 1.55rem);
    }
}

@media only screen and (max-width: 480px) {
    body{
        font-size: var(--copy-font-size-mobile-xs);
        line-height: var(--copy-line-height-mobile-xs);
    }
    body p,
    body li,
    .section-descr,
    .text-18,
    .alt-features-descr,
    .post-prev-text,
    .blog-item-body,
    .ci-text,
    .footer-text{
        font-size: var(--copy-font-size-mobile-xs) !important;
        line-height: var(--copy-line-height-mobile-xs) !important;
    }
    .hs-title-1{
        font-size: clamp(2rem, 11vw, 2.75rem);
        letter-spacing: -0.01em;
        line-height: 1.07;
    }
    .section-title{
        font-size: clamp(1.85rem, 10.4vw, 2.5rem);
    }
    .text-18{
        font-size: clamp(0.98rem, 4.8vw, 1.1rem);
        line-height: 1.6;
    }
    .h6-micro{
        font-size: clamp(0.58rem, 2.2vw, 0.67rem);
        line-height: 1.45;
    }
}
