:root {
    --gray-700: #424242;
    --gray-500: #737373;
    --black: black;
    --border-radius--tiny: 0.375rem;
    --light-grey: #f4f4f4;
    --border-radius--xtiny: 0.25rem;
    --gray-800: #292929;
    --gray-25: #fcfcfc;
    --gray-400: #a3a3a3;
    --gray-50: #fafafa;
    --gray-900: #141414;
    --dark-green: #33fff5;
    --green: #33fff5;
    --nav--gray-800: #292929;
    --nav--gray-50: #fafafa;
    --gray-600: #525252;
    --white: white;
    --border-radius--xxsmall: 0.5rem;
    --gray-300: #d6d6d6;
    --gray-200: #e5e5e5;
    --gray-100: whitesmoke;
    --border-radius--xlarge: 2rem;
    --border-radius--xxtiny: 0.175rem;
    --border-radius--large-still: 1.75rem;
    --border-radius--0: 0rem;
    --border-radius--medium: 1.25rem;
    --border-radius--large-change: 1.75rem;
    --border-radius--xmedium: 1.5rem;
    --border-radius--xsmall: 0.75rem;
    --border-radius--small: 1rem;
    --border-radius--home-hero: 2rem;
    --nav--gray-700: #424242;
    --border-radius--about-image: 2rem;
    --border-radius--button-circle: 100vw;
    --nav--circle: #292929;
    --nav--y: #33fff5;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
  }
  
  html {
    overflow-y: scroll;
    scroll-behavior: smooth; /* Enable smooth scrolling */
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    scroll-snap-type: y proximity;
  }
  
  body {
    color: #ffffff;
    line-height: 1.6;
    cursor: none;
    font-family: "Cabin", sans-serif;
  }
  
  section {
    min-height: 100vh;
    padding: 4rem;
    position: relative;
    cursor: none;
    user-select: none;
    touch-action: pan-y pinch-zoom;
    display: flex;
  }
  
  section:active {
    cursor: none;
  }
  
  .container {
    max-width: 30600px;
    margin: 0 auto;
    transition: transform 0.3s ease;
  }
  
  /* Add scroll progress indicator */
  .scroll-indicator {
    position: fixed;
    right: calc(4rem - 1px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 1.2rem;
    background: rgba(20, 20, 24, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: right 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.45s ease, border-color 0.45s ease,
      backdrop-filter 0.45s ease, -webkit-backdrop-filter 0.45s ease;
  }
  
  .scroll-dot {
    width: 17px;
    height: 17px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 5px 0;
    cursor: pointer;
    flex: none;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      margin 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      border-radius 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.4s ease, background-color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .scroll-dot::after {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-55%, -50%);
    color: transparent;
    font-size: 11px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0;
    transition: color 0.3s ease, opacity 0.35s ease,
      transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
  }

  /* Horizontal label used when expanded; it rotates in as the vertical one rotates out */
  .scroll-dot::before {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(0.6);
    transition: color 0.3s ease, opacity 0.3s ease,
      transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .scroll-dot.active {
    height: 70px; /* Increased height to fit vertical text */
    background: #ffffff;
    border-radius: 8px; /* Slightly rounded corners for the extended dot */
    font-weight: bolder;
    color: #000;
  }
  
  .scroll-dot.active::after {
    color: #000; /* Ensure the text is visible when active */
  }
  
  /* Adjust hover state */
  .scroll-dot:hover {
    height: 70px;
    border-radius: 8px;
  }
  
  .scroll-dot:hover::after {
    color: rgba(0, 0, 0, 0.5);
  }

  .scroll-dot.active {
    height: var(--active-h, 70px);
  }

  /* Only a sliding window of dots is visible while collapsed */
  .scroll-indicator .scroll-dot.is-hidden {
    height: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }

  /* Invisible hover buffer so the pointer doesn't leave while the layout morphs */
  .scroll-indicator::before {
    content: "";
    position: absolute;
    inset: -12px;
  }

  .scroll-indicator.expanded::before {
    inset: -1rem;
  }

  /* Expanded: the same vertical stack, with each dot widening into a titled pill */
  .scroll-indicator.expanded {
    right: calc(3.3rem - 1px);
    padding: 0.55rem 0.7rem;
    background: rgba(20, 20, 24, 0.82);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .scroll-indicator.expanded .scroll-dot,
  .scroll-indicator.expanded .scroll-dot.is-hidden {
    width: var(--pill-w, 96px);
    height: 36px;
    margin: 3px 0;
    opacity: 1;
    pointer-events: auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transition-delay: calc(var(--rank, 0) * 22ms);
  }

  .scroll-indicator.expanded .scroll-dot::after {
    opacity: 0;
    transform: translate(-55%, -50%) rotate(-90deg) scale(0.6);
    transition-delay: calc(var(--rank, 0) * 22ms);
  }

  .scroll-indicator.expanded .scroll-dot::before {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    transition-delay: calc(var(--rank, 0) * 22ms + 90ms);
  }

  .scroll-indicator.expanded .scroll-dot:hover {
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transition-delay: 0s;
  }

  .scroll-indicator.expanded .scroll-dot:hover::before {
    color: #fff;
  }

  .scroll-indicator.expanded .scroll-dot.active {
    height: 36px;
    border-radius: 999px;
    background: #fff;
  }

  .scroll-indicator.expanded .scroll-dot.active::before {
    color: #000;
    font-weight: 700;
  }

  @media (prefers-reduced-motion: reduce) {
    .scroll-indicator,
    .scroll-dot,
    .scroll-dot::before,
    .scroll-dot::after {
      transition-duration: 0.01s !important;
      transition-delay: 0s !important;
    }
  }
  
  @media (max-width: 768px) {
    .scroll-indicator {
      right: 1.2rem;
    }

    .scroll-indicator.expanded {
      right: 1.2rem;
      padding: 0.65rem 0.7rem;
    }

    .scroll-dot {
      width: 14px;
      height: 14px;
    }
  
    .scroll-dot::after {
      font-size: 10px;
      font-weight: 700;
    }
  
    .scroll-dot.active {
      border-radius: 5px;
    }
  
    .scroll-dot::after {
      transform: translate(-50%, -50%);
    }
  
    .scroll-dot.active {
      height: var(--active-h, 60px);
    }
  }
  
  .hover-element {
    transition: all 0.3s ease;
  }
  
  .hover-element > .move {
    display: inline-block;
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 36px;
    text-transform: uppercase;
    pointer-event: none;
    transition: transform 0.1s linear;
  }
  
  /* .cursor {
    pointer-events: none;
    position: fixed;
    padding: 0.3rem;
    background-color: #fff;
    border-radius: 50%;
    mix-blend-mode: difference;
    transition: transform 0.3s ease;
  } */
  
  /* .hover-element:hover ~ .cursor {
    transform: translate(-50%, -50%) scale(8);
  } */
  
  @media (min-width: 900px) {
    .snap-inner {
      display: flex;
      justify-content: space-around;
    }
  }
  
  @media (max-width: 900px) {
    .snap-inner {
      top: 30%;
    }
  
    .hover-element {
      width: 100%;
      padding: 20px 0;
      display: inline-block;
    }
  }
  
  /* Layer colors */
  .hero {
    position: relative;
    background-color: #4a4646;
    background-image: url("../bg-new.webp");
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    height: 100vh;
  }
  
  @media (max-width: 768px) {
    .hero {
      height: 100vh; /* Ensure it takes full height on mobile */
      background-attachment: scroll; /* Allow background to scroll with content */
      background-size: cover;
    }
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
    
    @keyframes zoomOut {
        from {
            transform: scale(1.2);
        }
        to {
            transform: scale(0.5);
        }
    }
  
  html.lenis,
  html.lenis body {
    height: auto;
  }
  
  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }
  
  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  
  .lenis.lenis-stopped {
    overflow: hidden;
  }
  
  .lenis.lenis-scrolling iframe {
    pointer-events: none;
  }

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

.p-2 {
  padding: 0.5rem;
}

.leading-none {
  line-height: 1;
}
