@import url(https://db.onlinewebfonts.com/c/4c4a87973ef80fc72049e01b9085fadc?family=ABC+Diatype);

html, body {
  background: #f7f7f7;
  color: #424242;
  font-family: "ABC Diatype", Arial, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}


.vertical-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  height: 100vh;
  padding: 3rem 0 2rem 3rem; /* Top padding pushes items down from very top */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  z-index: 1000;                     
  background: transparent;
}

.vertical-nav ul {
  list-style: none;
  text-align: left;
}

.vertical-nav li {
  margin-bottom: 1.6rem; /* Consistent spacing */
}

.vertical-nav a {
  color: #999;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.vertical-nav a:hover {
  color: #424242;
}



/* ---------- LOCOMOTIVE ---------- */
.smooth-scroll { overflow: hidden; }
.hero-scroller { height: 180vh; overflow: hidden; }

.section {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 90vh;
  padding: 60px 100px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.section-wrapper { max-width: 1400px; }
.section-wrapper .hero-content { 
  width: 100%; 
  max-width: 840px; 
  margin: 0 auto; 
}

.copy {
  background: #f7f7f7;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.copy::before {               
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/standing-2.webp") center/cover no-repeat;
  opacity: 0.40;              
  z-index: 1;
  padding: 50px 0;
}

.copy-inner {                  
  position: relative;
  z-index: 2;
  text-align: center;
}

.copy-content {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}

h1 {
  font-size: 150px;
  font-weight: 400;
  line-height: 130px;
  margin: 0;
  text-transform: uppercase;
}

p {
    font-size: 3em;
    line-height: 1.3em;
    font-weight: 300;
}

.animated-text {
  margin-bottom: 3rem;
  overflow: hidden;
  line-height: 1.3;
}

.animated-text span {
  display: inline-block;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

/* Hero image */
.image-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: 50%; border-radius: 3rem; }
.image { position: absolute; inset: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; border-radius: 3rem; }

.video-section {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            position: relative;
            width: 100%;
            height: 60vh;
            overflow: hidden;
            background: #f7f7f7;
        }

        .video-container {
            width: 85%;
            height: 100%;
            position: relative;
        }

        .neo-video {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
            object-fit: cover;
            -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
            border-radius: 30px;
            
            /* Fade-in */
            opacity: 0;
            -webkit-animation: fadeInVideo 1.5s ease forwards;
            animation: fadeInVideo 1.5s ease forwards;
            -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
        }

        @-webkit-keyframes fadeInVideo {
            to {
                opacity: 1;
            }
        }

        @keyframes fadeInVideo {
            to {
                opacity: 1;
            }
        }

/* ---------- STICKY CARDS ---------- */
:root {
  --cards: 4;
  --cardHeight: 80vh;
  --cardTopPadding: 1em;
  --cardMargin: 3vw;
}

.cards-section { 
  background: #f7f7f7; 
  margin-top: 3rem;
  position: relative;
  z-index: 10;
}

.container { width: 90%; max-width: 900px; margin: 0 auto; }

#cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  /* Add fallback for CSS variables */
  grid-template-rows: repeat(4, 80vh); /* Fallback */
  grid-template-rows: repeat(var(--cards, 4), var(--cardHeight, 80vh)); /* With var */
  gap: 3vw; /* Fallback */
  gap: var(--cardMargin, 3vw); /* With var */
  padding-bottom: calc(4 * 1em); /* Fallback */
  padding-bottom: calc(var(--cards, 4) * var(--cardTopPadding, 1em)); /* With var */
  margin-bottom: 3vw; /* Fallback */
  margin-bottom: var(--cardMargin, 3vw); /* With var */
}

#card1 { --index: 1; }
#card2 { --index: 2; }
#card3 { --index: 3; }
#card4 { --index: 4; }

.card {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  padding-top: calc(var(--index, 1) * var(--cardTopPadding, 1em));
}

/* === CARD: FULL IMAGE + BOTTOM BLUR + VISIBLE TEXT === */
.card-body {
  position: relative;
  height: var(--cardHeight);
  border-radius: 3rem;
  overflow: hidden;
  -webkit-box-shadow: 0 0 30px rgba(0,0,0,.15);
  box-shadow: 0 0 30px rgba(0,0,0,.15);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  isolation: isolate;
}

.card-body img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 1;
  -o-object-position: center;
  object-position: center;
}

/* BLUR LAYER – ONLY BOTTOM 40% */
.card-body::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: -webkit-gradient(
    linear,
    left bottom, left top,
    from(rgba(0,0,0,0.85)),
    color-stop(60%, rgba(0,0,0,0.5)),
    to(transparent)
  );
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.5) 60%,
    transparent 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  pointer-events: none;
}

/* TEXT CONTENT – ALWAYS ON TOP */
.card-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1.5rem;
  color: #fff;
  width: 100%;
}

.card-content h2 {
  font-weight: bold;
  color: #f7f7f7;
  font-size: 2.4em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.card-content p {
  font-weight: lighter;
  color: #f7f7f7;
  font-size: 1.15em;
  margin: 0 0 1.5rem;
  opacity: 0.95;
  line-height: 1.5;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* 1X.TECH BUTTON */
.btn-learn-more {
  display: inline-block;
  padding: 0.9em 2.2em;
  font-size: 0.95em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #424242;
  background: #f7f7f7;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  cursor: pointer;
}

.btn-learn-more:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-learn-more:active {
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
}

/* ---------- VERTICAL REVEAL SECTION ---------- */
.reveal-section {
  background: #f7f7f7;
  padding: 8rem 0;
  margin: 0;
  font-weight: 300;
  position: relative;
  z-index: 5;
}

.reveal-section .content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* ---------- HERO ---------- */
.content__hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 8rem;
}

.content__heading {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  color: #424242;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}

/* ---------- FEATURES SECTION ---------- */
.features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 12rem;
}

.features__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 8rem;
  padding: 6rem 4rem;
  border-top: 1px dashed rgba(66, 66, 66, 0.2);
  border-radius: 2rem;
  position: relative;
  background: #ffffff;
  -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  
  /* Initial state for GSAP animation */
  opacity: 0;
}

.features__item--left {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  text-align: right;
  -webkit-transform: translateX(-120px);
  transform: translateX(-120px); /* Start off-screen left */
}

.features__item--right {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  text-align: left;
  -webkit-transform: translateX(120px);
  transform: translateX(120px); /* Start off-screen right */
}

/* ---------- Video ---------- */
.features__video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.features__card {
  border-radius: 3rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 80%;
  -webkit-box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  
  /* Initial state for GSAP animation */
  opacity: 0;
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
}

.features__card:hover {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

.features__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

/* ---------- TEXT CONTENT ---------- */
.features__content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 55%;
  flex: 1 1 55%;
  max-width: 500px;
}

.features__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #424242;
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  
  /* Initial state for GSAP animation */
  opacity: 0;
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
}

.features__description {
  font-size: 1.125rem;
  font-weight: 300;
  color: #424242;
  line-height: 1.7;
  opacity: 0.9;
  
  /* Initial state for GSAP animation */
  opacity: 0;
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
}

.features__item,
.features__card,
.features__title,
.features__description {
  will-change: transform, opacity;
}


/* ---------- HORIZONTAL SCROLL SECTIONS ---------- */
.horizontal-scroll-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #000;
}

.horizontal-scroll-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 300vw; /* 3 sections = 3 * 100vw */
  height: 100vh;
  will-change: transform;
}

.horizontal-section {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  text-align: center;
  color: #fff;
  opacity: 0;
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
}

/* Left-aligned content */
.section-content.left-aligned {
  text-align: left;
  margin-left: 10%;
  margin-right: auto;
  max-width: 600px;
}

.section-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-content p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Bullet points styling */
.bullet-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}

.bullet-points li {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  opacity: 0.9;
}

.bullet-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #fff;
  font-size: 1.5em;
  line-height: 1;
}

/* Responsive Design for Reveal Section */
@media (max-width: 1024px) {
  .reveal-section .reveal-content {
    padding: 0 60px;
  }
  
  .content__heading {
    font-size: 3.5em;
  }
  
  .features__title {
    font-size: 2.8em;
  }
  
  .features__description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .reveal-section {
    padding: 60px 0;
  }
  
  .reveal-section .reveal-content {
    padding: 0 30px;
  }
  
  .content__heading {
    font-size: 2.5em;
  }
  
  .features {
    gap: 4rem;
  }
  
  .features__item {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    gap: 2rem;
    min-height: auto;
    text-align: center !important;
  }
  
  .features__title {
    font-size: 2.2em;
  }
  
  .features__description {
    font-size: 1.1em;
  }
  
}

/* General Responsive */
@media (max-width: 768px) {
    
   .vertical-nav {
    position: relative;
    width: 100%;
    height: auto;
    padding: 1.5rem 2rem;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .vertical-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 2rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .vertical-nav li {
    margin-bottom: 0;
  }

  .vertical-nav a {
    font-size: 0.95rem;
  } 
    
  .section {
    padding: 40px 20px;
    min-height: 80vh;
  }
  
  .card-content h2 { font-size: 1.9em; }
  .card-content p  { font-size: 1em; max-width: 90%; }
  .btn-learn-more { padding: 0.8em 1.8em; font-size: 0.9em; }
  
  h1 {
    font-size: 80px;
    line-height: 70px;
  }
  
  p {
    font-size: 2em;
  }
  
  .hero-scroller { 
    height: 150vh;
  }
  
  .video-section {
    height: 80vh;
  }
  
  .video-container {
    width: 90vw;
    height: calc(90vw * 9 / 16);
  }
    
    .section-content {
    padding: 0 1.5rem;
  }
  
  .section-content.left-aligned {
    margin-left: 5%;
    margin-right: 5%;
    max-width: 90%;
  }
  
  .section-content h2 {
    font-size: 2.2rem;
  }
  
  .section-content p {
    font-size: 1.1rem;
  }
  
  .bullet-points li {
    font-size: 1rem;
    padding-left: 1.5rem;
  }
}