:root {
  --page-bg: #efefef;
  --text-color: #292929;
  --page-max-width: 1640px;
  --layout-width: min(calc(100vw - 48px), var(--page-max-width));
  --desktop-gap: 16px;
  --layout-col: calc((var(--layout-width) - (11 * var(--desktop-gap))) / 12);
  --mobile-gap: 10px;
  --content-scroll-padding: 70px;
  --grid-bleed: calc(var(--layout-col) + var(--desktop-gap));
  --layout-w-unit: calc(var(--layout-width) / 100);
  --images-y-shift: calc((68.902 * var(--layout-w-unit)) - 100vh);
  --last-image-button-gap: 170px;
  --img08-top: calc((233.902 * var(--layout-w-unit)) - var(--images-y-shift));
  --img08-width: calc((4 * var(--layout-col)) + (3 * var(--desktop-gap)));
  --img08-height: calc(var(--img08-width) * 1.5);
  --bottom-btn-top: calc(var(--img08-top) + var(--img08-height) + var(--last-image-button-gap));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: var(--page-bg);
  color: var(--text-color);
}

html.text-page,
html.text-page body,
html.text-page body .landing {
  overflow: auto;
}

.landing {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--page-bg);
}

.desktop-layout {
  display: block;
  width: 100%;
  height: 100%;
}

.mobile-layout {
  display: none;
}

.stage {
  width: var(--layout-width);
  margin: 0 auto;
}

.images-overlay {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: visible;
  pointer-events: none;
  z-index: 20;
}

.images-canvas {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--layout-width) + (2 * var(--grid-bleed)));
  padding-left: var(--grid-bleed);
  padding-right: var(--grid-bleed);
  margin: 0;
  height: calc(var(--bottom-btn-top) + 120px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--desktop-gap);
  row-gap: 0;
  align-content: start;
}

.parallax-item {
  grid-row: 1;
  position: relative;
  align-self: start;
  margin: 0;
  will-change: transform;
  pointer-events: auto;
}

.parallax-item > img:not(.mobile-image-logo) {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.parallax-item .mobile-image-overlay,
.parallax-item .mobile-image-logo {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.parallax-item .mobile-image-overlay {
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2;
}

.parallax-item .mobile-image-logo {
  z-index: 3;
  width: 100%;
  max-width: 55%;
  aspect-ratio: 160 / 111;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.parallax-item.is-overlay-active .mobile-image-overlay,
.parallax-item.is-overlay-active .mobile-image-logo {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .parallax-item:hover .mobile-image-overlay,
  .parallax-item:hover .mobile-image-logo {
    opacity: 1;
  }
}

.img-01 { grid-column: 1 / span 3; top: calc((36.585 * var(--layout-w-unit)) - var(--images-y-shift)); aspect-ratio: 398 / 543; }
.img-02 { grid-column: 2 / span 7; top: calc((68.902 * var(--layout-w-unit)) - var(--images-y-shift)); aspect-ratio: 952 / 605; }
.img-03 { grid-column: 8 / span 5; top: calc((85.366 * var(--layout-w-unit)) - var(--images-y-shift)); aspect-ratio: 674 / 822; }
.img-04 { grid-column: 1 / span 6; top: calc((121.951 * var(--layout-w-unit)) - var(--images-y-shift)); aspect-ratio: 814 / 658; margin-left: calc(-1 * var(--grid-bleed)); width: calc(100% + 2px); }
.img-05 { grid-column: 6 / span 5; top: calc((132.927 * var(--layout-w-unit)) - var(--images-y-shift)); aspect-ratio: 674 / 843; }
.img-06 { grid-column: 2 / span 7; top: calc((165.707 * var(--layout-w-unit)) - var(--images-y-shift)); aspect-ratio: 950 / 514; width: calc(100% - 2px); }
.img-07 { grid-column: 8 / span 4; top: calc((205.488 * var(--layout-w-unit)) - var(--images-y-shift)); aspect-ratio: 538 / 539; }
.img-08 {
  grid-column: 1 / span 3;
  top: var(--img08-top);
  aspect-ratio: 536 / 804;
  margin-left: calc(-1 * var(--grid-bleed));
  width: calc(100% + var(--grid-bleed));
}

.scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.16px;
  width: fit-content;
  pointer-events: auto;
}

.icon-box {
  display: inline-flex;
  width: 50px;
  height: 50px;
  border: 1px solid #000;
  align-items: center;
  justify-content: center;
}

.icon-box img {
  width: 21px;
  height: 21px;
}

.image-grid-cta {
  grid-column: 5 / span 4;
  grid-row: 1;
  position: relative;
  justify-self: start;
  align-self: start;
  margin-top: calc((59.39 * var(--layout-w-unit)) - var(--images-y-shift));
  z-index: 30;
}

.image-grid-cta-bottom {
  grid-column: 5 / span 4;
  grid-row: 1;
  position: relative;
  justify-self: start;
  align-self: start;
  margin-top: var(--bottom-btn-top);
  z-index: 30;
}

.fixed-ui-layer {
  position: relative;
  z-index: 10;
  width: var(--layout-width);
  min-height: calc(100vh - 80px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas: ". . . . main main main main . . rail rail";
  column-gap: var(--desktop-gap);
  row-gap: 20px;
  align-content: start;
  align-items: start;
  padding: 0 0 80px;
}

.main-stack {
  grid-area: main;
  align-self: start;
  margin-top: 92px;
}

.right-rail {
  grid-area: rail;
  align-self: start;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 40px;
}

.logo {
  width: 100%;
  max-width: 260px;
}

.headline {
  margin: 0;
  font-size: 35px;
  line-height: 45px;
  letter-spacing: 0.35px;
  font-weight: 400;
}

.intro-text {
  margin-top: 78px;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.16px;
}

.intro-text p {
  margin: 0 0 26px;
}

.intro-text .opening-title {
  margin-top: 52px;
  margin-bottom: 0;
}

.intro-text .opening-title strong {
  font-weight: 600;
}

.intro-text a {
  color: #000000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.intro-text strong a {
  font-weight: 700;  
}

.intro-text a:hover {
  color: #808080;
}

.contact-stack {
  width: 100%;
}

.contact {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.16px;
  font-style: normal;
}

.contact p {
  margin-bottom: 26px;
}

.contact p a {
  text-decoration: none;
  color: var(--text-color);
}

.contact p a:hover {
  color: #808080;
}

.socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  margin-bottom: 30px;
}

.socials a {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.legal a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.16px;
}

.legal a:hover {
  color: #808080;
}


@media (max-width: 1024px) {
  :root {
    --mobile-side-pad: 90px;
  }

  html,
  body {
    height: auto;
    overflow: auto;
    overflow-x: hidden;
  }

  .landing {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .desktop-layout {
    display: none;
  }

  .mobile-layout {
    display: block;
    width: 100%;
  }

  .mobile-page {
    width: 100%;
    margin: 0 auto;
    padding: 34px var(--mobile-side-pad) 42px;
    --mobile-frame: calc(100vw - (2 * var(--mobile-side-pad)));
    --m-scale: calc(var(--mobile-frame) / 390);
    --mobile-col-8: calc((100% - (7 * var(--mobile-gap))) / 8);
    --mobile-span-4: calc((4 * var(--mobile-col-8)) + (3 * var(--mobile-gap)));
    --img08-flow-h: calc((262 / 390) * 100vw);
    --img08-height: calc(var(--img08-width) * (262 / 175));
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--mobile-gap);
    row-gap: 0;
    background: var(--page-bg);
  }

  a.mobile-logo-link {
    display: block;
    grid-column: 1 / -1;
    justify-self: end;
  }

  .mobile-logo {
    width: 160px;
    max-width: none;
    margin-top: 26px;
    margin-bottom: 83px;
  }

  .mobile-main {
    grid-column: 1 / span 8;
  }

  .mobile-headline {
    margin: 0;
    font-size: 35px;
    line-height: 45px;
    letter-spacing: 0.35px;
    font-weight: 400;
  }

  .mobile-intro {
    margin-top: 36px;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.16px;
    margin-bottom: 24px;
  }

  .mobile-intro p {
    margin: 0 0 10px;
  }

  .mobile-intro a {
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  }

  .mobile-opening p strong {
  font-weight: 600;
}

.mobile-intro p strong {
  font-weight: 700;  
}

.mobile-intro a:hover {
  color: #808080;
}


  .mobile-divider {
    width: 161px;
    height: 1px;
    margin: 24px auto 10px;
    background: #707070;
  }

  .mobile-opening-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--mobile-gap);
    align-items: start;
    width: 100%;
    margin-left: 0;
  }

  .mobile-opening {
    grid-column: 1 / span 4;
    width: 100%;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.16px;
    padding-top: 30px;
  }

  .mobile-opening p {
    margin: 0 0 10px;
  }

  .mobile-image {
    margin: 0;
    overflow: hidden;
    justify-self: stretch;
    position: relative;
    z-index: 1;
    isolation: isolate;
    transition: none;
  }

  .mobile-image > img:not(.mobile-image-logo) {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
  }

  .mobile-image-overlay,
  .mobile-image-logo {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 220ms ease;
  }

  .mobile-image-overlay {
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2;
  }

  .mobile-image-logo {
    z-index: 3;
    width: 100%;
    max-width: 55%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
  }

  .mobile-image.is-overlay-active .mobile-image-overlay,
  .mobile-image.is-overlay-active .mobile-image-logo {
    opacity: 1;
  }

  @media (hover: hover) and (pointer: fine) {
    .mobile-image:hover .mobile-image-overlay,
    .mobile-image:hover .mobile-image-logo {
      opacity: 1;
    }
  }

  .m-img-opening {
    grid-column: 5 / span 4;
    width: calc(100% + var(--mobile-side-pad));
    margin-top: 0;
    margin-left: 0;
    margin-right: calc(-1 * var(--mobile-side-pad));
  }

  .mobile-gallery {
    grid-column: 1 / span 8;
    margin-top: 78px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--mobile-gap);
    row-gap: 35px;
  }

  .m-img-02 {
    grid-column: 1 / span 7;
    width: calc(100% + var(--mobile-side-pad));
    margin-top: 0;
    margin-left: calc(-1 * var(--mobile-side-pad));
  }
  .m-img-03 { grid-column: 3 / span 6; width: 100%; margin-top: 0; margin-left: 0; }
  .m-img-04 { grid-column: 1 / span 7; width: 100%; margin-top: -69px; margin-left: 0; }
  .m-img-05 {
    grid-column: 4 / span 5;
    width: calc(100% + var(--mobile-side-pad));
    margin-top: -23px;
    margin-left: 0;
    margin-right: calc(-1 * var(--mobile-side-pad));
  }
  .m-img-06 {
    grid-column: 1 / span 8;
    width: calc(100% + var(--mobile-side-pad));
    margin-top: -60px;
    margin-left: calc(-1 * var(--mobile-side-pad));
  }
  .m-img-07 { grid-column: 2 / span 5; width: 100%; margin-top: -55px; margin-left: 0; }

  .mobile-footer-row {
    grid-column: 1 / span 8;
    margin-top: 165px;
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--mobile-gap);
    align-items: start;
  }

  .m-img-08 {
    grid-column: 1 / span 4;
    width: calc((175 / 390) * 100vw);
    height: auto;
    margin: 0 0 0 calc(-1 * var(--mobile-side-pad));
  }

  .m-img-08 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .mobile-contact.mobile-contact-without-images {
    margin-top: 0px;
  }

  .mobile-contact {
    grid-column: 5 / span 4;
    width: 100%;
    max-width: 160px;
    align-self: start;
    margin-top: calc(var(--img08-flow-h) - 37px);
    margin-right: 0;
  }

  .mobile-contact .contact {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.16px;
    margin: 0;
  }

  .mobile-contact .contact p {
    margin: 0 0 26px;
  }

  .mobile-contact .socials {
    margin-top: 24px;
    margin-bottom: 18px;
    gap: 14px;
  }

  .mobile-contact .socials a {
    width: 24px;
    height: 24px;
  }

  .mobile-bottom-links {
    grid-column: 1 / span 8;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--mobile-gap);
    align-items: start;
  }

  .mobile-scroll-top-btn {
    grid-column: 1 / span 1;
    justify-self: start;
  }

  .mobile-scroll-top-btn .icon-box {
    width: 50px;
    height: 50px;
  }

  .mobile-bottom-links .legal {
    grid-column: 5 / span 4;
    justify-self: start;
    margin-top: 0;
    gap: 0;
  }

  .mobile-bottom-links .legal a {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.16px;
  }
}

@media (max-width: 767px) {
  :root {
    --mobile-side-pad: 30px;
  }

  .mobile-page {
    padding-top: 36px;
  }
}
