/* Hero event mode: retractable right-edge rail + full Event Mode layout. */
.hero.has-event-rail .record-stage{
  width:clamp(280px,29vw,490px);
  top:15%;
}

.hero.has-event-rail .hero-release{
  bottom:120px;
}

.hero.has-event-rail .hero-logo{
  transform-origin:left top;
  transition:transform .82s cubic-bezier(.2,.75,.2,1),filter .5s ease;
}

.hero.has-event-rail .hero-statement{
  transition:opacity .42s ease,transform .55s cubic-bezier(.2,.75,.2,1);
}

.hero.has-event-rail .hero-event-rail{
  left:auto;
  right:-1px;
  bottom:124px;
  width:clamp(190px,17vw,255px);
  height:auto;
  min-height:116px;
  overflow:visible;
  border:1px solid #565d50;
  border-right:0;
  background:linear-gradient(135deg,#111510f2,#090b09fa 72%);
  box-shadow:0 18px 45px #0008;
  transition:border-color .25s ease,background .25s ease,box-shadow .25s ease,transform .42s cubic-bezier(.2,.78,.2,1);
  will-change:transform;
}

.hero.has-event-rail .hero-event-rail:after{
  left:auto;
  right:0;
  bottom:0;
  width:42%;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--signal));
  transition:width .3s ease,background .3s ease;
}

.hero-event-rail-handle{
  position:absolute;
  left:-29px;
  top:-1px;
  bottom:-1px;
  width:29px;
  z-index:2;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #565d50;
  border-right:0;
  background:#0a0d0af5;
  color:#d9dfd0;
  font-size:11px;
  line-height:1;
  transition:background .2s ease,color .2s ease,border-color .25s ease;
}

@media(hover:hover) and (pointer:fine){
  .hero-event-rail-handle:hover{
    background:#dbe5ca;
    color:#111;
  }
}

.hero.has-event-rail .hero-event-rail.is-collapsed{
  transform:translateX(100%);
  box-shadow:none;
}

.hero.has-event-rail .hero-event-rail.is-collapsed .hero-event-rail-handle{
  border-color:#747c6d;
  background:#0d110dec;
}

.hero.has-event-rail .hero-event-toggle{
  width:100%;
  height:auto;
  min-height:116px;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-rows:auto auto auto;
  gap:6px 12px;
  align-items:center;
  padding:14px 16px 14px 18px;
  border:0;
  background:transparent;
  text-align:left;
  transition:background .2s ease,transform .16s ease;
}

.hero.has-event-rail .hero-event-toggle .micro{
  grid-column:1;
  color:#9ea696;
  font-size:7px;
}

.hero.has-event-rail .hero-event-date{
  grid-column:2;
  grid-row:1;
  font-size:8px;
  color:#eee0ad;
}

.hero.has-event-rail .hero-event-toggle strong{
  grid-column:1/-1;
  grid-row:2;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:15px;
  font-weight:500;
  letter-spacing:-.025em;
}

.hero.has-event-rail .hero-event-venue{
  grid-column:1;
  grid-row:3;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:8px;
  color:var(--muted);
}

.hero.has-event-rail .hero-event-action{
  grid-column:2;
  grid-row:3;
  font-size:7px;
  letter-spacing:.1em;
  color:#eee0ad;
  white-space:nowrap;
}

@media(hover:hover) and (pointer:fine){
  .hero.has-event-rail .hero-event-toggle:hover{
    background:#e8dcae0b;
  }
}

.hero.has-event-rail .hero-event-toggle:active{
  transform:translateX(-5px);
}

.hero.is-event-focus .hero-event-rail{
  border-color:#b2a878;
  background:linear-gradient(135deg,#26261df5,#0a0d0afc 75%);
  box-shadow:0 18px 48px #0009,0 0 24px #e9dca814;
}

.hero.is-event-focus .hero-event-rail:after{
  width:100%;
  background:linear-gradient(90deg,var(--signal),#eee0ad);
}

.hero.is-event-focus .hero-event-rail-handle{
  border-color:#8c8667;
}

.hero.is-event-focus{
  --art-rotate:0deg;
  --art-scale:1;
  --bg-scale:1.035;
  --bg-rotate:2deg;
}

.hero.is-event-focus .hero-field{
  filter:brightness(.84) contrast(1.09) saturate(.84);
}

.hero.is-event-focus .hero-logo{
  transform:translate3d(-.4vw,-7.2vh,0) scale(.44);
  filter:brightness(.92);
}

.hero.is-event-focus .hero-statement{
  opacity:0;
  transform:translateY(-12px);
  pointer-events:none;
}

.hero.is-event-focus .record-stage{
  left:auto;
  right:clamp(205px,18vw,310px);
  top:5%;
  width:min(30vw,440px);
  height:90%;
  pointer-events:none;
  transform:none;
  transition:left .8s cubic-bezier(.2,.75,.2,1),right .8s cubic-bezier(.2,.75,.2,1),top .8s cubic-bezier(.2,.75,.2,1),width .8s cubic-bezier(.2,.75,.2,1),height .8s cubic-bezier(.2,.75,.2,1),transform .8s cubic-bezier(.2,.75,.2,1);
}

.hero.is-event-focus .record-marker,
.hero.is-event-focus .record-switch{
  opacity:0;
  pointer-events:none;
}

.hero.is-event-focus .record-marker{
  display:none;
}

.hero.is-event-focus .record-switch{
  display:none;
}

.hero.is-event-focus .hero-art{
  height:100%;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:none!important;
  box-shadow:none;
  filter:none;
}

.hero.is-event-focus .hero-art:hover{
  transform:none!important;
  filter:none;
  box-shadow:none;
}

.hero.is-event-focus .hero-art img{
  width:auto;
  height:100%;
  max-width:100%;
  max-height:100%;
  aspect-ratio:auto;
  object-fit:contain;
  filter:drop-shadow(0 26px 44px #0009);
}

.hero.is-event-focus .art-corner{
  opacity:0;
}

.hero-event-facts{
  display:none;
}

.hero.is-event-focus .hero-release{
  top:21%;
  bottom:auto;
  left:3.4%;
  width:21%;
  max-width:21%;
  z-index:4;
}

.hero.is-event-focus .hero-release>.micro{
  color:#eee0ad;
}

.hero.is-event-focus .hero-release h2{
  font-size:clamp(26px,2.6vw,44px);
  line-height:1.02;
  text-wrap:balance;
}

.hero.is-event-focus .release-artist{
  margin-top:14px;
}

.hero.is-event-focus .hero-event-facts{
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
  margin:16px 0 0;
  max-width:none;
}

.hero-event-facts>div{
  min-width:0;
  padding-top:7px;
  border-top:1px solid #5f6359;
}

.hero-event-facts .micro{
  display:block;
  margin-bottom:3px;
  color:#8f9788;
  font-size:6px;
}

.hero-event-facts strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#e8e2c7;
  font-size:9px;
  font-weight:500;
  letter-spacing:.02em;
}

.hero-event-address{
  margin:1px 0 0;
  color:#90978a;
  font-size:7px;
  line-height:1.5;
  letter-spacing:.04em;
}

.hero.is-event-focus .hero-release-meta{
  opacity:0;
  pointer-events:none;
  transform:translateY(4px);
}

.hero-release-meta{
  transition:opacity .2s ease,transform .2s ease;
}

.hero-event-lineup-panel{
  position:absolute;
  z-index:4;
  left:27%;
  top:18%;
  width:26%;
  height:58%;
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
  background:linear-gradient(180deg,#080b09c9,#080a08a3);
  transition:opacity .32s ease .18s,transform .55s cubic-bezier(.2,.75,.2,1) .12s;
}

.hero.is-event-focus .hero-event-lineup-panel{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.hero-lineup-edge{
  position:absolute;
  z-index:3;
  display:block;
  background:#f0f2e8;
  opacity:.78;
  transform-origin:0 50%;
}

.hero-lineup-edge.top,
.hero-lineup-edge.bottom{
  left:0;
  width:100%;
  height:1px;
  transform:scaleX(0);
}

.hero-lineup-edge.top{top:0}
.hero-lineup-edge.bottom{bottom:0;transform-origin:100% 50%}

.hero-lineup-edge.left,
.hero-lineup-edge.right{
  top:0;
  width:1px;
  height:100%;
  transform:scaleY(0);
  transform-origin:50% 0;
}

.hero-lineup-edge.left{left:0}
.hero-lineup-edge.right{right:0;transform-origin:50% 100%}

.hero.is-event-focus .hero-lineup-edge.top{animation:hero-lineup-draw-x .5s cubic-bezier(.2,.8,.2,1) .24s forwards}
.hero.is-event-focus .hero-lineup-edge.right{animation:hero-lineup-draw-y .5s cubic-bezier(.2,.8,.2,1) .48s forwards}
.hero.is-event-focus .hero-lineup-edge.bottom{animation:hero-lineup-draw-x .5s cubic-bezier(.2,.8,.2,1) .7s forwards}
.hero.is-event-focus .hero-lineup-edge.left{animation:hero-lineup-draw-y .5s cubic-bezier(.2,.8,.2,1) .9s forwards}

.hero-event-lineup-head{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 15px;
  border-bottom:1px solid #68706466;
  background:#0b0e0bd9;
}

.hero-event-lineup-head .micro{
  font-size:7px;
  color:#d9dfd0;
}

.hero-event-lineup-count{
  color:#8f9989!important;
}

.hero-event-lineup-scroll{
  position:absolute;
  left:1px;
  right:1px;
  top:49px;
  bottom:1px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#b9c3af55 transparent;
}

.hero-event-lineup-scroll::-webkit-scrollbar{width:3px}
.hero-event-lineup-scroll::-webkit-scrollbar-track{background:transparent}
.hero-event-lineup-scroll::-webkit-scrollbar-thumb{background:#b9c3af55}

.hero-event-lineup-list{
  padding:9px 13px 16px;
}

.hero-lineup-loading{
  display:block;
  padding:16px 2px;
  color:#7e8679;
  font-size:8px;
  letter-spacing:.11em;
}

.hero-event-lineup-row{
  display:grid;
  grid-template-columns:26px minmax(0,1fr);
  gap:8px;
  align-items:baseline;
  padding:8px 2px;
  border-bottom:1px solid #434a405e;
  opacity:0;
  transform:translateX(-7px);
}

.hero-event-lineup-row .micro{
  color:#727c6e;
  font-size:6px;
}

.hero-event-lineup-row strong{
  min-width:0;
  color:#e4e8dd;
  font-size:clamp(10px,.85vw,13px);
  font-weight:500;
  line-height:1.28;
  letter-spacing:.025em;
  overflow-wrap:anywhere;
}

.hero.is-event-focus .hero-event-lineup-row{
  animation:hero-lineup-write .28s ease-out calc(.72s + var(--line-delay,0ms)) forwards;
}

.hero-lineup-scan{
  position:absolute;
  z-index:5;
  left:1px;
  right:1px;
  top:49px;
  height:24px;
  opacity:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent,#d9f1bd25 48%,#eef5e964 50%,#d9f1bd1f 52%,transparent);
  mix-blend-mode:screen;
}

.hero.is-event-focus .hero-lineup-scan{
  animation:hero-lineup-scan 1.08s cubic-bezier(.2,.72,.2,1) .58s both;
}

.hero-event-bottom{
  position:absolute;
  left:0;
  top:50%;
  display:flex;
  align-items:center;
  gap:22px;
  opacity:0;
  pointer-events:none;
  transform:translate(18px,-50%);
  transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1);
}

.hero-event-bottom>div{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.hero-event-bottom .micro{
  color:#8f9788;
  font-size:6px;
}

.hero-event-bottom strong{
  color:#e8e2c7;
  font-size:10px;
  font-weight:500;
  letter-spacing:.05em;
}

.hero-event-bottom a{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  padding:0 15px;
  border:1px solid #777563;
  font-size:8px;
  letter-spacing:.09em;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}

.hero-event-bottom a:hover{
  background:#eee7cf;
  border-color:#eee7cf;
  color:#111;
}

.hero .player{
  transition:opacity .2s ease,transform .25s ease;
}

.hero.is-event-focus .player{
  opacity:0;
  pointer-events:none;
  transform:translateX(-18px);
}

.hero.is-event-focus .hero-event-bottom{
  opacity:1;
  pointer-events:auto;
  transform:translate(0,-50%);
}

.hero-mode-wipe{
  position:absolute;
  z-index:8;
  top:-10%;
  bottom:-10%;
  left:-28%;
  width:22%;
  pointer-events:none;
  opacity:0;
  transform:skewX(-10deg);
  background:linear-gradient(90deg,transparent,#cee7a012 35%,#eee0ad55 50%,#cee7a00d 66%,transparent);
  mix-blend-mode:screen;
}

.hero.mode-switching .hero-mode-wipe{
  animation:hero-event-scan .44s cubic-bezier(.2,.72,.2,1) both;
}

.hero.mode-switching .hero-art img{
  animation:hero-event-art-pulse .5s ease-out both;
}

.hero.mode-switching .hero-release{
  animation:hero-event-copy-shift .5s ease-out both;
}

.hero.mode-switching .hero-field{
  animation:hero-event-field-pulse .52s ease-out both;
}

@keyframes hero-event-scan{
  0%{left:-28%;opacity:0}
  18%{opacity:.9}
  100%{left:112%;opacity:0}
}

@keyframes hero-event-art-pulse{
  0%{filter:brightness(1);opacity:1}
  46%{filter:brightness(.55) contrast(1.2);opacity:.72}
  100%{filter:brightness(1);opacity:1}
}

@keyframes hero-event-copy-shift{
  0%{opacity:1;translate:0 0}
  45%{opacity:.35;translate:-9px 0}
  100%{opacity:1;translate:0 0}
}

@keyframes hero-event-field-pulse{
  0%{filter:brightness(1) contrast(1)}
  45%{filter:brightness(.68) contrast(1.22)}
  100%{filter:brightness(.84) contrast(1.09) saturate(.84)}
}

@keyframes hero-lineup-draw-x{to{transform:scaleX(1)}}
@keyframes hero-lineup-draw-y{to{transform:scaleY(1)}}
@keyframes hero-lineup-write{to{opacity:1;transform:translateX(0)}}
@keyframes hero-lineup-scan{
  0%{top:49px;opacity:0}
  12%{opacity:.85}
  88%{opacity:.42}
  100%{top:calc(100% - 25px);opacity:0}
}

@media(max-width:1050px){
  .hero.has-event-rail .hero-event-rail{width:190px}
  .hero.has-event-rail .hero-event-toggle{grid-template-columns:1fr auto}
  .hero.has-event-rail .hero-event-venue{display:block}

  .hero.is-event-focus .hero-logo{
    transform:translate3d(-.4vw,-6vh,0) scale(.5);
  }

  .hero.is-event-focus .hero-release{
    width:23%;
    max-width:23%;
  }

  .hero-event-lineup-panel{
    left:27%;
    width:25%;
  }

  .hero.is-event-focus .record-stage{
    right:195px;
    width:30vw;
    height:86%;
    top:7%;
  }
}

@media(max-width:760px) and (min-width:601px){
  .hero.is-event-focus .hero-release{
    top:23%;
    width:25%;
    max-width:25%;
  }

  .hero-event-lineup-panel{
    left:29%;
    top:22%;
    width:25%;
    height:53%;
  }

  .hero.is-event-focus .record-stage{
    right:182px;
    width:29vw;
    height:80%;
    top:10%;
  }
}

@media(max-width:600px){
  .hero.has-event-rail .record-stage{
    width:61%;
    top:213px;
  }

  .hero.has-event-rail .hero-release{
    bottom:142px;
  }

  .hero.has-event-rail .hero-event-rail{
    left:auto;
    right:-1px;
    top:446px;
    bottom:auto;
    width:54px;
    min-height:154px;
    height:154px;
    border-right:0;
  }

  .hero-event-rail-handle{
    left:-23px;
    width:23px;
    font-size:9px;
  }

  .hero.has-event-rail .hero-event-toggle{
    min-height:154px;
    height:154px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    gap:5px;
    padding:9px 6px;
    text-align:center;
  }

  .hero.has-event-rail .hero-event-toggle .micro,
  .hero.has-event-rail .hero-event-date,
  .hero.has-event-rail .hero-event-action{
    writing-mode:vertical-rl;
    text-orientation:mixed;
  }

  .hero.has-event-rail .hero-event-toggle .micro,
  .hero.has-event-rail .hero-event-date,
  .hero.has-event-rail .hero-event-action{
    font-size:6px;
  }

  .hero.has-event-rail .hero-event-toggle strong,
  .hero.has-event-rail .hero-event-venue{
    display:none;
  }

  .hero.is-event-focus{
    min-height:900px;
  }

  .hero.is-event-focus .hero-logo{
    transform:translate3d(0,-8px,0) scale(.55);
  }

  .hero.is-event-focus .hero-release{
    left:18px;
    top:146px;
    bottom:auto;
    width:39%;
    max-width:39%;
  }

  .hero.is-event-focus .hero-release h2{
    font-size:21px;
    max-width:100%;
  }

  .hero.is-event-focus .release-artist{
    font-size:8px;
    margin:8px 0 4px;
  }

  .hero.is-event-focus .hero-event-facts{
    gap:4px;
    margin-top:8px;
  }

  .hero-event-facts>div{
    padding-top:4px;
  }

  .hero-event-facts strong{
    font-size:7px;
  }

  .hero-event-address{
    display:none;
  }

  .hero.is-event-focus .record-stage{
    left:auto;
    right:56px;
    top:132px;
    width:48%;
    height:330px;
  }

  .hero-event-lineup-panel{
    left:18px;
    right:72px;
    top:505px;
    width:auto;
    height:255px;
  }

  .hero-event-lineup-head{
    height:42px;
    padding:0 11px;
  }

  .hero-event-lineup-scroll{
    top:43px;
  }

  .hero-event-lineup-list{
    padding:7px 9px 12px;
  }

  .hero-event-lineup-row{
    grid-template-columns:22px minmax(0,1fr);
    gap:6px;
    padding:6px 1px;
  }

  .hero-event-lineup-row strong{
    font-size:9px;
  }

  .hero-lineup-scan{
    top:43px;
  }

  @keyframes hero-lineup-scan{
    0%{top:43px;opacity:0}
    12%{opacity:.85}
    88%{opacity:.42}
    100%{top:calc(100% - 25px);opacity:0}
  }

  .hero-event-bottom{
    right:0;
    gap:8px;
  }

  .hero-event-bottom>div{
    display:none;
  }

  .hero-event-bottom a{
    min-height:36px;
    padding:0 10px;
    font-size:7px;
  }
}

@media(prefers-reduced-motion:reduce){
  .hero.has-event-rail .hero-logo,
  .hero.has-event-rail .hero-statement,
  .hero.has-event-rail .hero-event-rail,
  .hero.is-event-focus .record-stage,
  .hero-event-lineup-panel{
    transition:none!important;
  }
  .hero-mode-wipe{display:none}
  .hero.mode-switching .hero-art img,
  .hero.mode-switching .hero-release,
  .hero.mode-switching .hero-field,
  .hero.is-event-focus .hero-lineup-edge,
  .hero.is-event-focus .hero-event-lineup-row,
  .hero.is-event-focus .hero-lineup-scan{
    animation:none!important;
  }
  .hero.is-event-focus .hero-lineup-edge.top,
  .hero.is-event-focus .hero-lineup-edge.bottom{transform:scaleX(1)}
  .hero.is-event-focus .hero-lineup-edge.left,
  .hero.is-event-focus .hero-lineup-edge.right{transform:scaleY(1)}
  .hero.is-event-focus .hero-event-lineup-row{opacity:1;transform:none}
}
