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

/* ── Horizontal scroll ── */
.h-viewport {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.h-track {
  display: flex;
  align-items: flex-start;
  will-change: transform;
}

.h-item {
  flex: 0 0 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 50px 11vh;
  user-select: none;
  cursor: pointer;
}

.h-item-index {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 2.5vh;
}

.h-item h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 12.1vw, 170px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  color: #fff;
}

.h-item-sub {
  display: block;
  margin-top: 2.8vh;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
}

/* Progress bar */
.h-progress {
  position: fixed;
  bottom: 0; left: 0;
  height: 1px;
  background: rgba(255,255,255,0.2);
  transform-origin: left;
  z-index: 20;
  width: 100%;
  transform: scaleX(0);
}

/* Left / right arrows */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}
.nav-arrow svg {
  width: 48px; height: 48px;
  stroke: #fff; fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#arrow-prev { left: 50px; }
#arrow-next { right: 50px; }
.nav-arrow.hidden { opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
  .nav-arrow svg { width: 34px; height: 34px; }
  #arrow-prev { left: 8px; }
  #arrow-next { right: 8px; }
  #arrow-down svg { width: 28px; height: 28px; }
  .h-item { padding-bottom: 20vh; }
}

/* Down arrow */
#arrow-down {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
#arrow-down svg {
  width: 40px; height: 40px;
  stroke: #fff; fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
