/* CSS RESET */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
em,
q,
s,
srike,
strong,
b,
u,
i,
span {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* FONTS */

@font-face {
    font-family: 'ABC Monument Grotesk';
    src: url('../fonts/public/ABCMonumentGrotesk-Light.woff2') format('woff2'),
        url('../fonts/public/ABCMonumentGrotesk-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'ABC Monument Grotesk';
    src: url('../fonts/public/ABCMonumentGrotesk-Regular.woff2') format('woff2'),
        url('../fonts/public/ABCMonumentGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'ABC Monument Grotesk';
    src: url('../fonts/public/ABCMonumentGrotesk-Medium.woff2') format('woff2'),
        url('../fonts/public/ABCMonumentGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
}


@font-face {
    font-family: 'ABC Monument Grotesk SemiMono';
    src: url('../fonts/public/ABCMonumentGroteskSemi-Mono-Light.woff2') format('woff2'),
        url('../fonts/public/ABCMonumentGroteskSemi-Mono-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'ABC Monument Grotesk Mono';
    src: url('../fonts/public/ABCMonumentGroteskMono-Light.woff2') format('woff2'),
        url('../fonts/public/ABCMonumentGrotesk-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'ABC Monument Grotesk Mono';
    src: url('../fonts/public/ABCMonumentGroteskMono-Regular.woff2') format('woff2'),
        url('../fonts/public/ABCMonumentGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
}

/* START */

:root {
    /* color */
    --white: #ffffff;
    --lightGrey: #f2f2f2;
    --grey: #e0e0e0;
    --midGrey: #cccccc;
    --darkGrey: #808080;
    --black: #101010;
    --terracotta: #ef4922;

    /* typography */
    --sansType: "ABC Monument Grotesk", sans-serif;
    --semimonoType: "ABC Monument Grotesk SemiMono", sans-serif;
    --monoType: "ABC Monument Grotesk Mono", monospace;

    /* mesurements */
    --spacing: 1rem;
    --lineStroke: .15rem;
    --indent: 6rem;
    --logoAspectRatio: (469 / 800);
}

::scrollbar {
    display: none;
}

::-webkit-scrollbar {
    width: 0px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0px transparent;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

::selection {
    background: var(--terracotta);
    color: var(--white);
}

@media screen and (max-width: 900px) {
    :root {
        /* mesurements */
        --indent: 4rem;
    }
}


@media screen and (max-width: 700px) {
    :root {
        /* mesurements */
        --indent: 2rem;
    }
}

/* UNDERLINE ANIMATION */

.underline {
    display: inline-block;
    position: relative;
    padding: .25rem .25ch .25rem .25ch;
    margin: -.25rem -.25ch -.2rem -.25ch;

    box-shadow: inset 0 -.075em 0 0 var(--black);
    mix-blend-mode: multiply;
    transition: all 0.3s ease 0s;
    transition-property: box-shadow, color;
}

.underline-alt {
    display: inline-block;
    position: relative;
    padding: .25rem .25ch .25rem .25ch;
    margin: -.25rem -.25ch -.2rem -.25ch;

    box-shadow: inset 0 0 0 0 var(--black);
    mix-blend-mode: multiply;
    transition: all 0.3s ease 0s;
    transition-property: box-shadow, color;
}

@media (hover: hover) {
    .underline:hover {
        color: var(--white);
        box-shadow: inset 0 calc(-1em - 0.4rem) 0 0 var(--black);
        transition: all 0.3s ease 0s;
        transition-property: box-shadow, color;
    }

    .underline-alt:hover {
        color: var(--white);
        box-shadow: inset 0 -.075em 0 0 var(--black);
        transition: all 0.3s ease 0s;
        transition-property: box-shadow, color;
    }
}

html {
    font-size: calc(.58rem + (140vw - 2400px) / 400);
}

body {
    font-family: var(--semimonoType);
    font-weight: 400;
    font-size: 1.6rem;

    color: var(--black);
    background-color: var(--white);

    overflow-x: hidden;

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

body::before,
body::after {
    content: "";

    position: fixed;
    left: 0;

    width: 100vw;
    height: 1rem;

    background-color: var(--white);

    z-index: 25;
}

body::before {
    top: 0;
}

body::after {
    bottom: 0;
}

@media screen and (max-width: 1920px) {
    html {
        font-size: calc(.505rem + (140vw - 1920px) / 400);
    }
}

@media screen and (max-width: 1760px) {
    html {
        font-size: calc(.5225rem + (140vw - 1760px) / 400);
    }
}


@media screen and (max-width: 1200px) {
    html {
        font-size: calc(.45rem + (100vw - 1200px) / 400);
    }
}

@media screen and (max-width: 1080px) {
    html {
        font-size: calc(.45rem + (100vw - 1080px) / 400);
    }
}

@media screen and (max-width: 900px) {
    html {
        font-size: calc(.5rem + (100vw - 1080px) / 400);
    }
}

@media screen and (max-width: 700px) {
    html {
        font-size: calc(.4rem + (100vw - 700px) / 400);
    }
}

@media screen and (max-width: 500px) {
    html {
        font-size: calc(.35rem + (100vw - 500px) / 400);
    }
}

@media screen and (max-width: 350px) {
    html {
        font-size: calc(.3rem + (100vw - 350px) / 400);
    }
}

.outer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12rem;
    padding: 1rem;
}

main {
    display: flex;
    flex-direction: column;
    row-gap: 12rem;
}

@media screen and (max-width: 900px) {
    .outer-wrapper {
        gap: 10rem;
    }

    main {
        row-gap: 10rem;
    }
}


/* NAVIGATION */

body{
    --logoMaxWidth: 35vw;
}

nav {
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    width: 100vw;

    font-family: var(--monoType);
    font-weight: 400;
    font-size: 2rem;

    pointer-events: none;
    z-index: 100;
}

nav::after {
    content: "";

    position: fixed;
    top: 0;
    left: 0;

    display: none;
    width: 100vw;
    height: 1rem;

    background-color: var(--terracotta);

    transition: all .15s ease 0s;
    transition-property: height, opacity;
}

nav.menuOpen{
    --logoMaxWidth: 25vw;
}

@media screen and (max-width: 1080px){
    #about,
    #projects,
    #single-project,
    #contacts{
        --logoMaxWidth: 25vw;
    }
    
/*
    #about nav,
    #projects nav,
    #single-project nav,
    #contacts nav{
        --logoMaxWidth: 25vw;
    }
*/
}

@media screen and (orientation: portrait){
    #about,
    #projects,
    #single-project,
    #contacts{
        --logoMaxWidth: 8.8rem;
    }
    
/*
    #about nav,
    #projects nav,
    #single-project nav,
    #contacts nav{
        --logoMaxWidth: 8.8rem;
    }
*/
}

@media screen and (max-width: 900px){
    nav.menuOpen{
        --logoMaxWidth: 8.8rem;
    }
}

@media screen and (max-width: 700px){
    nav {
        font-size: 2.4rem;
    }
}

/* NAVIGATION BRANDING SECTION */

nav .logo-section {
    display: flex;
    flex-direction: row;
    gap: 10rem;

    transition: all .3s ease 0s;
    transition-property: column-gap;
    
    z-index: 40;
}

nav.menuOpen .logo-section {
    column-gap: 0rem;
}

nav .header-logo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 3rem 2rem;

    pointer-events: all;

    transition: all .3s ease 0s;
    transition-property: margin, gap;
}

nav:not(.menuOpen) .header-logo.small {
    gap: 1rem;
    margin: 2rem 2rem;
}

nav .header-logo h1 {}

nav .header-logo .logo {
    height: 15rem;
    height: calc( var(--logoHeight) );
    min-height: 15rem;
    width: auto;
    max-width: var(--logoMaxWidth);

    fill: var(--black);
    
    transition: all .3s ease 0s;
    transition-property: max-width;
}

#index,
#contacts{
    --logoHeight: ( (var(--vh) * 100) - 11.2rem );
}

#about,
#projects{
    --logoHeight: ( (var(--vh) * 100) - 49.2rem );
}

#single-project{
    --logoHeight: ( (var(--vh) * 100) - 29.2rem );
}

#index nav .header-logo .logo,
#contacts nav .header-logo .logo {
/*    height: calc( (var(--vh) * 100) - 11.2rem );*/
}

#about nav .header-logo .logo,
#projects nav .header-logo .logo {
/*    height: calc( (var(--vh) * 100) - 49.2rem );*/
}

#single-project nav .header-logo .logo {
/*    height: calc( (var(--vh) * 100) - 29.2rem );*/
}

body.onScroll{
    --logoHeight: ( var(--visibleBannerHeight) - 9.2rem ) !important;
}

nav.onScroll .header-logo .logo {
    height: calc( var(--visibleBannerHeight) - 9.2rem ) !important;
}

nav.menuOpen .header-logo .logo {
    height: calc( (var(--vh) * 100) - 11.2rem) !important;
}

header .nav-logo .header-signature {
    margin-top: -.5rem;
}

nav .header-logo .signature {
    font-size: 1.6rem;
    line-height: 1;
    user-select: none;
}

nav .header-logo .signature a {
    user-select: none;
}

nav .header-tagline {
    margin: 3.5rem 3rem 2rem;
    width: 1ch;
    white-space: nowrap;

    transition: all .3s ease 0s;
    transition-property: opacity;
}

nav .header-tagline::after {
    content: "";

    position: absolute;
    top: 3rem;

    display: block;
    width: calc(4.2rem + 1px);
    height: calc(100% - 5rem + var(--lineStroke));

    border-right: solid var(--lineStroke) var(--white);
    
    transition: all .3s ease 0s;
    transition-property: width;
}

nav.menuOpen .header-tagline::after{
    /* updating the width fixes a positioning issue in safari */
    width: calc(4.2rem + 0px);
}

#projects nav .header-tagline::after {
    border-color: var(--black);
}

nav:not(.menuOpen) .header-tagline.hide {
    opacity: 0;
}

nav .header-tagline .tagline {
    direction: rtl;
    text-transform: uppercase;
    letter-spacing: .1rem;
    color: var(--white);

    display: block;
    transform: rotate(-90deg) translateX(0.5ch);

    user-select: none;
}

#projects nav .header-tagline .tagline {
    color: var(--black);
}

@media screen and (orientation: portrait) {
    #index nav .header-logo .logo,
    #contacts nav .header-logo .logo,
    #single-project nav:not(.menuOpen) .header-logo .logo{
        height: calc( (var(--vh) * 72) - 11.2rem);
    }
    
    
    #about nav:not(.menuOpen) .header-logo .logo,
    #projects nav:not(.menuOpen) .header-logo .logo{
        height: calc( (var(--vh) * 60) - 11.2rem);
    }
}

@media screen and (max-width: 1080px) {
    #about nav .logo-section,
    #projects nav .logo-section,
    #single-project nav .logo-section,
    #contacts nav .logo-section{
        column-gap: 0;
    }
}

@media screen and (max-width: 700px) {
    nav .logo-section {
        column-gap: 0;
    }

    #index nav .header-logo .logo,
    #about nav .header-logo .logo,
    #projects nav .header-logo .logo,
    #single-project nav .header-logo .logo,
    #contacts nav .header-logo .logo {
        /*        height: auto;*/
    }
    
    nav .header-tagline{
        margin-left: .5rem;
    }
    
    nav .header-logo .signature {
        font-size: 1.8rem;
    }
}

/* NAVIGATION MENUS SECTION */

nav .nav-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    width: 100%;
    height: fit-content;
}

nav .lang-switch {
    margin: 0 3rem 3rem;

    transition: all .3s ease 0s;
    transition-property: opacity;

    pointer-events: auto;
    z-index: 40;
}

nav:not(.menuOpen) .lang-switch.hide {
    opacity: 0;
}

nav .lang-switch .lang-list {
    display: flex;
    flex-direction: row;
    column-gap: 0;
}

nav .lang-switch .lang-item {
    padding: 3rem 1rem 1rem 1rem;
}

nav .lang-switch .lang-item.active {
    background-color: var(--white);
    pointer-events: none;
}

#projects nav:not(.menuOpen) .lang-switch .lang-item.active {
    background-color: var(--grey);
}

nav .lang-switch .lang-item .label {
    font-family: var(--monoType);
    color: var(--black);

    cursor: pointer;
    user-select: none;
}

nav .lang-switch .lang-item.active .label {
    color: var(--black);
    pointer-events: none;
}

@media (hover: hover) {
    nav .lang-switch .lang-item:hover .label {}
}

nav .navigation {
    --squareSize: 3.75rem;
    pointer-events: auto;
}

nav .navigation > * {}

nav .navigation .menu-btn {
    position: relative;
    width: calc( var(--squareSize) * 3 );
    transform: translateX( var(--squareSize) );

    transition: all .25s ease 0s;
    transition-property: height, width, transform, background-color;

    z-index: 40;
}

nav .navigation .menu-btn::before,
nav .navigation .menu-btn::after {
    content: "";

    position: relative;

    display: block;
    width: var(--squareSize);
    height: var(--squareSize);

    background-color: var(--terracotta);

    transition: all .25s ease 0s;
    transition-property: height, width, background-color, padding, top, left;
}

#contacts nav .navigation .menu-btn::before,
#contacts nav .navigation .menu-btn::after {
    background-color: var(--white);
}

nav .navigation.active .menu-btn::before,
nav .navigation.active .menu-btn::after {
    background-color: var(--white);
}

nav .navigation .menu-btn::before {
    left: calc(var(--squareSize) * -1);
}

nav .navigation .menu-btn::after {
    left: calc(var(--squareSize) * 1);
}

@media (hover:hover) {
    nav .navigation:hover {
        --squareSize: 4.5rem;
    }

    nav .navigation:hover .menu-btn::before,
    nav .navigation:hover .menu-btn::after {
        background-color: var(--white);
    }

    nav .navigation:hover .menu-btn .btn {
        background-color: var(--white);
    }

    #projects nav:not(.menuOpen) .navigation:hover .menu-btn::before,
    #projects nav:not(.menuOpen) .navigation:hover .menu-btn::after {
        background-color: var(--grey);
    }

    #projects nav:not(.menuOpen) .navigation:hover .menu-btn .btn {
        background-color: var(--grey);
    }
}

nav .navigation .menu-btn .btn {
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: var(--terracotta);
    margin-top: calc(var(--squareSize) * -1);

    height: calc(var(--squareSize)* 2);
    width: calc(var(--squareSize)* 2);

    transition: all .25s ease 0s;
    transition-delay: 0s, 0s, .15s, 0s, 0s, 0s;
    transition-property: height, width, background-color, padding, margin, transform;
}

#contacts nav .navigation .menu-btn .btn {
    background-color: var(--white);
}


nav .navigation.active .menu-btn .btn {
    background-color: var(--white);
}

nav .navigation .menu-btn .label {
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    color: var(--black) !important;
}

nav .navigation .menu-btn .btn {
    display: none;
}

nav .navigation .menu-btn .btn.active {
    display: flex;
}

nav .navigation .nav-list-wrapper {
    display: none;
}

nav .navigation.active .nav-list-wrapper {
    display: block;
    position: relative;
}

@media screen and (max-width: 700px) {
    nav .navigation {
        --squareSize: 4.25rem;
    }
    
    @media (hover:hover) {
        nav .navigation:hover {
            --squareSize: 4.75rem;
        }
    }
}

/* NAV BUTTONS */

nav .navigation .nav-list {
    --squareSize: 10.8rem;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;

    background-color: #cccccc99;
    height: calc( (var(--vh) * 100) - 2rem);
    width: calc(100vw - 2rem);

    position: fixed;
    right: 1rem;
    top: 1rem;

    -webkit-backdrop-filter: blur(.5rem);
    backdrop-filter: blur(.5rem);

    transition: all .15s ease 0s;
    transition-property: background-color;

    z-index: 25;
}

nav .navigation .nav-item {
    display: flex;
    position: fixed;

    transition: all .15s ease 0s;
    transition-property: transform;
}

nav .navigation .nav-item.ss01 {
    justify-content: flex-end;
    align-items: flex-start;

    height: calc(var(--squareSize)* 3);
    width: calc(var(--squareSize)* 3);
    
    top: calc(var(--vh) * 10);
    right: calc( (100vw - (var(--logoMaxWidth) + 12.5rem)) / 2 - var(--squareSize) );
}

nav .navigation .nav-item.ss02 {
    justify-content: flex-start;
    align-items: flex-end;

    height: calc(var(--squareSize)* 3);
    width: calc(var(--squareSize)* 3);
    
    bottom: calc(var(--vh) * 10);
    left: calc( var(--logoMaxWidth) + 12.5rem + 5vw );
}

nav .navigation .nav-item.ss03 {
    justify-content: flex-end;
    align-items: flex-end;

    height: calc(var(--squareSize)* 4);
    width: calc(var(--squareSize)* 3.5);
    
    bottom: calc(var(--vh) * 20);
    right: 5vw;
}

nav .navigation .nav-item a .label-wrapper,
nav .navigation .nav-item a::before,
nav .navigation .nav-item a::after {
    background-color: var(--terracotta);

    transition: all .3s ease 0s;
    transition-property: background-color;
}

nav .navigation .nav-item a::before,
nav .navigation .nav-item a::after {
    content: "";
    display: block;
    position: absolute;

    transition: all .3s ease 0s;
    transition-property: background-color;

    z-index: 40;
}

nav .navigation .nav-item a {
    position: absolute;
}

nav .navigation .nav-item a::before {
    transition-delay: .15s;
}

nav .navigation .nav-item a::after {
    transition-delay: .3s;
}

nav .navigation .nav-item.ss01 a::before {
    height: var(--squareSize);
    width: calc(var(--squareSize)* 3);
    bottom: 0;
    right: 0;
}


nav .navigation .nav-item.ss01 a::after {
    height: calc(var(--squareSize)* 3);
    width: calc(var(--squareSize)* 1);
    left: 0;
    top: 0;
}

nav .navigation .nav-item.ss02 a::before {
    height: calc(var(--squareSize)* 3);
    width: var(--squareSize);
    bottom: 0;
    left: 0;
}


nav .navigation .nav-item.ss02 a::after {
    height: var(--squareSize);
    width: calc(var(--squareSize)* 3);
    bottom: 0;
    left: 0;
}

nav .navigation .nav-item.ss03 a::before {
    height: var(--squareSize);
    width: calc(var(--squareSize)* 3.5);
    bottom: 0;
    right: 0;
}


nav .navigation .nav-item.ss03 a::after {
    height: calc(var(--squareSize)* 4);
    width: calc(var(--squareSize)* 1.5);
    right: 0;
    bottom: 0;
}

nav .navigation .nav-item .label-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    z-index: 50;
}

nav .navigation .nav-item.ss01 .label-wrapper {
    height: calc(var(--squareSize)* 2);
    width: calc(var(--squareSize)* 2);
}

nav .navigation .nav-item.ss02 .label-wrapper {
    height: calc(var(--squareSize)* 2);
    width: calc(var(--squareSize)* 2);
}

nav .navigation .nav-item.ss03 .label-wrapper {
    height: calc(var(--squareSize)* 2);
    width: calc(var(--squareSize)* 2.5);
}


nav .navigation .nav-item .label {
    font-size: 2.4rem;
    text-transform: uppercase;
    color: var(--black) !important;

    user-select: none;
}

@media (hover:hover) {
    nav .navigation .nav-item:hover {
        transform: scale(1.05);
    }

    nav .navigation .nav-item:hover a .label-wrapper,
    nav .navigation .nav-item:hover a::before,
    nav .navigation .nav-item:hover a::after {
        background-color: var(--white);
    }
}

@media screen and (max-width: 1200px), screen and (orientation: portrait) {
    nav .navigation .nav-list{
        --squareSize: 13rem;
    }
    
    nav .navigation .nav-item.ss01 {
        top: calc(var(--vh) * 5);
    }
    
    nav .navigation .nav-item.ss02 {
        bottom: calc(var(--vh) * 5);
    }
    
    nav .navigation .nav-item.ss03 {
        bottom: calc( (var(--vh) * 100) / 2 - var(--squareSize) * 2 );
    }
}

@media screen and (max-width: 900px) {
    nav .navigation .nav-list{
        --squareSize: 12rem;
    }
}

@media screen and (max-width: 500px) {
    nav .navigation .nav-list{
        --squareSize: 10rem;
    }
    
    nav .navigation .nav-item.ss03 {
        bottom: calc( (var(--vh) * 100) / 2 );
        transform: translateY( calc( 40% ) );
    }
}

/* POPUP SECTION */

.popup-wrapper{
    --padding: var(--indent);
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 4rem calc(var(--padding) / 2) 3rem var(--padding);
    background-color: var(--white);
    width: calc( var(--navWidth) - 4rem - var(--padding) * 1.5 );
    max-width: calc( 100vw - ( ( var(--logoMaxWidth) ) + 16rem + 1ch + var(--padding) * 1.5 ) );
    z-index: 35;
}

.popup-wrapper::after{
    content: "";
    display: block;
    position: absolute;
    background-color: var(--white);
    
    font-family: var(--monoType);
    color: var(--terracotta);
    
    padding: 2.5rem 2rem;
    
    height: 6rem;
    width: 75%;
    
    right: 0;
    top: .5px;
    
    transform: translateY(-6rem);
    z-index: 35;
}

.popup-wrapper .popup-content{
    display: flex;
    flex-direction: column;
    row-gap: 8rem;
}

.popup-wrapper .cta-group{
    display: flex;
    flex-direction: row;
    gap: 4rem;
}

.popup-wrapper .cta-group .cta-wrapper{
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .popup-wrapper .cta-group{
        flex-direction: column;
    }
}

@media screen and (max-width: 700px) {
    #index:has(.popup-wrapper) .header-signature{
        display: none;
    }
    
    #index:has(.popup-wrapper) nav .header-tagline::after{
        height: calc(100% - 12rem + var(--lineStroke));
    }
    
    .popup-wrapper{
        width: calc( 100vw - 2rem - var(--padding) * 1.5 );
        max-width: unset;
    }
}

@media screen and (orientation: portrait) {
    #index:has(.popup-wrapper) .banner-section .page-banner{
        height: calc((var(--vh) * 96) - 2rem);
    }
}

/* PAGE BANNERS */

.banner-section .page-banner {
    position: relative;
}

#index .banner-section .page-banner,
#contacts .banner-section .page-banner {
    height: calc( (var(--vh) * 100) - 2rem);
    width: calc(100vw - 2rem);
}

#about .banner-section .page-banner,
#projects .banner-section .page-banner,
#single-project .banner-section .page-banner {
    height: calc( (var(--vh) * 100) - 40rem);
    width: calc(100vw - 2rem);
}

#single-project .banner-section .page-banner {
    height: calc( (var(--vh) * 100) - 20rem);
    width: calc(100vw - 2rem);
}

#contacts .banner-section .page-banner {
    background-color: var(--terracotta);
}

#contacts.oxid-form .banner-section .page-banner{
    background-color: #714127;
}

.banner-section .page-banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.banner-section .banner-info-wrapper {
    --width:( var(--logoHeight) * var(--logoAspectRatio) );

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;

    align-items: flex-end;
    padding: 0 0 0 3rem;
    width: calc( 100vw - ( var(--width) + 26.5rem + 1ch ) );
    min-width: calc( 100vw - ( ( var(--logoMaxWidth) ) + 26.5rem + 1ch ) );

    position: absolute;
    bottom: 0;
    right: 0;
}

#contacts .banner-section .banner-info-wrapper {
    flex-direction: column;
    align-items: flex-start;
    
    height: calc(100% - 12rem);
    width: calc( 100vw - ( var(--width) + 26.5rem + 1ch ) - 3rem );
    min-width: calc( 100vw - ( ( var(--logoMaxWidth) ) + 26.5rem + 1ch ) - 3rem );
    padding: 0 3rem 2rem;
}

#contacts .banner-section .banner-info-wrapper ::selection {
    background: var(--white);
    color: var(--terracotta);
}

.banner-section .banner-info-wrapper h2 {
    color: var(--white);
}

#about .banner-section .banner-info-wrapper h2 {
    
}

#contacts .banner-section .banner-info-wrapper h2 {
    max-width: 14ch;
}

#contacts .banner-section .banner-info-wrapper h2 > span {
    background-color: unset;
}

#projects .banner-section .banner-info-wrapper h2 {
    color: var(--black);
    margin-bottom: 1.5rem;
}

#single-project .banner-section .banner-info-wrapper h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: min-content;

    margin-bottom: 0;
}

#about .banner-section .banner-info-wrapper h2,
#single-project .banner-section .banner-info-wrapper .street-number,
#single-project .banner-section .banner-info-wrapper .street-name {
    color: var(--black);
    background-color: var(--white);
    padding: 1rem 2rem;
}

#single-project .banner-section .banner-info-wrapper .street-number {
    font-size: .65em;
}

#single-project .banner-section .banner-info-wrapper .street-name {
    padding-bottom: 2rem;
}

.banner-section .banner-info-wrapper .banner-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    margin-bottom: 1.5rem;
}

#projects .banner-section .banner-info-wrapper .banner-info{
    margin-right: 6rem;
}

#about .banner-section .banner-info-wrapper .banner-info,
#single-project .banner-section .banner-info-wrapper .banner-info {
    margin-bottom: 0;
}

#single-project .banner-section .banner-info-wrapper .banner-project-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#single-project .banner-section .banner-info-wrapper .banner-project-details .details-wrapper {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

#single-project .banner-section .banner-info-wrapper .banner-project-details .label,
#single-project .banner-section .banner-info-wrapper .banner-project-details .value {
    font-size: 2rem;
    color: var(--white);
    padding: unset;
}

#single-project .banner-section .banner-info-wrapper .banner-project-details .label {
    font-family: var(--monoType);
    font-weight: 400;
}

#single-project .banner-section .banner-info-wrapper .banner-project-details .value {
    font-family: var(--sansType);
    font-weight: 500;
}

#about .banner-section .banner-info-wrapper .video-cta,
#single-project .banner-section .banner-info-wrapper .go-back-cta {
    flex-direction: row;
    column-gap: 2rem;
    position: relative;
    bottom: unset;
    left: unset;
}

#single-project .banner-section .banner-info-wrapper .go-back-cta {
    background-color: var(--white);
}

#about .banner-section .banner-info-wrapper .video-cta .cta,
#single-project .banner-section .banner-info-wrapper .go-back-cta .cta {
    background-color: var(--white);
    border-bottom: unset;
}

#about .banner-section .banner-info-wrapper .cta-text,
#single-project .banner-section .banner-info-wrapper .cta-text {
    padding-left: 2rem;
}

#about .banner-section .banner-info-wrapper .cta-icon,
#single-project .banner-section .banner-info-wrapper .cta-icon {
    background-color: var(--white);
}

#about .banner-section .banner-info-wrapper .cta-wrapper,
#single-project .banner-section .banner-info-wrapper .cta-wrapper {
    --color: var(--darkGrey);
}

#projects .banner-section .banner-info-wrapper .bannerdesc-wrapper {
    max-width: 52ch;
}

#about .banner-section .banner-info-wrapper .video-cta:hover .cta {
    gap: 2.8rem;
}

#single-project .banner-section .banner-info-wrapper .go-back-cta:hover .cta {
    gap: 2.1rem;
}

@media screen and (max-width: 1200px){
    #projects .banner-section .banner-info-wrapper{
        flex-direction: column;
        align-items: flex-start;
    }
    
    #projects .banner-section .banner-info-wrapper  > *{
        margin-right: 6rem;
    }
    
    #projects .banner-section .banner-info-wrapper .bannerdesc-wrapper{
        max-width: 100%;
    }
}

@media screen and (orientation: portrait) {
    #index .banner-section .page-banner,
    #contacts .banner-section .page-banner,
    #single-project .banner-section .page-banner{
        height: calc( (var(--vh) * 72) - 2rem);
    }
    
    #about .banner-section .page-banner,
    #projects .banner-section .page-banner{
        height: calc( (var(--vh) * 60) - 2rem);
    }
}

@media screen and (max-width: 1080px){
    .banner-section .banner-info-wrapper{
        width: calc( 100vw - ( var(--width) + 16.5rem + 1ch ) );
        min-width: calc( 100vw - ( ( var(--logoMaxWidth) ) + 16.5rem + 1ch ) );
    }
    
    #contacts .banner-section .banner-info-wrapper{
        width: calc( 100vw - ( var(--width) + 16.5rem + 1ch ) - 3rem );
        min-width: calc( 100vw - ( ( var(--logoMaxWidth) ) + 16.5rem + 1ch ) - 3rem );
    }
}

@media screen and (max-width: 700px) {
    .banner-section .banner-info-wrapper{
        width: calc( 100vw - ( ( var(--width) ) + 14rem + 1ch ) );
        min-width: calc( 100vw - ( ( var(--logoMaxWidth) ) + 14rem + 1ch ) );
    }
    
    #contacts .banner-section .banner-info-wrapper{
        width: calc( 100vw - ( var(--width) + 14rem + 1ch ) - 3rem );
        min-width: calc( 100vw - ( ( var(--logoMaxWidth) ) + 14rem + 1ch ) - 3rem );
    }
    
    #about .banner-section .banner-info-wrapper,
    #projects .banner-section .banner-info-wrapper,
    #single-project .banner-section .banner-info-wrapper{
        flex-direction: column;
        gap: 4rem;
    }
    
    #single-project .banner-section .banner-info-wrapper > * {
        width: 100%;
    }
    
    #single-project .banner-section .banner-info-wrapper .street-name {
        padding-bottom: 4rem;
    }
    
    #single-project .banner-section .banner-info-wrapper .banner-project-details{
        display: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem 6rem;
    }
    
    #single-project .banner-section .banner-info-wrapper .banner-project-details .details-wrapper{
        display: flex;
        flex-direction: column;
        gap: .5rem;
        width: fit-content;
    }
}

/* FOOTER */

footer {
    font-family: var(--sansType);
    font-weight: 400;

    position: relative;
    background-color: var(--terracotta);
    padding: 2rem;
}

footer .logo-section {
    display: flex;
    flex-direction: row;
    column-gap: 3rem;

    transition: all .8s ease 0s;
    transition-property: column-gap;
}

footer .footer-tagline::after {
    content: "";

    position: absolute;
    top: 3rem;

    display: block;
    width: calc(4.2rem + 1px);
    height: calc(100% - 4rem + var(--lineStroke));

    border-right: solid var(--lineStroke) var(--white);
}

footer .footer-logo {
    display: flex;
    flex-direction: column;
    gap: 3rem;

    padding-right: 5rem;
    border-right: solid var(--lineStroke) var(--black);
}

footer .footer-logo h1 {}

footer .footer-logo .logo {
    height: 12rem;
    width: auto;

    fill: var(--black);
}

footer .footer-logo .header-signature {
    margin-top: -.5rem;
}

footer .footer-logo .signature {
    font-family: var(--monoType);
    font-size: 1.4rem;
    line-height: 1;
}

footer .footer-logo .signature a {
    user-select: none;
}

footer .footer-tagline {
    margin: 3.5rem 3rem;
    width: 1ch;
    white-space: nowrap;

    transition: all .3s ease 0s;
    transition-property: opacity;
}

footer .footer-tagline .tagline {
    text-transform: uppercase;
    color: var(--white);

    display: block;
    transform: rotate(-90deg) translateX(-13.5ch);
}

footer .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 100%;
}

footer .footer-buttons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

footer .footer-buttons svg {
    fill: var(--black);
    height: 3rem;
    width: 3rem;
    display: block;
}

footer .lang-switch {
    margin: 0 3rem;
    margin-top: calc( (2rem + 1px) * -1  );

    pointer-events: auto;
}

footer .lang-switch .lang-list {
    display: flex;
    flex-direction: row;
    column-gap: 0;
}

footer .lang-switch .lang-item {
    padding: 3rem 1rem 1rem 1rem;
}

footer .lang-switch .lang-item.active {
    background-color: var(--white);
    pointer-events: none;
}

footer .lang-switch .lang-item .label {
    font-family: var(--monoType);
    color: var(--black);

    cursor: pointer;
    user-select: none;
}

footer .lang-switch .lang-item.active .label {
    color: var(--black);
    pointer-events: none;
}

@media (hover: hover) {
    footer .lang-switch .lang-item:hover .label {}
}

footer .footer-contacts{
    
}

footer .footer-contacts .contact-list{
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

footer .footer-contacts .contact-item{
    font-family: var(--monoType);
    line-height: 1;
}

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

footer .footer-credits .credits {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

/* GENERAL STYLES */

.section {}

/* Headings */

.section .heading {
    font-family: var(--semimonoType);
    font-weight: 300;
    font-size: 9rem;
    line-height: .95;
}

.section .heading.large {
    font-size: 10.8rem;
    letter-spacing: -.25rem;
    max-width: 90rem;
}

.section .heading.medium {
    font-size: 9rem;
}

.section .heading.small {
    font-size: 7.2rem;
}

.section .heading.extra-small {
    font-size: 5.4rem;
}

.section .heading.smallest {
    font-size: 3.6rem;
}

@media screen and (max-width: 1080px) {
.section .heading.large {
        font-size: 10.2rem;
        max-width: 80rem;
    }

    .section .heading,
    .section .heading.medium {
        font-size: 8.4rem;
    }

    .section .heading.small,
    #single-project .banner-section .banner-info-wrapper h2{
        font-size: 6.6rem;
    }

    .section .heading.extra-small {
        font-size: 4.8rem;
    }

    .section .heading.smallest {
        font-size: 3rem;
    }
}

@media screen and (max-width: 900px) {
    .section .heading.large {
        font-size: 9rem;
        max-width: unset;
    }

    .section .heading,
    .section .heading.medium {
        font-size: 8.4rem;
    }

    .section .heading.small {
        font-size: 7.2rem;
    }

    .section .heading.extra-small {
        font-size: 5.4rem;
    }

    .section .heading.smallest {
        font-size: 3.6rem;
    }
}

@media screen and (max-width: 700px) {
    .section .heading.large {
        font-size: 9.6rem;
    }

    .section .heading,
    .section .heading.medium {
        font-size: 8.4rem;
    }

    .section .heading.small {
        font-size: 7.2rem;
    }

    .section .heading.extra-small {
        font-size: 5.4rem;
    }

    #projects .section .heading.extra-small,
    .section .heading.smallest {
        font-size: 4.8rem;
    }
}

@media screen and (max-width: 500px){
    #contacts .section .heading.medium{
        font-size: 5.4rem;
    }
}

@media screen and (max-width: 350px) {
    .section .heading.large {
        font-size: 8.4rem;
    }

    .section .heading,
    .section .heading.medium {
        font-size: 7.2rem;
    }

    .section .heading.small {
        font-size: 6rem;
    }

    .section .heading.extra-small,
    #contacts .section .heading.medium{
        font-size: 4.8rem;
    }

    .section .heading.smallest {
        font-size: 3.6rem;
    }
}

/* Body Text */

.section .text {
    font-family: var(--sansType);
    font-weight: 300;
    line-height: 1.25;
    color: var(--darkGrey);
}

.section .text.large {
    font-size: 4.2rem;
}

.section .text.medium {
    font-size: 3.6rem;
}

.section .text.small {
    font-size: 2.4rem;
}

@media screen and (max-width: 1080px) {
    .section .text.large {
        font-size: 3.6rem;
    }

    .section .text.medium {
        font-size: 3rem;
    }

    .section .text.small {
        font-size: 2.4rem;
    }
}


@media screen and (max-width: 700px) {
    .section .text.large {
        font-size: 4.8rem;
    }
    
    .section .text.medium {
        font-size: 4.2rem;
    }

    .section .text.small {
        font-size: 3rem;
    }
}

@media screen and (max-width: 350px) {
    .section .text.large {
        font-size: 4.2rem;
    }
    
    .section .text.medium {
        font-size: 3.6rem;
    }

    .section .text.small {
        font-size: 3rem;
    }
}

/* Labels */

.section .label {
    font-family: var(--sansType);
    font-weight: 500;
    font-size: 2.4rem;
    color: var(--terracotta);
    padding: 1rem 0;
}

@media screen and (max-width: 700px) {
    .section .label {
        font-size: 3.2rem;
        padding: .5rem 0;
    }
}

/* CTAs */

.section .cta-wrapper {
    --color: var(--terracotta);
    --hl-color: var(--terracotta);
}

.section .cta-wrapper.reverse .cta {
    flex-direction: row-reverse;
    padding: 0 1rem;
}

.section .cta-wrapper .cta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;

    border-bottom: solid var(--lineStroke) var(--color);
/*    margin-bottom: calc(var(--lineStroke) * -1);*/
    
    transition: all 0.15s ease 0s;
}

.section .cta-wrapper.cta-form .cta{
    align-items: flex-end;
    gap: 2rem;
    border-bottom: none;
}

.section .cta-text {
    font-family: var(--sansType);
    font-weight: 300;
    font-size: 2rem;
    color: var(--darkGrey);

    white-space: nowrap;
    user-select: none;
    transition: all 0.15s ease 0s;
}

.section .cta-form .cta-text {
    padding-bottom: .75rem;
    border: none;
    border-bottom: solid var(--lineStroke) var(--color);
    width: 100%;
}

.section .cta-form .cta-text:focus {
    outline: none !important;
    border: none;
    border-bottom: solid var(--lineStroke) var(--midGrey);
    box-shadow: none;
}

.section .cta-form button{
    border: none;
    padding: 0;
    margin: 0;
}

.section .cta-form button .fallback{
    display: none;
}

.section .cta-icon {
    display: flex;
    align-items: center;

    background-color: var(--lightGrey);

    padding: 1rem;
    padding-left: 8rem;

    height: 2.4rem;
    width: 4rem;

    cursor: pointer;

    transition: all 0.15s ease 0s;
}

.section .cta-icon.back {
    transform: rotate(180deg);
}

.section .cta-icon .arrow {
    --arrowProp: -.6rem;

    display: block;
    position: relative;
    background-color: var(--color);
    margin: 0 auto;

    height: var(--lineStroke);
    width: 4rem;

    transition: all 0.15s ease 0s;
}

.section .cta-form .cta-icon .arrow{
    border: none;
}

.section .cta-icon .arrow::after,
.section .cta-icon .arrow::before {
    content: "";
    background-color: var(--color);

    display: block;
    height: var(--lineStroke);
    width: 1.9rem;

    position: absolute;
    right: -.3rem;

    transition: all 0.15s ease 0s;
}

.section .cta-icon .arrow::after {
    top: var(--arrowProp);
    transform: rotate(45deg);
}

.section .cta-icon .arrow::before {
    bottom: var(--arrowProp);
    transform: rotate(-45deg);
}

@media (hover: hover) {
    .section .cta-wrapper.emulate-hover .cta-text,
    .section .cta-wrapper:not(.cta-form):hover .cta-text,
    .section .cta-wrapper.cta-form .cta-text:hover{
        font-weight: 300;
        letter-spacing: .1rem;
        color: var(--hl-color);
    }

    .section .cta-wrapper.emulate-hover .cta-icon,
    .section .cta-wrapper:not(.cta-form):hover .cta-icon,
    .section .cta-wrapper.cta-form .cta-icon:hover {
        padding: 1rem .2rem 1rem 4rem;
        width: 8.8rem;
    }

    .section .cta-wrapper.emulate-hover .arrow,
    .section .cta-wrapper:not(.cta-form):hover .arrow,
    .section .cta-wrapper.cta-form .cta-icon:hover .arrow{
        --arrowProp: -1.1rem;
        background-color: var(--hl-color);
        width: 8.8rem;
    }

    .section .cta-wrapper.emulate-hover .arrow::after,
    .section .cta-wrapper.emulate-hover .arrow::before,
    .section .cta-wrapper:not(.cta-form):hover .arrow::after,
    .section .cta-wrapper:not(.cta-form):hover .arrow::before,
    .section .cta-wrapper.cta-form .cta-icon:hover .arrow::after,
    .section .cta-wrapper.cta-form .cta-icon:hover .arrow::before{
        background-color: var(--hl-color);
        width: 3.25rem;
        right: -.5rem;
    }
}

@media screen and (max-width: 700px) {
    .section .cta-text {
        font-size: 3rem;
    }
}

/* MISC */

.switch-icon {
    --iconProp: 2rem;

    display: block;
    height: var(--iconProp);
    width: var(--iconProp);
    position: relative;

    transition: all 0.15s ease 0s;
}

.switch-icon::before,
.switch-icon::after {
    content: "";
    background-color: var(--terracotta);

    display: block;
    height: var(--lineStroke);
    width: var(--iconProp);

    position: absolute;
    top: 50%;

    transition: all 0.15s ease 0s;
}

.switch-icon::after {
    transform: rotate(-90deg);
}

.active .switch-icon::before,
.active .switch-icon::after {
    background-color: var(--black);
}

.active .switch-icon::before {
    transform: rotate(45deg);
}

.active .switch-icon::after {
    transform: rotate(-45deg);
}

@media (hover: hover) {
    :hover > .switch-icon {
        --iconProp: 3rem;
    }

    .switch-icon:hover {
        cursor: pointer;
    }
}

.section .textBlock-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
}

.section .text-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;

    border-bottom: solid var(--lineStroke) var(--terracotta);
}

.section .text-header .label-wrapper {
    display: flex;
    align-items: center;
}

.section .text-header .cta {
    border-bottom: none;
}

.corner-pattern {
    --squareSize: 3rem;

    position: absolute;
    top: 0;
    right: 0;

    transition: all .3s ease 0s;
    transition-delay: .1s 0s 0s 0s 0s;
    transition-property: background-color, height, width, top, right;
}

.corner-pattern::before,
.corner-pattern::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    display: block;
}

.corner-pattern::before {
    transition: all .3s ease 0s;
    transition-delay: .2s 0s 0s 0s 0s;
    transition-property: background-color, height, width, top, right;
}

.corner-pattern::after {
    transition: all .3s ease 0s;
    transition-delay: .3s 0s 0s 0s 0s;
    transition-property: background-color, height, width, top, right;
}

.corner-pattern.terracotta,
.corner-pattern.terracotta::before,
.corner-pattern.terracotta::after {
    background-color: var(--terracotta);
}

.corner-pattern.white,
.corner-pattern.white::before,
.corner-pattern.white::after {
    background-color: var(--white);
}

/* Corner Pattern SS01 */
.corner-pattern.ss01 {
    height: calc(var(--squareSize) * 1);
    width: calc(var(--squareSize) * 1);
}

.corner-pattern.ss01::before {
    width: calc(var(--squareSize) * 2);
    height: var(--squareSize);
}

.corner-pattern.ss01::after {
    width: var(--squareSize);
    height: calc(var(--squareSize) * 2);
}

/* Corner Pattern SS02 */
.corner-pattern.ss02 {
    height: calc(var(--squareSize) * 2);
    width: calc(var(--squareSize) * 2);
}

.corner-pattern.ss02::before {
    width: calc(var(--squareSize) * 3);
    height: var(--squareSize);
}

.corner-pattern.ss02::after {
    width: var(--squareSize);
    height: calc(var(--squareSize) * 3);
}

/* Corner Pattern SS03 */
.corner-pattern.ss03 {
    height: calc(var(--squareSize) * 1);
    width: calc(var(--squareSize) * 4);
}

/* Corner Pattern SS04 */
.corner-pattern.ss04 {
    height: calc(var(--squareSize) * 2);
    width: calc(var(--squareSize) * 2);
}

/* Corner Pattern SS05 */
.corner-pattern.ss05 {
    height: calc(var(--squareSize) * 4);
    width: calc(var(--squareSize) * 1);
}

/* ABOUT EXCERPT SECTION */

.aboutExerpt-section {


    display: flex;
    flex-direction: column;
    row-gap: 8rem;

    width: calc(100% - var(--indent) * 2);

    padding: 0 var(--indent);
}

@media screen and (max-width: 700px) {
    .aboutExerpt-section {}
}

/* ABOUT SECTION */

.about-section {
    display: flex;
    flex-direction: column;
    row-gap: 8rem;

    width: calc(100% - var(--indent) * 2);

    padding: 0 var(--indent);
}

.about-section .about-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 6rem;
    padding-right: calc(var(--indent) * 2);
}

.about-section .block-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.about-section .block-wrapper .subheading-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
}

.about-section .block-wrapper .subheading,
.about-section .block-wrapper .subheading-icon {
    font-family: var(--sansType);
    font-weight: 300;
}

.about-section .block-wrapper .subheading {
    font-size: 2.2rem;
    color: var(--darkGrey);
}

.about-section .block-wrapper .subheading-icon {
    font-size: 2.4rem;
    color: var(--terracotta);
}

.about-section .block-wrapper .text {
    display: flex;
    flex-direction: column;
    max-width: 40ch;
}

@media screen and (max-width: 900px) {
    .about-section .about-text {
        flex-direction: column;
    }
    
    .about-section .block-wrapper .text{
        max-width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .about-section .about-text {
            padding-right: calc(var(--indent) * 1);
    }
}

/* VIDEO SECTION */

.video-section .video-banner {
    position: relative;
    height: 56rem;
    width: calc(100vw - 2rem);
    overflow: hidden;
}

.video-section .video-banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    
    transition: all 0.3s ease 0s;
    transition-property: transform;
}

.video-section .video-banner .video-cta .cta {
    flex-direction: row-reverse;
    column-gap: 3rem;

    border-bottom: unset;

    position: absolute;
    bottom: 4rem;
    left: 4rem;
}

.video-section .video-banner .video-cta .cta-icon {
    background-color: var(--white);
}

.video-section .video-embed {
    position: fixed !important;
    top: 0;
    left: 0;
    
    visibility: hidden;
    background-color: var(--white);
    height: calc( var(--vh) * 100 );
    width: 100vw;
    object-fit: contain;
    opacity: 0;
    
    transform: scale(0.85);
    transition: all .9s ease 0s;
    transition-property: transform, opacity;
    
    pointer-events: none;
    z-index: 120;
}

.video-section .video-embed.active {
    display: block;
    visibility: visible;
    
    opacity: 1;
    
    transform: scale(1);
    pointer-events: auto;
}

.video-section .video-embed iframe{
    position: absolute;
    top: 0;
    left: 0;
    
    padding: 1rem;
    height: calc( (var(--vh) * 100) - 2rem);
    width: calc(100vw - 2rem);
    
    pointer-events: none;
}

.video-section .video-embed.active iframe {
    pointer-events: all;
}

.video-section .video-embed .close-video {
    font-family: var(--monoType);
    font-weight: 400;
    font-size: 1.8rem;
    
    position: fixed;
    top: 0;
    left: 0;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1ch;
    background-color: var(--white);
    padding: 2rem 4rem;
    
    transition: all 0.3s ease 0s;
    transition-property: transform, color;
    
    z-index: 1000;
}

@media (hover:hover){
    .video-section .video-banner:hover img {
        transform: scale(1.025);
    }
    
    .video-section .video-embed .close-video:hover{
        color: var(--terracotta);
    }
    
    .video-section .video-embed .close-video:hover .switch-icon::before,
    .video-section .video-embed .close-video:hover .switch-icon::after{
        background-color: var(--terracotta);
    }
}

/* DEPARTMENTS SECTION */

.departments-section {


    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6rem;

    padding: 0 calc(var(--indent) * 1);
    width: calc(100% - var(--indent) * 2);
}

.departments-section .departments-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.departments-section .departments-list {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.departments-section .departments-list .department {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: solid var(--lineStroke) var(--midGrey);
    cursor: pointer;
    transition: all 0.15s ease 0s;
}

.departments-section .department .department-name {
    font-family: var(--monoType);
    text-transform: uppercase;
}

.departments-section .department.active .department-name {
    color: var(--terracotta);
}

@media (hover: hover) {
    .departments-section .department:hover {
        background-color: var(--lightGrey);
        padding: 2rem 1rem;
    }

    .departments-section .department:hover .department-name {
        color: var(--terracotta);
    }
}

.departments-section .departments-desc {
    display: flex;
    flex-direction: column;
    width: 58%;
}

.departments-section .desc-wrapper {
    display: none;
    flex-direction: row;
    align-items: flex-start;
    gap: 6rem;
}

.departments-section .desc-wrapper.active {
    display: flex;
}

.departments-section .desc-wrapper .department-icon {
    height: auto;
    width: 20rem;
    aspect-ratio: 1 / 1;
}

.departments-section .desc-wrapper .desc {}

.departments-section .desc-wrapper .desc strong {
    font-weight: 400;
}

@media screen and (max-width: 900px) {
    .departments-section .departments-content{
        flex-direction: column;
        gap: 6rem;
    }
    
    .departments-section .departments-list,
    .departments-section .departments-desc{
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .departments-section {}
}

/* PROJECT HIGHLIGHTS SECTION */

.highlights-section {


    display: flex;
    flex-direction: column;
    gap: 16rem;

    padding: 10rem 0;
    width: 100%;
    background-color: var(--lightGrey);
}

.highlights-section.w-image {
    margin-top: 6rem;
    padding: 8rem 0 10rem;
}

.highlights-intro {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    width: 100%;
}

.highlights-section.w-image .highlights-image {
    --height: 10px;
    display: flex;
    height: var(--height);
    width: 100%;
    position: relative;
}

.highlights-section.w-image .highlights-image::before,
.highlights-section.w-image .highlights-image::after {
    content: "";

    display: block;
    position: absolute;
    top: 0;

    transform: translateY(-14rem);
    z-index: 10;
}

.highlights-section.w-image .highlights-image::before {
    background-color: var(--white);
    height: 4rem;
    width: 40%;
    left: 0;
    top: -.5px;
}

.highlights-section.w-image .highlights-image::after {
    background-color: var(--white);
    margin: 1rem;
    height: 5rem;
    width: 5rem;
    right: 0;
}

.highlights-section.w-image .highlights-image img {
    height: calc(var(--height) + 14rem);
    width: 100%;
    object-fit: cover;
    transform: translateY(-14rem);
}

.highlights-section .highlights-content {
    display: flex;
    justify-content: space-between;
    padding: 0 var(--indent);
    width: calc(100% - var(--indent) * 2);
}

.highlights-section.w-image .highlights-content {
    flex-direction: column;
    row-gap: 8rem;
    height: fit-content;

    padding: 0 var(--indent);
    width: calc(100% - var(--indent) * 2);
}

.highlights-section.wo-image .highlights-content {
    flex-direction: row-reverse;
    column-gap: calc(var(--indent) * 2);
}

.highlights-section.wo-image .textBlock-wrapper {
    width: 60%;
}

.highlights-section .cta-icon {
    background-color: var(--white);
}

.highlights-section .highlights-cards {
    display: flex;
    flex-direction: row;
    gap: 2rem;

    padding: 0 var(--indent);

    width: calc(100% - var(--indent) * 2);
}

.highlights-section .highlights-cards a {
    display: flex;
    align-items: flex-end;
    position: relative;

    height: 100%;
    width: 100%;

}

.highlights-section .highlights-project {
    display: flex;
    align-items: flex-end;

    position: relative;
    background-color: var(--midGrey);
    background-size: cover;
    background-position: center;
    padding: 2rem;
    height: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;

    transition: all .3s ease 0s;
    transition-property: height, width, padding, margin;
}

.highlights-section .highlights-project .meta-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-end;

    width: 100%;

    transition: all 0.15s ease 0s;
    transition-property: transform;
}

.highlights-section .highlights-project .meta {
    background-color: var(--white);
    padding: 3rem;
}

.highlights-section .highlights-project .header-wrapper {
    display: flex;
    flex-direction: row;
    padding-right: 1.5rem;
    min-height: 12rem;
    width: 100%;
}

.highlights-section .highlights-project .header {
    display: flex;
    align-items: flex-end;
}

.highlights-section .highlights-project .heading {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

.highlights-section .highlights-project .heading .street-number {
    color: var(--terracotta);
}

.highlights-section .highlights-project .details-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;

    padding-top: 6rem;
    padding-left: 1.5rem;
}

.highlights-section .highlights-project .details-wrapper span {
    font-size: 2rem;
}

@media (hover: hover) {
    .highlights-section .highlights-project:hover {
        padding: 1rem;
        margin: 1rem;
    }

    .highlights-section .highlights-project:hover .meta-wrapper {}

    .highlights-section .highlights-project:hover .corner-pattern.terracotta,
    .highlights-section .highlights-project:hover .corner-pattern.terracotta::before,
    .highlights-section .highlights-project:hover .corner-pattern.terracotta::after {
        background-color: var(--lightGrey);
        --squareSize: 3.5rem;
    }
}

@media screen and (max-width: 900px) {
    .highlights-section {
        gap: 10rem;
    }

    .highlights-intro {
        flex-direction: column;
        gap: 8rem;
    }
    
    .highlights-section .highlights-cards a:last-child{
        display: none;
    }

    .highlights-section.w-image .highlights-image {
        --height: calc( 50rem -  14rem ) !important;
    }

    .highlights-section.w-image .highlights-image img {
        
    }
    
    .highlights-section.wo-image .highlights-content{
        flex-direction: column;
        gap: 8rem;
    }
    
    .highlights-section.wo-image .textBlock-wrapper{
        width: 100%;
    }

/*
    .highlights-section .highlights-cards {
        flex-direction: column;
        gap: 6rem;
    }
*/
}

@media screen and (max-width: 700px) {
    .highlights-section .highlights-cards {
        flex-direction: column;
        gap: 6rem;
    }
    
    .highlights-section .highlights-cards a:last-child{
        display: flex;
    }
}

/* PROJECT LIST SECTION */

.projectList-section {

    display: flex;
    flex-direction: column;
    row-gap: 8rem;

    width: calc(100% - var(--indent)* 2);
    padding: 0 var(--indent);
}

.projectList-section .search-header-wrapper{
    
}

.projectList-section .search-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    column-gap: 4rem;

    border-bottom: solid var(--lineStroke) var(--midGrey);
}

.projectList-section .search-header .wrapper {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.projectList-section .search-header .selector {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    column-gap: 1rem;
}


.projectList-section .search-header .selector.clear-selector {
    display: none;

    padding-left: 3rem;
    border-left: solid var(--lineStroke) var(--midGrey);
}

.projectList-section .search-header .selector.clear-selector .label {
    font-family: var(--sansType);
    text-transform: capitalize;
    color: var(--terracotta);
    cursor: pointer;
}

.projectList-section .search-header span,
.projectList-section .search-header select {
    font-size: 2rem;
    font-weight: 300;
}

.projectList-section .search-header .label {
    font-family: var(--monoType);
    text-transform: uppercase;
    color: var(--darkGrey);
}

.projectList-section .search-header .select-wrapper {
    position: relative;
}

.projectList-section .search-header .select-wrapper::after {
    content: "⌵";
    display: inline-block;
    color: var(--darkGrey);
    width: 0;
    transform: translate(-3rem, -20%);
    pointer-events: none;
}

.projectList-section .search-header .value {
    font-family: var(--sansType);
    color: var(--terracotta);

    padding-right: 3rem;
    border: none;
    margin: 0;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    cursor: pointer;
}

.projectList-section .search-header .value option:disabled {
    color: #999;
}

.projectList-section .list-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 6rem;
}

.projectList-section .list-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    order: 2;
    width: 23vw;
    top: var(--top);
    left: 9rem;
    
    transition: all .6s ease 0s;
    transition-property: top;
}

.projectList-section .list-info-wrapper.fixed {
    position: fixed;
    top: var(--top);
    left: 7rem;
    z-index: 10;
}

.projectList-section .list-info-wrapper .list-info {
    display: flex;
    flex-direction: column;
}

.projectList-section .list-wrapper .cta-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: unset;

    user-select: none;
    pointer-events: none;

    transition: all .15s ease 0s;
    transition-duration: .2s, .15s;
    transition-property: gap, opacity;
}

.projectList-section .list-wrapper .cta-text {
    font-weight: 300;
}

.projectList-section .list-wrapper .cta-text.arrow {
    font-feature-settings: 'case';
}

.projectList-section .project-info {
    display: none;
    flex-direction: column;
    gap: 4rem;
    background-color: var(--white);
    padding-bottom: 2rem;
/*    height: calc( (var(--vh) * 100) - var(--top) - 10rem);*/
}

.projectList-section .project-info.active {
    display: flex;
}

.projectList-section .project-info .project-title .heading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.projectList-section .project-info .project-title .street-number {
    color: var(--terracotta);
}

.projectList-section .project-info .project-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.projectList-section .project-info .project-details .details-wrapper {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.projectList-section .project-info .project-details .label,
.projectList-section .project-info .project-details .value {
    font-size: 2rem;
    color: var(--black);
    padding: unset;
}

.projectList-section .project-info .project-details .label {
    font-family: var(--monoType);
    font-weight: 400;
}

.projectList-section .project-info .project-details .value {
    font-family: var(--sansType);
    font-weight: 300;
}

.projectList-section .projects-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2rem;
    order: 1;
    width: calc(100% - 23vw - 6rem);

    transition: all .15s ease 0s;
}

.projectList-section .projects-list .list-item {
    height: auto;
    width: calc(100% / 3 - 1.34rem);
    aspect-ratio: 1 / 1;
}

.projectList-section .projects-list .list-item.hide {
    display: none;
}

.projectList-section .projects-list .list-item > a {
    display: flex;
    align-items: flex-end;
    position: relative;
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.projectList-section .projects-list .project {
    display: flex;
    align-items: flex-end;
    position: relative;
    background-color: var(--midGrey);
    background-size: cover;
    background-position: center;
    padding: 2rem;
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    transition: all .3s ease 0s;
    transition-property: height, width, padding, margin;
}

.projectList-section .projects-list .project .corner-pattern {
    --squareSize: 2.5rem;
}

.projectList-section .projects-list .project .cta-wrapper {
    opacity: 0;
    padding: 1rem 2rem 0 .25rem;
    background-color: var(--white);
    transform: translate(-2rem, 2.1rem);
}

.projectList-section .projects-list .project .cta-text {
    color: var(--terracotta);
}

.projectList-section .projects-list .list-item > a.emulate-hover .project{
    padding: 2rem;
    margin: 1rem;
}

.projectList-section .projects-list .list-item > a.emulate-hover .corner-pattern.terracotta{
    --squareSize: 3rem;
}

.projectList-section .projects-list .list-item > a.emulate-hover .corner-pattern.terracotta,
.projectList-section .projects-list .list-item > a.emulate-hover .corner-pattern.terracotta::before,
.projectList-section .projects-list .list-item > a.emulate-hover .corner-pattern.terracotta::after{
    background-color: var(--white);
}

.projectList-section .projects-list .list-item > a.emulate-hover .cta-wrapper{
    gap: 2rem;
    opacity: 1;
}

@media (hover: hover) {
    .projectList-section .projects-list .list-item > a:hover .project {
        padding: 2rem;
        margin: 1rem;
    }

    .projectList-section .projects-list .list-item > a:hover .corner-pattern.terracotta {
        --squareSize: 3rem;
    }

    .projectList-section .projects-list .list-item > a:hover .corner-pattern.terracotta,
    .projectList-section .projects-list .list-item > a:hover .corner-pattern.terracotta::before,
    .projectList-section .projects-list .list-item > a:hover .corner-pattern.terracotta::after {
        background-color: var(--white);
    }

    .projectList-section .projects-list .list-item > a:hover .cta-wrapper {
        gap: 2rem;
        opacity: 1;
    }
}

@media screen and (max-width: 1080px){
    .projectList-section .projects-list .list-item {
        width: calc(100% / 2 - 1.34rem);
    }
}

@media screen and (max-width: 700px) {
    .projectList-section .search-header{
        flex-direction: column;
        gap: 1rem;
        
        padding-bottom: 1rem;
    }
    
    .projectList-section .search-header span,
    .projectList-section .search-header select{
        font-size: 2.4rem;
    }
    
    .projectList-section .list-info-wrapper .projectList-cta{
/*        display: none !important;*/
    }
    
    .projectList-section .list-info-wrapper{
        display: flex;
        gap: 2rem;
        width: 30vw;
    }
    
    .projectList-section .list-info-wrapper.fixed{
        top: calc(var(--vh)* 25);
        left: 3rem;
/*
        position: static;
        z-index: unset;
*/
    }
    
    .projectList-section .list-info-wrapper .project-info{
        display: none;
        padding-bottom: 0;
        height: var(--cardHeight);
    }
    
    .projectList-section .list-info-wrapper .project-info.active{
        display: flex;
    }
    
    .projectList-section .project-info .project-details .label,
    .projectList-section .project-info .project-details .value{
        font-size: 2.4rem;
    }
    
    .projectList-section .projects-list{
        flex-direction: column;
        width: calc(100% - 30vw - 6rem);
    }
    
    .projectList-section .projects-list .list-item{
        width: 100%;
    }
}

/* SINGLE PROJECT */

.project-section {


    display: flex;
    flex-direction: column;
    row-gap: 8rem;

    width: calc(100% - var(--indent) * 2);

    padding: 0 var(--indent);
}


.project-section .project-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-section .text-header {
    border-color: var(--midGrey);
}

.project-section .text-header .label {
    font-family: var(--monoType);
    font-weight: 300;
    text-transform: uppercase;
    font-size: 2rem;
    color: var(--darkGrey);
}

.project-section .text-header .cta-wrapper {
    --color: var(--terracotta);
    --hl-color: var(--terracotta);
}

.project-section .text-header .cta-wrapper .cta {
    border-color: var(--midGrey);
}

.project-section .project-contents {
    display: flex;
    flex-direction: row;
    gap: 12rem;
}

.project-section .column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--gap);

    width: 50%;
}

.project-section .project-details {}

.project-section .project-description {}

.project-section .project-specs {
    display: flex;
    flex-direction: column;
}

.project-section .spec-label {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;

    border-bottom: solid var(--lineStroke) var(--midGrey);
}

.project-section .spec-label > * {
    font-family: var(--monoType);
    font-weight: 300;
    text-transform: uppercase;
    font-size: 2rem;
    color: var(--darkGrey);
}

.project-section .spec-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 2rem 0;
    border-bottom: solid var(--lineStroke) var(--midGrey);
}

.project-section .spec-item:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
}

.project-section .project-specs.active .spec-item:nth-child(3) {
    padding: 2rem 0;
    border-bottom: solid var(--lineStroke) var(--midGrey);
}

.project-section .spec-item.extra {}

.project-section .spec-item.hidden {
    display: none;
}

.project-section .spec-item > * {
    color: var(--black);
}

.project-section .project-gallery {
    height: 100%;
}

.project-section .gallery-wrapper {
    position: relative;
    overflow: hidden;
}

.project-section .slideshow {
    display: flex;
    position: relative;
    overflow: hidden;
}

.project-section .slide {
    position: relative;
    flex: 0 0 100%;
    aspect-ratio: 1 / 1;
    transition: transform .3s ease;
}

.project-section .slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-section .slideshow-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    padding: 2rem;
    height: calc(100% - 4rem);

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    z-index: 1;
}

.project-section .arrow-nav,
.project-section .slideshow-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    width: 100%;
}

.project-section .arrow-nav .cta-icon {
    --color: var(--white);
    background-color: unset;
    padding: 0;
}

.project-section .slideshow-nav .text {
    color: var(--white);
}

.project-section .slideshow-nav button {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

.map-section {
    height: 54rem;
    width: 100%;
}

.map-section iframe {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 900px) {
    .project-section .text-header .label{
        font-size: 3.2rem;
    }
    
    .project-section .text-header .cta-wrapper{
        display: none;
    }
    
    .project-section .project-contents{
        flex-direction: column;
        gap: 6rem;
    }
    
    .project-section .column{
        width: 100%;
        gap: 6rem;
    }
}

/* CONTACT FORM */

.contact-form-wrapper {
    height: 100%;
    width: calc(66rem);
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 100%;
    width: 100%;
}

.contact-form .form-inputs {
    height: 100%;
}

.contact-form .field {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 4rem;

    padding: 1.5rem 0;
    border-bottom: solid calc(var(--lineStroke) * .75) var(--white);


    width: 100%;
}

.contact-form .field .label,
.contact-form .field .input {
    font-size: 2rem;
    font-weight: 300;
}

.contact-form .field .label {
    font-family: var(--semimonoType);
    color: var(--white);
    padding: 0;
    width: 10ch;
}

.contact-form .field .input {
    font-family: var(--sansType);
    color: var(--black);
    background-color: transparent;
    padding: unset;
    border: unset;
    width: calc(100% - 10ch);
}

.contact-form .field .input.text {
    height: 6lh;
}

.contact-form .field .input::placeholder {
    font-family: var(--semimonoType);
    color: var(--white);
    opacity: .5;
}

.contact-form .field .input::-ms-input-placeholder {
    font-family: var(--semimonoType);
    color: var(--white);
    opacity: .5;
}

input:-internal-autofill-selected {
    appearance: unset;
    background-image: none !important;
    background-color: transparent !important;
    color: inherit !important;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    /* trick to get rid of the unwanted styles */
    transition: background-color 0s 600000s, color 0s 600000s !important;
}

.contact-form .field .input:focus {
    outline: none !important;
    border: none;
    box-shadow: none;
}

.contact-form .field.message-field {
    border-bottom: unset;
}

.contact-form .field.submit-field {
    border-top: solid calc(var(--lineStroke) * .75) var(--white);
    border-bottom: unset;
}

.contact-form .field.submit-field .btn {
    font-family: var(--monoType);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.6rem;

    color: var(--terracotta);
    background-color: var(--white);
    border: solid calc(var(--lineStroke) * .75) var(--terracotta);
    padding: 1.5rem 2rem;

    transition: all .15s ease 0s;
    transition-property: color, background-color, border-color;

    cursor: pointer;
}


@media (hover:hover) {
    .contact-form .field.submit-field .btn:hover {
        color: var(--white);
        background-color: var(--terracotta);
        border-color: var(--white);
    }
}

@media screen and (max-width: 700px){
    .contact-form-wrapper{
        width: calc( 100vw - (8.8rem + 12.5rem ) - 8rem );
    }
}

/* NEWSLETTER SECTION */

.newsletter-section {
    display: flex;
    flex-direction: row;
    gap: 8rem;
    justify-content: space-between;
    width: calc(100% - var(--indent) * 2);
    padding: 0 var(--indent);
}

.newsletter-section .newsletter-image {
    --height: 10px;
    display: flex;
    width: 100%;
    position: relative;
    height: var(--height);
}

.newsletter-section .newsletter-image::after {
    content: "";

    display: block;
    position: absolute;
    top: 0;

    z-index: 10;
}

.newsletter-section .newsletter-image::after {
    background-color: var(--white);
    margin: 1rem;
    height: 5rem;
    width: 5rem;
    right: 0;
}

.newsletter-section .newsletter-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.newsletter-section .newsletter-image .newsletter-cta {
    position: absolute;
    bottom: 0;
    right: 0;

    background-color: var(--white);
    padding: 2rem 1rem 0rem 3rem;

    transition: all 0.3s ease 0s;
    transition-property: background-color, padding;
}

.newsletter-section .newsletter-image .newsletter-cta a {
    display: block;
}

.newsletter-section .newsletter-image .cta {
    font-size: 4rem;
    text-transform: uppercase;

    transition: all 0.3s ease 0s;
    transition-property: color;
}

@media (hover: hover) {
    .newsletter-section .newsletter-image .newsletter-cta:hover {
        padding: 2rem 4rem 0rem 5rem;
    }

    .newsletter-section .newsletter-image .newsletter-cta:hover .cta {
        color: var(--terracotta);
    }
}

.newsletter-section .newsletter-content {
    display: flex;
    flex-direction: column;
    row-gap: 8rem;
    height: fit-content;
    
    width: 100%;
}

@media screen and (max-width: 900px) {
    .newsletter-section {
        flex-direction: column-reverse;
    }

    .newsletter-section .newsletter-image {
        --height: 50rem !important;
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .newsletter-section .newsletter-image {
        
    }
}

/* SCROLL HINT */

.scrollHint {
    --size: 1.8rem;
    font-family: var(--monoType);
    font-weight: 300;
    font-size: var(--size);

    background-color: var(--white);
    padding: 2rem 4rem;
    height: var(--size);
    width: 8ch;

    position: fixed;
    bottom: 0;
    left: 0;

    

    z-index: 999;
}

.scrollHint::before,
.scrollHint::after{
    position: absolute;
}

.scrollHint::before {
    content: 'Scroll ';
}

.scrollHint::after {
    content: '↘';
    color: var(--terracotta);
    padding-left: 7ch;
    position: absolute;
    animation: vertshake 3s cubic-bezier(.36, .07, .19, .97) both infinite;
}

@keyframes vertshake {
    10%,
    90% {
        transform: translate(-1px, -1px);
    }

    20%,
    80% {
        transform: translate(1px, 1px);
    }

    30%,
    50%,
    70% {
        transform: translate(-2px, -2px);
    }

    40%,
    60% {
        transform: translate(2px, 2px);
    }
}


/* ON SCROLL ANIM */

.reveal {
    opacity: 0;
    transform: translateY(40px);

    transition: all .9s ease 0s;
    transition-property: opacity, transform;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.hide-up {
    transform: translateY(-40px);
    opacity: 0;

    transition: all .9s ease 0s;
    transition-property: opacity, transform;
}
