
/* Novecento sans narrow Normal */
@font-face {
  font-family: "Novecento sans narrow";
  src: url('./Nocento/fonts/fonnts.com-Novecento_sans_Normal.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* STIX Two Math */
@font-face {
  font-family: "STIX Two Math";
  src: url('./STIXTwoMath/STIXTwoMath-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

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

.content {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-clip-path: border-box;
          clip-path: border-box;
  transform: translateZ(0);
}

.block {
  position: relative;
  height: 100vh;
}

[class*=item-parallax] {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.item-parallax-media {
  z-index: 1;
}
.item-parallax-media img {
  will-change: transform;
}

.item-parallax-content {
  z-index: 2;
}

.block:nth-child(1) .item-parallax-content {
  transform: translateY(calc( var(--yBlock-1) * 0.5px ));
}

.block:nth-child(1) .item-parallax-media img {
  transform: translateY(calc( var(--yBlock-1) * 0.1px ));
}

.block:nth-child(2) .item-parallax-content {
  transform: translateY(calc( var(--yBlock-2) * 0.5px ));
}

.block:nth-child(2) .item-parallax-media img {
  transform: translateY(calc( var(--yBlock-2) * 0.1px ));
}

.block:nth-child(3) .item-parallax-content {
  transform: translateY(calc( var(--yBlock-3) * 0.5px ));
}

.block:nth-child(3) .item-parallax-media img {
  transform: translateY(calc( var(--yBlock-3) * 0.1px ));
}

.block:nth-child(4) .item-parallax-content {
  transform: translateY(calc( var(--yBlock-4) * 0.5px ));
}

.block:nth-child(4) .item-parallax-media img {
  transform: translateY(calc( var(--yBlock-4) * 0.1px ));
}

.block:nth-child(5) .item-parallax-content {
  transform: translateY(calc( var(--yBlock-5) * 0.5px ));
}

.block:nth-child(5) .item-parallax-media img {
  transform: translateY(calc( var(--yBlock-5) * 0.1px ));
}

html {
  background-color: #00171f;
}

.flex-container {
  display: flex;
}

.centered-content {
  margin: auto;
  font-family: "STIX Two Math", serif;
}

.centere {
  color: white;
  font-family: "Novecento sans narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: normal;
  /*  font-size: 1.05em; */
   font-size: 1.25em;
}
/*   font-size: 1.5em; font-weight: bold; */
.first-cap {
  font-size: 1.25em;
  font-weight: normal;

 
}

.head-large {
  margin-bottom: 5vw;
  font-size: 6vw;
  /* font-size: 10vw; */
  line-height: 1.2em;
  /* font-familyx: "Novecento sans narrow", sans-serif; */
  font-family: "STIX Two Math",normal;;
  
  color: white;
}
.head-less-large {
  margin-bottom: 5vw;
  font-size: 4vw;
  /* font-size: 10vw; */
  line-height: 1.2em;
  font-family: "Novecento sans narrow", sans-serif;
  color: white;
}
.head-small {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.2em;
  /* font-family: "Novecento sans narrow", sans-serif; 
   font-family: "STIX Two Math",normal;;*/
  font-family: "STIX Two Math",normal;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.head-centered {
  text-align: center;
}

.copy {
  display: block;
  max-width: 500px;
  margin-right: auto;
  margin-bottom: 1.5rem;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  font-family: "STIX Two Math", serif;
  font-size: 1rem;
  line-height: 1.8em;
  text-align: center;
}

.copy-white {
  color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.item-parallax-media {
  overflow: hidden;
}
.item-parallax-media img {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  -o-object-fit: cover;
     object-fit: cover;
  object-position: center center;
  max-width: none;
}

.section-landing .item-parallax-media {
  opacity: calc( 1 - (var(--y) * 0.0009) );
}

.landing-content {
  padding-left: 30%;
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
}

.landing-logo {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 330px;
  height: auto;
  z-index: 2;
}

.landing-tagline {
  position: absolute;
  bottom: calc(10% + 12em);
  right: 50%;
  font-size: 16px;
  font-family: "STIX Two Math", serif;
  color: white;
  text-align: right;
  margin: 0;
  z-index: 2;
}

.detail-link {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #00171f;
  text-decoration: none;
  font-family: "STIX Two Math", serif;
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid #00171f;
  transition: all 0.3s ease;
  z-index: 3;
}

.detail-link:hover,
.detail-link:focus {
  background-color: #00171f;
  color: white;
  border-color: white;
}

.section-landing:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5px;
  height: 80%;
  background-color: white;
  transform: translateX(-50%) translateY(-50%) rotate(calc( (var(--y) * 0.1deg) ));
  will-change: transform;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
  z-index: 2;
}

.section-intro {
  font-family: "STIX Two Math", serif;
}

.section-intro:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 80%;
  background-color: #0d232a;
  transform: translateX(-50%) translateY(-50%) rotate(calc( (var(--y) * 0.1deg) ));
  will-change: transform;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
}

.img-grid {
  flex-direction: column;
  justify-content: space-around;
}

.img-gridItem {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}
.img-gridItem img {
  display: block;
  width: 50%;
  height: 40vh;
  -o-object-fit: cover;
     object-fit: cover;
  will-change: transform;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
}
.img-gridItem.type-left img {
  margin-right: auto;
}
.img-gridItem.type-right img {
  margin-left: auto;
}

.img-gridItem:nth-child(1) img {
  transform: translateX(calc( var(--yBlock-4) * -0.03% ));
}
.img-gridItem:nth-child(2) img {
  transform: translateX(calc( var(--yBlock-4) * 0.03% ));
}

.img-caption {
  position: absolute;
  top: 50%;
  width: 50%;
  transform: translateY(-50%);
}
.img-caption * {
  text-align: left;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
.type-left .img-caption {
  right: 0;
}
.type-right .img-caption {
  left: 0;
}

.section-end:before {
  content: "";
  position: absolute;
  bottom: 50%;
  left: 24%;
  width: 10px;
  height: 80%;
  background-color: white;
  z-index: 3;
  transform: translateY(8vw);
}

.custom-properties-ftw {
  padding: 2.5rem 1.5rem;
}
.custom-properties-ftw .head-small {
  margin-bottom: 0;
}

/* Contact Links Styling */
.contact-link {
  color: white;
  text-decoration: underline;
  transition: color 0.3s ease, opacity 0.3s ease;
  font-family: "STIX Two Math", serif;
}

.contact-link:hover,
.contact-link:focus {
  color: #64b5f6;
  opacity: 0.9;
}

.contact-link:active {
  color: #42a5f5;
}

/* Responsive Design - Mobile Optimizations */
@media screen and (max-width: 768px) {
  .head-large {
    font-size: 8vw;
    margin-bottom: 8vw;
    padding: 0 1rem;
  }

  .head-small {
    font-size: 1rem;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
  }

  .copy {
    font-size: 0.95rem;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-bottom: 1rem;
  }

  .landing-content {
    padding-left: 10%;
    padding-right: 5%;
  }

  .section-landing .item-parallax-media img {
    object-position: center center;
  }

  .landing-logo {
    max-width: 248px;
  }

  .section-intro:before {
    width: 6px;
  }
}

@media screen and (max-width: 480px) {
  .head-large {
    font-size: 9vw;
    line-height: 1.3em;
    margin-bottom: 10vw;
  }

  .head-small {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
  }

  .copy {
    font-size: 0.9rem;
    line-height: 1.6em;
  }

  .landing-content {
    padding-left: 5%;
    padding-right: 5%;
  }

  .section-landing .item-parallax-media img {
    object-position: center center;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
  }

  .landing-logo {
    max-width: 198px;
  }

  .section-end:before {
    display: none;
  }

  .contact-info {
    padding: 1rem;
    font-family: "STIX Two Math", serif;
  }
}

/* Tablet Optimization */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .head-large {
    font-size: 7vw;
  }

  .landing-content {
    padding-left: 20%;
  }

  .section-landing .item-parallax-media img {
    object-position: center center;
  }

  .landing-logo {
    max-width: 297px;
  }
}

/* Improve text readability on all devices */
@media screen and (max-width: 1024px) {
  .item-parallax-content {
    background: rgba(0, 23, 31, 0.3);
  }

  .section-intro .item-parallax-content {
    background: rgba(0, 23, 31, 0.85);
  }
}

/* Accessibility: Ensure sufficient contrast and touch targets */
@media (hover: none) and (pointer: coarse) {
  .contact-link {
    display: inline-block;
    padding: 0.5rem 0;
    min-height: 44px;
    line-height: 1.5;
  }
}

/* Print Styles */
@media print {
  .item-parallax-media,
  .section-intro:before,
  .section-end:before {
    display: none;
  }

  .content {
    overflow: visible;
  }

  .block {
    page-break-inside: avoid;
  }

  body {
    background-color: white;
  }

  .head-large,
  .head-small,
  .copy,
  .contact-link {
    color: black !important;
  }
}