/*
Theme Name: DASSOL
Theme URI: https://www.dassol.com
Author: Design & Software Solutions LTD
Author URI: https://www.dassol.com
Description: Custom theme for DASSOL - Design & Software Solutions LTD. Data, Strategy, Process, Innovation, Transformation.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dassol
*/

/* ===== RESET ===== */
html{-webkit-text-size-adjust:100%;line-height:1.15}
body{margin:0}
main{display:block}
h1{font-size:2em;margin:.67em 0}
a{background-color:transparent}
b,strong{font-weight:bolder}
small{font-size:80%}
img{border-style:none}
button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;margin:0}
button,input{overflow:visible}
button,select{text-transform:none}
[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}
html{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.5}
*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}
embed,iframe,image,video{vertical-align:baseline}
figure{margin:0}
h1,h2,h3,h4,h5,h6,ol,p,pre,ul{margin-top:0}
img,svg{height:auto;max-width:100%}
a,button{-webkit-tap-highlight-color:transparent}

/* ===== BASE ===== */
html {
    -webkit-font-smoothing: antialiased;
    font-size: clamp(12px, 0.8333vw, 16px);
    -webkit-font-variant-ligatures: none;
    font-variant-ligatures: none;
}
body {
    color: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
body::-webkit-scrollbar { width: 0; height: 0; }
p { text-shadow: 0 0 8px rgba(0,0,0,.8); }

/* ===== TYPOGRAPHY ===== */
.t-display {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 200;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 0;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}
.t-heading {
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.03em;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}
.t-subheading {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-transform: uppercase;
}
.t-body {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}
.t-body-lg {
    font-size: clamp(1.2rem, 2.2vw, 2.5rem);
    font-weight: 200;
    line-height: 1.3;
    letter-spacing: -0.01em;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}
.t-small {
    font-size: clamp(0.7rem, 0.85vw, 0.85rem);
    font-weight: 400;
}
.t-gold { color: #ffb829; }
.t-dim { color: rgba(255,255,255,0.5); }

/* ===== LAYOUT ===== */
.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    padding: 3.125rem 2.5rem;
    position: relative;
}
@media (min-width: 768px) { .section { padding: 3.125rem 3rem; } }
@media (min-width: 1024px) { .section { padding: 4rem; } }
@media (min-width: 1366px) { .section { padding: 5rem 10rem; } }

.section--half { min-height: 50vh; }

/* ===== CONTACT FORM ===== */
@media (min-width: 1024px) {
    #contact-form .stagger-paragraphs { grid-template-columns: 1fr; }
    #contact-form > div > div {
      /*  grid-template-columns: 1fr 1.2fr;
        gap: 5rem;*/
    }
}

/* ===== SITE LOADER ===== */
.site-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10100;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.site-loader__bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #000;
    z-index: 1;
}
.site-loader__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
}
.site-loader__spinner {
    display: flex;
    justify-content: center;
    animation: spinner 3s ease-in-out infinite;
    transform-origin: center;
}
.site-loader__spinner svg {
    width: 60px; height: 60px;
    animation: scaleUp 0.6s cubic-bezier(.14,-.14,.78,.52) forwards;
    transform: scale(0);
    transform-origin: center;
}
@media (min-width: 768px) {
    .site-loader__spinner svg { width: 100px; height: 100px; }
}
.site-loader__heading {
    display: flex;
    justify-content: center;
    font-size: clamp(1.5rem, 3.5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.05rem;
    line-height: 3.5rem;
    margin-top: 4rem;
    overflow: hidden;
    text-align: center;
}
@media (min-width: 768px) {
    .site-loader__heading {
        font-size: 3.5rem;
        letter-spacing: -0.14rem;
        line-height: 6.5rem;
    }
}
.site-loader__heading span {
    display: block;
    animation: rotateWipeUpIn 1s cubic-bezier(.76,0,.24,1) forwards;
    transform: translateY(110%) rotate(4deg);
}
.site-loader__heading:nth-child(3) {
    margin-top: -1.5rem;
}
@media (min-width: 768px) {
    .site-loader__heading:nth-child(3) { margin-top: -2rem; }
}
.site-loader__heading:nth-child(3) span {
    animation-duration: 1.5s;
}
.site-loader__info {
    position: absolute;
    bottom: 2.125rem;
    left: 3.125rem;
    right: 3.125rem;
    z-index: 2;
}
.site-loader__loading {
    display: flex;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}
.site-loader__loading-text {
    animation: rotateWipeUpIn 2s cubic-bezier(.76,0,.24,1) forwards;
    transform: translateY(110%) rotate(10deg);
    display: block;
    overflow: hidden;
}
.site-loader__ellipsis {
    display: flex;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 1.5s;
    overflow: hidden;
    margin-left: 4px;
}
.site-loader__ellipsis span {
    animation: fadeIn 1s steps(2, jump-none) infinite forwards;
    width: 3px;
}
.site-loader__ellipsis span:nth-of-type(2) { animation-delay: 0.2s; }
.site-loader__ellipsis span:nth-of-type(3) { animation-delay: 0.4s; }
.site-loader__progress {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.8s;
}
.site-loader__completed {
    position: absolute;
    bottom: 0; left: 0;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    overflow: hidden;
}
.site-loader__completed span {
    display: block;
    transform: translateY(105%) rotate(-3deg);
}
.site-loader.loaded .site-loader__bg {
    animation: slideUp 0.8s cubic-bezier(.76,0,.24,1) forwards;
    animation-delay: 0.3s;
}
.site-loader.loaded .site-loader__content {
    animation: fadeOutFast 0.3s forwards;
}
.site-loader.loaded {
    pointer-events: none;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    overflow: visible;
}
.header-blur-block {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    z-index: 1000;
}
.header__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    position: relative;
    z-index: 1;
    width: 100%;
    pointer-events: none;
}
@media (min-width: 768px) {
    .header__inner {
        padding: 1.5rem 3.125rem;
        transform: translateY(1rem);
    }
}
.header__bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    pointer-events: none;
    transform: scaleY(0);
    transform-origin: center top;
    z-index: 0;
    transition: transform 0.4s ease;
}
.header.scrolled .header__bg {
    transform: scaleY(1);
}
.header__bg-inner {
    height: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
}
.header__logo {
    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0;
    height: auto;
    padding: 0.4rem 0;
    pointer-events: auto;
    text-decoration: none;
    z-index: 2;
    display: flex;
    align-items: center;
}
.header__logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    line-height: 1;
}
.header__logo-main {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.header__logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.15rem;
}
.header__logo-tagline {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-top: 0.12rem;
    color: rgba(255,255,255,0.6);
}

/* ===== NAV ===== */
.nav {
    position: relative;
    width: auto;
    pointer-events: auto;
}
@media (max-width: 767px) {
    .nav {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        pointer-events: none;
    }
}
.nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    pointer-events: auto;
}
@media (max-width: 767px) {
    .nav__list {
        display: none;
        flex-direction: column;
        padding: 6.813rem 0 4.313rem;
        pointer-events: none;
    }
    .nav__list.open {
        display: flex;
        pointer-events: auto;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.97);
        z-index: 999;
        justify-content: center;
        align-items: center;
    }
}
.nav__item {
    display: flex;
    justify-content: center;
    margin-right: 2.5rem;
    overflow: hidden;
}
@media (max-width: 767px) {
    .nav__item { margin-right: 0; margin-bottom: 1.5rem; }
}
.nav__link {
    appearance: none;
    background: transparent;
    border: none;
    color: #9a9a9a;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.5s cubic-bezier(.5,1,.89,1);
}
.nav__link:hover, .nav__item.isActive .nav__link { color: #fff; }
@media (max-width: 767px) { .nav__link { color: #fff; font-size: 1.5rem; } }
.nav__cta { pointer-events: auto; }
@media (max-width: 767px) { .nav__cta { display: none; } }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    appearance: none;
    background-color: #2563eb;
    border: none;
    border-radius: 50%;
    width: 3.25rem;
    height: 3.25rem;
    padding: 1rem;
    position: fixed;
    right: 1.25rem;
    top: 1.35rem;
    z-index: 1001;
    cursor: pointer;
}
@media (max-width: 767px) { .nav-toggle { display: flex; } }
.nav-toggle svg { width: 100%; height: 100%; pointer-events: none; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    background-color: #2563eb;
    border: none;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1rem;
    overflow: hidden;
    padding: 16px 44px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.4s ease;
}
@media (min-width: 1919px) { .btn { padding: 18px 48px; font-size: 16px; } }
.btn__text { display: flex; z-index: 2; position: relative; }
.btn__hover {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #1d4ed8;
    clip-path: ellipse(120% 180% at 50% 310%);
    transition: clip-path 1.1s cubic-bezier(.215,.61,.355,1);
    z-index: 1;
    border-radius: 2px;
}
.btn:hover .btn__hover, .btn:focus .btn__hover {
    clip-path: ellipse(120% 180% at 50% 60%);
}

/* ===== LANDING / HERO ===== */
.landing {
    justify-content: flex-start;
    margin-top: 0;
    padding-top: 20vh;
}
@media (min-width: 1366px) {
    .landing {
        justify-content: center;
        height: 100vh;
        padding-top: 10rem;
    }
}
.landing__title {
    letter-spacing: -0.04em;
    margin-bottom: 0;
}
.landing__title .word {
    display: inline-block;
    overflow: hidden;
}
.landing__title .word span {
    display: inline-block;
    transform: translateY(110%);
    animation: wordReveal 1s cubic-bezier(.76,0,.24,1) forwards;
}
.landing__title .word:nth-child(1) span { animation-delay: 0.1s; }
.landing__title .word:nth-child(2) span { animation-delay: 0.2s; }
.landing__title .word:nth-child(3) span { animation-delay: 0.3s; }
.landing__body {
    max-width: 31.5rem;
}
@media (min-width: 768px) { .landing__body { max-width: 35rem; } }

/* ===== 3D CANVAS ===== */
#hero-canvas {
    position: absolute;
    top: 0; right: 0;
    width: 60%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.3);
    animation: sphereEntrance 2s cubic-bezier(.16,1,.3,1) 0.5s forwards;
}
@keyframes sphereEntrance {
    0% { opacity: 0; transform: scale(0.3); }
    100% { opacity: 1; transform: scale(1); }
}
@media (max-width: 767px) {
    #hero-canvas {
        width: 100%;
    }
    @keyframes sphereEntrance {
        0% { opacity: 0; transform: scale(0.3); }
        100% { opacity: 0.4; transform: scale(1); }
    }
}

/* ===== APPROACH SECTION ILLUSTRATIONS ===== */
.feature__visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}
@media (min-width: 768px) {
    .feature__visual {
        width: 50%;
        padding: 0 2rem;
    }
}
.feature__visual svg {
    width: 100%;
    max-width: 320px;
    height: auto;
    opacity: 0;
    transform: scale(0.6) rotate(5deg);
    transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1);
}
.feature__visual.visible svg {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* SVG line draw animation */
.svg-draw path, .svg-draw line, .svg-draw circle, .svg-draw rect, .svg-draw polyline, .svg-draw polygon {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s cubic-bezier(.16,1,.3,1);
}
.feature__visual.visible .svg-draw path,
.feature__visual.visible .svg-draw line,
.feature__visual.visible .svg-draw circle,
.feature__visual.visible .svg-draw rect,
.feature__visual.visible .svg-draw polyline,
.feature__visual.visible .svg-draw polygon {
    stroke-dashoffset: 0;
}
/* Stagger the draw for different elements */
.feature__visual.visible .svg-draw *:nth-child(1) { transition-delay: 0.2s; }
.feature__visual.visible .svg-draw *:nth-child(2) { transition-delay: 0.35s; }
.feature__visual.visible .svg-draw *:nth-child(3) { transition-delay: 0.5s; }
.feature__visual.visible .svg-draw *:nth-child(4) { transition-delay: 0.65s; }
.feature__visual.visible .svg-draw *:nth-child(5) { transition-delay: 0.8s; }
.feature__visual.visible .svg-draw *:nth-child(6) { transition-delay: 0.95s; }
.feature__visual.visible .svg-draw *:nth-child(7) { transition-delay: 1.1s; }
.feature__visual.visible .svg-draw *:nth-child(8) { transition-delay: 1.25s; }
.feature__visual.visible .svg-draw *:nth-child(9) { transition-delay: 1.4s; }
.feature__visual.visible .svg-draw *:nth-child(10) { transition-delay: 1.55s; }
.feature__visual.visible .svg-draw *:nth-child(11) { transition-delay: 1.7s; }
.feature__visual.visible .svg-draw *:nth-child(12) { transition-delay: 1.85s; }

/* Floating glow behind illustrations */
.feature__visual-glow {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: -1;
}
.feature__visual.visible .feature__visual-glow {
    opacity: 0.3;
}
.landing > * { position: relative; z-index: 1; }

/* ===== FEATURES ===== */
.feature {
    display: flex;
    width: 100%;
    flex-direction: column;
}
@media (min-width: 768px) { .feature { flex-direction: row; } }
.feature__text { width: 100%; }
@media (min-width: 768px) { .feature__text { max-width: 38rem; width: 55%; } }
.feature__image { width: 100%; }
@media (min-width: 768px) { .feature__image { width: 50%; } }
.feature__body { margin-bottom: 2.25rem; }
@media (min-width: 768px) {
    .feature--end .feature__text { order: 2; margin-left: 2rem; }
    .feature--end .feature__image { order: 1; }
}
@media (min-width: 1024px) {
    .feature--end .feature__text { margin-left: 7rem; }
}

/* ===== MANIFESTO ===== */
.manifesto--introduction {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 0 2.5rem;
}
@media (min-width: 768px) {
    .manifesto--introduction {
        align-items: center;
        justify-content: center;
        padding: 3.125rem 3rem;
    }
}
@media (min-width: 1024px) {
    .manifesto--introduction {
        min-height: 50vh;
        padding: 4rem;
    }
}
@media (min-width: 1366px) {
    .manifesto--introduction {
        min-height: 100vh;
        padding: 5rem 10rem;
    }
}
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}
.about-grid p { color: #fff; }
@media (min-width: 1024px) {
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
        max-width: 95rem;
        margin: 0 auto;
    }
}
.about-grid__right {
    color: rgba(255,255,255,0.8);
}
.about-grid__right .t-body {
    margin-bottom: 1.2rem;
}
.manifesto--section {
    margin-top: 10vh;
}
.manifesto--section + .manifesto--section { margin-top: 0; }
.manifesto__body {
    width: 100%;
}
@media (min-width: 1024px) { .manifesto__body { width: 30rem; } }
.manifesto__body a {
    color: #ffb829;
    font-weight: 400;
    position: relative;
    text-decoration: none;
}
.manifesto__body a:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background-color: #ffb829;
    transition: width 0.6s cubic-bezier(.19,1,.22,1);
}
.manifesto__body a:hover:after {
    left: 0; right: auto;
    width: 100%;
}

/* ===== VALUE CARDS ===== */
.value-card-list {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    margin: 0 auto;
    max-width: 50rem;
}
@media (min-width: 1366px) {
    .value-card-list {
        flex-direction: row;
        max-width: 82.5rem;
    }
}
.value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #000;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.25rem;
    padding: 3.5rem 2.5rem;
    text-align: center;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
}
@media (min-width: 768px) {
    .value-card { flex-direction: row; text-align: left; }
}
@media (min-width: 1366px) {
    .value-card { flex-direction: column; text-align: center; }
}
.value-card__image {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .value-card__image { margin: 0 2rem 0 0; }
}
@media (min-width: 1366px) {
    .value-card__image { margin: 0 auto 2rem; }
}
.value-card__head { margin-bottom: 1rem; }

/* ===== INVESTORS ===== */
.investors {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15rem;
    position: relative;
}
@media (min-width: 768px) {
    .investors {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        grid-template-areas:
            "body body a a"
            "body body b b"
            "body body c c"
            "e e d d";
    }
}
@media (min-width: 1366px) {
    .investors {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        grid-template-areas:
            "a a body body body"
            "b b body body body"
            "c c body body body"
            "d d e e .";
    }
}
.investors__text {
    grid-area: body;
    order: 1;
    margin-bottom: 1rem;
    width: 100%;
}
@media (min-width: 768px) {
    .investors__text { margin-left: auto; max-width: 39rem; margin-bottom: 2rem; }
}
.investors__item {
    display: flex;
    flex: 1 1 100%;
    justify-content: flex-start;
    margin-bottom: 1rem;
    order: 2;
}
.investors__item:first-of-type { grid-area: a; }
.investors__item:nth-of-type(2) { grid-area: b; }
.investors__item:nth-of-type(3) { grid-area: c; }
.investors__item:nth-of-type(4) { grid-area: d; }
.investors__item:nth-of-type(5) { grid-area: e; }
.investor {
    display: flex;
    align-items: center;
}
.investor__icon {
    width: 6rem; height: 6rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}
@media (min-width: 768px) { .investor__icon { width: 8rem; height: 8rem; } }

/* ===== FOOTER ===== */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}
.footer__head {
    margin: 0 1rem 25vh;
    max-width: 36rem;
    text-align: center;
}
@media (min-width: 768px) { .footer__head { max-width: none; width: 46rem; } }
@media (min-width: 1024px) { .footer__head { margin: auto; width: 60rem; } }
.footer__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem 3.125rem;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
}
@media (min-width: 1024px) {
    .footer__bar { flex-direction: row; }
}
.footer__nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    order: 2;
}
@media (min-width: 768px) {
    .footer__nav { justify-content: center; margin: 2rem auto; width: auto; }
}
@media (min-width: 1024px) {
    .footer__nav { flex: 1 1 40%; margin: 0; }
}
.footer__nav__item {
    margin-bottom: 1.5rem;
    overflow: hidden;
    text-align: center;
    width: 100%;
}
@media (min-width: 768px) {
    .footer__nav__item {
        margin-bottom: 0;
        width: auto;
    }
    .footer__nav__item + .footer__nav__item { margin-left: 1rem; }
}
@media (min-width: 1366px) {
    .footer__nav__item + .footer__nav__item { margin-left: 2.5rem; }
}
.footer__nav__link {
    appearance: none;
    background: transparent;
    border: none;
    color: #9a9a9a;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: color 0.5s cubic-bezier(.5,1,.89,1);
}
.footer__nav__link:hover { color: #fff; }
.footer__copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bdbdbd;
    order: 3;
    font-size: 0.8rem;
}
@media (min-width: 768px) {
    .footer__copyright { flex-direction: row; }
}
@media (min-width: 1024px) {
    .footer__copyright {
        flex: 1 1 30%;
        flex-direction: column;
        justify-content: flex-start;
        order: 1;
    }
}
.footer__copyright__item { white-space: nowrap; }
@media (min-width: 768px) {
    .footer__copyright__item + .footer__copyright__item { margin-left: 2.5rem; }
}
.footer__social {
    display: none;
}
@media (min-width: 1024px) {
    .footer__social {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 30%;
        order: 3;
        padding-right: 4.5rem;
    }
}
.footer__social__link {
    color: #fff;
    text-decoration: none;
}
.footer__social__icon {
    fill: #fff;
    width: 1.5rem; height: 1.5rem;
    transition: fill 0.5s cubic-bezier(.5,1,.89,1);
}
.footer__social__link:hover .footer__social__icon--linkedin { fill: #2867b2; }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(.5,1,.89,1), transform 0.8s cubic-bezier(.5,1,.89,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ===== DALA-STYLE SCROLL ANIMATIONS ===== */

/* Parallax text - slides up from below with rotation */
.parallax-text {
    overflow: hidden;
}
.parallax-text > * {
    opacity: 0;
    transform: translateY(100%) rotate(3deg);
    transform-origin: left bottom;
    transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.parallax-text.visible > * {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

/* Rotate-slide-up for feature text blocks */
.rotate-up {
    overflow: hidden;
}
.rotate-up > * {
    opacity: 0;
    transform: translateY(110%) rotate(7deg);
    transform-origin: left bottom;
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.rotate-up.visible > * {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

/* Staggered paragraph reveal - like Dala's children: 'p' */
.stagger-paragraphs p {
    opacity: 0;
    transform: translateY(100%) rotate(5deg);
    transform-origin: left bottom;
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.stagger-paragraphs.visible p:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0) rotate(0); }
.stagger-paragraphs.visible p:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0) rotate(0); }
.stagger-paragraphs.visible p:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0) rotate(0); }
.stagger-paragraphs.visible p:nth-child(4) { transition-delay: 0.45s; opacity: 1; transform: translateY(0) rotate(0); }

/* Button slide up with rotation - like Dala's yPercent:120, rotate:2 */
.btn-reveal {
    overflow: hidden;
    display: inline-block;
}
.btn-reveal .btn {
    opacity: 0;
    transform: translateY(120%) rotate(2deg);
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.btn-reveal.visible .btn {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

/* Subheading fade up with rotation */
.text-reveal {
    overflow: hidden;
}
.text-reveal-inner {
    opacity: 0;
    transform: translateY(110%) rotate(7deg);
    transform-origin: left bottom;
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.text-reveal.visible .text-reveal-inner {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.split-reveal .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(.16,1,.3,1);
}
.split-reveal.visible .char {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    overflow: hidden;
}
.slide-in-left > * {
    opacity: 0;
    transform: translateY(100%) rotate(5deg);
    transform-origin: left bottom;
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.slide-in-left.visible > * {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.slide-in-right {
    overflow: hidden;
}
.slide-in-right > * {
    opacity: 0;
    transform: translateY(100%) rotate(-5deg);
    transform-origin: right bottom;
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.slide-in-right.visible > * {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.blur-in {
    overflow: hidden;
}
.blur-in-inner {
    opacity: 0;
    transform: translateY(110%) rotate(4deg);
    transform-origin: left bottom;
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.blur-in.visible .blur-in-inner {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.stagger-fade > * {
    opacity: 0;
    transform: translateY(60px) rotate(3deg);
    transform-origin: left bottom;
    transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.stagger-fade.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0) rotate(0); }
.stagger-fade.visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0) rotate(0); }
.stagger-fade.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0) rotate(0); }
.stagger-fade.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0) rotate(0); }
.stagger-fade.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0) rotate(0); }

/* Horizontal line grow animation */
.line-grow {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #15846e, #ffb829);
    transition: width 1.5s cubic-bezier(.16,1,.3,1);
    margin: 2rem 0;
}
.line-grow.visible {
    width: 100%;
}

/* Counter number animation */
.counter-animate {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.16,1,.3,1);
}
.counter-animate.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
    position: fixed;
    bottom: 25px;
    right: 100px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 0.6rem 0.7rem 0.6rem 1.4rem;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}
@media (max-width: 1023px) {
    .cookie-notice { left: 20px; right: auto; width: calc(100% - 10.2rem); max-width: 27rem; }
}
.cookie-notice a { color: #fff; text-decoration: underline; }
.cookie-notice button {
    cursor: pointer;
    padding: 0.625rem 1rem;
    background: #2563eb;
    border: none;
    border-radius: 2px;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

/* ===== FULL-PAGE FLOATING TRIANGLES CANVAS ===== */
#triangleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== KEYFRAMES ===== */
@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes scaleUp {
    to { transform: scale(1); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes fadeOutFast {
    to { opacity: 0; }
}
@keyframes rotateWipeUpIn {
    to { transform: translateY(0) rotate(0); }
}
@keyframes slideUp {
    to { transform: translateY(-100%); }
}
@keyframes wordReveal {
    to { transform: translateY(0); }
}

/* ===== CHARACTER WIPE ANIMATIONS ===== */
@keyframes charWipeUpIn {
    0% { transform: translateY(110%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes charWipeUpOut {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-110%); opacity: 0; }
}
@keyframes rotateWipeUpOut {
    0% { transform: translateY(0) rotate(0); opacity: 1; }
    100% { transform: translateY(-110%) rotate(-5deg); opacity: 0; }
}
@keyframes rotateWipeUpOutReverse {
    0% { transform: translateY(0) rotate(0); opacity: 1; }
    100% { transform: translateY(-110%) rotate(5deg); opacity: 0; }
}
@keyframes reverseRotateWipeUp {
    0% { transform: translateY(110%) rotate(5deg); opacity: 0; }
    100% { transform: translateY(0) rotate(0); opacity: 1; }
}
@keyframes scaleDown {
    0% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== NAV TRANSITION MASK ===== */
.nav-transition-mask {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    pointer-events: none;
    display: flex;
}
.nav-transition-mask__strip {
    flex: 1;
    background: #000;
    transform: scaleY(0);
    transform-origin: bottom;
}
.nav-transition-mask.active .nav-transition-mask__strip {
    animation: maskStripIn 0.5s cubic-bezier(.76,0,.24,1) forwards,
               maskStripOut 0.5s cubic-bezier(.76,0,.24,1) 0.5s forwards;
}
.nav-transition-mask.active .nav-transition-mask__strip:nth-child(2) { animation-delay: 0.05s, 0.55s; }
.nav-transition-mask.active .nav-transition-mask__strip:nth-child(3) { animation-delay: 0.1s, 0.6s; }
.nav-transition-mask.active .nav-transition-mask__strip:nth-child(4) { animation-delay: 0.15s, 0.65s; }
.nav-transition-mask.active .nav-transition-mask__strip:nth-child(5) { animation-delay: 0.2s, 0.7s; }

@keyframes maskStripIn {
    0% { transform: scaleY(0); transform-origin: bottom; }
    100% { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes maskStripOut {
    0% { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: top; }
}

/* ===== CHAR-SPLIT ANIMATION ===== */
.char-wipe .char {
    display: inline-block;
    overflow: hidden;
}
.char-wipe .char-inner {
    display: inline-block;
    transform: translateY(110%);
    animation: charWipeUpIn 0.6s cubic-bezier(.76,0,.24,1) forwards;
}

/* Scroll-triggered char wipe with rotation (Dala-style splitTextRotateIn) */
.char-wipe-scroll .char {
    display: inline-block;
    overflow: hidden;
}
.char-wipe-scroll .char-inner {
    display: inline-block;
    transform: translateY(110%) rotate(7deg);
    transform-origin: left bottom;
    transition: transform 0.8s cubic-bezier(.16,1,.3,1), opacity 0.6s cubic-bezier(.16,1,.3,1);
    opacity: 0;
}
.char-wipe-scroll.visible .char-inner {
    transform: translateY(0) rotate(0);
    opacity: 1;
}

/* ===== NAV LINK CHAR ANIMATION ===== */
.nav__link__chars {
    display: inline-flex;
    overflow: hidden;
}
.nav__link__chars .char-inner {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(.76,0,.24,1);
}
.nav__link:hover .nav__link__chars .char-inner {
    animation: charWipeUpOut 0.3s cubic-bezier(.76,0,.24,1) forwards,
               reverseRotateWipeUp 0.3s cubic-bezier(.76,0,.24,1) 0.3s forwards;
}

/* ===== SEARCH BAR ===== */
.search__bar {
    border-radius: 0.625rem;
    height: 3.375rem;
    margin: 3rem auto 0;
    width: 20rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    overflow: hidden;
    position: relative;
}
@media (min-width: 768px) { .search__bar { width: 24.813rem; } }
@media (min-width: 1024px) { .search__bar { height: 4.25rem; width: 42.5rem; } }
.search__bar-cursor {
    width: 2px;
    height: 1.2em;
    background: #15846e;
    animation: blink 1s step-end infinite;
    margin-left: 4px;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.search__bar-text {
    overflow: hidden;
    white-space: nowrap;
}
.search__typing {
    display: inline-block;
    animation: typing 4s steps(40) infinite;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
}
@keyframes typing {
    0% { width: 0; }
    40% { width: 100%; }
    60% { width: 100%; }
    100% { width: 0; }
}

/* ===== MISC ===== */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* ===== CONTACT FORM 7 STYLING ===== */
.wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.wpcf7 .cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.3s;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #ffb829;
    outline: none;
}
.wpcf7 select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
}
.wpcf7 select option {
    background: #111;
    color: #fff;
}
.wpcf7 textarea {
    resize: vertical;
    min-height: 8rem;
}
.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    background-color: #2563eb;
    border: none;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1rem;
    padding: 16px 44px;
    text-transform: uppercase;
    transition: background-color 0.4s ease;
    width: auto;
}
.wpcf7 input[type="submit"]:hover {
    background-color: #1d4ed8;
}
/* CF7 validation and response messages */
.wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}
.wpcf7 .wpcf7-response-output {
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin: 1rem 0 0;
}
.wpcf7 .wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(21,132,110,0.2);
    border: 1px solid #15846e;
    color: #00d4aa;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background: rgba(255,107,107,0.1);
    border: 1px solid rgba(255,107,107,0.3);
    color: #ff6b6b;
}
.wpcf7 form.invalid .wpcf7-response-output {
    background: rgba(255,184,41,0.1);
    border: 1px solid rgba(255,184,41,0.3);
    color: #ffb829;
}
.wpcf7-spinner {
    display: none;
}
/* Placeholder styling */
.wpcf7 ::placeholder {
    color: rgba(255,255,255,0.4);
}