/* makes sizing simpler */

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

/* remove default spacing */
/* force styling of type through styling, rather than elements */

* {
  margin: 0;
  padding: 0;
  font: inherit;
}


/* min body height */

body {
  min-height: 100vh;
}

/* responsive images/videos */
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

:root {
  --off-white: #f2f0E4;
  --dark-gray: #453F47;
  --mid-gray: #B5B2B5;
  --light-gray: #A6A1A1;
  --contact-gray: #DAD9DA;
  --error-red: #C93800;
}

body {
  margin: 0;
  font-family: 'W Supreme Web Regular', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #1d1d1d;
}

h1 {
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-size: 45px;
  color: var(--dark-gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* header */
.header {
  background: transparent;
  min-height: 55px;
  color: #ffffff;
  padding: 20px 40px;
  border-bottom: 1.5px solid var(--off-white);
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.25em;
  position: fixed;
  width: 100%;
  z-index: 2;
  transition: all 0.3s ease-in-out;

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

  .logo-link {
    text-decoration: none;
    width: 240px;

    .logo {
      width: 64px;
      display: block;
    }
  }


  .main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.38vw, 64px);
    /* Responsive gap: min 16px, scales up to 64px */
    max-width: 932px;
    width: 100%;
    margin: 0 auto;

    a {
      text-transform: uppercase;
      letter-spacing: 0.25em;
      padding: 8px;
      text-decoration: none;
      color: var(--off-white);
      display: block;
      transition: 0.3s;

      &.active {
        color: #8F8C91;
      }
    }
  }

  .right-nav {
    display: flex;
    align-items: center;
    gap: 1.46vw;

    a.enquire-btn {
      background: var(--off-white);
      color: var(--dark-gray);
      padding: 16px 32px;
      text-transform: uppercase;
      text-decoration: none;
    }

    a.hamburger-link img {
      width: 48px;
      height: 48px;
    }
  }

  &.invert-colours {
    background: var(--off-white);
    border-bottom: 1.5px solid var(--dark-gray);
    color: var(--dark-gray);

    .logo-link {
      .logo {
        filter: invert(1);
      }
    }

    .main-nav a {
      color: var(--dark-gray);

      &.active {
        color: var(--light-gray);
      }
    }

    .right-nav a.enquire-btn {
      background: var(--dark-gray);
      color: var(--off-white);
    }

    .right-nav a.hamburger-link img {
      filter: invert(1);
    }
  }

  &.invert-colours.enquiry {
    background-color: transparent;
  }
}


.video-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;

  .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
  }
}

.overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25); /* dark transparent overlay */
  z-index: -1;
}

.video-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* Above the video */
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.video-overlay-text p {
  letter-spacing: 0.2em;
  line-height: 1.5em;
  text-align: center;
  font-size: 45px;
  font-family: 'W Supreme Web Semibold', sans-serif;
}

.video-overlay-text .middle-line {
  width: 3px;
  height: calc(30vh - 2rem);
}


.hero-img-bg {
  display: none;
}

/* Feature section */
.feature-section {
  display: flex;
  align-items: flex-end;

  .feature-content {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1.5px solid var(--off-white);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    height: 96px;
    font-size: 20px;
    color: var(--off-white);
    width: 100%;
  }
}

/* One-column layout */
.one-column-layout {
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  background-color: var(--dark-gray);
  color: var(--off-white);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  flex: 1 1 50%;
  min-width: 300px;

  &.inverted-colours {
    background-color: var(--off-white);
    color: var(--dark-gray);
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;

    p {
      letter-spacing: 0.2em;
      line-height: 1.5em;
      text-align: center;
      font-size: 45px;
      font-family: 'W Supreme Web Semibold', sans-serif;
    }

    img {
      width: 3px;
      height: calc(30vh - 2rem);
    }
  }

}


/* Two-column layout */
.two-column-layout {
  display: flex;
  /* flex-wrap: wrap; */
  height: 100vh;

  &.reversed {
    flex-direction: row-reverse;
  }

  .text-column {
    background-color: var(--dark-gray);
    color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    flex: 1 1 50%;
    min-width: 300px;

    .content {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 60px;

      p {
        max-width: 460px;
        font-size: 18px;
        letter-spacing: 0.05em;
        line-height: 1.5em;
        text-align: center;
      }

      img {
        width: 3px;
      }

      .feature-btn {
        border: 1px solid var(--off-white);
        background: transparent;
        color: #F2F0E4;
        padding: 16px 32px;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 18px;
        letter-spacing: 0.25em;
        line-height: 1.5em;

      }
    }
  }

  .image-column {
    flex: 1 1 50%;
    min-width: 300px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }

}

.mobile-img-bg {
  display: none;
  height: 100vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;

  .img-text-content {
    z-index: 1;
    padding: 1rem;

    img {
      width: 50%;
      margin: 0 auto;
    }
  }

  &.hero {
    background: url('../img/home/mobile/hero-bg-img.jpg') center center/cover no-repeat;
  }

  &.one {
    background: url('../img/home/mobile/feature1-bg-img.jpg') center center/cover no-repeat;
  }

  &.two {
    background: url('../img/home/mobile/feature2-bg-img.jpg') center center/cover no-repeat;
  }

  &.three {
    background: url('../img/home/mobile/feature3-bg-img.jpg') center center/cover no-repeat;
  }

  &.four {
    background: url('../img/home/mobile/feature4-bg-img.jpg') center center/cover no-repeat;
  }
}

/* three-column layout */
.three-column-layout {
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  background-color: var(--off-white);
  color: var(--dark-gray);

  .two-column {
    padding: 2rem;
    flex: 2;
  }

  .one-column {
    flex: 1;
    padding: 2rem;
    align-content: center;

    &.location-map {
      align-content: flex-start;
    }

    p {
      padding-bottom: 40px;
    }
  }

}

.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
}

.hero-scroll-wrapper {
  position: relative;
  height: 300vh;

  .hero-bg {
    position: sticky;
    top: 0;
    left: 0;
  }

  .first-trigger {
    position: absolute;
    top: 75vh;
    z-index: -1;
  }
}

.hero-scroll-wrapper.location.mobile {
  display: none;

  .content {
    z-index: 2;
    position: sticky;
    pointer-events: none;
    top: 0;
    transition: opacity 1s ease-in-out;
    margin: 0 auto;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 2rem;
    padding-top: calc(2rem + 78px);


    p {
      color: var(--off-white);
      /* font-size: 16px; */
      letter-spacing: 4px;
      line-height: 1.5em;
      text-align: center;
      font-size: 42px;
      font-family: 'W Supreme Web Semibold', sans-serif;
    }

    img {
      width: 1px;
      height: 160px;
    }

    &.fade {
      pointer-events: none;
      opacity: 0;
      z-index: -1;
    }
  }

  .scroll-wrapper {
    margin-top: -100vh;
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow-x: scroll;
    /* float: left; */

    .hero-bg {
      width: 300vw;
    }
  }
}

.hero-bg {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 1s ease-in-out;
  background-blend-mode: darken;

  &.start-darken-25 {
    background-color: rgba(0, 0, 0, 0.25);
  }

  &.darken-50 {
    background-color: rgba(0, 0, 0, 0.5);
  }

  &.darken-20 {
    background-color: rgba(0, 0, 0, 0.2);
  }

  &.darken-10 {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .content {
    transition: opacity 1s ease-in-out;
    margin: 0 auto;

    &.fade {
      pointer-events: none;
      opacity: 0;
    }
  }

  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    opacity: 1;
    background-image: url('../img/location/location-hero-text.png');
    visibility: visible;

    &.hidden {
      opacity: 0;
      visibility: hidden;
    }

  }
  
}

.other-hero {
  overflow: hidden;

  .content {
    transition: opacity 1s ease-in-out;

    &.hide {
      pointer-events: none;
      opacity: 0;
    }
  }

  .fade-out-text {
    position: absolute;
    bottom: 5rem;
    margin: 0 auto;
    max-width: 70vw;
    display: flex;
    justify-content: center;
    /* transition: opacity 1s ease-in-out; */

    &.fade {
      opacity: 0;
      visibility: hidden;
    }
  }
}

.location-hero {
  background-image: url('../img/location/location-hero-img.jpg');
}

.benefits-hero {
  background-image: url('../img/benefits/benefits-hero.jpg');
}

.full-screen-image {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.full-screen-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.design-hero-wrapper {
  position: relative;
  height: 400vh;

  .fade-trigger {
    position: absolute;
    top: 100vh;
    z-index: -1;
  }

  .first-trigger {
    position: absolute;
    top: 150vh;
    z-index: -1;
  }

  .second-trigger {
    position: absolute;
    top: 300vh;
    z-index: -1;
  }

}

.design-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  /* transition: background-color 1s ease-in-out; */
  background-blend-mode: darken;
  transition: all 1s ease-in-out;
  background-image: url('../img/design/design-feature-img-1.jpg');
  background-color: rgba(0, 0, 0, 0);


  &.fade {
    background-color: rgba(0, 0, 0, 0.25);
  }
}

.hotel-hero {
  background-image: url('../img/hotel/hotel-hero-img.jpg');
}

.enquiry-hero {
  background-image: url('../img/enquiry-bg-img.jpg');
}

.amenities-hero {
  background-image: url('../img/amenities/amenities-hero.jpg');
}

.amenities-hero-2 {
  background-image: url('../img/amenities/world-of-amenities.jpg');
}

.residences-hero {
  background-image: url('../img/residences/residences-hero.jpg');
}

.residences-hero-2 {
  background-image: url('../img/residences/w-ecosystem.jpg');
}

.video-with-text {
  text-align: left;
  padding: 6em 8em;
  color: var(--dark-gray);
  height: auto;

  &.benefits {
    .one-column-layout {
      align-items: center;
    }

    p {
      font-size: 24px;
      line-height: 1.5em;
      font-family: 'W Supreme Web Regular', sans-serif;
    }
  }

  h1 {
    font-family: 'W Supreme Web Semibold', sans-serif;
    font-size: 45px;
    color: var(--dark-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 40px;
  }

  p {
    font-family: 'W Supreme Web Regular', sans-serif;
    font-size: 18px;
    letter-spacing: 0.05em;
    line-height: 1.5em;
  }
}


.full-viewport-image {
  img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
  }
}

/* accordion */

.accordion-container {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--light-gray);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  padding: 16px 0;
  cursor: pointer;
  text-align: center;
  margin-top: -1px;
  position: relative;
}

.accordion-section.pseudo-active .accordion-header {
  color: var(--dark-gray);
  border-top: 1px solid var(--dark-gray);
  border-bottom: 1px solid var(--dark-gray);
  z-index: 1;
}

.accordion-section.active .accordion-header {
  color: var(--dark-gray);
  border-top: 1px solid var(--dark-gray);
  border-bottom: 1px solid var(--dark-gray);
  z-index: 1;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-section.active .accordion-content {
  max-height: 500px;
  /* Adjust if more content is added */
  transition: max-height 0.5s ease;
}

.accordion-content ul {
  list-style: none;
  padding: 24px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;

  &.legend {
    li {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;

      img {
        width: 48px;
        height: 8px;
      }
    }
  }
}

.accordion-content li {
  font-size: 16px;
  letter-spacing: 0.05em;
}

/* accordion END */

/* hamburger menu */
.menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  /* padding: 40px 20px;
  padding-top: 10px; */
  position: relative;
  height: 100vh;
  background: var(--off-white);
  position: fixed;
  z-index: 1002;
  justify-content: flex-start;
  overflow: scroll;
}

.menu-container.hidden {
  display: none;
}

.menu-container .logo-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 26px 24px 24px;
  border-bottom: 1px solid var(--dark-gray);
}

/* .menu-container .hamburger-menu-line {
  content: '';
  border-bottom: 1px solid var(--dark-gray);
  width: 100vw;
  height: 1px;
} */

.menu-container .logo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.menu-container .menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.menu-container .menu a {
  font-size: 48px;
  text-decoration: none;
  color: var(--dark-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;

  &.active {
    color: var(--light-gray);
  }
}

.menu-container .brochure {
  margin-top: 30px;
  display: flex;
  gap: 60px;
  
  a.btn {
    min-width: 370px;
    text-align: center;
  }
}

.menu-container .brochure a.btn {
  background-color: var(--dark-gray);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  letter-spacing: 0.25em;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 32px;
}

.menu-container .language-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 50px;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: none;
}

.menu-container .close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  cursor: pointer;
}

/* END hamburger menu */

main {
  padding: 20px;
}

.footer {
  background: var(--off-white);
  padding: 80px 40px;
  color: var(--dark-gray);
  position: relative;
  border-top: 1px solid var(--dark-gray);

  .footer-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.05em;

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

      .footer-logo {
        width: 335px;
        display: block;
      }

      .social-media {
        display: flex;
        gap: 16px;

        .social-links {
          display: flex;
          gap: 8px;
          ;

          img {
            width: 24px;
            height: 24px;
          }
        }
      }
    }

    .footer-copyright {
      display: flex;
      justify-content: center;
      gap: 16px;
      font-size: 14px;
      letter-spacing: 0.05em;

      a {
        color: var(--dark-gray);
      }
    }

    .footer-bottom {
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 16px;
      font-size: 12px;
      letter-spacing: 0.05em;
      line-height: 1.5em;
      margin-top: 20px;

    }

    .divider {
      border: none;
      height: 1.5px;
      background-color: var(--dark-gray);
      margin: 40px 0;
    }
  }
}

/* Scroll to top button */
.scroll-to-top {
  position: absolute;
  top: -50px;
  right: 0;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0.8;

  img {
    width: 60px;
    height: 60px;
  }
}

.scroll-to-top.hidden {
  display: none;
}

.scroll-to-top:hover {
  opacity: 1;
}

/* END scroll to top button */

.location {
  .carousel-section {
    height: 40vh;
  }
}

/* Carousel */
.carousel-section {
  /*height: 50vh;*/
  /* border-top: 1px solid var(--dark-gray);
  border-bottom: 1px solid var(--dark-gray); */
  background-color: var(--off-white);
  display: flex;
  align-items: center;
  width: 100vw;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 20px;
  background-color: var(--off-white);
  width: 100vw;
}

.glide__slide img {
  width: 100%;
}

/* .carousel {
  overflow: hidden;
  width: 100vw;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 30vw;
  max-width: 30vw;
  flex-shrink: 0;
  margin: 0 1rem;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
} */

.nav {
  /* background: #333;
  color: white;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%; */
  cursor: pointer;
  position: absolute;
  z-index: 1;
  border: none;
  background: transparent;

  &.left {
    top: calc(50% - (56px / 2));
    left: 100px;
  }

  &.right {
    top: calc(50% - (56px / 2));
    right: 100px;
  }
}

/* END carousel */

.services-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--off-white);
  gap: 80px;
  padding: 8em;

  .services-img {
    flex: 1.5;
  }

  .services-content {
    flex: 3.5;

    h1 {
      font-family: 'W Supreme Web Semibold', sans-serif;
      font-size: 45px;
      color: var(--dark-gray);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding-bottom: 40px;
    }

    p {
      font-family: 'W Supreme Web Regular', sans-serif;
      font-size: 18px;
      letter-spacing: 0.05em;
      line-height: 1.5em;
      margin-bottom: 40px;

      a {
        color: var(--dark-gray);
      }
    }

    img {
      display: none;
    }

    .service-items {
      display: flex;
      justify-content: space-between;

      .column1,
      .column2 {
        flex: 1;

        ul {
          list-style: none;

          li {
            font-size: 18px;
            letter-spacing: 0.07em;
            text-transform: uppercase;
            padding-bottom: 20px;
          }
        }
      }
    }

    .divider {
      margin-bottom: 40px;
    }
  }
}

.onvia {
  .onvia-wrapper {
    display: flex;

    .onvia-content {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2rem;
      flex: 1 1 40%;
      min-width: 300px;
      background-color: var(--dark-gray);

      .content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 40px;
        max-width: 485px;
        color: var(--off-white);

        h1 {
          font-family: 'W Supreme Web Semibold', sans-serif;
          font-size: 45px;
          text-transform: uppercase;
          letter-spacing: 0.1em;
          color: var(--off-white);
        }

        p {
          font-family: 'W Supreme Web Regular', sans-serif;
          font-size: 18px;
          letter-spacing: 0.05em;
          line-height: 1.5em;

          &.disclaimer {
            font-size: 14px;
            color: var(--mid-gray);
          }
        }

        .onvia-logo {
          width: 178px;
          display: block;
          padding-top: 10px;
        }
      }
    }


    .more {
      font-family: 'W Supreme Web Semibold', sans-serif;
      text-decoration: underline;
      font-size: 18px;
      letter-spacing: 0.05em;
      line-height: 1.5em;
      color: var(--off-white);
    }

    .onvia-img {
      flex: 1 1 60%;
      min-width: 300px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
    }
  }
}


/* "loading" screen */

#pre-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--dark-gray);
  /* White background for logo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1003;
  /* Ensure logo is above iframe, enquiry mobile button is 1001 */
  opacity: 0;
  /* Initially hidden for fade-in */
  /* display: none; Hide by default */

  img {
    max-width: 244px;
    /* Scale logo to fit screen */
    max-height: 240px;
    object-fit: contain;
    /* Maintain aspect ratio */
  }
}

#form-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--off-white);
  /* White background for logo */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: -100;
  /* Ensure logo is above iframe, enquiry mobile button is 1001 */
  opacity: 0;
  /* Initially hidden for fade-in */
  /* display: none; Hide by default */
  flex-direction: column;
  transition: opacity 0.5s ease-in-out;

  img {
    max-width: 244px;
    /* Scale logo to fit screen */
    max-height: 240px;
    object-fit: contain;
    /* Maintain aspect ratio */
  }

  &.show {
    display: flex;
    z-index: 1003;
    opacity: 1;
    /* Show the success message */
  }

  .text {
    font-size: 1rem;
    padding-top: 1rem;
    color: var(--dark-gray);
    text-align: center;
  }

  .close-btn {
    position: absolute;
    top: 50px;
    right: 50px;
  }
}

/* mobile enquire button */
.mobile-enquiry-button {
  display: none;
  position: fixed;
  top: 30%;
  right: 16px;
  transform: rotate(90deg);
  transform-origin: right center;
  transition: all 0.3s ease-in-out;

  background-color: var(--off-white);
  color: var(--dark-gray);
  text-decoration: none;
  font-size: 12px;
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2rem;
  padding: 0.5rem 1rem;
  /* border: 1px solid var(--dark-gray); */
  z-index: 1001;
  /* scroll to top is 1000 */

  &.invert-colours {
    background-color: var(--dark-gray);
    color: var(--off-white);
  }
}

.empire-city-special {
  padding: 120px 80px;
  height: auto;
  /* max-width: 90vw;
  box-sizing: border-box; */

  .empire-city-weird-section-left {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    .text-section {
      display: flex;
      justify-content: flex-end;

      h1 {
        justify-content: flex-end;
        font-size: 45px;
        color: var(--dark-gray);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        font-family: 'W Supreme Web Semibold', sans-serif;
        padding-right: 80px;
      }

      .text-container {
        width: 500px;

        p {
          font-size: 18px;
          padding-bottom: 40px;
        }
      }

    }

    .video-section {
      padding-top: 10rem;
    }

    .img-section {
      margin-top: 10vh;
    }


  }

  .empire-city-weird-section-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 16rem;

    p {
      margin-top: 1rem;
      font-size: 14px;
    }

    .offset-section {
      margin-left: 2rem;
    }
  }


}

.full-width.mobile-only,
.empire-city-special.mobile-only {
  display: none;
}

.full-width.mobile-only {
  background-color: var(--off-white);
  padding-top: 4rem;
}

.inspired-spaces {
  padding: 8rem 12rem;
  height: auto;

  .img-caption {
    p {
      font-size: 16px;
      padding-top: 0.5rem;
    }
  }

  .inspired-spaces-right {
    align-content: flex-end;
    padding-bottom: 6.5rem;
  }

  h1 {
    font-size: 45px;
    color: var(--dark-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'W Supreme Web Semibold', sans-serif;
    padding-bottom: 2.5rem;
  }

  .text-section {
    padding-bottom: 2.5rem;

    .text-container {
      max-width: 60%;
      min-width: 400px;
    }
  }

  .img-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;

    img {
      width: calc((100% - 2rem) / 2);
      height: auto;
      max-width: 500px;
      object-fit: cover;
    }
  }
}

.living-well {
  padding: 8rem 12rem;
  flex-direction: column;
  height: auto;

  .title {
    font-size: 45px;
    padding: 2rem;
    font-family: 'W Supreme Web Semibold', sans-serif;
    text-transform: uppercase;
    color: var(--dark-gray);
  }

  .flex-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .one-column {
    align-content: flex-start;

    h1 {
      padding: 40px 0;
      font-family: 'W Supreme Web Semibold', sans-serif;
      font-size: 30px;
      text-transform: uppercase;
    }

    p {
      font-family: 'W Supreme Web Regular', sans-serif;
      font-size: 16px;
      letter-spacing: 0.05em;
      line-height: 1.5em;
    }
  }
}

.living-well-carousel.mobile-only {
  display: none;
}

/* Hotel page */

.hotel-hero {
  .content {

    p {
      font-size: 60px;
    }

    .sub-text {
      font-size: 18px;
      text-align: center;
      letter-spacing: 0.05rem;
    }
  }
}

.img-with-text {
  padding: 6em 8em;
  height: auto;
  gap: 2rem;

  .content {
    font-size: 18px;
    letter-spacing: 0.05em;
  }

  .img-caption {
    p {
      font-size: 14px;
      padding-top: 0.5rem;
    }
  }
}

/* Developer page */
.dev-section {
  background-color: var(--dark-gray);
  height: auto;

  .content {
    max-width: 1344px;
    padding: 12rem 2rem 0;
  }

  .title {
    font-size: 60px;
  }

  .sub-text {
    max-width: 600px;
    text-align: center;
  }

  .dev-video {
    padding: 2rem 0;
  }

  .dev-logo {
    img {
      max-width: 320px;
      width: auto;
      height: auto;
      ;
      display: block;
      padding: 4rem 0;
    }
  }
}

.property-section {
  background-color: var(--dark-gray);
  height: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;

  .content {
    max-width: 1344px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
    display: flex;
    gap: 10rem;
  }

  .sub-text {
    padding-top: 0.5rem;
  }

  .one-column-layout {
    height: auto;
    justify-content: flex-start
  }

}

.team-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 8rem 10rem;
  background-color: var(--off-white);

  .sub-text {
    font-size: 24px;
    letter-spacing: 0.05em;
  }

  .container {
    display: flex;
    gap: 2rem;
    padding-top: 6rem;

    .one-column {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;

      .img-wrapper {
        display: flex;
        align-items: center;
        height: 114px;
      }

      img {
        max-width: 220px;

        &.interior-design {
          max-width: 160px;
        }
      }


    }

    p {
      font-size: 18px;
      letter-spacing: 0.05em;
      padding-bottom: 5rem;
    }
  }
}

/* Contact us */
.contact-us-section {
  background-color: var(--off-white);
  color: var(--dark-gray);
  height: auto;
  padding-bottom: 80px;

  &.menu-offset {
    padding-top: calc(97.5px + 120px + 80px);
    /* top nav + 120px + menu height */
  }

  .content {
    gap: 5rem;
  }

  p.title {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 6px;
  }

  .middle-line {
    max-height: 120px;
  }

  .subtitle {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 4.5px;
    padding-bottom: 1rem;
    text-align: center;
  }

  .sub-text {
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.05em;

    &.medium {
      font-size: 28px;
    }
  }
}

.contact-us-map {
  background-color: var(--off-white);
  height: auto;
  padding: 0 5rem;

  img {
    width: 100%;
  }
}

.pre-form {
  height: auto;
  background-color: var(--off-white);
  color: var(--dark-gray);
  padding-top: 5rem;
  padding-bottom: 5rem;

  .middle-line {
    max-height: 120px;
  }

  .sub-text {
    font-size: 18px;
    text-align: center;
  }
}

.contact-container {
  background-color: var(--off-white);
  padding-bottom: 7.5rem;
}

.contact-form-wrapper {
  margin: 0 auto;
  max-width: 720px;
}

.contact-form {
  padding: 1rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: flex;
  gap: 0.5rem;
}

.form-row input {
  flex: 1;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: none;
  font-size: 14px;
  background-color: var(--contact-gray);
  border: 1px solid var(--contact-gray);
  box-sizing: border-box;
  max-height: min-content;
}

textarea {
  resize: vertical;
}

.error-group {
  display: none;
}

.error-group.show {
  display: flex;
}

.error-icon {
  padding: 4px 0;
  padding-right: 0.3rem;
  min-width: fit-content;
}

.error-msg {
  color: var(--error-red);
  font-size: 0.75rem;
  margin-top: 4px;
}

.input-group {
  display: flex;
  flex-direction: column;
  /* margin-bottom: 10px; */
  flex: 1;
}

input.error,
textarea.error {
  border: 1px solid var(--error-red);
  outline: none;
}

.checkbox-row {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

.checkbox-label {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.form-checkbox {
  display: flex;
  flex-direction: column;
  /* gap: 0.5rem; */
  font-size: 14px;
  justify-content: flex-start;

  .checkbox-box {
    padding: 0.5rem 0;
  }

  input[type="checkbox"] {
    width: auto;
    background-color: var(--off-white);
  }

  .checkbox-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;

  }

}

.form-checkbox a {
  text-decoration: underline;
  color: var(--dark-gray);
}

.form-submit {
  display: flex;
  justify-content: flex-end;
}

.form-submit button {
  background: var(--dark-gray);
  color: var(--off-white);
  padding: 0.5rem 1.5rem;
  letter-spacing: 5px;
  border: none;
  cursor: pointer;
  min-width: 170px;
  font-family: 'W supreme Web Semibold', sans-serif;
  font-size: 18px;
}

.contact-info {
  margin-top: 1.5rem;
  text-align: center;

  p {
    font-size: 1rem;
    letter-spacing: 0.05rem;
  }
}

.contact-info a {
  font-family: 'W supreme Web Semibold', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  text-decoration: underline;
  color: var(--dark-gray);
}

.contact-info.enquiry {
  display: flex;
  justify-content: space-between;
  padding-top: 5rem;

  .whatsapp {
    text-align: left;
  }

  .social-media {
    display: flex;
    align-items: flex-end;
    gap: 16px;

    .social-links {
      display: flex;
      gap: 8px;
      ;

      img {
        width: 24px;
        height: 24px;
      }
    }
  }
}

/* sliced */
.sliced-desktop {
  display: block;

  img {
    width: 100%;
  }
}

.sliced-mobile {
  display: none;

  img {
    width: 100%;
    height: auto;
  }
}

/* privacy policy */
.privacy-policy {
  background-color: var(--off-white);
  color: var(--dark-gray);
  padding: 7.5rem 5rem;
  padding-top: calc(97.5px + 120px);
  /* top nav + 120px */

  .privacy-policy-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }

  h1 {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 6px;
    padding-bottom: 5rem;
  }

  .subheader {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 1.5rem;
  }

  .section-header {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    padding-bottom: 1rem;
  }

  .text {
    font-family: "W Supreme Web Regular", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.05rem;
    padding-bottom: 1rem;

    &:last-child {
      padding-bottom: 2.5rem;
    }
  }

  .indented {
    padding-left: 5rem;
    padding-bottom: 0.15rem;

    &:last-child {
      padding-bottom: 1.5rem;
    }
  }

  .copyright {
    padding-top: 2.5rem;
  }

}

/* Enquiry */
.enquiry-section {
  display: flex;
  flex-direction: column;

  .main-brochure {
    color: var(--dark-gray);
    font-family: 'W Supreme Web Semibold', sans-serif;
  }

  .contact-container {
    background-color: transparent;
    width: 100%;
    padding-top: 5rem;

    input,
    textarea {
      background-color: rgba(69, 63, 71, 0.25);
      border: 1px solid rgba(69, 63, 71, 0.25);
    }

    input.error,
    textarea.error {
      border: 1px solid var(--error-red);
      outline: none;
    }

    input::placeholder,
    textarea::placeholder {
      color: var(--dark-gray);
    }

    .contact-info.enquiry {
      padding-top: 2rem;
    }
  }

}

/* Amenities & Residences common */
.amenities-hero, .residences-hero, .hotel-hero {
  .content {
    p {
      text-transform: uppercase;
      font-size: 60px;
    }
  }

  .sub-text {
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.05rem;
  }
}

/* Amenities */

.axo-facade {
  background-color: var(--off-white);
  height: 400vh;
  position: relative;

  .trigger {
    position: absolute;
    top: 0;
    width: 0;
    background-color: transparent;
    z-index: -10;
    pointer-events: none;

    &.first {
      top: 0vh;
    }

    &.second {
      top: 100vh;
    }

    &.third {
      top: 200vh;
    }
  }

  .left-column {
    width: 40vw;
    position: relative;
    align-content: unset;

    .image-content-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: calc(100vh - 100px);
      position: sticky;
      top: 0;
      padding-top: 100px;
      /* 100px offset for top nav */
      max-height: calc(100vh - 100px);
      padding-left: 5vw;

      .away-content,
      .living-room-content,
      .wet-fit-content {
        transition: opacity 0.5s ease-in-out;
        opacity: 1;
        max-height: fit-content;
        height: fit-content;

        &.fade {
          opacity: 0;
          max-height: 0px;
          height: 0px;
          visibility: hidden;
        }
      }

      h1 {
        font-family: 'W Supreme Web Semibold', sans-serif;
        font-size: 45px;
        letter-spacing: 4.5px;
        text-transform: uppercase;
        padding-bottom: 40px;
      }

      .level {
        font-family: 'W Supreme Web Semibold', sans-serif;
        font-size: 20px;
        letter-spacing: 5px;
        text-transform: uppercase;
        padding-bottom: 40px
      }

      .text {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 18px;
        letter-spacing: 1px;
        padding-bottom: 40px;
      }
    }
  }

  .axo-facade-image {
    position: relative;
    width: 20vw;
    align-content: unset;

    .image-wrapper {
      position: sticky;
      top: 0;
      display: flex;
      align-content: center;
      justify-content: center;
      padding-top: 100px;
      /* 100px offset for top nav */
    }

    img {
      height: auto;
      max-height: calc(100vh - 200px);

    }
  }

  .right-column {
    width: 40vw;
    position: relative;
    align-content: unset;


    .text-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: calc(100vh - 100px);
      position: sticky;
      top: 0;
      padding-top: 100px;
      /* 100px offset for top nav */
      max-height: calc(100vh - 100px);
      margin-left: -10vw;

      .text {
        display: flex;
        align-items: center;
        text-align: left;
        min-height: calc((100vh - 100px) / 3);
        width: 100%;

        .title-subtext {
          padding-left: 80px;
          text-decoration: underline;

          h2 {
            font-family: 'W Supreme Web Semibold', sans-serif;
            font-size: 1rem;
            letter-spacing: 0.05rem;
          }

          p {
            text-align: center;
            font-family: 'W Supreme Web Regular', sans-serif;
            font-size: 14px;
            letter-spacing: 1px;
            padding-bottom: 0px;
          }
        }

        .middle-line {
          width: 90px;
          height: 3px;
        }



        .away,
        .living-room,
        .wet-fit {
          display: flex;
          align-items: center;
          transition: opacity 0.5s ease-in-out;

          &.fade {
            opacity: 0.4;
            cursor: not-allowed;
            pointer-events: none;

            .title-subtext {
              text-decoration: none;
            }
          }
        }

        .away {
          padding-top: 5vh;
        }

        .living-room {
          padding-bottom: 12vh;
        }

        .wet-fit {
          padding-bottom: 25vh;
        }
      }
    }
  }
}

.amenities-accordion.mobile-only {
  background-color: var(--off-white);
  display: none;
}

.amenities-accordion {
  background-color: var(--off-white);
  min-height: auto;
  height: auto;
  padding-bottom: 4.5rem;

  .image-wrapper>img {
    max-height: 90vh;
    padding-bottom: 2.5rem;
    margin: 0 auto;
  }

  .image-wrapper {
    position: relative;

    .text-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: calc(90vh - 2.5rem);
      position: absolute;
      top: 0;
      right: -10px;
      max-height: calc(90vh - 2.5rem);

      .text {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
        min-height: calc((90vh - 2.5rem) / 3);
        width: 100%;
        color: var(--dark-gray);

        .away,
        .living-room,
        .wet-fit {
          display: flex;
          align-items: center;

        }

        .title-subtext {
          text-align: center;
          padding-left: 1rem;

          h2 {
            font-family: 'W Supreme Web Semibold', sans-serif;
            font-size: 0.5rem;
            letter-spacing: 0.05rem;
          }

          p {
            text-align: center;
            font-family: 'W Supreme Web Regular', sans-serif;
            font-size: 7px;
            letter-spacing: 1px;
            padding-bottom: 0px;
          }
        }

        .middle-line {
          width: 40px;
        }



        /* .away, .living-room, .wet-fit {
          display: flex;
          align-items: center;
          transition: opacity 0.5s ease-in-out;

          &.fade {
            opacity: 0.4;
          } */
      }

      .away {
        padding-bottom: 0vh;
      }

      .living-room {
        padding-bottom: 10vh;
      }

      .wet-fit {
        padding-bottom: 17vh;
      }
    }

  }


  .accordion-container {
    max-width: 1200px;
  }

  .accordion-section {

    .accordion-icon {
      .plus {
        display: block;
      }

      .minus {
        display: none;
      }
    }

    &.active {
      .accordion-content {
        max-height: 1500px;
      }

      .accordion-icon {
        .plus {
          display: none;
        }

        .minus {
          display: block;
        }
      }

    }


    .accordion-header {
      display: flex;
      justify-content: space-between;
      font-size: 21px;
      align-items: center;
      border-bottom: none;
      color: var(--dark-gray);
      border-top: 1px solid var(--dark-gray);

      .title {
        position: relative;

        .floating {
          position: absolute;
          top: 4px;
          right: -12px;
          z-index: 10;
          font-size: 11px;

          /* &.wet-fit {
            right: 0;
            left: -5px;
          } */
        }
      }
    }

    &.pseudo-active .accordion-header {
      border-bottom: none;

      /* &:last-child {
        border-bottom: 1px solid var(--dark-gray);
      } */
    }

    &.active .accordion-header {
      border-bottom: none;
    }

    &:last-child .accordion-header {
      border-bottom: 1px solid var(--dark-gray);
    }

  }

  .accordion-content {
    color: var(--dark-gray);

    .content-wrapper {
      padding-top: 1.5rem;

      .level {
        font-family: 'W Supreme Web Semibold', sans-serif;
        font-size: 12px;
        letter-spacing: 5px;
        text-transform: uppercase;
        padding-bottom: 1rem;
      }

      .blurp {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 14px;
        line-height: 1.5;;
        letter-spacing: 1px;
        padding-bottom: 1rem;
      }

      .points {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 14px;
        line-height: 1.5;;
        letter-spacing: 1px;
        padding-bottom: 1rem;

        .subpoint {
          padding-left: 1rem;
        }
      }

      .image {
        padding-bottom: 1.5rem;
      }

    }
  }
}

/*Amenities modal */

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Show Modal and Lock Scroll */
body.modal-open {
  overflow: hidden;
}

.open-modal-btn {
  cursor: pointer;
}

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

.modal#wet-fit-modal {
  .modal-content {
    height: 85vh;
   padding: 4rem 4rem;

   .modal-text, .modal-carousel {
    padding-top: 0;
   }
  }
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #F2F0E4;
  padding: 4rem 6rem;
  max-width: 2880px;
  max-height: 1800px;
  width: 90vw;
  height: 80vh;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2rem;

  .modal-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 2rem;
    color: var(--dark-gray);
    overflow-y: auto;           /* enables vertical scroll */
    max-height: 90vh;  

    h6 {
      font-size: 20px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 2rem 0
    }

    .points {
      p {
        font-size: 18px;
        letter-spacing: 0.05em;
        padding-bottom: 0.1rem;
      }
    }
    .subpoint {
      padding-left: 1rem;
    }
  }

  .modal-carousel {
    flex: 3;
    padding-top: 2rem;
    width: 60%;
    max-height: 100%;
    height: 100%;

    .nav.right {
      right: calc(-56px / 2);
    }

    .nav.left {
      left: calc(-56px / 2);
    }

    .glide {
      height: 100%;

      .glide__track {
        height: 100%;

        .glide__slides {
          height: 100%;

          .glide__slide {
            display: flex;
            justify-content: center;
            flex-direction: column;
          }

          img {
            /* width: 100%; */
            /* height: 100%; */
            object-fit: cover;
            display: block;
            max-height: calc(100% - 20px);

          }
        }
      }
    }

    .caption {
      font-size: 14px;
      letter-spacing: 0.05em;
      padding-top: 0.2rem;
    }
  }
}

.close-btn {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}


.superscript{
  vertical-align: top;
  font-size: smaller;
}

/* Residences */

.residences-details {
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 160px;
    column-gap: 2rem;
    background-color: var(--off-white);
    padding: 8rem 14rem
  }

  .card {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 220px;
    box-sizing: border-box;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--dark-gray);
    
  }

  .title {
    font-family: 'W Supreme Web Semibold', sans-serif;
    letter-spacing: 0.1em;
    font-size: 30px;
    text-transform: uppercase;
  }


  .details {
    font-size: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
}

.living-smart {
  .smart-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--off-white);
    gap: 80px;
    padding: 8em 10em;

    .smart-content {
      padding-top: 1rem;
      font-size: 24px;
      letter-spacing: 0.05em;

      .title {
        font-family: W Supreme Web Semibold;
        font-size: 45px;
        text-transform: uppercase;
        margin-bottom: 2.5rem;
        letter-spacing: 0.1em;
      }   

      .divider {
        margin: 2.5rem 0;
      }

      .list {
        font-size: 18px;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        list-style: none;
          li {
            padding-bottom: 1.5rem;
          }
        
      }

      .disclaimer {
        font-size: 14px;
        letter-spacing: 0.05em;
      }
    }
  }
}

.artistry {
  background-color: var(--off-white);
  padding: 4rem 10rem 6rem;
  .title {
    font-size: 45px;
    font-family: W Supreme Web Semibold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
  }

  p {
    font-size: 24px;
    letter-spacing: 0.05em;
  }
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 6.5rem;
    row-gap: 160px; 
  }

  .card {
    flex: 1 1 calc(25% - 1.5rem);
    max-width: 215px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;

    .logo-img {
      display: flex;
      align-items: center;
      height: 136px;
      margin-top: 2rem;

      &.v-zug {
        width: 136px;
      }
    }

    .text {
      font-size: 18px;
      letter-spacing: 0.05em;
    }
    
  }
}

.residences-stacking {
  position: relative;
  height: 700vh;
  background-color: var(--off-white);

  .one-column {
    position: relative;

    .image-container,
    .text-container {
      display: flex;
      position: sticky;
      top: 95px;
      width: 50vw;
      /* padding-top: 95px; */
      height: calc(100vh - 95px);
      /* max-height: calc(100vh - 100px); */
    }

    .image-container {
      background-color: var(--off-white);
      display: flex;
      justify-content: center;
      align-items: center;
      background-blend-mode: darken;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transition: all 1s ease-in-out;
      background-image: url('../img/residences/stacking-plan-1.jpg');
     
      img {
        width: 100%;
        height: 100%;
        transition: opacity 0.5s ease-in-out;
        opacity: 1;

        &.fade {
          opacity: 0;
          max-height: 0px;
          max-width: 0px;
          height: 0px;
          visibility: hidden;
        }
      }
      
    }

    .text-container {
      background-color: var(--dark-gray);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;


      img {
        width: fit-content;
        height: fit-content;
        padding-bottom: 2.5rem;
      }

      .middle-line {
        width: 3px;
        height: 120px;
      }

      .logo {
        width: 160px;
      }

      .text {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 24px;
        letter-spacing: 0.05em;
        color: var(--off-white);
        text-align: center;
        max-width: 33vw;
        line-height: 1.5;
        height: 110px;

        transition: opacity 0.5s ease-in-out;
        opacity: 1;

        &.fade {
          opacity: 0;
          max-height: 0px;
          height: 0px;
          visibility: hidden;
        }
      }
    }
  }

  .triggers {
    position: absolute;
    top: 0;
    width: 0;
    background-color: transparent;
    z-index: -10;
    pointer-events: none;

    &.first {
      top: 100vh;
    }

    &.second {
      top: 200vh;
    }

    &.third {
      top: 300vh;
    }

    &.fourth {
      top: 400vh;
    }

    &.fifth {
      top: 500vh;
    }

    &.sixth {
      top: 600vh;
    }
  }

}