/* specific elements styles import */
@import url("navbar.css");
@import url("menu.css?v=20260520f");
@import url("form.css?v=20260520b");
@import url("homepage-circle.css?v=20260411b");
@import url("orbit-rotation.css");
@import url("services-diagram.css");
@import url("blog-filter.css");
@import url("button.css?v=20260501i");
@import url("shader-grain.css?v=20260502a");

/* styles per page */
@import url("contacts-page.css?v=20260518a");
@import url("cases-page.css");

:root,
html[data-vit4l-theme="lobster"] {
    --vit4l-theme-surface: #F3EEEF;
    --vit4l-theme-surface-rgb: 243, 238, 239;
    --vit4l-theme-accent: #E85B54;
    --vit4l-theme-active: #EA6B65;
    --vit4l-theme-menu-current: #FF7E77;
    --vit4l-theme-nav-hover: #E8DADC;
    --vit4l-theme-accent-hover: #AB3A33;
    --vit4l-theme-nav-hover-dark: rgba(232, 218, 220, 0.3);
    --vit4l-theme-field-bg: #dbd3d5;
    --vit4l-theme-field-bg-strong: #dcd3d5;
    --vit4l-theme-field-placeholder: #837e7f;
    --vit4l-theme-line: #ae9ea1;
    --vit4l-theme-line-alpha: #ae9ea1a8;
    --vit4l-theme-lines-light: #d4cacc;
    --vit4l-theme-surface-line: rgba(243, 238, 239, 0.16);
    --vit4l-theme-soft-hover: var(--vit4l-theme-nav-hover);
    --_vit4l-theme---light-color: var(--vit4l-theme-surface);
    --_vit4l-theme---primary-bg-color: var(--vit4l-theme-surface);
    --_vit4l-theme---secondary-color: var(--vit4l-theme-accent);
    --_vit4l-theme---tertiary-bg-color: var(--vit4l-theme-accent);
    --_vit4l-theme---accent-red: var(--vit4l-theme-accent);
    --_vit4l-theme---dropshadow-color: var(--vit4l-theme-accent);
    --_vit4l-theme---nav--lines-over-white: var(--vit4l-theme-line-alpha);
    --_vit4l-theme---primary-color: var(--vit4l-theme-line);
    --_vit4l-theme---lines-light: var(--vit4l-theme-lines-light);
    --_vit4l-theme---bg-graphics--lines-over-white: var(--vit4l-theme-line-alpha);
    --_vit4l-theme---nav--lines-over-black-red: var(--vit4l-theme-surface-line);
    --_vit4l-theme---bg-graphics--lines-over-red: var(--vit4l-theme-surface-line);
}

html[data-vit4l-theme="green"] {
    --vit4l-theme-surface: #ECF1EF;
    --vit4l-theme-surface-rgb: 236, 241, 239;
    --vit4l-theme-accent: #0DAB76;
    --vit4l-theme-active: #26B884;
    --vit4l-theme-menu-current: #35C995;
    --vit4l-theme-nav-hover: #D8E6DF;
    --vit4l-theme-accent-hover: #19694E;
    --vit4l-theme-nav-hover-dark: rgba(216, 230, 223, 0.3);
    --vit4l-theme-field-bg: #d2ddd8;
    --vit4l-theme-field-bg-strong: #d3ded9;
    --vit4l-theme-field-placeholder: #75817c;
    --vit4l-theme-line: #94aaa1;
    --vit4l-theme-line-alpha: #94aaa1a8;
    --vit4l-theme-lines-light: #c7d8d1;
    --vit4l-theme-surface-line: rgba(236, 241, 239, 0.16);
    --vit4l-theme-soft-hover: var(--vit4l-theme-nav-hover);
}

html[data-vit4l-theme="purple"] {
    --vit4l-theme-surface: #F3F0F5;
    --vit4l-theme-surface-rgb: 243, 240, 245;
    --vit4l-theme-accent: #A688C3;
    --vit4l-theme-active: #B396CD;
    --vit4l-theme-menu-current: #C3A3DD;
    --vit4l-theme-nav-hover: #E5DDE9;
    --vit4l-theme-accent-hover: #775B92;
    --vit4l-theme-nav-hover-dark: rgba(229, 221, 233, 0.3);
    --vit4l-theme-field-bg: #ddd6e2;
    --vit4l-theme-field-bg-strong: #ded7e3;
    --vit4l-theme-field-placeholder: #807986;
    --vit4l-theme-line: #b1a3bb;
    --vit4l-theme-line-alpha: #b1a3bba8;
    --vit4l-theme-lines-light: #d7cedf;
    --vit4l-theme-surface-line: rgba(243, 240, 245, 0.16);
    --vit4l-theme-soft-hover: var(--vit4l-theme-nav-hover);
}

html[data-vit4l-theme="blue"] {
    --vit4l-theme-surface: #EEF2F8;
    --vit4l-theme-surface-rgb: 238, 242, 248;
    --vit4l-theme-accent: #4F7FEF;
    --vit4l-theme-active: #638FF2;
    --vit4l-theme-menu-current: #7EA6FF;
    --vit4l-theme-nav-hover: #D8E3F0;
    --vit4l-theme-accent-hover: #2E56B2;
    --vit4l-theme-nav-hover-dark: rgba(216, 227, 240, 0.3);
    --vit4l-theme-field-bg: #d4deeb;
    --vit4l-theme-field-bg-strong: #d5dfec;
    --vit4l-theme-field-placeholder: #778291;
    --vit4l-theme-line: #96a9c2;
    --vit4l-theme-line-alpha: #96a9c2a8;
    --vit4l-theme-lines-light: #c8d4e4;
    --vit4l-theme-surface-line: rgba(238, 242, 248, 0.16);
    --vit4l-theme-soft-hover: var(--vit4l-theme-nav-hover);
}

svg [stroke="#F0E7E9"],
svg [stroke="#f0e7e9"] {
    stroke: var(--vit4l-theme-surface);
}

svg [fill="#F0E7E9"],
svg [fill="#f0e7e9"] {
    fill: var(--vit4l-theme-surface);
}

svg [stroke="#E85B54"],
svg [stroke="#e85b54"] {
    stroke: var(--vit4l-theme-accent);
}

svg [fill="#E85B54"],
svg [fill="#e85b54"] {
    fill: var(--vit4l-theme-accent);
}

.s_cfo_form_r_input::placeholder,
.s_cfo_form_r_textarea::placeholder {
    color: rgba(var(--vit4l-theme-surface-rgb), 0.5);
}

.s_cfo_form_r_input.contact_page,
.s_cfo_form_r_textarea.contact_page {
    background-color: var(--vit4l-theme-field-bg);
}

.s_cfo_form_r_textarea.contact_page {
    background-color: var(--vit4l-theme-field-bg-strong);
}

.s_cfo_form_r_input.contact_page::placeholder,
.s_cfo_form_r_textarea.contact_page::placeholder {
    color: var(--vit4l-theme-field-placeholder);
}

body.dark .s_cfo_form_btn:hover,
.section_contact_form.active .s_cfo_form_btn:hover {
    background-color: var(--vit4l-theme-soft-hover);
}

.menu-button:hover {
    background-color: var(--vit4l-theme-nav-hover, #E8DADC);
}

.section_contact_form.active .s_cfo_form_r_input,
.section_contact_form.active .s_cfo_form_r_textarea,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"].active .s_cfo_form_r_input,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"].active .s_cfo_form_r_textarea {
    background-color: var(--vit4l-theme-active);
}

.s_cfo_form_row_checkbox input[type="checkbox"].active {
    border-color: var(--vit4l-theme-accent);
    background-color: var(--vit4l-theme-accent);
}

.s_cfo_form_row_checkbox input[type="checkbox"]::before {
    background-color: var(--vit4l-theme-surface);
}

.contact_section.active .success_check_container,
.homepage_body .success_check_container {
    color: var(--vit4l-theme-accent);
}

.homepage_body.red footer,
.homepage_body.red footer a,
.homepage_body.red footer .footer_content,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"],
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"] h2,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"] label,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"] a,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"] .mail_link,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"] .social_link,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"] .s_cfo_form_row_checkbox span,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"] + footer,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"] + footer a,
.homepage_body .section_contact_form.contact_section[data-wf--contact-form--variant="home"] + footer .footer_content {
    color: var(--vit4l-theme-surface) !important;
}

.navbar-menu-open .navbar {
    border-color: var(--vit4l-theme-surface-line) !important;
}

.navbar-menu-open .menu-button:hover {
    background-color: var(--vit4l-theme-accent-hover) !important;
}

.vit4l-theme-selector {
    --theme-selector-size: 40px;
    --vit4l-theme-selector-dot: var(--vit4l-theme-accent);
    position: fixed;
    right: max(clamp(2.25rem, 3vw, 3.5rem), env(safe-area-inset-right));
    bottom: max(clamp(2.25rem, 3vw, 3.5rem), env(safe-area-inset-bottom));
    width: var(--theme-selector-size);
    height: var(--theme-selector-size);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.vit4l-theme-selector[data-preview-theme="lobster"] {
    --vit4l-theme-selector-dot: #E85B54;
}

.vit4l-theme-selector[data-preview-theme="blue"] {
    --vit4l-theme-selector-dot: #4F7FEF;
}

.vit4l-theme-selector[data-preview-theme="green"] {
    --vit4l-theme-selector-dot: #0DAB76;
}

.vit4l-theme-selector[data-preview-theme="purple"] {
    --vit4l-theme-selector-dot: #A688C3;
}

.vit4l-theme-selector.is-ready {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

body.navbar-menu-open .vit4l-theme-selector {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
}

.vit4l-theme-selector__dial {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 50%;
    background: transparent;
    filter: drop-shadow(0 0.28rem 0.32rem rgba(0, 0, 0, 0.25));
}

.vit4l-theme-selector__dial::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 0.25rem solid transparent;
    background:
        conic-gradient(#E85B54 0deg 90deg, #4F7FEF 90deg 180deg, #0DAB76 180deg 270deg, #A688C3 270deg 360deg) border-box;
    -webkit-mask:
        linear-gradient(#000 0 0) padding-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) padding-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
}

.vit4l-theme-selector__dial::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background-color: var(--vit4l-theme-selector-dot);
    box-shadow: 0 0 0.18rem rgba(0, 0, 0, 0.22);
    transform: translate(-50%, -50%);
    transition: background-color 0.18s ease;
}

.vit4l-theme-selector__option {
    position: absolute;
    inset: -0.25rem;
    z-index: 1;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: transparent;
    appearance: none;
}

.vit4l-theme-selector__option--lobster {
    clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 50%);
}

.vit4l-theme-selector__option--blue {
    clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
}

.vit4l-theme-selector__option--green {
    clip-path: polygon(50% 50%, 50% 100%, 0 100%, 0 50%);
}

.vit4l-theme-selector__option--purple {
    clip-path: polygon(50% 50%, 0 50%, 0 0, 50% 0);
}

.vit4l-theme-selector__option:focus-visible {
    outline: none;
}

.vit4l-theme-selector__option:focus-visible ~ .vit4l-theme-selector__dial {
    outline: 0.125rem solid #111;
    outline-offset: 0.25rem;
}

.vit4l-theme-selector[data-reveal="true"].is-ready .vit4l-theme-selector__dial {
    animation: vit4lThemeSelectorReveal 0.9s cubic-bezier(0.2, 0.9, 0.2, 1.15) both;
}

@keyframes vit4lThemeSelectorReveal {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0);
    }

    100% {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@media (max-width: 767px) {
    .vit4l-theme-selector {
        --theme-selector-size: 36px;
        right: max(1.25rem, env(safe-area-inset-right));
        bottom: max(1.25rem, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .vit4l-theme-selector,
    .vit4l-theme-selector__dial,
    .vit4l-theme-selector__dial::after {
        animation: none !important;
        transition: none !important;
    }
}

.overflow-hidden {
    overflow: hidden !important;
    /* touch-action: none; Prevents touch scrolling */
    overscroll-behavior: none; /* Prevents scroll chaining */
}

body {
    overflow-x: clip;
}

/* VIT4L legacy purple trailing cursor, preserved for quick restoration.
#cursor-trail {
    --cursor-trail-color: #AB92C4;
    --cursor-trail-size: 1.375rem;
    position: fixed;
    inset: 0 auto auto 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity .2s ease;
}

#cursor-trail.is-visible {
    opacity: 1;
}

.trail-segment {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: var(--cursor-trail-color);
    filter: blur(3px);
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
}

@media (pointer: coarse), (max-width: 991px), (prefers-reduced-motion: reduce) {
    #cursor-trail {
        display: none;
    }
}
*/

:root {
    --vit4l-cursor-width: 32px;
    --vit4l-cursor-height: 40px;
}

#vit4l-custom-cursor {
    --x: -100px;
    --y: -100px;
    --cursor-width: var(--vit4l-cursor-width);
    --cursor-height: var(--vit4l-cursor-height);
    position: fixed;
    top: var(--y);
    left: var(--x);
    width: var(--cursor-width);
    height: var(--cursor-height);
    z-index: 999999;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(0, 0);
    image-rendering: pixelated;
    will-change: top, left, transform;
}

#vit4l-cursor-trailing {
    position: fixed;
    inset: 0;
    z-index: 999998;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    contain: layout style paint;
}

#vit4l-cursor-trailing.is-visible {
    opacity: 1;
    visibility: visible;
}

#vit4l-cursor-trailing img {
    --trail-x: -100px;
    --trail-y: -100px;
    --trail-offset-x: 0px;
    --trail-offset-y: 0px;
    position: absolute;
    top: 0;
    left: 0;
    width: var(--vit4l-cursor-width);
    height: var(--vit4l-cursor-height);
    pointer-events: none;
    user-select: none;
    image-rendering: pixelated;
    opacity: var(--trail-opacity, .28);
    transform: translate3d(var(--trail-x), var(--trail-y), 0) translate(var(--trail-offset-x), var(--trail-offset-y));
    will-change: transform;
}

#vit4l-cursor-trailing img.vit4l-cursor-trail--pointer {
    --trail-offset-x: -12px;
}

#vit4l-custom-cursor.is-visible {
    opacity: 1;
    visibility: visible;
}

#vit4l-custom-cursor.vit4l-cursor--auto {
    transform-origin: 0 0;
    transform: translate(0, 0);
    animation: vit4lPointerRotate .5s forwards;
}

#vit4l-custom-cursor.vit4l-cursor--pointer {
    transform-origin: 12px 0;
    transform: translate(-12px, 0);
    animation: vit4lCursorRotate .5s forwards;
}

@keyframes vit4lCursorRotate {
    0% {
        transform: translate(-12px, 0) rotate(-18deg);
    }

    to {
        transform: translate(-12px, 0) rotate(0);
    }
}

@keyframes vit4lPointerRotate {
    0% {
        transform: translate(0, 0) rotate(14deg);
    }

    to {
        transform: translate(0, 0) rotate(0);
    }
}

@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
    html.vit4l-custom-cursor-enabled,
    html.vit4l-custom-cursor-enabled * {
        cursor: none !important;
    }
}

@media (pointer: coarse), (max-width: 991px) {
    #vit4l-custom-cursor,
    #vit4l-cursor-trailing {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #vit4l-cursor-trailing {
        display: none;
    }

    #vit4l-custom-cursor.vit4l-cursor--auto,
    #vit4l-custom-cursor.vit4l-cursor--pointer {
        animation: none !important;
    }
}

:where(a, button, [role="button"], input, textarea, select, summary, .w-button):focus-visible {
    outline: 0.125rem solid var(--vit4l-theme-menu-current, #FF7E77);
    outline-offset: 0.1875rem;
}

body.dark {
    background-color: var(--_vit4l-theme---secondary-bg-color);
}

.hero_title.mix_blend {
    mix-blend-mode: exclusion;
    color: var(--_vit4l-theme---primary-bg-color);
}

.vit4l-wordmark {
    display: block;
}

body.red {
    background-color: var(--_vit4l-theme---tertiary-bg-color);
}

/*
*   Border Element
*/
.page_border_container.secondary {
    --_vit4l-theme---dropshadow-color: var(--_vit4l-theme---dark-color);
}

.page_border_container.secondary .page_border_el {
    transition: border-color .25s ease;
}

.page_border_container.secondary .page_border_el {
    border-color: var(--_vit4l-theme---dark-color);
}

/* Prevent sub-pixel rendering issues */
.circle-section {
    transform-origin: center center;
}



/*
*   Legal Pages
*/

.legal_text_content {
    font-size: 1.125rem;
}

.legal_text_content p,
.legal_text_content ul,
.legal_text_content li {
    color: var(--_vit4l-theme---text-secondary-light)
}

.legal_text_content h2 {
    font-size: 2rem;
}

.legal_text_content h3 {
    font-size: 1.5rem;
}

.legal_text_content h4 {
    font-size: 1.25rem;
}

.legal_text_content h5 {
    font-size: 1rem;
}

@media screen and (max-width: 767px) {
    .legal_text_content {
        font-size: 1rem;
    }

    .legal_text_content h2 {
        font-size: 1.25rem;
    }

    .legal_text_content h3 {
        font-size: 1.125rem;
    }

    .legal_text_content h4,
    .legal_text_content h5 {
        font-size: 1rem;
    }
}

.rect_mask {
    transform: rotate(67.5deg);
}

@media screen and (min-width: 992px) {
    .line_box_container {
        left: -100%;
    }

    .circle-section,
    .circle-list-container,
    .line_box_container {
        will-change: transform;
        backface-visibility: hidden;
        transform-style: preserve-3d;
    }

    .slice-line-divide {
        will-change: transform;
    }

    .steps_row.y_reverse .step_block_y_reverse._1-4.first {
        min-height: 31rem;
    }

    .steps_row.y_reverse .step_block_y_reverse._1-4.center_left {
        min-height: 34rem;
    }

    .steps_row.y_reverse .step_block_y_reverse._1-4.center_right {
        min-height: 37rem;
    }

    .steps_row.y_reverse .step_block_y_reverse._1-4.right {
        min-height: 40rem;
    }

    .steps_row.y_reverse .step_block_y_reverse .spacer-xsmall {
        flex-wrap: nowrap;
    }

    .steps_row.y_reverse .step_block_y_reverse .heading-style-h4 {
        white-space: nowrap;
    }
}

@media screen and (max-width: 991px) {
    .steps_row.y_reverse .step_block_y_reverse._1-4 {
        min-height: auto;
    }

    .steps_row.y_reverse .step_block_y_reverse .heading-style-h4 {
        white-space: normal;
    }
}



/*
*   Preloader Element
*/

.preloader {
    animation: forceHide 0s 3s forwards; /* hide after 3s no matter what */
    pointer-events: none !important;
}

@keyframes forceHide {
    to { visibility: hidden; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .preloader,
    .load_screen_container {
        animation: none !important;
    }
}

/* About page team list — neutralize Webflow .w-row pseudo-elements so they don't
   eat flex column-gap space (was creating a leading 1rem indent on the first card). */
.about_team_list::before,
.about_team_list::after {
    display: none;
}

/* Desktop (and tablet, when 3-across layout is active): visually swap the
   1st and 2nd cards so Arran (source order #1) renders in the middle position.
   Source DOM order stays [Arran, Nami, Wojciech] so on narrower widths Arran
   is naturally first/top. */
@media (min-width: 768px) {
    .about_team_list .team_list_el:nth-child(1) { order: 2; }
    .about_team_list .team_list_el:nth-child(2) { order: 1; }
    .about_team_list .team_list_el:nth-child(3) { order: 3; }
}

/* === 404 page layout === */
.error_section {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--vit4l-theme-surface);
}

@supports not (min-height: 100svh) {
    .error_section { min-height: 100vh; }
}

.error_mark_wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
}

.error_mark {
    width: min(105.8vw, 126.5svh);
    height: auto;
    color: currentColor;
}

.error_content_wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.error_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 40rem;
    margin: 0 auto;
}

.error_title {
    margin: 0;
}

.error_subtext {
    margin: 0;
    max-width: 32rem;
}

.error_content .button {
    margin-top: 0.5rem;
    border: none;
    font: inherit;
    line-height: 1;
}

.error_silhouette_wrap {
    position: absolute;
    bottom: clamp(2.5rem, 6vh, 5rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

.error_silhouette {
    width: clamp(36px, 5vw, 64px);
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .error_mark { width: min(108.1vw, 92svh); }
    .error_content { gap: 1.25rem; }
    .error_silhouette_wrap { bottom: clamp(1.5rem, 4vh, 3rem); }
}
