/* =========================================
   SCROLL HINT
========================================= */
.scroll-hint {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.scroll-hint__line {
  width: 70px;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.2), rgba(255,255,255,0.9));
}


/* =========================================
   HORIZONTAL SCROLL SECTION
========================================= */

.experience-scroll {
  position: relative;
  background: #050505;
  overflow: hidden; /* prevents side overflow */
}

/* Sticky viewport */
.experience-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;

  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Horizontal track */
.experience-scroll__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: max-content;
  padding: 0 clamp(1rem, 3vw, 2rem);

  transition: transform 0.1s linear;
  will-change: transform;
}

/* Individual cards */
.experience-tile {
  position: relative;
  width: clamp(260px, 32vw, 420px);
  height: clamp(320px, 62vh, 720px);

  flex: 0 0 auto;
  overflow: hidden;

  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);

  background: #111;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);

  transition: transform 0.3s ease;
}

.experience-tile:hover {
  transform: scale(1.03);
}

.experience-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient overlay */
.experience-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0.3),
    transparent
  );
}

/* Text elements */
.experience-tile__num {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;

  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.8);
}

.experience-tile__label {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  right: 1.5rem;

  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: #fff;
}

.experience-tile__rule {
  position: absolute;
  bottom: 5rem;
  left: 1.5rem;
  width: calc(100% - 3rem);
  height: 1px;

  background: linear-gradient(
    to right,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.2)
  );
}


/* =========================================
   LARGE SCREENS (prevents huge empty gaps)
========================================= */

@media (min-width: 1600px) {
  .experience-tile {
    width: 360px;
    height: 68vh;
  }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {
  .experience-tile {
    width: 60vw;
    height: 58vh;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
  .experience-scroll__sticky {
    height: 100svh;
  }

  .experience-tile {
    width: 78vw;
    height: 56vh;
  }
}

@media (max-width: 480px) {
  .experience-tile {
    width: 84vw;
    height: 52vh;
  }

  .experience-scroll__track {
    padding: 0 1rem;
  }

  .scroll-hint {
    right: 1rem;
    bottom: 1.2rem;
  }

  .scroll-hint__line {
    width: 50px;
  }
}