/*
 Theme Name: Divi Child
 Description: Divi Child Theme
 Author: Mario Jaritz
 Author URI: https://www.coding-alps.at
 Template: Divi
 Version: 1.0.0
*/

/* ------------------------------------------------------- */

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/Divi-child/fonts/Montserrat-VariableFont.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.c-hover {
    text-decoration: none;
    display: inline-block;
    position: relative;
    color: inherit;
    line-height: 1.5em;
    overflow: hidden;
    white-space: nowrap;
}

.c-hover .line-1,
.c-hover .line-2 {
    display: flex;
    transition: transform var(--hover-duration) var(--hover-ease);
    will-change: transform;
}

.c-hover .line-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    color: var(--dark-font-color);
}

.c-hover.two-lines .line-1,
.c-hover.two-lines .line-2 {
    padding: 0 0.5em;
    border-radius: var(--border-radius-small);
}

.c-hover.two-lines .line-2 {
    color: var(--main-font-color);
    background-color: var(--bg-color-dark);
    transform: translateY(120%);
}

.c-hover.two-lines:hover .line-1 {
    transform: translateY(-120%);
}

.c-hover.two-lines:hover .line-2 {
    transform: translateY(0%);
}

/* .c-hover.two-lines-stagger .line-2 .char {
    transform: translateY(120%);
} */

.c-button-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.c-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    color: var(--main-font-color);
    background-color: var(--bg-color-dark);
    border: 2px solid var(--main-font-color);
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color var(--hover-duration) var(--hover-ease), color var(--hover-duration) var(--hover-ease);
    will-change: background-color, color;
}

.c-button.filled {
    padding: 1.5rem 3rem;
    color: var(--dark-font-color);
    background-color: var(--bg-color-highlight);
    border: none;
    transition: transform var(--hover-duration) var(--hover-ease);
}

@media (max-width: 767px) {
    .c-button {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }

    .c-button.filled {
        padding: 1rem 2rem;
    }
}

.c-button .c-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: auto;
}

.c-button .c-button-arrow {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    transform: translateX(-7rem);
    transition: transform var(--hover-duration) var(--hover-ease);
    will-change: transform;
}

.c-button .c-button-arrow svg {
    width: 20px;
    height: 20px;
}

.c-button .c-button-text {
    transition: transform var(--hover-duration) var(--hover-ease);
    will-change: transform;
}

.c-button:hover {
    background-color: var(--bg-color-highlight);
    border-color: var(--bg-color-highlight);
    color: var(--dark-font-color);
}

.c-button.filled:hover {
    transform: scale3d(1.1, 1.1, 1.1);
}

/* .c-button-wrapper .c-button.filled:hover {
    background-color: var(--bg-color-highlight);
    border-color: var(--bg-color-highlight);
    color: var(--dark-font-color);
} */

.c-button:hover .c-button-arrow {
    transform: translateX(-1rem);
}

.c-button:hover .c-button-text {
    transform: translateX(1rem);
}





.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    height: calc(100vh - var(--header-size));
    height: calc(100svh - var(--header-size));
    min-height: 500px;
    background-color: var(--bg-color-light);
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: clamp(0.8rem, 4vw, 1rem);
    color: var(--link-font-color);
    text-align: center;
    text-transform: uppercase;
}

@media only screen and (max-width: 980px) and (orientation: landscape) {
    .footer-section {
        min-height: 680px;
    }
}

.footer-section .footer-logo-typo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-section .footer-scroll {
    will-change: transform, opacity;
}

.footer-section .footer-content-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
}

.footer-section .footer-content-container.right {
    text-align: right;
}

.footer-content-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.footer-section .footer-heading {
    /*font-size: 1.1rem;*/
    font-size: clamp(0.9rem, 4.5vw, 1.1rem);
    font-weight: 600;
    padding: 0 0.5em;
}

.footer-section .footer-content {
    /*ont-size: 1rem;*/
    font-size: clamp(0.8rem, 4vw, 1rem);
    font-weight: 400;
}

.footer-section .footer-divider {
    width: 100%;
    border: none;
    border-top: 1px solid var(--dark-font-color);
    padding: 2px 0;
    margin: auto;
}


/* .footer-logo-wrapper {
    width: 100%;
    height: max(21vw, 10vh);
    display: flex;
    flex-direction: column;
    row-gap: 3vw;
    padding: max(1vw, 1vh) 0;
    clip-path: inset(-5vw 0 -5vw 0);
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.footer-logo.line-1 {
    flex: 1;
}

.footer-logo.line-2 {
    flex: 0.75;
    justify-content: space-evenly;
}

.footer-logo .footer-logo-letter {
    width: auto;
    height: 100%;
}

.footer-logo-letter svg {
    height: 100%;
    width: auto;
    display: block;
} */

/* 

.footer-logo .logo {
    width: 100%;
    display: flex;
    align-items: center;
}

.footer-logo .logo.line-1 {
    justify-content: center;
    gap: 1.5vw;
    padding: 1vw 0;
}

.footer-logo .logo.line-2 {
    justify-content: space-around;
    padding: 2.5vw 5vw;
}

.footer-logo .logo.line-1 .char {
    height: 10vw;
}

.footer-logo .logo.line-2 .char {
    height: 7.5vw;
} */

@media (max-width: 980px) {

    .footer-section .footer-content-container,
    .footer-section .footer-content-container.right {
        text-align: center;
        padding: 2vh 0;
        padding: 2svh 0;
    }

    .footer-section .footer-divider {
        width: 33%;
    }
}

/*.footer-logo .logo.line-1 .char,
.footer-logo .logo.line-2 .char {
    will-change: transform;
}*/

.main-page-section {
    position: relative;
    background-color: transparent;
    overflow: clip;
    /* border-radius: var(--border-radius-page-cont) var(--border-radius-page-cont) 0 0; */
    background-color: var(--bg-color-dark);
    /* border-radius: 50px 50px 0 0; */
    margin: 0 !important;
    padding: 0 !important;
    z-index: var(--z-base);
}

.sticky-background {
    /* position: sticky !important; */
    position: absolute;
    /* top: calc((-1) * var(--border-radius-page-cont)); */
    top: 0;
    left: 0;
    /* height: calc(100lvh + var(--border-radius-page-cont)); */
    /* height: calc(100lvh + 50px); */
    height: 100vh;
    background-color: var(--bg-color-dark);
    /* border-radius: var(--border-radius-page-cont) var(--border-radius-page-cont) 0 0; */
    /* overflow: hidden; */
    margin: 0 !important;
    padding: 0 !important;
    z-index: var(--z-bg);
}

/* #canvas-bg {
    width: 100vw;
    height: 100lvh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
} 
    
@media (max-width: 980px) {
    #canvas-bg {
        visibility: hidden;
    }
}*/

/* .dynamic-bg {
    width: 100vw;
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
} */

/* .bg-logo-overlay {
    width: 100vw;
    height: calc(100lvh + var(--border-radius-page-cont));
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.025;
    pointer-events: none;
}

.bg-logo-overlay #bg-logo {
    width: 75%;
    height: 75%;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: -20vh;
    margin-right: -15vw;
    pointer-events: none;
} */

.fixed-bg {
    position: fixed !important;
    top: 0 !important;
}

.pulsing-bg {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: var(--z-bg);
    pointer-events: none;
    opacity: 0;
}

.pulsing-circle {
    position: absolute;
    width: 50%;
    aspect-ratio: 1.75;
    pointer-events: none;
    animation: pulse 3s infinite ease-in-out;
    will-change: transform;
    contain: layout style paint;
}

.pulsing-circle.circle-top-right {
    top: 0;
    right: 0;
    border-radius: 0 0 0 100%;
    background: radial-gradient(ellipse at 100% 0%, var(--dynamic-bg-highlight), transparent 70%);
    transform-origin: top right;
}

.pulsing-circle.circle-bottom-left {
    bottom: 0;
    left: 0;
    border-radius: 0 100% 0 0;
    background: radial-gradient(ellipse at 0% 100%, var(--dynamic-bg-highlight), transparent 70%);
    transform-origin: bottom left;
}

@media (max-width: 980px) {
    .pulsing-circle {
        width: 80%;
        height: 50%;
        animation: none;
    }

    .pulsing-circle.circle-top-right {
        display: none;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale3d(1, 1, 1)
    }

    50% {
        transform: scale3d(1.33, 1.33, 1);
    }
}

.parallax-container {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
}



.c-heading-reveal {
    width: 100%;
    padding: 0;
}

.c-heading-reveal .heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.c-heading-reveal .heading.left {
    align-items: flex-start;
}

.c-heading-reveal .heading.right {
    align-items: flex-end;
}

.c-heading-reveal .line {
    overflow-y: clip;
    display: flex;
    align-items: center;
}

.c-heading-reveal .letter,
.c-heading-reveal .word {
    position: relative;
    margin: -1px;
    will-change: transform, opacity;
}

.heading-letter-flip-section .letter span:last-child {
    position: absolute;
    top: 100%;
    left: 0;
}

.heading-line-slice-section .lines-wrapper {
    overflow-y: clip;
}

.heading-line-slice-section .lines {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.text-push-up-section .text-push-up-wrapper {
    height: 500vh;
    height: 500svh;
}

.text-push-up-section .sticky-container {
    display: flex;
    align-items: center;
    height: 100vh;
    height: 100svh;
    will-change: opacity;
}

.text-push-up-section .sticky-container .push-up-title {
    position: relative;
    width: 100%;
}

.text-push-up-section .sentence {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    /* font-family: var(--main-font);
    font-size: 8vw;
    font-weight: 800;
    line-height: 1em;
    color: var(--main-font-color);
    text-transform: uppercase; */
}

.text-push-up-section .sentence span {
    display: inline-block;
    letter-spacing: -0.05em;
    will-change: transform;
}

.text-push-up-section .sentence:not(:first-child) {
    position: absolute;
    left: 0;
    top: 0;
}



.sticky-heading-section .sticky-heading {
    width: 100%;
    height: 300vh;
    height: 300svh;
}

.sticky-heading-section .sticky-container {
    width: 100%;
    height: 100vh;
    height: 100svh;
}

.sticky-heading-section .sticky-container .title {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: var(--header-size);
    /* font-family: var(--main-font);
    font-size: 8vw;
    font-weight: 800;
    line-height: 1em;
    color: var(--secondary-font-color);
    text-transform: uppercase; */
    /* display: inline-table; */
    display: inline-block;
    overflow: hidden;
}

.sticky-heading-section .sticky-container .title span {
    display: inline-block;
}

/* .sticky-heading-section .sticky-container .title .highlight {
    color: var(--main-font-color);
} */

.card-deck-section .card-deck-wrapper {
    position: relative;
    width: 100%;
    height: 400vh;
    height: 400svh;
}

.card-deck-section .sticky-container {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
}

.card-deck-section .sticky-container .title {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: var(--header-size);
    display: inline-table;
    overflow: hidden;
}

.card-deck-section .sticky-container .title span {
    display: inline-block;
}

.card-deck-section .sticky-container .content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-deck-section .card {
    position: relative;
    width: 18vw;
    min-width: 90px;
    max-width: 350px;
    aspect-ratio: 0.75;
    border-radius: var(--border-radius);
    margin: 0 -2vw 0 -2vw;
    border: 1px solid #404040;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--main-font-color);
    font-family: var(--main-font);
    font-size: 1rem;
    line-height: 1em;
    padding: 1vw;
    backdrop-filter: blur(6px);
    transition:
        background-color var(--hover-duration) var(--hover-ease),
        color var(--hover-duration) var(--hover-ease);
}

.card-deck-section .card *:nth-child(1) {
    text-align: right;
}

.card-deck-section .card .media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-deck-section .card svg {
    width: 75%;
    height: 75%;
    fill: var(--main-font-color);
    transition: fill var(--hover-duration) var(--hover-ease);
}

.card-deck-section .card:hover svg {
    fill: var(--dark-font-color);
}

@media (max-width: 980px) {
    .card-deck-section .card-deck-wrapper {
        height: auto;
    }

    .card-deck-section .sticky-container {
        height: 50vh;
    }

    .card-deck-section .card {
        margin: 0 -1rem 0 -1rem;
        padding: 2vw;
        font-size: 0.7rem;
        border-radius: var(--border-radius);
    }

    .card-deck-section .sticky-container .title {
        margin-top: 0;
    }
}

.card-deck-section .card:hover {
    color: var(--dark-font-color);
    background-color: var(--bg-color-highlight);
    border: none;
    z-index: 10;
}

/* .card-deck-section .card *:nth-child(1) {
    text-align: right;
}

.card-deck-section .card *:nth-child(2) {
    margin: 0 auto;
} */

.card-deck-section .card img {
    width: auto;
    height: 50%;
}





.line-reveal-section {
    width: 100%;
}

.line-reveal-section .line-reveal-text {
    /* font-family: var(--main-font); */
    /* color: var(--secondary-font-color); */
    line-height: 1.2em;
    /* font-size: var(--paragraph-font-size); */
    word-break: normal;
    white-space: normal;
}

.line-reveal-section .line-wrapper,
.line-reveal-section .line {
    display: block;
    overflow: hidden;
    will-change: transform;
}

/* @media (max-width: 980px) {
    .line-reveal-section .line-reveal-text {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
} */





.text-scroll-section {
    width: 100%;
    margin: auto;
    padding-top: 2rem;
    text-align: center;
}

.text-scroll-section .quotes svg {
    width: clamp(30px, 4vw, 80px);
    aspect-ratio: 1;
    fill: var(--highlight-font-color);
    margin: 5px;
}

.text-scroll-section .quotes .quote-bottom {
    transform: rotate(180deg);
}

.text-scroll-section .text-scroll {
    font-family: var(--main-font);
    font-size: var(--paragraph-font-size);
    color: var(--main-font-color) !important;
    line-height: 1em;
}

.text-scroll-section .text-scroll-divider {
    width: 25%;
    border: none;
    border-top: 1px solid var(--light-font-color);
    margin: 3rem auto 1.5rem auto;
}

.text-scroll-section .text-scroll-reference {
    font-family: var(--main-font);
    font-size: var(--desc-text-font-size);
    color: var(--light-font-color);
}

@media (max-width: 980px) {
    .text-scroll-section .text-scroll-divider {
        width: 50%;
        margin: 2rem auto 1rem auto;
    }
}

/* .text-scroll-section {
    display: block;
    position: relative;
    max-width: var(--max-width);
}

.text-scroll-section .text-scroll {
    font-family: var(--main-font);
    font-size: var(--paragraph-font-size);
    color: var(--main-font-color);
    line-height: 1.2em;
}

.text-scroll-section .text-scroll.bg {
    color: var(--main-font-color-20);
}

.text-scroll-section .text-scroll.mask {
    position: absolute;
    top: 0;
    left: 0;
}

.text-scroll-section .text-scroll.mask .line {
    clip-path: inset(0% 100% 0% 0%);
    will-change: clip-path;
}

.text-scroll-citation-divider {
    width: 20%;
    padding: 2rem 0;
}

.text-scroll-citation-divider span {
    display: block;
    border-top: 1px solid var(--light-font-color);
}

.text-scroll-citation-reference {
    font-family: var(--main-font);
    font-size: var(--desc-text-font-size);
    color: var(--light-font-color);
}

@media (max-width: 980px) {
    .text-scroll-section .text-scroll {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
} */





.cards-reveal-row {
    min-height: 50vh;
    min-height: 50svh;
    padding: 0 !important;
    margin-bottom: 20vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.cards-reveal-row>* {
    width: 47.5%;
}

.cards-reveal-row .cards-reveal-column-text {
    max-width: calc(var(--max-width) / 2);
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.cards-reveal-row .cards-reveal-column-image .image-container {
    position: relative;
    width: 100%;
}

.cards-reveal-row .cards-reveal-column-image .slides {
    display: flex;
    flex-direction: row;
    height: 100%;
    /* transition: transform 0.8s var(--power3-out); */
}

/* .cards-reveal-row .cards-reveal-column-image .slides.has-2-slides {
    width: 200%;
}

.cards-reveal-row .cards-reveal-column-image #button1:checked~.slides.has-2-slides {
    transform: translateX(0%);
}

.cards-reveal-row .cards-reveal-column-image #button2:checked~.slides.has-2-slides {
    transform: translateX(-50%);
}

.cards-reveal-row .cards-reveal-column-image .slides.has-3-slides {
    width: 300%;
}

.cards-reveal-row .cards-reveal-column-image #button1:checked~.slides.has-3-slides {
    transform: translateX(0%);
}

.cards-reveal-row .cards-reveal-column-image #button2:checked~.slides.has-3-slides {
    transform: translateX(-33.333%);
}

.cards-reveal-row .cards-reveal-column-image #button3:checked~.slides.has-3-slides {
    transform: translateX(-66.666%);
} */

.cards-reveal-row .cards-reveal-column-image .slide {
    position: relative;
    width: 100%;
}

.cards-reveal-row .cards-reveal-column-image .slider-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.5rem;
    background-color: #f5f5f540;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-large);
}

/* .cards-reveal-row .cards-reveal-column-image .card input[type="radio"] {
    display: none;
} */

.cards-reveal-row .cards-reveal-column-image .card .slider-controls button {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: none;
    background-color: var(--bg-color-light);
    cursor: pointer;
    transition: background-color var(--hover-duration) var(--hover-ease);
}

.cards-reveal-row .cards-reveal-column-image .slider-controls button.active {
    background-color: var(--bg-color-highlight);
}

/* .cards-reveal-row .cards-reveal-column-image #button1:checked~.slider-controls label[for="button1"],
.cards-reveal-row .cards-reveal-column-image #button2:checked~.slider-controls label[for="button2"],
.cards-reveal-row .cards-reveal-column-image #button3:checked~.slider-controls label[for="button3"] {
    background-color: var(--bg-color-highlight);
} */

@media (max-width: 980px) {
    .cards-reveal-row {
        flex-direction: column;
    }

    .cards-reveal-row>* {
        width: 100%;
    }

    .cards-reveal-row .cards-reveal-column-text {
        order: 1;
    }

    .cards-reveal-row .cards-reveal-column-image {
        order: 2;
    }
}

.cards-reveal-row .cards-reveal-column-text.left {
    padding-left: var(--main-padding-lr);
}

.cards-reveal-row .cards-reveal-column-text.right {
    padding-right: var(--main-padding-lr);
}

.cards-reveal-row .cards-reveal-column-text .highlight {
    background-color: var(--bg-color-highlight);
    color: var(--dark-font-color);
    display: block;

}

.cards-reveal-row .cards-reveal-column-text .highlight.left {
    width: fit-content;
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
    margin-left: calc(-1 * var(--main-padding-lr));
    padding-left: var(--main-padding-lr);
    padding-right: 1rem;
}

.cards-reveal-row .cards-reveal-column-text .highlight.right {
    border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
    margin-right: calc(-1 * var(--main-padding-lr));
    padding-right: var(--main-padding-lr);
    padding-left: 1rem;
    margin-left: -1rem;
}

.cards-reveal-row .card {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cards-reveal-row .card {
    width: 100%;
    height: 100%;
}

.cards-reveal-row .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cards-reveal-row .card.card-right {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.cards-reveal-row .card.card-left {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.cards-reveal-row .card-title {
    font-size: var(--h4-font-size);
    white-space: nowrap;
}

.cards-reveal-row .card-desc {
    font-family: var(--main-font);
    color: var(--light-font-color);
    font-size: var(--desc-text-font-size);
    line-height: 1.2em;
}

.cards-btn-wrapper {
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

.cards-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-font-color);
    background: var(--bg-color-highlight);
    padding: 2vw;
    border-radius: 9999px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cards-btn svg {
    width: 3vw;
    height: 3vw;
}

@media (max-width: 980px) {

    .cards-reveal-row .cards-reveal-column-text.left,
    .cards-reveal-row .cards-reveal-column-text.right {
        padding-left: var(--main-padding-lr);
        padding-right: var(--main-padding-lr);
        text-align: left;
    }

    .cards-reveal-row .cards-reveal-column-image.left,
    .cards-reveal-row .cards-reveal-column-image.right {
        display: flex;
        justify-content: end;
        padding: 0;
        padding-left: var(--main-padding-lr);
    }

    .cards-reveal-row .cards-reveal-column-text {
        padding-bottom: 3rem;
    }

    .cards-reveal-row .cards-reveal-column-text .highlight.right {
        border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
        margin-left: calc(-1 * var(--main-padding-lr));
        padding-left: var(--main-padding-lr);
        padding-right: 1rem;
        width: fit-content;
        text-align: left;
    }

    .cards-reveal-row .card.card-left,
    .cards-reveal-row .card.card-right {
        border-radius: var(--border-radius) 0 0 var(--border-radius);
    }

    .cards-reveal-row .card-title,
    .cards-reveal-row .card-desc {
        padding: 0;
        margin: 0;
    }

    .cards-btn {
        padding: 2rem;
    }
}

@media (max-height: 399px) {

    .cards-reveal-row .card.card-left,
    .cards-reveal-row .card.card-right {
        max-height: 280px;
        aspect-ratio: 1;
    }
}

.card-grid-section {
    position: absolute;
    top: 40vh;
    width: 100%;
    max-width: 100%;
}

.card-grid-section .cards-grid-row {
    width: 80%;
    max-width: var(--max-width);
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
}

.card-grid-section .cards-grid-row .card {
    width: 100%;
    aspect-ratio: 1.33;
    overflow: hidden;
    padding-bottom: 10px;
    will-change: transform;
}

@media (max-width: 980px) {
    .card-grid-section .cards-grid-row {
        gap: 0;
        flex-direction: column;
        padding: 0 var(--main-padding-lr);
    }

    .card-grid-section .cards-grid-row .card {
        padding-bottom: 0;
    }
}

@media (min-width: 981px) {
    .card-grid-section .cards-grid-row {
        min-width: 900px;
    }
}

.card-grid-section .cards-grid-row .card img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.card-grid-section .cards-grid-desc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact-cards-section {
    padding: 0 10% 2rem 10%;
}

.fact-cards-section .fact-cards-row {
    display: flex;
    flex-direction: row;
    padding: 1rem 0;
    justify-content: space-between;
}

.fact-cards-section .card {
    overflow: hidden;
    height: 25rem;
    width: calc(50% - 1rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem;
    background-color: var(--bg-color-highlight-2nd-50);
    border-radius: var(--border-radius);
}

@media (max-width: 980px) {
    .fact-cards-section .fact-cards-row {
        flex-direction: column;
        row-gap: 2rem;
    }

    .fact-cards-section .card {
        width: 100%;
        height: 15rem;
        padding: 2rem
    }
}

@media (min-width: 981px) {
    .fact-cards-section .card-right {
        margin-top: 12.5rem;
        margin-bottom: -12.5rem;
    }
}

.fact-cards-section .title {
    position: relative;
    overflow: hidden;
    font-family: var(--secondary-font);
    font-weight: 900;
    font-size: 9rem;
    text-transform: uppercase;
    text-align: left;
    color: var(--main-font-color);
    line-height: 0.8em;
}

.fact-cards-section .desc {
    font-family: var(--main-font);
    font-size: 2rem;
    text-align: right;
    color: var(--main-font-color);
    line-height: 1em;
}

@media (max-width: 980px) {
    .fact-cards-section .title {
        font-size: 6rem;
    }

    .fact-cards-section .desc {
        font-size: 1.5rem;
    }
}

.fact-cards-section .text-wrapper {
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
}

.fact-cards-section .text-wrapper.line-2 {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fact-cards-section .line-2 .char {
    transform: translateY(150%);
}




.contact-info-container,
.heading-mask-container {
    height: 150vh;
    height: 150svh;
}

@media (max-width: 980px) {

    .contact-info-container,
    .heading-mask-container {
        height: 100vh;
        height: 100svh;
    }
}

.heading-mask-container {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.heading-mask-container .headings {
    position: relative;
    width: 100%;
    height: auto;
    border-top: 1px solid rgba(240, 240, 240, 0.1);
}

.heading-mask-container .heading {
    display: flex;
    flex-direction: column;
    padding: 1rem calc(10% + var(--main-padding-lr));
    border-bottom: 1px solid rgba(240, 240, 240, 0.1);
}

.heading-mask-container .heading-wrapper {
    position: relative;
    width: 100%;
    max-width: var(--max-width-narrow);
    align-self: center;
}

.heading-mask-container .title {
    position: relative;
}

.heading-mask-container .heading h3 {
    display: flex;
    justify-content: start;
    column-gap: 3rem;
}

.heading-mask-container .heading-bgtext {
    opacity: 0.2;
}

.heading-mask-container .heading-masking {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    clip-path: inset(0% 100% 0% 0%);
    will-change: clip-path;
}

.heading-mask-container .icon {
    width: min(5vw, 100px);
    aspect-ratio: 1;
    align-self: center;
}

.heading-mask-container .headings-revealed {
    position: absolute;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.heading-mask-container .heading-revealed {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color-highlight);
    padding: 1rem calc(10% + var(--main-padding-lr));
    clip-path: inset(51% 0% 51% 0%);
    transition: clip-path 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: clip-path;
}

.heading-mask-container .heading-revealed h3 {
    display: flex;
    justify-content: start;
    column-gap: 3rem;
    color: var(--dark-font-color);
}

.heading-mask-container .heading-wrapper-revealed {
    position: relative;
    width: 100%;
    max-width: var(--max-width-narrow);
    display: flex;
    justify-content: space-between;
    align-self: center;
}

.heading-mask-container .heading-wrapper-revealed .title {
    white-space: nowrap;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 95%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 95%);
}

.heading-mask-container .heading-wrapper-revealed .description {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    align-content: center;
    font-family: var(--secondary-font);
    font-style: normal;
    font-weight: 700;
    font-size: var(--desc-text-medium-font-size);
    color: var(--dark-font-color);
    text-align: right;
    align-self: center;
    margin: 0;
    padding: 0;
    display: inline;
}

@media (max-width: 980px) {

    /* .heading-mask-container .heading,
    .heading-mask-container .heading-revealed {
        align-items: center;
        padding: 1rem 0;
    } */

    .heading-mask-container .heading-wrapper,
    .heading-mask-container .heading-wrapper-revealed {
        width: auto;
        padding-right: 0;
    }

    .heading-mask-container .heading-wrapper-revealed {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .heading-mask-container .heading-wrapper-revealed .title {
        width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .heading-mask-container .heading-wrapper-revealed .description {
        display: none;
        width: 0%;
    }

    .heading-mask-container .heading h3 {
        column-gap: 1rem;
    }
}




.card-carousel-wrapper {
    width: 100%;
    height: 500vh;
    margin: -125vh 0 -50vh 0;
}

.card-carousel-wrapper .carousel-container {
    width: 100%;
    height: 100vh;
}

.card-carousel-wrapper .carousel-headings {
    position: relative;
    width: 100%;
    height: auto;
    padding: var(--header-size) var(--main-padding-lr) 0 var(--main-padding-lr);
}

.card-carousel-wrapper .heading-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.card-carousel-wrapper .carousel-heading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 0.9em;
    letter-spacing: -0.02em;
}

.card-carousel-wrapper .carousel-heading .line {
    overflow: hidden;
}

.card-carousel-wrapper .carousel-heading .char {
    display: inline-block;
    transform: translateY(120%);
    will-change: transform;
}

.card-carousel-wrapper .carousel-heading .highlight .char {
    color: var(--dark-font-color);
    background-color: var(--bg-color-highlight);
    margin-right: -0.02em;
}

.card-carousel-wrapper .carousel-heading .highlight .char:first-child {
    padding-left: 0.05em;
    margin-left: 0;
}

.card-carousel-wrapper .carousel-heading .highlight .char:last-child {
    padding-right: 0.05em;
    margin-right: 0;
}

.card-carousel-wrapper .card-carousel {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
}

.card-carousel-wrapper .card-carousel .card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    will-change: transform;
}

.card-carousel-wrapper .card .content {
    position: relative;
    width: min(60vw, 60vh);
    height: min(60vw, 60vh);
    display: inline-block;
}

.card-carousel-wrapper .card .image-container {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--bg-color-dark);
}

.card-carousel-wrapper .card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: grayscale(1); */
    transition: transform 0.75s var(--power3-out), filter 0.75s var(--power3-out);
    will-change: transform;
    /* will-change: transform, filter; */
}

.card-carousel-wrapper .card .description {
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: var(--desc-text-medium-font-size);
    color: var(--main-font-color);
    text-align: left;
    padding-top: 1rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity var(--hover-duration) var(--hover-ease), transform var(--hover-duration) var(--hover-ease);
    will-change: opacity, transform;
}

.card-carousel-wrapper .card[data-inview="true"] .description {
    opacity: 1;
    transform: translateY(0);
}

.card-carousel-wrapper .carousel-edge-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: clamp(3rem, 7vw, 5rem);
    aspect-ratio: 1 / 1;
    background-color: var(--bg-color-highlight);
    color: var(--dark-font-color);
    border-radius: min(5vw, 30px) 0 var(--border-radius) 0;
    border: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-carousel-wrapper .carousel-edge-btn .edge-btn-icon {
    width: 50%;
    height: 50%;
    overflow: visible;
}

.card-carousel-wrapper .carousel-edge-btn svg .hover {
    position: absolute;
    transform: translateX(-250%);
}

.card-carousel-wrapper .carousel-edge-btn svg .idle,
.card-carousel-wrapper .carousel-edge-btn svg .hover {
    transition: transform var(--hover-duration) var(--hover-ease);
    will-change: transform;
}

.card-carousel-wrapper .carousel-edge-btn:hover svg .idle {
    transform: translateX(250%);
}

.card-carousel-wrapper .carousel-edge-btn:hover svg .hover {
    transform: translateX(0%);
}

.card-carousel-wrapper .card:has(.carousel-edge-btn:hover) .image-container img {
    transform: scale3d(1.15, 1.15, 1.15);
    /* filter: grayscale(0); */
}


.card-carousel-wrapper .carousel-btn-wrapper {
    position: absolute;
    overflow: hidden;
    pointer-events: none;
}

.card-carousel-wrapper .carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-font-color);
    background: var(--bg-color-highlight);
    padding: 2vw;
    border-radius: 9999px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card-carousel-wrapper .carousel-btn svg {
    width: 3vw;
    height: 3vw;
}

.card-carousel-wrapper.counter .carousel-heading.counter {
    font-family: var(--secondary-font);
    font-size: 10vw;
    line-height: 1em;
}

.card-carousel-wrapper.counter .carousel-heading.full-duration {
    position: relative;
}

.card-carousel-wrapper.counter .card .content {
    max-width: 600px;
    max-height: 600px;
}

.card-carousel-wrapper.counter .card .content .content-container {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    backdrop-filter: blur(15px);
    background-color: var(--bg-color-dynamic-bg-10);
}

.card-carousel-wrapper.counter .card .content .content-container .heading {
    position: relative;
    letter-spacing: -0.03em;
}

.card-carousel-wrapper.counter .card .content .content-container .desc {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: var(--desc-text-font-size);
    color: var(--light-font-color);
    line-height: 1em;
}

.card-carousel-wrapper.counter .card .content .content-container .divider {
    border-top: 1px solid var(--main-font-color);
    width: 25%;
    margin: 1rem 0;
}

@media (max-width: 980px) {
    .card-carousel-wrapper {
        height: auto;
        min-height: 500px;
        margin: 0;
        padding-top: 10vh;
    }

    .card-carousel-wrapper .carousel-container {
        height: 100%;
    }

    .card-carousel-wrapper .card-carousel {
        position: relative;
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        overflow-y: clip;
        scrollbar-width: none;
        display: flex;
        align-items: stretch;
    }

    .card-carousel-wrapper .carousel-headings {
        width: 100%;
        min-height: calc(var(--h3-font-size) * 3 + 1rem);
        padding: 0;
    }

    .card-carousel-wrapper .carousel-heading {
        padding: 0 var(--main-padding-lr);
    }

    .card-carousel-wrapper .carousel-heading .char {
        transform: translateY(120%);
        transition: transform 0.5s ease;
    }

    .card-carousel-wrapper .carousel-heading[data-visible="true"] .char {
        transform: translateY(0%);
    }

    .card-carousel-wrapper .carousel-heading[data-visible="false"][data-forward="true"] .char {
        transform: translateY(-120%);
    }

    .card-carousel-wrapper .carousel-heading[data-visible="false"][data-forward="false"] .char {
        transform: translateY(120%);
    }

    .card-carousel-wrapper .card-carousel .card {
        position: relative;
        align-items: start;
        justify-content: start;
        scroll-snap-align: start;
        padding-left: var(--main-padding);
        padding-right: 2px;
        transform: translate3d(0, 0, 0) !important;
        flex: 0 0 80%;
        aspect-ratio: 1/1;
        height: auto;
        margin-bottom: max(6rem, 14vh);
    }

    #carousel-procedure .card {
        aspect-ratio: unset;
    }

    .card-carousel-wrapper .card-carousel .card:last-child {
        padding-right: var(--main-padding);
    }

    .card-carousel-wrapper .card .content {
        width: 100%;
        height: 100%;
        max-width: unset !important;
        max-height: unset !important;
    }

    /* .card-carousel-wrapper .card .content .description {
        transform: translateY(20px);
    } */

    .card-carousel-wrapper .carousel-btn-wrapper {
        display: none;
    }

    .card-carousel-wrapper.counter .carousel-heading.full-duration .char {
        transform: translateY(0%);
    }

    .card-carousel-wrapper.counter .card .content .content-container {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .card-carousel-wrapper.counter .card .content .content-container {
        padding: 0.5rem;
    }

    .card-carousel-wrapper.counter .card .content .content-container .heading {
        font-size: clamp(1rem, 2vh, 1.25rem);
    }

    .card-carousel-wrapper.counter .card .content .content-container .desc {
        font-size: clamp(1rem, 2.25vh, 1.25rem);
    }
}

@media (max-height: 399px) {
    .card-carousel-wrapper .card .content {
        width: 500px !important;
        height: 280px !important;
    }
}





/* .stacking-containers-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.stacking-containers-wrapper .stack {
    position: relative;
    width: 100%;
    max-width: 1920px;
    display: flex;
    flex-direction: column;
    row-gap: 100px;
}

.stacking-container {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--main-padding) - 100px);
    height: calc(100svh - var(--main-padding) - 100px);
}

.stacking-container .content {
    position: relative;
    width: 100%;
    height: 100%;
}

.stacking-container .content .video-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stacking-container .content .overlay-video {
    position: relative;
    width: 50%;
    height: auto;
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow-even-white);
    z-index: 2;
    scale: 0;
}

.stacking-container .tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--bg-color-highlight);
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow-left);
    padding: 1rem 2rem;
    margin-left: -1rem;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    font-family: var(--main-font);
    text-transform: uppercase;
    color: var(--dark-font-color);
}

.stacking-container .tag .title {
    font-size: var(--sub-heading-font-size);
    font-weight: 700;
}

.stacking-container .tag .categories {
    font-size: var(--desc-text-small-font-size);
    font-weight: 400;
}

.stacking-container .image-container {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background-color: var(--bg-color-dark);
    overflow: hidden;
}

.stacking-container .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */





.video-btn-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    padding-right: var(--main-padding-lr);
    padding-bottom: var(--main-padding-tb);
}

.video-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-color-highlight);
    color: var(--dark-font-color);
    padding: 2vw;
    border-radius: 9999px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--hover-ease) var(--hover-duration);
}

.video-btn svg {
    width: 1.75vw;
    height: 1.75vw;
    position: absolute;
    overflow: visible;
}

.video-btn .idle {
    transition: transform var(--hover-ease) var(--hover-duration);
    will-change: transform;
}

.video-btn .hover {
    transform: translateX(-200%);
    transition: transform var(--hover-ease) var(--hover-duration);
    will-change: transform;
}

@media (hover:hover) and (pointer:fine) {
    .video-btn:hover {
        transform: scale3d(1.2);
    }

    .video-btn:hover .idle {
        transform: translateX(200%);
    }

    .video-btn:hover .hover {
        transform: translateX(0);
    }
}

.video-btn.active {
    transform: scale3d(1.2);
}

.video-btn.active .idle {
    transform: translateX(200%);
}

.video-btn.active .hover {
    transform: translateX(0);
}

@media (max-width: 980px) {
    .stacking-container .card .overlay-video {
        width: calc(100% - var(--main-padding-lr) * 2);
    }

    .stacking-container .tag {
        padding: 0.5rem 1rem;
        margin-top: 60px;
        margin-left: -0.5rem;
    }

    .stacking-container .tag .title {
        font-size: 1.25rem;
    }

    .stacking-container .tag .categories {
        font-size: 0.8rem;
    }

    .video-btn-wrapper {
        padding-right: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .video-btn {
        padding: 1.5rem;
    }

    .video-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}




.stacking-cards-reverse-section {
    width: 100%;
    height: 300vh;
    height: 300svh;
}

.stacking-cards-reverse-section .sticky-container {
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--header-size) 0 3rem 0;
}

.stacking-cards-reverse-section .cards {
    width: 80%;
    max-width: var(--max-width);
    height: 100%;
    perspective: 50vh;
}

.stacking-cards-reverse-section .card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background-color: var(--bg-color-dark);
    will-change: transform;
    /* overflow: hidden; */
}

/* .stacking-cards-reverse-section .content {
    position: relative;
    width: 100%;
    height: 100%;
} */

.stacking-cards-reverse-section .card .video-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stacking-cards-reverse-section .card .overlay-video {
    position: relative;
    width: 50%;
    height: auto;
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow-even-100);
    /* z-index: 2; */
    transform: scale3d(0, 0, 0);
    will-change: transform;
}

.stacking-cards-reverse-section .tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--bg-color-highlight);
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow-left);
    padding: 1rem 1.5rem;
    margin-left: -1rem;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    font-family: var(--main-font);
    text-transform: uppercase;
    color: var(--dark-font-color);
}

.stacking-cards-reverse-section .tag .title {
    font-size: var(--sub-heading-font-size);
    font-weight: 700;
}

.stacking-cards-reverse-section .tag .categories {
    font-size: var(--desc-text-small-font-size);
    font-weight: 400;
}

.stacking-cards-reverse-section .image-container {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    will-change: opacity;
}

.stacking-cards-reverse-section .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 980px) {
    .stacking-cards-reverse-section .cards {
        width: 100%;
        max-width: 600px;
        max-height: 800px;
    }

    .stacking-cards-reverse-section .card .overlay-video {
        width: calc(100% - var(--main-padding-lr) * 2);
        max-width: 500px;
    }

    .stacking-cards-reverse-section .tag {
        padding: 0.5rem 1rem;
        margin-top: 60px;
        margin-left: -0.5rem;
    }

    .stacking-cards-reverse-section .tag .title {
        font-size: 1.25rem;
    }
}

@media (min-width: 981px) {
    .stacking-cards-reverse-section .cards {
        min-width: 900px;
    }
}






.portfolio-showcase-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: var(--main-padding-lr);
}

.portfolio-showcase-container .counter-wrapper {
    position: relative;
    width: 30%;
    height: fit-content;
    /* padding-bottom: 2rem; */
}

.portfolio-showcase-container .counter {
    position: relative;
    width: 100%;
    height: 1em;
    font-family: var(--secondary-font);
    font-weight: 800;
    font-size: min(15vw, 20rem);
    text-align: left;
    color: var(--main-font-color);
    display: flex;
    flex-direction: row;
    justify-content: left;
    line-height: 1em;
    overflow: hidden;
}

.portfolio-showcase-container .digit-dynamic {
    display: flex;
    flex-direction: column;
}

.portfolio-showcase-container .container-wrapper {
    position: relative;
    width: 70%;
    max-width: var(--max-width-narrow);
    display: flex;
    flex-direction: column;
    row-gap: 20vh;
    row-gap: 20svh;
}

.portfolio-showcase-container .container-item {
    position: relative;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.portfolio-showcase-container .content {
    position: relative;
    width: 100%;
    height: 90vh;
    height: 90svh;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    overflow: hidden;
}

.portfolio-showcase-container .image-container,
.portfolio-showcase-container .image-container picture,
.portfolio-showcase-container .container-item img,
.portfolio-showcase-container .video-container {
    width: 100%;
    height: 100%;
}

.portfolio-showcase-container .container-item img {
    object-fit: cover;
}

.portfolio-showcase-container .video-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-showcase-container .video-container .overlay-video {
    position: relative;
    width: 50%;
    height: auto;
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow-even);
    transform: scale3d(0, 0, 0);
}

.portfolio-showcase-container .desc {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    padding-right: var(--main-padding-lr);
}

.portfolio-showcase-container .desc-title {
    font-family: var(--main-font);
    font-size: var(--h4-font-size-small);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--light-font-color);
    padding: 0.75rem 0;
}

.portfolio-showcase-container .desc-tags {
    display: flex;
    column-gap: 0.75rem;
}

.portfolio-showcase-container .desc-tags>*:not(:last-child)::after {
    content: "•";
    font-family: var(--secondary-font);
    margin-left: 0.75rem;
}

.portfolio-showcase-container .desc-tag {
    font-family: var(--main-font);
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    text-wrap: nowrap;
    color: var(--light-font-color);
}

@media (max-width: 980px) {
    .portfolio-showcase-container {
        padding-right: var(--main-padding-lr);
    }

    .portfolio-showcase-container .counter-wrapper {
        display: none;
    }

    .portfolio-showcase-container .container-wrapper {
        width: 100%;
    }

    .portfolio-showcase-container .content {
        height: auto;
        aspect-ratio: 1/1;
        border-radius: var(--border-radius-small);
    }

    .portfolio-showcase-container .video-container .overlay-video {
        width: calc(100% - var(--main-padding-lr) * 2);
    }

    .portfolio-showcase-container .desc {
        flex-direction: column;
        align-items: start;
        row-gap: 10px;
    }

    .portfolio-showcase-container .desc-title {
        padding: 0;
    }

    .portfolio-showcase-container .desc-tags {
        column-gap: 0.25rem;
    }

    .portfolio-showcase-container .desc-tags>*:not(:last-child)::after {
        margin-left: 0.25rem;
    }

    .portfolio-showcase-container .desc-tag {
        font-size: 1rem;
    }
}



.text-marquee-scrolling {
    overflow: hidden;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: min(2vh, 1rem);
}

.text-marquee-scrolling .rail,
.rail-opp {
    display: flex;
}

.text-marquee-scrolling .rail-text {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

@media (max-width: 980px) {
    .text-marquee-scrolling .rail-text {
        font-size: 12vw;
        line-height: 1em;
    }
}

.text-marquee-scrolling .rail-text::after {
    content: '\00a0\00a0\271C\00a0\00a0';
    color: var(--highlight-font-color);
    font-size: 0.5em;
}



.text-highlight-container {
    line-height: 1.1em;
}

@media (max-width: 980px) {
    .text-highlight-container {
        font-size: 7vw;
    }
}

.text-highlight-container.left {
    text-align: left;
}

.text-highlight-container.right {
    text-align: right;
}

.text-highlight-container.center {
    text-align: center;
}

.text-highlight-container .highlight {
    background-color: var(--bg-color-highlight);
    color: var(--dark-font-color);
}

.text-highlight-container.left .highlight {
    border-radius: 0 10px 10px 0;
    padding-right: 1rem;
}

.text-highlight-container.right .highlight {
    border-radius: 0 0 10px 10px;
    padding-left: 1rem;
}

.text-highlight-container.left .highlight,
.text-highlight-container.left .normalized {
    padding-left: var(--main-padding-lr);
}

.text-highlight-container.right .highlight,
.text-highlight-container.right .normalized {
    padding-right: var(--main-padding-lr);
}

.text-highlight-wrapper {
    overflow: visible;
    position: relative;
    display: inline-block;
}

.text-highlight-text {
    /* z-index: 1; */
    position: relative;
    display: inline;
}

.marker .text-highlight-text {
    color: var(--inactive-font-color);
}

.text-highlight-svg svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 115%;
    height: 130%;
    transform: translate(-50%, -50%);
    overflow: visible;
    stroke-linecap: butt;
}

.text-highlight-svg svg path {
    stroke: var(--bg-color-highlight);
    fill: none;
}

.text-highlight-wrapper.circle path {
    stroke-width: 12px;
}

.text-highlight-wrapper.underline path {
    stroke-width: 10px;
}

.text-highlight-wrapper.marker path {
    stroke-width: 70px;
}

.page-404-section {
    height: 100vh;
    height: 100svh;
}

.page-404-grid {
    position: relative;
    display: grid;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background-color: var(--bg-color-dark);
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
    gap: 0px 0px;
    grid-auto-flow: row;
    color: var(--main-font-color);
    padding: var(--header-size) var(--main-padding-lr);
    align-items: center;
    justify-items: center;
}

.page-404-grid .page-404-title {
    width: 50%;
    padding: 0;
}

.page-404-grid .page-404-subtitle {
    font-family: var(--main-font);
    font-size: 2vw;
    padding: 3rem 0;
    text-align: center;
}

@media (max-width: 980px) {
    .page-404-grid .page-404-title {
        width: 80%;
    }

    .page-404-grid .page-404-subtitle {
        font-size: 5vw;
        padding: 2rem 0;
    }
}

.about-section-home {
    width: 100%;
    height: 700vh;
    height: 700svh;
}

.about-container-home {
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-text-grid {
    position: absolute;
    top: 0;
    width: 80%;
    max-width: 100%;
    height: 100%;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: auto;
    grid-template-rows: 1fr 2fr 1fr;
    gap: 0px 0px;
    place-items: center;
    padding: var(--main-padding-tb) 0;
}

.about-text-container {
    width: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    grid-row: 2;
    align-self: center;
}

.about-text-reveal {
    font-family: var(--main-font);
    font-size: var(--h4-font-size-medium);
    color: var(--main-font-color);
    /* color: var(--inactive-font-color); */
    line-height: 1.1em;
}

.about-text-container .quote {
    opacity: 0;
}

.about-text-container .quote svg {
    width: clamp(30px, 4vw, 80px);
    aspect-ratio: 1;
    fill: var(--highlight-font-color);
}

.about-text-container .quote-top {
    align-self: start;
}

.about-text-container .quote-bottom {
    align-self: end;
    transform: rotate(180deg);
}

.about-name-container {
    grid-row: 3;
    align-self: center;
    max-height: min(200px, 25vh);
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 2rem;
    opacity: 0;
}

.about-portrait img {
    width: 125px;
    aspect-ratio: 1;
    border-radius: 50%;
}

.about-details {
    display: flex;
    flex-direction: column;
    font-family: var(--main-font);
}

.about-details .name {
    font-size: 1.5rem;
    color: var(--main-font-color);
}

.about-details .position {
    font-size: 1rem;
    color: var(--secondary-font-color);
}

.about-details .signature {
    position: relative;
    width: clamp(200px, 20vw, 250px);
    margin-top: auto;
}

.about-details .signature svg {
    width: 100%;
    height: 100%;
}

.about-details .signature #signature {
    position: absolute;
    top: 0;
    left: 0;
}

.about-details .signature #signature-bg path {
    fill: var(--inactive-font-color);
}

.about-details .signature #signature path {
    /* stroke: var(--main-font-color); */
    stroke: var(--light-font-color);
    stroke-width: 3;
}

@media (max-width: 980px) {
    .about-section-home {
        height: auto;
        margin-top: 10vh;
    }

    .about-container-home {
        height: auto;
    }

    .about-text-grid {
        width: 100%;
        position: relative;
        display: inline-block;
        margin-top: 10vh;
    }

    .about-text-container.m-left {
        width: 100%;
        align-items: start;
    }

    .about-text-container.m-right {
        width: 100%;
        align-items: end;
    }

    .about-text-container.m-left .about-text-reveal {
        text-align: left;
    }

    .about-text-container.m-right .about-text-reveal {
        text-align: right;
    }

    .about-text-container .quote {
        display: none;
    }

    .about-name-container {
        margin-top: 15vh;
        margin-bottom: 10vh;
    }
}

.about-description {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.about-description .about-container {
    display: flex;
    flex-direction: row;
    column-gap: 2rem;
    width: 100%;
}

.about-description .about-container.right {
    justify-content: end;
    align-items: end;
}

.about-description .about-container-text {
    width: 66%;
    min-width: 600px;
    font-family: var(--main-font);
    color: var(--secondary-font-color);
    font-size: var(--paragraph-font-size);
}

.about-description .about-container-text.right {
    text-align: right;
}

.about-description .about-container-image {
    width: 20%;
    min-width: 300px;
    margin-right: calc((-1) * var(--main-padding-lr));
}

.about-description .about-container-signature {
    display: flex;
    flex-direction: column;
    align-items: end;
    width: calc(20% - var(--main-padding-lr));
    min-width: 250px;
    text-align: right;
}

.about-description .about-name {
    font-family: var(--main-font);
    padding-bottom: 1rem;
}

.about-description .about-name .name {
    font-size: 1.5rem;
    color: var(--main-font-color);
    line-height: 1.5em;
}

.about-description .about-name .desc {
    font-size: 1rem;
    color: var(--secondary-font-color);
    line-height: 1.5em;
}

.about-description .about-signature {
    position: relative;
    max-width: 300px;
}

.about-description .about-signature svg {
    width: 100%;
    height: 100%;
}

.about-description .about-signature #signature {
    position: absolute;
    top: 0;
    left: 0;
}

.about-description .about-signature #signature-bg path {
    fill: var(--inactive-font-color);
}

.about-description .about-signature #signature path {
    stroke: var(--main-font-color);
    stroke-width: 3;
}

@media (max-width: 980px) {
    .about-description .about-container {
        flex-direction: column;
        row-gap: 2rem;
    }

    .about-description .about-container-text {
        width: 100%;
        min-width: unset;
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .about-description .about-container-image {
        width: 90%;
        max-width: 400px;
    }

    .about-description .about-container-signature {
        width: calc(75% - var(--main-padding-lr));
        max-width: 400px;
    }
}



.block-reveal-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.block-reveal-image-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    will-change: clip-path;
}

.block-reveal-image picture img {
    visibility: hidden;
}




.message-typing-container .message-typing {
    width: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--main-font-color);
    border-radius: var(--border-radius);
    font-family: var(--main-font);
    font-size: 1.75rem;
    line-height: 1.2em;
    color: var(--dark-font-color);
}

.message-typing-container .message-typing-wrapper {
    padding: 3rem;
    display: flex;
}

.message-typing-container .message-typing-wrapper.left {
    justify-content: left;
    padding-bottom: 2rem;
}

.message-typing-container .message-typing-wrapper.right {
    justify-content: right;
    padding-top: 2rem;
}

.message-typing-container .message-bubble-left {
    border-radius: var(--border-radius) var(--border-radius) var(--border-radius) 0;
    background-color: var(--bg-color-highlight);
    padding: 2.5rem 5rem;
    transform-origin: left bottom;
}

.message-typing-container .message-bubble-right {
    border-radius: var(--border-radius) var(--border-radius) 0 var(--border-radius);
    background-color: var(--bg-color-light);
    padding: 2.5rem 5rem;
    text-align: right;
    transform-origin: right bottom;
}

.message-typing-container .typing-cursor {
    font-weight: 700;
    color: #555;
    padding-left: 1px;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.message-typing-container .window-header {
    width: 100%;
    height: 4rem;
    border-bottom: 1px solid var(--main-font-color);
}

.message-typing-container .window-buttons {
    position: absolute;
    top: 0;
    left: 0;
    height: 4rem;
    padding-left: 3rem;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 0 0.25rem;
}

.message-typing-container .circle {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background-color: var(--bg-color-light);
}

.message-typing-container .circle.btn-2 {
    opacity: 0.5;
}

.message-typing-container .circle.btn-3 {
    opacity: 0.25;
}

.message-typing-container .window-title {
    width: 100%;
    height: 4rem;
    color: var(--main-font-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media(max-width: 980px) {
    .message-typing-container .message-typing-wrapper {
        padding: 1rem;
    }

    .message-typing-container .window-buttons {
        padding: 1rem;
    }

    .message-typing-container .message-bubble-left,
    .message-typing-container .message-bubble-right {
        padding: 1.5rem 3rem;
    }
}

@media(max-width: 980px) {
    .message-typing-container .message-typing {
        font-size: 1.5rem;
    }

    .message-typing-container .window-header {
        height: 3rem;
    }

    .message-typing-container .window-buttons {
        height: 3rem;
    }

    .message-typing-container .window-title {
        height: 3rem;
        padding: 0 1rem;
        justify-content: end;
    }

    .message-typing-container .circle {
        width: 1rem;
        height: 1rem;
    }

    .message-typing-container .message-bubble-left,
    .message-typing-container .message-bubble-right {
        padding: 1rem 2rem;
    }

    .message-typing-container .message-typing-wrapper.left {
        padding-bottom: 1rem;
    }

    .message-typing-container .message-typing-wrapper.right {
        padding-top: 1rem;
    }
}




.accordion {
    width: 100%;
    font-family: var(--main-font);
}

.accordion .accordion-group {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-font-color);
    color: var(--light-font-color);
}

.accordion .accordion-menu {
    position: relative;
    padding: 1rem 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    font-size: 2rem;
    font-weight: 600;
}

.accordion .accordion-title {
    padding-right: 2rem;
    line-height: 1em;
}

.accordion .accordion-icons {
    display: flex;
    width: 2rem;
    align-items: center;
    justify-content: center;
}

.accordion .accordion-content {
    height: 0;
    overflow: hidden;
    font-size: 1.3rem;
    padding-right: 5rem;
    color: var(--secondary-font-color);
}

.accordion .accordion-content p {
    padding: 1rem 0 !important;
}

.accordion .accordion-content.expanded {
    height: 0;
    overflow: hidden;
}

.accordion .accordion-expand,
.accordion .accordion-collapse {
    position: absolute;
    text-align: center;
    font-size: 1.25em;
}

@media (max-width: 980px) {
    .accordion .accordion-menu {
        font-size: 1.2rem;
        padding: 0;
    }

    .accordion .accordion-content {
        font-size: 1rem;
        padding-right: 0;
    }
}



.about-intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
    padding-top: 20vh;
}

.about-intro .quotes svg {
    width: clamp(30px, 4vw, 80px);
    aspect-ratio: 1;
    fill: var(--highlight-font-color);
    margin: 5px;
}

.about-intro .quotes .quote-bottom {
    transform: rotate(180deg);
}

.about-intro .about-image {
    width: 25%;
    max-width: 200px;
}

.about-intro .about-image img {
    border-radius: 50%;
}

.about-intro .about-divider {
    border-top: 1px solid var(--light-font-color);
    height: 1px;
    width: 33%;
}

.about-intro .about-name {
    font-family: var(--main-font);
}

.about-intro .about-name .name {
    font-size: 1.5rem;
    color: var(--light-font-color);
}

.about-intro .about-name .desc {
    font-size: 1rem;
    color: var(--secondary-font-color);
}

.about-intro .about-signature {
    position: relative;
    width: 25%;
    max-width: 300px;
}

.about-intro .about-signature svg {
    width: 100%;
    height: 100%;
}

.about-intro .about-signature #signature {
    position: absolute;
    top: 0;
    left: 0;
}

.about-intro .about-signature #signature-bg path {
    fill: var(--inactive-font-color);
}

.about-intro .about-signature #signature path {
    stroke: var(--light-font-color);
    stroke-width: 3;
}

@media (max-width: 980px) {
    .about-intro .about-image {
        width: 50%;
    }

    .about-intro .about-divider {
        width: 66%;
    }

    .about-intro .about-signature {
        width: 75%;
    }
}




.hover-card-deck-section {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-card-deck-section .hover-card-deck-wrapper {
    display: flex;
}

.hover-card-deck-section .card {
    width: 20vw;
    min-width: 210px;
    aspect-ratio: 0.8;
}

.hover-card-deck-section .card:not(:first-child) {
    margin: 0 0 0 -7vw;
}

.hover-card-deck-section .card .content {
    width: 100%;
    height: 100%;
    border-radius: 0.6em;
    font-family: var(--main-font);
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    background-color: var(--main-font-color);
}

.hover-card-deck-section .card .content .desc {
    font-size: clamp(0.8rem, 1.25vw, 2rem);
}

.hover-card-deck-section .card .content .desc ul {
    line-height: 1.5em;
}

.hover-card-deck-section .card .content .title-wrapper {
    display: flex;
    align-items: center;
    column-gap: 15px;
    font-size: clamp(0.8rem, 1.25vw, 2rem);
    line-height: 1.25em;
    border-top: 1px dashed #000;
    padding: max(1vw, 1rem) 0 0;
}

.hover-card-deck-section .card .content .bubble {
    width: clamp(2.5rem, 3.3vw, 6rem);
    aspect-ratio: 1;
    border-radius: 100%;
    display: grid;
    place-items: center;
    background-color: var(--bg-color-dark);
}

.hover-card-deck-section .card .content .bubble .media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-card-deck-section .card .content .bubble .media svg {
    width: 60%;
    aspect-ratio: 1;
    fill: var(--main-font-color);
}

.hover-card-deck-section .card:nth-child(1) {
    z-index: 3;
}

.hover-card-deck-section .card:nth-child(2) {
    z-index: 2;
}

.hover-card-deck-section .card:nth-child(3) {
    z-index: 6;
}

.hover-card-deck-section .card:nth-child(4) {
    z-index: 1;
}

.hover-card-deck-section .card:nth-child(5) {
    z-index: 4;
}

.hover-card-deck-section .card:nth-child(6) {
    z-index: 5;
}

.hover-card-deck-section .card:nth-child(2) .content,
.hover-card-deck-section .card:nth-child(4) .content,
.hover-card-deck-section .card:nth-child(6) .content {
    background-color: var(--bg-color-highlight);
}

@media (max-width: 980px) {
    .hover-card-deck-section {
        height: auto;
    }

    .hover-card-deck-section .hover-card-deck-wrapper {
        flex-direction: column;
        row-gap: 1rem;
    }

    .hover-card-deck-section .card {
        width: 100%;
        height: auto;
        margin: 0 !important;
        aspect-ratio: unset;
    }
}





.horizontal-text-scroll-section {
    position: relative;
    height: 500vh;
    overflow: hidden;
}

.horizontal-text-scroll-section .horizontal-text-scroll-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.horizontal-text-scroll-section .text {
    padding: 0 101vw;
    display: flex;
    width: max-content;
    white-space: nowrap;
}

.horizontal-text-scroll-section .letter {
    display: inline-block;
}

.cta-section .cta p {
    font-family: var(--main-font);
    font-size: var(--h4-font-size);
    color: var(--main-font-color);
    line-height: 1em;
    display: block;
    margin: 0;
    padding: 0;
}

picture[data-observe] img {
    opacity: 0;
    transition: opacity 0.5s var(--power3-out);
}

picture img.loaded {
    opacity: 1;
}