/* ────────────────────────────────────────────────
   hero — marquee variant (matches relive-hero-marquee)
   all rules scoped under .hero to avoid global collisions
   ──────────────────────────────────────────────── */

.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ────────── content (top of hero) ────────── */
.hero .hero-content{
  position: relative; z-index: 10;
  padding: 120px 24px 0;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.hero .headline-wrap{
  display: flex; flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* big static headline with character split */
.hero .h-static{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 11.5vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--ink);
}
.hero .h-static .char{
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}
.hero .h-static .moment{
  color: var(--ink);
  display: inline-block;
  width: 0.13em;
  height: 0.13em;
  border-radius: 50%;
  background: var(--ink);
  margin-left: 0.04em;
  margin-bottom: 0.06em;
  vertical-align: bottom;
  transform: translateY(110%) scale(0);
  will-change: transform;
}

/* tagline rotator */
.hero .rotator{
  height: clamp(36px, 4.6vw, 64px);
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 10px;
}
.hero .rotator-inner{
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero .rotator-text{
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-dim);
  white-space: nowrap;
}
.hero .rotator-text .char{ display: inline-block; }
.hero .rotator-text .accent{
  color: var(--ink);
  font-weight: 500;
}

/* description paragraph */
.hero .description{
  margin: 30px auto 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 480px;
  letter-spacing: -0.005em;
  opacity: 0; transform: translateY(10px);
}
.hero .description strong{
  color: var(--ink);
  font-weight: 500;
}

/* CTAs row */
.hero .ctas{
  margin-top: 26px;
  display: flex; gap: 16px; align-items: center; justify-content: center;
  flex-wrap: wrap;
  opacity: 0; transform: translateY(10px);
}

/* primary: pill with circular icon at end, rotates 45° on hover */
.hero .ctas .cta-primary{
  position: relative;
  display: inline-flex; align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 7px 8px 7px 22px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: none;
  overflow: hidden;
  transition: transform .3s var(--ease-out);
  text-decoration: none;
}
.hero .ctas .cta-primary:hover{ transform: translateY(-2px); }
.hero .ctas .cta-primary .label{ position: relative; z-index: 2; }
.hero .ctas .cta-primary .icon{
  position: relative; z-index: 2;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .5s var(--ease-out);
}
.hero .ctas .cta-primary:hover .icon{ transform: rotate(45deg); }
.hero .ctas .cta-primary .icon svg{ width: 12px; height: 12px; }

/* secondary: text link with mini-QR icon */
.hero .ctas .cta-secondary{
  display: inline-flex; align-items: center;
  gap: 10px;
  color: var(--ink-dim);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 14px 4px;
  transition: color .3s;
}
.hero .ctas .cta-secondary:hover{ color: var(--ink); }
.hero .ctas .cta-secondary .qr-mini{
  width: 16px; height: 16px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr;
  gap: 1px;
}
.hero .ctas .cta-secondary .qr-mini span{
  background: currentColor;
  border-radius: 1px;
}
.hero .ctas .cta-secondary .qr-mini span:nth-child(2),
.hero .ctas .cta-secondary .qr-mini span:nth-child(5),
.hero .ctas .cta-secondary .qr-mini span:nth-child(8){ background: transparent; }
.hero .ctas .cta-secondary .arrow{ transition: transform .3s; }
.hero .ctas .cta-secondary:hover .arrow{ transform: translate(3px, -3px); }

/* ────────── stage: scrolling photo wall + phone at bottom ────────── */
.hero .hero-stage{
  position: relative;
  height: 600px;
  margin-top: 50px;
  width: 100%;
  flex-shrink: 0;
}

.hero .marquee-wall{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1;
  opacity: 0;
}
.hero .marquee-row{
  flex: 1;
  overflow: hidden;
  position: relative;
}
.hero .track{
  display: flex;
  gap: 8px;
  width: max-content;
  height: 100%;
  will-change: transform;
}
.hero .m-tile{
  flex-shrink: 0;
  width: 160px;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1815;
  position: relative;
}
.hero .m-tile img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.7) brightness(0.62) contrast(1.05) blur(0.4px);
  transition: filter .6s;
}
@keyframes hero-marquee-left{
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes hero-marquee-right{
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.hero .row-1 .track{ animation: hero-marquee-left  82s linear infinite; }
.hero .row-2 .track{ animation: hero-marquee-right 104s linear infinite; }
.hero .row-3 .track{ animation: hero-marquee-left  72s linear infinite; }

/* edge + center fades */
.hero .marquee-overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    radial-gradient(ellipse 26% 90% at 50% 100%, rgba(10,9,8,0.96) 0%, rgba(10,9,8,0.6) 35%, transparent 65%),
    linear-gradient(to right, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(10,9,8,0.5) 12%, transparent 38%);
}

/* ────────── phone (event feed) at bottom of stage ────────── */
.hero .phone-pos{
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.hero .phone-stage{
  opacity: 0;
  transform: translateY(40px);
}

/* hero phone — single image variant */
.hero .hero-phone-image{
  width: 320px;
  height: auto;
  display: block;
  border-radius: 46px 46px 0 0;
  box-shadow:
    0 -50px 120px -20px rgba(255,255,255,0.08),
    0 -12px 50px -10px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.025);
  user-select: none;
  pointer-events: none;
}

.hero .phone{
  width: 320px;
  height: 480px;
  background: #0a0908;
  border: 1px solid var(--line-2);
  border-radius: 46px 46px 0 0;
  padding: 14px 14px 0;
  box-shadow:
    0 -50px 120px -20px rgba(255,255,255,0.08),
    0 -12px 50px -10px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.025),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.hero .phone::before{
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 104px; height: 26px;
  background: #000;
  border-radius: 100px;
  z-index: 5;
}

.hero .phone-screen{
  width: 100%; height: 100%;
  background: #0d0c0b;
  border-radius: 32px 32px 0 0;
  padding: 60px 18px 18px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.hero .phone-screen .topline{
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.hero .phone-screen .topline .live{
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-dim);
}
.hero .phone-screen .topline .live::before{
  content:''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--rec);
  box-shadow: 0 0 8px var(--rec);
  animation: pulse 1.6s ease-in-out infinite;
}
.hero .phone-screen .event-title{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero .phone-screen .event-meta{
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: -4px;
}
.hero .feed-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}
.hero .feed-grid .tile{
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #1a1815;
}
.hero .feed-grid .tile img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) brightness(0.92);
}
.hero .feed-grid .tile.new::after{
  content: '';
  position: absolute;
  top: 6px; right: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 6px var(--rec);
  animation: pulse 1.6s ease-in-out infinite;
}
.hero .phone-screen .footline{
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 8px 0 16px;
}
.hero .phone-screen .footline strong{
  color: var(--ink);
  font-weight: 500;
}

@keyframes pulse{
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

/* ────────── responsive ────────── */
@media (max-width: 820px){
  .hero .hero-content{ padding: 100px 18px 0; }
  .hero .hero-stage{ height: 520px; margin-top: 30px; }
  .hero .phone{ width: 270px; height: 400px; }
  .hero .phone-screen{ padding: 50px 14px 14px; }
  .hero .phone-screen .event-title{ font-size: 20px; }
  .hero .m-tile{ width: 130px; }
}

@media (max-width: 480px){
  .hero .hero-stage{ height: 460px; }
  .hero .phone{ width: 240px; height: 360px; }
  .hero .phone-screen{ padding: 46px 12px 12px; gap: 10px; }
  .hero .phone-screen .event-title{ font-size: 18px; }
  .hero .m-tile{ width: 110px; }
  .hero .ctas{ gap: 8px; }
}
