/*
Theme Name: Wave
Text Domain: Wave
Author: Noli Alickaj
Author URI: https://wavecode.no
*/

html {
    scroll-behavior: smooth;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


:root {
    --purple: #29143D;
    --purpleLight: #473856;
    --purpleAlt: #3E1F5C;
    --orange: #FF9E18;
    --orangeLight: #FFB959;
    --white: #FFF;
    --offwhite: #F7F7F7;
}

*, ::after, ::before {
    box-sizing: border-box;
}

body {
    font-family: 'generalSans';
    font-weight: 500;
    color: var(--purple);
    margin: 0;
    padding: 0;
    font-size: 20px;

    --fg: var(--purple);
    --bg: var(--offwhite);
}
body.initial-bg--purple {
    background-color: var(--purple);
}
body.initial-bg--orange-light {
    background-color: var(--orangeLight);
}
body.initial-bg--offwhite {
    background-color: var(--offwhite);
}
body.theme-ready {
    transition: background-color 0.8s ease, color 0.6s ease;
}
body[data-theme="light"] {
    --fg: var(--offwhite);
}
.color--theme {
    color: var(--fg);
    transition: color 0.6s ease;
}
.bg--theme {
    background: var(--fg);
    transition: color 0.6s ease;
}


@font-face {
    font-family: 'generalSans';
    src: url('/wp-content/themes/wavecode/assets/fonts/generalSans/GeneralSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'generalSans';
    src: url('/wp-content/themes/wavecode/assets/fonts/generalSans/GeneralSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'teko';
    src: url('/wp-content/themes/wavecode/assets/fonts/teko/Teko-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'teko';
    src: url('/wp-content/themes/wavecode/assets/fonts/teko/Teko-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'teko';
    src: url('/wp-content/themes/wavecode/assets/fonts/teko/Teko-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ----------------- BASICS ----------------- */
h1, h2, h3, h4, h5 {
    margin: 0;
    line-height: 1;
    font-weight: 600;
    font-size: 32px;
    font-family: 'teko';
    letter-spacing: -1px;
}
p {
    margin: 0;
    line-height: 1.4;
}
a {
    text-decoration: none;
    vertical-align: bottom;
    color: var(--orange);
}
img {
    vertical-align: bottom;
    width: 100%;
    height: auto;
}
strong {
    font-weight: 500;
}
hr {
    width: 100%;
    height: 1px;
    background: var(--fg);
    border: 0;
    margin: 0;
}


/* ----------------- EDITOR ----------------- */
.editor p {
    margin-bottom: 30px;
    line-height: 1.3;
}
.editor p:last-child {
    margin-bottom: 0;
}
.editor ul {
    margin: 0;
    margin-bottom: 30px;
    padding-left: 18px;
}
.editor li {
    /*margin-bottom: 10px;*/
    line-height: 1.3;
}
.editor li::marker {
  font-size: 0.7em;
}
.editor a {
    color: var(--purple);
    text-decoration: underline;
}
.editor h1, .editor h2, .editor h3, .editor h4, .editor h5 {
    margin-top: 54px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 24px;
}
.editor h1:first-child, 
.editor h2:first-child, 
.editor h3:first-child, 
.editor h4:first-child, 
.editor h5:first-child {
    margin-top: 0;
}
.editor img {
    margin-top: 25px;
    margin-bottom: 25px;
}


/* ----------------- HEADER ----------------- */
.header {
    position: sticky;
    top: 0;
    padding: 25px 30px;
    z-index: 99;
    width: 100%;
}
.header__inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.header__nav {
    display: flex;
    flex-direction: row;
    gap: 8px;
}
.header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.header__logo svg {
    width: 100%;
    max-width: 90px;
    height: auto;
}
.header__logo-icon svg {
    width: 100%;
    max-width: 68px;
    height: auto;
}
.menu--mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.is--scrolled .header__logo {
    opacity: 0;
    /*transform: translateX(-50%) translateY(-10px);*/
    pointer-events: none;
}


/* ----------------- HOME ----------------- */
.home .header {
    position: fixed;
    padding-bottom: 0;
}


.initial-bg--purple .header__logo svg path {
    fill: var(--white);
}
.initial-bg--orange-light .header__logo-icon svg path {
    fill: var(--white);
}


/* ----------------- MEGA MENU ----------------- */
.no-scroll .header__logo-icon svg path {
    fill: var(--white);
}
.no-scroll .header__logo svg path {
    fill: var(--white);
}
.no-scroll .header__nav .btn.orange {
    background: var(--white);
    color: var(--purple);
}
.modal img {
    max-width: 230px;
}
.modal .wrapper {
    max-width: 1338px;
}
.grid--mega {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 40px;
}
.gap--mega {
    gap: 36px;
}
.gap--links {
    gap: 25px;
}


/* ----------------- FOOTER ----------------- */
.bottom {
    display: flex;
    flex-direction: column;
    gap: 110px;
    padding: 150px 0 80px 0;
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.footer__logo svg {
    width: 100%;
    max-width: 170px;
    height: auto;
}
.footer__logo svg path {
    fill: var(--white);
}
.footer__logo-icon svg {
    width: 100%;
    max-width: 360px;
    height: auto;
}

.footer .grid--3 div:nth-child(1) {
    align-self: end;
}
.footer .grid--3 div:nth-child(2) {
    justify-self: center;
}
.footer .grid--3 div:nth-child(3) {
    justify-self: end;
    align-self: end;
}

.footer .editor a {
    font-size: 16px;
    color: var(--white);
    text-decoration: none;
}


/* ----------------- HERO ----------------- */
body.intro-lock {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}

.intro {
    position: fixed;
    inset: 0;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.intro svg {
    width: 100%;
    max-width: 200px;
    height: auto;
}
.intro svg path {
    fill: var(--white);
}

.hero__wrapper {
    gap: 168px;
    padding-top: 90px;
    padding-bottom: 106px;
}

.hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding-left: 40px;
    padding-right: 40px;
}
.hero__image-wrap {
    width: 100%;
    max-width: 625px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__image {
    width: 100%;
    height: 100%;
    display: block;
}
.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 11;
    gap: 70px;
    width: 100%;
    max-width: 900px;
    padding-left: 50px;
    padding-right: 50px;

    margin-top: 80px;
}
.hero__heading {
    font-size: 96px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    letter-spacing: -1%;
    line-height: 1;
    text-align: center;
}
.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.hero__btn {
    font-family: 'Teko';
    color: var(--white);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    padding: 4px 16px;
    letter-spacing: -0.72px;
    border-radius: 32px;
    border: 0.2px solid;

    backdrop-filter: blur(3px);
}
.hero__btn.primary {
    background: var(--orange);
    border-color: #FFB54F;
}
.hero__btn.secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}
.hero__btn.tertiary {
    background: var(--orange);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--purple);
}


/* ----------------- LAYOUT ----------------- */
.wrapper {
    width: 100%;
    max-width: 1448px;
    padding-left: 54px;
    padding-right: 54px;
    margin-left: auto;
    margin-right: auto;
}
.wrapper.narrow {
    max-width: 1188px;
}


/* ----------------- GRID ----------------- */
.grid--3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0%, 1fr));
}
.grid--2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
}
.grid--auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* -- COLUMNS -- */
.col-gap--l {
    column-gap: 100px;
}
.col-gap--m {
    column-gap: 50px;
}
.col-gap--s {
    column-gap: 16px;
}

/* -- ROWS -- */
.row-gap--l {
    row-gap: 100px;
}
.row-gap--m {
    row-gap: 50px;
}
.row-gap--s {
    row-gap: 16px;
}


/* ----------------- WIDTH ----------------- */
.width {
    width: 100%;
}


/* ----------------- WIDTH ----------------- */
.card {
    display: flex;
    flex-direction: column;
    gap: 40px;

    background: var(--purple);
    padding: 80px 70px;
    height: 100%;
}
.card .blob-s {
    margin-bottom: 20px;
}


/* ----------------- ARCHIVE ----------------- */
.cpt-archive {
    display: flex;
    flex-direction: column;
    gap: 90px;
}
.cpt-archive__intro {
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.cpt-archive__header {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    column-gap: 140px;
    row-gap: 100px;
}
.cpt-archive__header .adjust {
    margin-top: 60px;
}
.cpt-archive__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* ----------------- ARCHIVE ITEM ----------------- */
.article__media {
    position: relative;
}
.article__tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


/* ----------------- SECTION INTRO ----------------- */
.section-intro {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.gap--100 {
    gap: 100px;
}


/* ----------------- BOX ----------------- */
.box {
    padding: 40px;
    box-shadow: 0 4px 37px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.box .upper {
    display: flex;
    align-items: center;
    gap: 25px;
}
.box.white {
    background: var(--white);
}
.box.purple {
    background: var(--purple);
}
.box.orange {
    background: var(--orangeLight);
}
.box.opac {
    background: rgba(255, 255, 255, 0.05);
}


/* ----------------- ICONS ----------------- */
.icon-arrow {
    min-width: 21px;
    max-width: 21px;
    height: auto;
}
.large .icon-arrow {
    min-width: 60px;
    max-width: 60px;
    height: auto;
}
.icon--check {
    min-width: 34px;
    max-width: 34px;
    min-height: 34px;
    max-height: 34px;
}


/* ----------------- MODULES ----------------- */
[data-layout="steps_and_benefits"] .icon--check {
    fill: var(--purple);
}
[data-layout="numbers_highlight"] .box:last-of-type {
    background: var(--orangeLight);
}


/* ----------------- PADDING ----------------- */
/* -- TOP -- */
.pad-t--xl {
    padding-top: 150px;
}
.pad-t--l {
    padding-top: 100px;
}
.pad-t--m {
    padding-top: 80px;
}
.pad-t--s {
    padding-top: 40px;
}

/* -- BOTTOM -- */
.pad-b--xl {
    padding-bottom: 150px;
}
.pad-b--l {
    padding-bottom: 100px;
}
.pad-b--m {
    padding-bottom: 80px;
}
.pad-b--s {
    padding-bottom: 40px;
}


.pad--s {
    padding: 24px 50px;
}


/* ----------------- FONT SIZES ----------------- */
.font--xl {
    font-size: 96px;
}
.font--l {
    font-size: 64px;
}
.font--ml {
    font-size: 40px;
}
.font--m {
    font-size: 48px;
}
.font--s {
    font-size: 36px;
}
.font--xs {
    font-size: 24px;
}
.font--14 {
    font-size: 14px;
}

.font--600 {
    font-weight: 600;
}
.font--500 {
    font-weight: 500;
}
.font--400 {
    font-weight: 400;
}
.font--teko {
    font-family: 'Teko';
}
.font--compact {
    letter-spacing: -1.8px;
}


/* ----------------- GAP ----------------- */
.gap--xl {
    gap: 100px;
}
.gap--l {
    gap: 75px;
}
.gap--m {
    gap: 50px;
}
.gap--s {
    gap: 25px;
}
.gap--xs {
    gap: 12px;
}

.gap--pb {
    gap: 150px;
}
.gap--kh {
    gap: 80px;
}


/* ----------------- BACKGROUND ----------------- */
.bg--purple {
    background: var(--purple);
}
.bg--purpleLight {
    background: var(--purpleLight);
}
.bg--orange {
    background: var(--orange);
}
.bg--orangeLight {
    background: var(--orangeLight);
}
.bg--offwhite {
    background: var(--offwhite);
}
.bg--white {
    background: var(--white);
}


/* ----------------- COLOR ----------------- */
.color--white {
    color: var(--white);
}
.color--purple {
    color: var(--purple);
}
.color--orange {
    color: var(--orange);
}


/* ----------------- BUTTON ----------------- */

/* -- DEFAULT -- */
.btn {
    width: fit-content;
    height: fit-content;
    padding: 9px 15px;
    border: 1px solid;
    border-radius: 32px;

    font-size: 24px;
    line-height: 1;
    text-align: center;
    font-weight: 400;
    font-family: 'teko';
    text-transform: uppercase;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;

    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    backdrop-filter: blur(3.1px);
}

/* -- ORANGE -- */
.btn.orange {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--purple);
}
.btn.orange .icon-arrow path {
    fill: var(--white);
}

/* -- PURPLE -- */
.btn.purple {
    background: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}
.btn.purple .icon-arrow path {
    fill: var(--orange);
}

/* -- WHITE -- */
.btn.white {
    background: var(--white);
    border-color: var(--white);
    color: var(--purple);
}
.btn.white .icon-arrow path {
    fill: var(--purple);
}

/* -- LIGHT PURPLE -- */
.btn.purpleLight {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn.purpleAlt {
    background: var(--purpleAlt);
    border-color: var(--purpleAlt);
    color: var(--white);
}

/* -- OUTLINE -- */
.btn.outline {
    border-color: var(--purple);
    color: var(--purple);
}
.btn.outline:hover {
    background: var(--purple);
    color: var(--white);
}


/* ----------------- LINK ----------------- */
.link {
    font-size: 40px;
    font-family: 'Teko';
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: fit-content;
    height: fit-content;
}
.link.purple {
    color: var(--purple);
}
.link.white {
    color: var(--white);
}


/* ----------------- LABEL ----------------- */
.label {
    padding: 5px 8px;
    font-family: "Teko";
    font-weight: 400;
    line-height: 20px;
    border-radius: 7px;

    width: fit-content;
    height: fit-content;
}
.label.large {
    font-size: 24px;
}
.label.check {
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.label.white {
    background: var(--white);
    color: var(--purple);
}
.label.orange {
    background: var(--orangeLight);
    color: var(--purple);
}
.label.opac {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}
.label.grey {
    background: #F0EEF1;
    color: var(--purple);
}



/* ----------------- CAROUSEL ----------------- */
.marquee {
    overflow: hidden;
    white-space: nowrap;
}
.marquee__track {
    display: inline-flex;
    gap: 100px;
    animation: marquee 20s linear infinite;
}
.marquee__item img {
    height: 40px;
    width: auto;
    display: block;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* ----------------- PROCESS ----------------- */
.process-stack {
    --head-h: 90px;
    width: 100%;
}
.process-item {
    position: sticky;
    top: calc(40px + (var(--i) * var(--head-h)) + 80px);
    min-height: calc(100vh - (var(--i) * var(--head-h)));
    overflow: hidden;

    background: var(--bg);
    color: var(--fg);
    border-top: 1px solid var(--fg);
    transition: background-color 0.8s ease;
}
.process-head {
    height: var(--head-h);
    display: flex;
    align-items: center;
}
.process-head h3 {
    margin: 0;
    font-size: 48px;
    line-height: 1;
    font-weight: 400;
}
.process-body {
    height: calc(100% - var(--head-h));
    height: auto;
    display: flex;
    justify-content: end;
}
.process-content {
    width: 100%;
    max-width: 640px;
    font-weight: 400;
    font-family: 'Teko';
    font-size: 36px;
    padding-bottom: 30px;
}
.process-content p {
    margin: 0 0 20px;
}

.process-content p:last-child {
    margin-bottom: 0;
}


/* ----------------- BLOB ----------------- */
.blob-m {
    width: 100%;
    max-width: 380px;
    height: auto;
}
.blob-s {
    width: 100%;
    max-width: 250px;
    height: auto;
}


/* ----------------- VIDEO ----------------- */
video {
    width: 100%;
    height: auto;
}
.video-expand {
    width: 550px;
    max-width: 100%;
    overflow: hidden;
}
.video-expand video {
    width: 100%;
    height: auto;
    display: block;
}


/* ----------------- QUOTE ----------------- */
.quote {
    padding: 90px 80px 60px 60px;
    box-shadow: 0 4px 37px 0 rgba(0, 0, 0, 0.05);
    
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.quote img {
    max-width: 92px;
    max-width: 92px;
    min-height: 92px;
    max-height: 92px;
    
    object-fit: cover;
}
.apo::before {
    content: "\201C";
}
.apo::after {
    content: "\201D";
}


/* ----------------- EMPLOYEE ----------------- */
.employee__image-wrap {
    position: relative;
}

.employee__image {
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.employee__image--hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.employee__image:hover {
    opacity: 1;
}


/* ----------------- OTHER ----------------- */
.bias--top {
    margin-top: 60px;
}

.counter {
    min-width: 34px;
    max-width: 34px;
    min-height: 34px;
    max-height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-family: 'Teko';
    font-size: 24px;
}

.opac--40 {
    opacity: 40%;
}


/* ----------------- TABLET ----------------- */
@media (max-width: 992px) {

    /* ----------------- GENERAL ----------------- */
    body {
        font-size: 18px;
    }
    .wrapper {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* ----------------- HEADER ----------------- */
   
    /* ----------------- FOOTER ----------------- */
    .footer .grid--3 div:nth-child(1) {
        align-self: start;
    }
    .footer .grid--3 div:nth-child(2) {
        justify-self: start;
    }
    .footer .grid--3 div:nth-child(3) {
        justify-self: start;
        align-self: start;
    }
    .footer__logo-icon svg {
        max-width: 200px;
    }
    .footer .auto--left {
        margin-left: 0;
    }

    /* ----------------- ARCHIVE ----------------- */
    .cpt-archive__header {
        display: flex;
        flex-direction: column;
        gap: 70px;
    }
    .cpt-archive__header .adjust {
        margin-top: 0;
    }
    .cpt-archive__header .gap--l {
        gap: 30px;
    }

    /* ----------------- GRID ----------------- */
    .grid--3 {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
    }
    .grid--2 {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
    }

    /* ----------------- MEGA MENU ----------------- */
    .grid--mega {
        grid-template-columns: 1fr;
    }

    /* ----------------- BOX ----------------- */
    .box {
        gap: 20px;
    }
    .box .upper { 
        flex-direction: column;   
        align-items: start;
        gap: 15px;
    }

    /* ----------------- CAROUSEL ----------------- */
    .marquee__track img {
        height: 30px;
    }

    /* ----------------- OTHER ----------------- */
}


/* ----------------- MOBILE ----------------- */
@media (max-width: 768px) {
    
    /* ----------------- GENERAL ----------------- */
    .wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* ----------------- HEADER ----------------- */
    .header__logo {
        display: none;        
    }
    
    /* ----------------- HERO ----------------- */
    .hero__wrapper {
        gap: 80px;
        padding-top: 140px;
        padding-bottom: 20px;
    }
    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero__heading {
        font-size: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero__content {
        padding-left: 20px;
        padding-right: 20px;
        gap: 30px;
        top: 40%;
    }

    /* ----------------- ARCHIVE ----------------- */
    .cpt-archive {
        gap: 40px;
    }
    .cpt-archive__intro {
        gap: 80px;
    }
    .cpt-archive__header {
        gap: 40px;
    }

    /* ----------------- FONT ----------------- */
    .font--xl {
        font-size: 60px;
    }
    .font--l {
        font-size: 44px;
    }
    .font--m {
        font-size: 32px;
    }
    .font--s {
        font-size: 26px;
    }
    .font--xs {
        font-size: 22px;
    }

    /* ----------------- PROCESS ----------------- */
    .process-head h3 {
        font-size: 32px;
    }
    .process-content {
        font-size: 22px;
    }

    /* ----------------- CARD ----------------- */
    .card {
        padding: 80px 40px;
    }

    /* ----------------- BTN ----------------- */
    .btn {
        font-size: 22px;
    }

    /* ----------------- MEGA MENU ----------------- */
    .modal .link {
        font-size: 28px;
    }
    .gap--links {
        gap: 10px;
    }
    .grid--mega {
        gap: 60px;
    }
    .gap--mega {
        gap: 20px;
    }

    /* ----------------- OTHER ----------------- */
    .bias--top {
        margin-top: 0;
    }
}