/* FONTS */

@font-face {
    font-family: 'Acid Grotesk';
    src: url('../fonts/public/AcidGrotesk-Light.woff2') format('woff2'),
        url('../fonts/public/AcidGrotesk-Light.otf') format('opentype');
    font-weight: 300;
}

@font-face {
    font-family: 'Acid Grotesk';
    src: url('../fonts/public/AcidGrotesk-Normal.woff2') format('woff2'),
        url('../fonts/public/AcidGrotesk-Normal.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Acid Grotesk';
    src: url('../fonts/public/AcidGrotesk-Medium.woff2') format('woff2'),
        url('../fonts/public/AcidGrotesk-Medium.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/public/IBMPlexMono-Light.woff2') format('woff2'),
        url('../fonts/public/IBMPlexMono-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/public/IBMPlexMono-Regular.woff2') format('woff2'),
        url('../fonts/public/IBMPlexMono-Regular.ttf') format('truetype');
    font-weight: 400;
}

/* START */

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

    --yellow: #e5c129;
    --lightYellow: #e5deaa;
    --blue: #206b9e;
    --lightBlue: #c1e5e4;

    /* typography */
    --sansType: "Acid Grotesk", sans-serif;
    --semimonoType: "Acid Grotesk", sans-serif;
    --monoType: "IBM Plex Mono", monospace;

    /* mesurements */
    --spacing: 1rem;
    --lineStroke: .1rem;
    --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(--blue);
    color: var(--white);
}

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


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

/* DEV STATS */

#devStats {
    display: none;
    flex-direction: column;
    align-content: flex-end;
    gap: .5rem;

    position: fixed;
    bottom: .5rem;
    right: .5rem;

    z-index: 999;
}

#devStats * {
    font-family: var(--monoType);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--white) !important;
}

#devStats > div {
    display: flex;
    background-color: rgba(0, 0, 0, 1);
    padding: 1rem;
    gap: 1ch;
}

#devStats #time {
    flex-direction: column;
}

#devStats #width {
    flex-direction: row;
}

#devStats #width .breakpoint::before {
    content: "BP:Std";
}

#devStats #tester {
    display: none;
}

/* 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) {
    #devStats #width .breakpoint::before {
        content: "BP:1920px";
    }

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

@media screen and (max-width: 1760px) {
    #devStats #width .breakpoint::before {
        content: "BP:1760px";
    }

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


@media screen and (max-width: 1200px) {
    #devStats #width .breakpoint::before {
        content: "BP:1200px";
    }

    html {
        font-size: calc(.45rem + (100vw - 1200px) / 400);
    }
}

@media screen and (max-width: 1080px) {
    #devStats #width .breakpoint::before {
        content: "BP:1080px";
    }

    html {
        font-size: calc(.45rem + (100vw - 1080px) / 400);
    }
}

@media screen and (max-width: 900px) {
    #devStats #width .breakpoint::before {
        content: "BP:900px";
    }

    html {
        font-size: calc(.5rem + (100vw - 1080px) / 400);
    }
}

@media screen and (max-width: 700px) {
    #devStats #width .breakpoint::before {
        content: "BP:700px";
    }

    html {
        font-size: calc(.4rem + (100vw - 700px) / 400);
    }
}

@media screen and (max-width: 500px) {
    #devStats #width .breakpoint::before {
        content: "BP:500px";
    }

    html {
        font-size: calc(.35rem + (100vw - 500px) / 400);
    }
}

@media screen and (max-width: 350px) {
    #devStats #width .breakpoint::before {
        content: "BP:350px";
    }

    html {
        font-size: calc(.3rem + (100vw - 350px) / 400);
    }
}

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

#contacts .outer-wrapper{
    gap: 0;
}

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

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

    main {
        row-gap: 6rem;
    }
}


/* 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;
    
    transition: all .15s ease 0s;
    transition-property: background-color, border, -webkit-backdrop-filter, backdrop-filter;
}

nav::after {
    content: "";

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

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

    background-color: var(--blue);

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

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

nav.past-banner{
    background-color: rgba(255,255,255,.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: solid var(--lineStroke) var(--midGrey);
}

@media screen and (max-width: 1080px) {

    #about,
    #location,
    #projects,
    #single-project,
    #contacts {
        --logoMaxWidth: 25vw;
    }
}

@media screen and (orientation: portrait) {

    #about,
    #location,
    #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;
    }
    
    nav.menuOpen{
/*
        background-color: rgba(255,255,255,.8);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-bottom: solid var(--lineStroke) var(--midGrey);
*/
    }
}

/* 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;
    margin: 2rem;

    pointer-events: all;

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

nav:not(.menuOpen).past-banner .header-logo {
    margin: 2rem 2rem;
}

nav .header-logo h1 {}

nav .header-logo .logo {
    height: auto;
    width: 35rem;
    max-width: var(--logoMaxWidth);

    fill: var(--lightGrey);

    transition: all .3s ease 0s;
    transition-property: width, max-width, fill;
}

nav.past-banner .header-logo .logo {
    width: 25rem;
    fill: var(--black);
}

nav.past-banner .header-logo .logo .tagline {
    opacity: 0;
    
    transition: all .3s ease 0s;
    transition-property: opacity;
}

nav.menuOpen.past-banner .header-logo .logo .tagline {
    opacity: 1;
}

@media screen and (max-width: 900px) {
    nav .header-logo .logo {
        width: 45rem;
        max-width: unset;
    }

    nav.past-banner .header-logo .logo {
        width: 40rem;
    }
}

@media screen and (max-width: 700px) {
    nav .header-logo .logo {
        width: 40rem;
        max-width: unset;
    }
    
    nav.menuOpen .header-logo .logo {
        fill: var(--black);
    }

    nav.past-banner .header-logo .logo {
        width: 35rem;
    }
}

@media screen and (max-width: 350px) {
    nav .header-logo .logo {
        width: 35rem;
        max-width: unset;
    }

    nav.past-banner .header-logo .logo {
        width: 30rem;
    }
}

/* NAVIGATION MENUS SECTION */

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

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

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

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

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

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(--grey);
    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);
    font-size: 1.6rem;
    color: var(--lightGrey);

    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.past-banner .lang-switch .lang-item .label,
#contacts nav .lang-switch .lang-item .label{
    color: var(--black);
}

nav .navigation {
    pointer-events: auto;
}

nav .navigation > * {}

nav .navigation .menu-btn {
    display: none;
    position: relative;

    padding: 3rem var(--indent) 1rem;

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

    z-index: 40;
}

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

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

nav .navigation.active .menu-btn .btn {}

nav .navigation .menu-btn .label {
    font-size: 2.4rem;
    text-transform: uppercase;
    color: var(--lightGrey);
    cursor: pointer;
}

nav.menuOpen .navigation .menu-btn .label,
nav.past-banner .navigation .menu-btn .label {
    color: var(--black);
}

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

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

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

@media screen and (max-width: 700px) {
    nav .navigation .menu-btn {
        display: flex;
        justify-content: flex-end;
    }

    nav .lang-switch {
        display: none;
    }
}

/* NAV BUTTONS */

nav .navigation .nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    z-index: 25;
}

nav .navigation .nav-item {
    display: flex;
    padding: 3rem 1rem 1rem 1rem;
    transition: all .15s ease 0s;
    transition-property: transform;
}

nav .navigation .nav-item a {
    pointer-events: auto;
}

nav .navigation .nav-item:has(.disabled){
    display: none;
}

nav .navigation .nav-item .disabled {
    opacity: .6;
    pointer-events: none !important;
}

nav .navigation .nav-item .disabled .label {
    text-decoration: line-through;
}

nav .navigation .nav-item .label-wrapper {}


nav .navigation .nav-item .label {
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--lightGrey);

    user-select: none;
}

nav.past-banner .navigation .nav-item .label,
#contacts nav  .navigation .nav-item .label{
    color: var(--black);
}


@media screen and (max-width: 700px) {
    nav .navigation .nav-list-wrapper {
        display: none;
        padding-bottom: 3rem;
    }

    nav .navigation .nav-list {
        flex-direction: column;
        align-items: flex-end;
    }

    nav .navigation .nav-item {
        padding: 1rem var(--indent);
    }

    nav .navigation .nav-item .label {
        font-size: 2.4rem;
    }
    
    nav.menuOpen .navigation .nav-item .label{
        color: var(--black);
    }

    nav .lang-switch {
        display: none;
    }
}

/* PAGE BANNERS */

.banner-section .page-banner {
    position: relative;
    height: calc((var(--vh) * 100) - 40rem);
    width: 100vw;
}

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

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

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

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

.page-banner .video-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
}

.banner-section .video-background video,
.page-banner .video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.15);

    /* maintain 16:9 ratio and always cover */
    width: 100vw;
    height: 56.25vw; /* 9/16 of width */
    
    min-width: 177.78vh; /* 16/9 of height */
    min-height: 100vh;
}

.page-banner .video-background .preview-cta-wrapper {
    position: absolute;
    
    bottom: 50%;
    left: var(--indent);
    transform: translate(0, -50%);
    
    z-index: 10;
}

.page-banner .video-background .preview-cta {
    color: var(--black);
    
    background-color: var(--white);
    padding: 1rem 2rem 1.25rem;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    
    transition: all 0.15s ease 0s;
}

@media (hover : hover){
    .page-banner .video-background .preview-cta:hover {
        color: var(--white);
        background-color: var(--yellow);
    }
    
    .page-banner .video-background .preview-cta:hover .preview-cta-icon{
        fill: var(--white);
    }
}

.page-banner .video-background .preview-cta span{
    text-transform: uppercase;
}

.page-banner .video-background .preview-cta-icon{
    display: inline-block;
    fill: var(--black);
    
    height: 3rem;
    width: 3rem;
    
    transition: all 0.15s ease 0s;
}

@media screen and (max-width: 700px){
    .page-banner .video-background .preview-cta-wrapper {
        bottom: calc( var(--indent) * 2 );
        left: calc( var(--indent) * 1 );
        transform: translate(0, 0);
    }
}

.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Video Styling */
.lightbox-video {
  width: 100%;
  max-width: 1200px;
  max-height: 80vh;
  border-radius: 8px;
  background: #000;
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: -40px;
  right: -10px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
  transition: opacity 0.2s ease-in-out;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.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;

    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(--blue);
}

.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,
#location .banner-section .banner-info-wrapper h2,
#single-project .banner-section .banner-info-wrapper .street-number,
#single-project .banner-section .banner-info-wrapper .street-name {
    font-weight: 400;
    color: var(--yellow);
    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,
#location .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,
#location .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,
#location .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,
#location .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,
#location .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,
#location .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,
#location .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) * 74);
    }
}

@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,
    #location .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: var(--yellow);
    padding: 2rem;
    margin-top: 8rem;
}

#contacts footer{
    margin-top: unset;
}

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

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

footer .footer-logo {
    display: flex;
    flex-direction: column;

    padding-right: 5rem;
}

footer .footer-logo .logo {
    height: 28rem;
    width: auto;
}

footer .footer-extra-logo {
    display: flex;
    flex-direction: column;
    
    position: absolute;
    right: 2rem;
}

footer .footer-extra-logo svg {
    height: 4.5rem;
    width: auto;
    
    fill: var(--black);
}

@media screen and (max-width: 700px){
    footer .footer-extra-logo svg {
        height: 3rem;
    }
}

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

    width: 100%;
}

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

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

footer .nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer .nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer .nav-list .label {
    font-family: var(--monoType);
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--black);

    cursor: pointer;
    user-select: none;
}

footer .nav-item:has(.disabled){
    display: none;
    
    opacity: .4;
    pointer-events: none !important;
}

footer .nav-list .disabled .label {
    text-decoration: line-through;
}

footer .lang-switch {
    transform: translateY(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-credits {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

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

@media screen and (max-width: 900px) {
    footer .logo-section {}

    footer .footer-logo {
        padding-right: 3rem;
    }

    footer .footer-logo .logo {
        height: auto;
        width: 14rem;
    }

    footer .nav-list .label {
        font-size: 1.8rem;
    }

    footer .lang-switch .lang-item .label {
        font-size: 1.8rem;
    }
}

/* GENERAL STYLES */

.section { }

/* Headings */

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

.section .heading.extra-large {
    font-size: 10.5rem;
}

.section .heading.large {
    font-size: 8.4rem;
    max-width: 90rem;
}

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

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

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

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

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

    .section .heading.large {
        font-size: 8.4rem;
        max-width: 80rem;
    }

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

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

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

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

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

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

@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: 7.2rem;
    }

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

    .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;
    letter-spacing: .05rem;
    line-height: 1.25;
    color: var(--darkGrey);
}

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

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

.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: 3.6rem;
    }

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

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

/* Labels */

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

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

/* CTAs */

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

.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(--midGrey);
    /*    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: 3rem;

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

    transition: all 0.15s ease 0s;
}

.switch-icon::before,
.switch-icon::after {
    content: "";

    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(--white);
}

nav.menuOpen .active .switch-icon::before,
nav.menuOpen .active .switch-icon::after,
nav.past-banner .active .switch-icon::before,
nav.past-banner .active .switch-icon::after,
#contacts nav .active .switch-icon::before,
#contacts nav .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) {
    .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(--midGrey);
}

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

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

@media screen and (max-width: 900px) {
    .section .text-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
}

/* 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(--blue);
}

.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);
    }
}

/* EDGE2EDGE BANNER SECTION */

.banner-section .image-banner {
    position: relative;
    height: 56rem;
    width: 100vw;
    overflow: hidden;
}

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

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


/* VIDEO SECTION */

.video-section .video-banner {
    position: relative;
    height: 56rem;
    width: 100vw;
    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(--blue);
    }

    .video-section .video-embed .close-video:hover .switch-icon::before,
    .video-section .video-embed .close-video:hover .switch-icon::after {
        background-color: var(--blue);
    }
}

/* 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(--blue);
}

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

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

.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 {}
}

/* TWO COLUMNS, TEXT + IMAGE */

.columns-section {
    display: flex;
    flex-direction: column;
    gap: 16rem;

    padding: 4rem 0;
    width: 100%;
}

.columns-section.w-image {
    margin-top: 12rem;
}

.columns-section.w-image.fit-image {
    margin-top: unset;
}

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

    width: 100%;
}

.columns-section.ltr .columns-intro {
    flex-direction: row;
}

.columns-section.rtl .columns-intro {
    flex-direction: row-reverse;
}

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

.columns-section.w-image.ltr .columns-image {
    padding-left: var(--indent);
}

.columns-section.w-image.rtl .columns-image {
    padding-right: var(--indent);
}


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

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

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

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

.columns-section.wo-image .columns-content {
    column-gap: calc(var(--indent) * 2);
}

.columns-section.wo-image.ltr .columns-content {
    flex-direction: row;
}

.columns-section.wo-image.rtl .columns-content {
    flex-direction: row-reverse;
}

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

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

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

    .columns-section .columns-intro,
    .columns-section.ltr .columns-intro,
    .columns-section.rtl .columns-intro {
        flex-direction: column;
        gap: 8rem;
    }
    
    #index .columns-section .columns-intro,
    #index .columns-section.ltr .columns-intro,
    #index .columns-section.rtl .columns-intro,
    #location .columns-section .columns-intro{
        flex-direction: column-reverse;
    }

    .columns-section .columns-cards a:last-child {
        display: none;
    }

    .columns-section.w-image {
        margin-top: unset;
    }

    .columns-section.w-image .columns-image {
        --height: 50rem !important;
        padding: 0 var(--indent);
        width: calc(100% - var(--indent) * 2);
    }

    .columns-section.w-image .columns-image img {
        height: var(--height);
        transform: unset;
    }

    .columns-section.wo-image .columns-content {
        flex-direction: column;
        gap: 8rem;
    }

    .columns-section.wo-image.ltr .columns-content {
        flex-direction: column;
    }

    .columns-section.wo-image.rtl .columns-content {
        flex-direction: column-reverse;
    }

    .columns-section.wo-image .textBlock-wrapper {
        width: 100%;
    }
}

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

    .columns-section .columns-cards a:last-child {
        display: flex;
    }
}

/* ICON GRID */

.columns-section.w-image.fit-image .columns-image img {
    height: calc(var(--height) - 1.5rem);
    transform: translateY(1.5rem);
}

.iconGrid-wrapper {
    display: flex;
    flex-direction: column;
    /*    align-items: center;*/
    gap: 2rem;
}

.iconGrid-wrapper .grid-wrapper {}

.iconGrid-wrapper .grid-list {
    --gap: 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3rem var(--gap);
}

.iconGrid-wrapper .grid-list.left-align {
    justify-content: flex-start;
}

.iconGrid-wrapper .grid-list.center-align {
    justify-content: center;
}

.iconGrid-wrapper .grid-item-wrapper {
    display: flex;
    width: calc((100% - (var(--gap) * (var(--nColumns) - 1))) / var(--nColumns));
    height: auto;
}

.iconGrid-wrapper .grid-item {
    width: 100%;
}

.iconGrid-wrapper .grid-item figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.iconGrid-wrapper .grid-item .image-container {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    position: relative;
    overflow: hidden;
}

.iconGrid-wrapper .grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.iconGrid-wrapper .grid-item figcaption {
    --hPadding: 0;
    font-family: var(--monoType);
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1.3;
    text-align: center;

    word-wrap: break-word;
    white-space: normal;

    padding: 1rem var(--hPadding);
    width: calc(100% - var(--hPadding) * 2);
}

@media screen and (max-width: 900px) {
    .iconGrid-wrapper .grid-list {
        --nColumns: 7 !important;
        --gap: 5rem !important;
    }

    .iconGrid-wrapper .grid-item figcaption {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 700px) {
    .iconGrid-wrapper .grid-list {
        --nColumns: 5 !important;
    }
}

@media screen and (max-width: 500px) {
    .iconGrid-wrapper .grid-list {
        --nColumns: 4 !important;
    }
}

@media screen and (max-width: 400px) {
    .iconGrid-wrapper .grid-list {
        --nColumns: 3 !important;
    }
}

@media screen and (max-width: 350px) {
    .iconGrid-wrapper .grid-list {
        --nColumns: 2 !important;
    }
}

/* 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 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(--blue);
}

.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 {}
}

@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;
    }
}

/* AMENITIES LIST SECTION */

.amenities-list-section {

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

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

.amenities-list-section .list-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: calc(var(--indent) * 2);
}

/* AMENITY INFOS */

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

    order: 2;

    width: 56%;
    top: var(--top);
    left: 9rem;

    transition: all .6s ease 0s;
    transition-property: top;
}

.amenities-list-section .list-info-inner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

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

    width: 41%;
}

.amenities-list-section .list-info-wrapper .amenities-list-cta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
}

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

.amenities-list-section .info-list .info-list-item {
    display: none;
    flex-direction: column;
    gap: 4rem;
    background-color: var(--white);
    padding-bottom: 2rem;
}

.amenities-list-section .info-list-item.active {
    display: flex;
}

.amenities-list-section .info-list-item figure{
    display: none;
}

.amenities-list-section .info-list-item .info-title {
    color: var(--black);
}

.amenities-list-section .info-list-item .info-text {
    color: var(--darkGrey);
}

@media screen and (max-width: 700px){
    .amenities-list-section .info-list-item.active figure{
        display: block;
        width: 40%;
        padding-top: 1rem;
    }
}

/* AMENITY ICONS */

.amenities-list-section .iconGrid-wrapper {
    width: 60%;
}

.amenities-list-section .amenities-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8rem;
    order: 1;

    transition: all .15s ease 0s;
}

.amenities-list-section .amenities-list .list-item {
    height: auto;
    width: calc(100% / 4 - 6rem);
    aspect-ratio: 1.2 / 1;
}

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

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

.amenities-list-section .amenities-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;
}

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

.amenities-list-section .amenities-list .project .cta-text {
    color: var(--blue);
}

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

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

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

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

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

@media screen and (max-width: 700px) {
    .amenities-list-section .list-wrapper {
        gap: var(--indent);
    }

    .amenities-list-section .list-info-wrapper {
        display: flex;
        gap: 2rem;
        width: 90%;
    }

    .amenities-list-section .list-info-wrapper.fixed {
        top: calc(var(--vh)* 25);
        left: 3rem;
    }

    .amenities-list-section .list-info-inner-wrapper.fixed {
        left: var(--indent);
        width: calc(100vw - var(--indent) * 3 - 8%);
    }

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

    .amenities-list-section .list-info-wrapper .amenities-list-cta {
        display: none;
    }

    .amenities-list-section .list-info-wrapper .project-info {
        display: none;
        padding-bottom: 0;
        height: var(--cardHeight);
    }

    .amenities-list-section .list-info-wrapper .project-info.active {
        display: flex;
    }

    .amenities-list-section .amenities-info .project-details .label,
    .amenities-list-section .project-info .project-details .value {
        font-size: 2.4rem;
    }

    .amenities-list-section .iconGrid-wrapper {
        width: 10%;
    }

    .amenities-list-section .iconGrid-list {
        flex-direction: column;
        width: calc(100% - 30vw - 6rem);
    }

    .amenities-list-section .amenities-list {
        gap: 0;
        width: 100%;
    }

    .amenities-list-section .amenities-list .list-item {
        padding-bottom: 4rem;
        width: 100%;
    }

    .amenities-list-section .amenities-list .list-item:not(.active) {
        opacity: .34;
    }

    .amenities-list-section .iconGrid-wrapper .grid-item figcaption {
        display: none;
    }
}

/* AMENITIES LIST */

.amenities-list .list-item:not(.active) {
    transform: scale(1);
}

.amenities-list .list-item.active {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

/* 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(--blue);
    --hl-color: var(--blue);
}

.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:nth-child(3),
.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 */

#contacts nav .header-logo .logo{
    fill: var(--black);
}

.contact-section{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.contact-section .contact-banner-column{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4rem;
    
    
    background-color: var(--lightGrey);
    
    height: calc( var(--vh) * 100  - var(--indent) * 3 );
    width: calc(50% - var(--indent) * 2);
    
    padding: calc( var(--indent) * 1.5 ) var(--indent);
}

.contact-section .contact-banner-column h1{
    font-weight: 400;
    color: var(--blue);
    max-width: 14ch;
}

.contact-section .contact-banner-column p{
    color: var(--darkGrey);
    padding-bottom: .5rem;
}

.contact-section .contact-form-column{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8rem;
    
    background-color: var(--white);
    
    height: calc( var(--vh) * 100  - var(--indent) * 3 );
    width: calc(50% - var(--indent) * 2);
    
    padding: calc( var(--indent) * 1.5 ) var(--indent);
}

.contact-section .contact-form-column h2{
    color: var(--blue);
    max-width: 14ch;
}

.contact-form-wrapper {
    width: 100%;
}

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

    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(--darkGrey);

    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(--darkGrey);
    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(--darkGrey);
    opacity: .5;
}

.contact-form .field .input::-ms-input-placeholder {
    font-family: var(--semimonoType);
    color: var(--darkGrey);
    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(--darkGrey);
    border-bottom: unset;
    padding-bottom: unset;
}

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

    color: var(--white);
    background-color: var(--blue);
    border: solid calc(var(--lineStroke) * .75) var(--blue);
    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(--blue);
        background-color: var(--white);
        border-color: var(--blue);
    }
}

@media screen and (max-width: 700px) {
    .contact-section{
        flex-direction: column;
        align-items: unset;
    }
    
    .contact-section .contact-banner-column,
    .contact-section .contact-form-column{
        width: calc(100% - var(--indent) * 2);
        height: auto;
    }
    
    .contact-section .contact-banner-column{
        height: calc( var(--vh) * 50  - var(--indent) * 3 );
    }
}

/* 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 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(--blue);
    }
}

.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 {}
}

/* LEGAL PAGE */

#legal nav .header-logo .logo{
    fill: var(--black);
}

#legal nav .label{
    color: var(--black);
}

#legal .legal-section{
    display: flex;
    flex-direction: row;
    gap 0;
}

#legal .legal-section > * {
    --padding-vert: calc(var(--indent) * 2);
    
    padding: var(--padding-vert) var(--indent);
    height: calc( var(--vh) * 100 - var(--padding-vert) * 2 );
    width: 100%;
}

#legal .legal-section .legal-banner-column{
    background-color: var(--blue);
    color: var(--white);
    
    display: flex;
    align-items: flex-end;
}

#legal .legal-section .text-wrapper{
    background-color: var(--white);
    color: var(--darkGrey);
    
    overflow-y: scroll;
}

@media screen and (max-width: 700px){
    #legal .legal-section{
        flex-direction: column;
    }

    #legal .legal-section > * {
        height: auto;
        width: calc( 100% -  var(--indent) * 2);
    }
    
    #legal .legal-section .legal-banner-column{
        padding-top: calc( var(--padding-vert) * 2 );
    }
}

/* DIVIDERS */


.divider-section {
    display: flex;
    justify-content: center;
    position: relative;

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

.indent.small {
    margin: 0 var(--indent);
}

/* 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(--blue);
    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;
}

/* WEIRD FIX */
body > p:has(br){
    display: none;
}