/* =========================================================
   HORIZONTAL STORY SCROLL  (HCL Concerts style pin-scrub)
   ========================================================= */

/* ── Outer section acts as the GSAP pin target ── */
.hss-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Horizontal strip — 3 panels side-by-side ── */
.hss-strip {
  display: flex;
  flex-direction: row;
  width: 300vw;        /* 3 × 100vw panels */
  will-change: transform;
}

/* ── Every panel fills 100vw × 100vh ── */
.hss-panel {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* ── Panel inner wrapper ── */
.hss-panel-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 80px max(28px, calc((100vw - 1320px) / 2 + 28px));
  width: 100%;
}

.hss-panel-inner--center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding-top: 96px;
  padding-bottom: 36px;
}

/* ── Panel progress label (bottom right corner) ── */
.hss-panel-label {
  position: absolute;
  bottom: 32px;
  right: 36px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Progress dots row (top-right overlay) ── */
.hss-progress-dots {
  position: absolute;
  top: 20px;
  right: 28px;
  z-index: 20;
  display: flex;
  gap: 10px;
}

.hss-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: block;
  transition: background 0.3s ease;
}

.hss-dot.active {
  background: #ffde00;
  border-color: #ffde00;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PANEL 1 — FOUNDER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hss-panel--intro {
  background: #000000;
}

.hss-founder-block {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 52px;
  align-items: center;
  width: 100%;
}

.hss-founder-photo {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.hss-founder-photo img {
  width: 100%;
  border-radius: 20px;
  border: 2px solid #ffde00;
  box-shadow: 0 20px 60px rgba(91, 24, 133, 0.5);
  object-fit: cover;
  max-height: 70vh;
  object-position: top center;
}

.hss-founder-photo-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #000000;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.hss-founder-photo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.hss-founder-copy {
  flex: 1;
}

.hss-role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PANEL 2 — POP-ART STAT COLUMNS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hss-panel--stats {
  background: #000000;
}

.hss-stat-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  height: 100vh;
}

.hss-stat-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 24px;
  overflow: hidden;
  background-color: var(--col-bg);
}

.hss-stat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.65;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.hss-stat-col:hover .hss-stat-bg {
  opacity: 0.9;
  mix-blend-mode: normal;
  transform: scale(1.05);
}

.hss-stat-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 15%, rgba(0,0,0,0.78) 100%);
  z-index: 1;
}

.hss-stat-rotated-label {
  position: absolute;
  top: 50%;
  right: -56px;
  transform: translateY(-50%) rotate(-90deg);
  display: flex;
  flex-direction: row;
  gap: 8px;
  white-space: nowrap;
  z-index: 2;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hss-stat-bottom {
  position: relative;
  z-index: 2;
}

.hss-stat-number {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: #ffde00;
  line-height: 1;
  margin-bottom: 10px;
}

.hss-stat-caption {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  max-width: 220px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PANEL 3 — DIVISIONS WIDE BANNER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hss-panel--divisions {
  background: radial-gradient(circle at 30% 50%, rgba(91,24,133,0.38) 0%, #000000 65%);
}

.hss-mascot-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hss-mascot-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(255, 60, 60, 0.4));
}

.hss-soul-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(255, 222, 0, 0.5);
}

.hss-divisions-heading {
  max-width: 820px;
  color: #ffffff;
}

.hss-division-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 820px;
}

.hss-division-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--card-accent, #ffde00);
  border-radius: 14px;
  padding: 20px 24px;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
  animation-delay: var(--delay, 0s);
}

.hss-division-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #ffde00;
  transform: translateX(8px);
}

.hss-div-emoji {
  font-size: 32px;
  flex-shrink: 0;
}

.hss-div-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.hss-div-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

.hss-div-arrow {
  margin-left: auto;
  color: var(--card-accent, #ffde00);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.hss-division-card:hover .hss-div-arrow {
  transform: translateX(5px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SCROLL INDICATOR (Vertical bar + chevron)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hss-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: hssHintBob 2s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}

.hss-scroll-hint-bar {
  width: 1.5px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(255,222,0,0.6));
  border-radius: 2px;
}

@keyframes hssHintBob {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.9; transform: translateX(-50%) translateY(6px); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GLOBAL SCROLL ANIMATIONS (page-wide)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Initial hidden state for scroll-reveal targets.
   GSAP sets opacity/y back to 1/0 on play. */
.gsap-hidden {
  opacity: 0;
  transform: translateY(32px);
}

/* Lenis: prevent double scrollbar while pinning */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE — hide HSS on mobile, show vertical stack
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 880px) {
  /* On mobile, disable pin/horizontal and stack panels vertically */
  .hss-section {
    overflow: visible;
  }

  .hss-strip {
    flex-direction: column;
    width: 100%;
    transform: none !important; /* override GSAP */
  }

  .hss-panel {
    flex: unset;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 60px 0;
  }

  .hss-panel-inner {
    flex-direction: column;
    padding: 0 24px;
  }

  .hss-founder-block {
    grid-template-columns: 1fr;
  }

  .hss-founder-photo img {
    max-height: 50vh;
  }

  .hss-stat-columns {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hss-stat-col {
    min-height: 260px;
  }

  .hss-stat-rotated-label {
    right: 12px;
    top: 20px;
    transform: none;
  }

  .hss-panel-label {
    display: none;
  }

  .hss-progress-dots {
    display: none;
  }

  .hss-mascot-block {
    flex-wrap: wrap;
  }
}
