/* ==========================================================================
   METREAL VOL.2 — sections.css
   Lineup (.lineup-*, .dj-*), timetable (.tt-*), venue (.venue-*),
   gallery (.gallery-*), shared DJ modal (.dj-modal), shared lightbox (.lb).
   Uses the tokens from css/style.css only. Module-private custom properties
   are prefixed --sx-. Flat look: 1px hairlines, mono labels, no glow / blur.
   ========================================================================== */

body.sx-lock { overflow: hidden; }

.lineup, .tt, .venue, .gallery, .dj-modal, .lb {
  --sx-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
  --sx-tap: 44px;
}

/* ---------- shared: square icon button (close / prev / next) ---------- */
.sx-ib {
  width: var(--sx-tap); height: var(--sx-tap); display: grid; place-items: center; flex: 0 0 auto;
  border: 1px solid var(--line); background: var(--bg); color: var(--white);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.sx-ib svg { width: 18px; height: 18px; fill: currentColor; }
.sx-ib:hover, .sx-ib:focus-visible { background: var(--white); color: #000; border-color: var(--white); }

/* ---------- shared: floor tag ---------- */
.dj-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.dj-tag::before { content: ''; width: 5px; height: 5px; background: currentColor; flex: 0 0 auto; }
.dj-tag--main { color: var(--red); }
.dj-tag--lounge { color: var(--cyan); }
.dj-tag--sub { opacity: .7; }

/* ---------- shared: avatar (image or generated) ---------- */
.dj-avatar {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate;
  background: var(--bg-3); container-type: inline-size;
}
.dj-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dj-avatar--gen {
  background:
    radial-gradient(90% 70% at var(--gx, 70%) var(--gy, 30%), hsl(var(--hb, 270) 90% 58% / .5), transparent 65%),
    linear-gradient(var(--ang, 135deg), hsl(var(--ha, 356) 80% 48%) 0%, hsl(var(--ha, 356) 70% 20%) 58%, hsl(var(--hb, 270) 60% 14%) 100%);
}
.dj-avatar--gen::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0) 45%, rgba(7, 8, 12, .6) 100%);
}
.dj-avatar__px { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; fill: #fff; opacity: .22; mix-blend-mode: screen; pointer-events: none; }
.dj-avatar__ini {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none;
  font-family: var(--font-display); font-weight: 900; font-size: 4.4em; line-height: 1; letter-spacing: -.06em; text-transform: uppercase;
  color: #fff; opacity: .16; transform: translateY(2%);
}
@supports (font-size: 1cqw) { .dj-avatar__ini { font-size: 60cqw; } }
.dj-avatar::after {
  content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background-image: var(--sx-grain); opacity: .14; mix-blend-mode: overlay;
}

/* ---------- shared: link pill ---------- */
.dj-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--sx-tap); padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.dj-pill:hover, .dj-pill:focus-visible { background: var(--white); color: #000; border-color: var(--white); }
.dj-pill__ic { display: inline-grid; place-items: center; }
.dj-pill__ic svg { width: 14px; height: 14px; fill: currentColor; }

/* ==========================================================================
   1. LINEUP
   ========================================================================== */
.lineup-tabs {
  position: relative; display: flex; gap: 2px; margin-bottom: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.lineup-tabs::-webkit-scrollbar { display: none; }
.lineup-tab {
  position: relative; flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 8px; min-height: var(--sx-tap); padding: 12px 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
  transition: color .25s var(--ease);
}
@media (min-width: 640px) { .lineup-tab { padding: 14px 18px; letter-spacing: .18em; font-size: 12px; } }
.lineup-tab:hover, .lineup-tab[aria-pressed="true"] { color: var(--white); }
.lineup-tab__n { font-size: 9px; letter-spacing: .1em; color: var(--dim); }
.lineup-tab[aria-pressed="true"] .lineup-tab__n { color: inherit; opacity: .7; }
.lineup-tabs[data-active="main"] .lineup-tab[aria-pressed="true"] { color: var(--red); }
.lineup-tabs[data-active="lounge"] .lineup-tab[aria-pressed="true"] { color: var(--cyan); }
.lineup-tabs__ink {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--white);
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), background .25s var(--ease);
}
.lineup-tabs[data-active="main"] .lineup-tabs__ink { background: var(--red); }
.lineup-tabs[data-active="lounge"] .lineup-tabs__ink { background: var(--cyan); }

.lineup-grid {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 640px) { .lineup-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 900px) { .lineup-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1200px) { .lineup-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lineup-item { min-width: 0; }
.lineup-item[hidden] { display: none; }
.lineup-item.is-leaving { z-index: 0; }

/* card: flat tile, hairline border; hover = white border + name underline */
.dj-card { display: block; width: 100%; text-align: left; perspective: 900px; -webkit-tap-highlight-color: transparent; }
.dj-card__in {
  --sx-fc: var(--red);
  position: relative; display: block; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-soft);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease-out), border-color .25s var(--ease);
}
.dj-card--lounge .dj-card__in { --sx-fc: var(--cyan); }
.dj-card.is-tilt .dj-card__in { transition-duration: .12s, .25s; }
.dj-card:hover .dj-card__in, .dj-card:focus-visible .dj-card__in { border-color: var(--white); }
.dj-card__idx {
  position: absolute; top: 0; left: 0; z-index: 5;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; line-height: 1; color: var(--white);
  background: var(--bg); padding: 6px 8px 5px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.dj-card__body { display: block; padding: 12px 12px 14px; position: relative; z-index: 5; border-top: 1px solid var(--line-soft); }
@media (min-width: 900px) { .dj-card__body { padding: 14px 14px 16px; } }
.dj-card__name {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(14px, 1.5vw, 18px); line-height: 1.15; letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.dj-card__name::after {
  content: ''; display: block; width: 100%; height: 1px; margin-top: 8px; background: var(--white);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.dj-card:hover .dj-card__name::after, .dj-card:focus-visible .dj-card__name::after { transform: scaleX(1); }
.dj-card__meta { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.dj-card__floors { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.dj-card__time { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; line-height: 1.5; color: var(--muted); }

/* ==========================================================================
   DJ PROFILE MODAL
   ========================================================================== */
.dj-modal {
  position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 12px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.dj-modal[hidden] { display: none; }
.dj-modal.is-open { opacity: 1; }
.dj-modal__backdrop { position: absolute; inset: 0; background: rgba(7, 8, 12, .9); }
.dj-modal__panel {
  position: relative; width: min(940px, 100%); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: 1fr; background: var(--bg); border: 1px solid var(--line); outline: none;
  transform: translateY(20px); transition: transform .45s var(--ease-out);
}
.dj-modal.is-open .dj-modal__panel { transform: none; }
@media (min-width: 760px) { .dj-modal__panel { grid-template-columns: 360px minmax(0, 1fr); } }
.dj-modal__media { position: relative; border-bottom: 1px solid var(--line-soft); }
.dj-avatar--lg { aspect-ratio: 16 / 10; }
@media (min-width: 760px) {
  .dj-modal__media { border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .dj-avatar--lg { aspect-ratio: 1 / 1; height: 100%; }
}
.dj-modal__body { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 4vw, 40px); padding-right: max(clamp(22px, 4vw, 40px), 60px); min-width: 0; }
.dj-modal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.dj-modal__idx { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--dim); }
.dj-modal__tags { display: inline-flex; flex-wrap: wrap; gap: 6px 12px; }
.dj-modal__time { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--white); }
.dj-modal__name { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 5vw, 54px); line-height: 1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.dj-modal__bio { color: var(--muted); font-size: 14px; line-height: 2; display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.dj-modal__soon { font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); line-height: 1.4; }
.dj-modal__links { display: flex; flex-wrap: wrap; gap: 8px; }
.dj-modal__links:empty { display: none; }
.dj-modal__nav { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid var(--line-soft); }
.dj-modal__arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; min-width: 0; max-width: 50%;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); transition: color .25s var(--ease), background .25s var(--ease);
}
.dj-modal__arrow:hover, .dj-modal__arrow:focus-visible { color: var(--white); background: var(--bg-2); }
.dj-modal__arrow[hidden] { display: none; }
.dj-modal__arrow-ic { display: inline-grid; place-items: center; flex: 0 0 auto; }
.dj-modal__arrow-ic svg { width: 16px; height: 16px; fill: currentColor; }
.dj-modal__arrow-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dj-modal__close { position: absolute; top: 0; right: 0; z-index: 3; border-top: 0; border-right: 0; }

/* ==========================================================================
   2. TIMETABLE
   ========================================================================== */
.tt { --tt-u: 8px; --tt-axis-w: 46px; --tt-gap: 6px; --tt-total: 480; }
@media (min-width: 640px) { .tt { --tt-u: 7.5px; --tt-axis-w: 150px; --tt-gap: 12px; } }
@media (min-width: 900px) { .tt { --tt-u: 8px; --tt-axis-w: 180px; --tt-gap: 20px; } }

.tt-status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.tt-status[hidden] { display: none; }
.tt-status__dot { width: 6px; height: 6px; background: var(--dim); flex: 0 0 auto; }
.tt-status[data-state="live"] { color: var(--white); }
.tt-status[data-state="live"] .tt-status__dot { background: var(--red); animation: tt-blink 1.4s infinite; }
.tt-status[data-state="after"] .tt-status__dot { background: var(--cyan); }
@keyframes tt-blink { 50% { opacity: .25; } }

.tt-head { display: grid; grid-template-columns: minmax(0, 1fr) var(--tt-axis-w) minmax(0, 1fr); gap: 0 var(--tt-gap); align-items: end; margin-bottom: 12px; }
.tt-head__floor b { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(13px, 2.4vw, 24px); letter-spacing: -.01em; line-height: 1; }
.tt-head__floor span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--muted); white-space: nowrap; }
.tt-head__floor--main b { color: var(--red); }
.tt-head__floor--lounge { text-align: right; }
.tt-head__floor--lounge b { color: var(--cyan); }
.tt-head__axis { text-align: center; font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--dim); padding-bottom: 2px; white-space: nowrap; }
@media (min-width: 640px) { .tt-head__axis { font-size: 10px; } }

.tt-body {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--tt-axis-w) minmax(0, 1fr); gap: 0 var(--tt-gap);
  height: calc(var(--tt-u) * var(--tt-total) / 5);
}
.tt-track {
  position: relative; min-width: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(to bottom, var(--line-soft) 0 1px, transparent 1px calc(100% * 30 / var(--tt-total)));
}

/* slot: flat block, hairline border, floor color only on the time label */
.tt-slot {
  --sx-fc: var(--red);
  position: absolute; left: 0; right: 0;
  top: calc(var(--s, 0) * 100% / var(--tt-total) + 1px);
  height: calc(var(--d, 30) * 100% / var(--tt-total) - 2px);
  display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 8px; text-align: left; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line-soft);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.tt-slot--lounge { --sx-fc: var(--cyan); }
.tt-slot:hover, .tt-slot:focus-visible { border-color: var(--white); z-index: 2; }
.tt-slot:disabled { cursor: default; }
.tt-slot__name { font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-slot__time { font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; line-height: 1; color: var(--sx-fc); white-space: nowrap; }
@media (min-width: 640px) {
  .tt-slot { padding: 0 14px; gap: 5px; }
  .tt-slot__name { font-size: 16px; }
  .tt-slot__time { font-size: 10px; letter-spacing: .14em; }
}
@media (min-width: 900px) { .tt-slot__name { font-size: 18px; } .tt-slot__time { font-size: 11px; } }
.tt-slot--xs { flex-direction: row; align-items: center; gap: 8px; }
.tt-slot--xs .tt-slot__name { font-size: 11px; min-width: 0; }
.tt-slot--xs .tt-slot__time { font-size: 8px; letter-spacing: .04em; flex: 0 0 auto; }
@media (min-width: 640px) { .tt-slot--xs .tt-slot__name { font-size: 13px; } .tt-slot--xs .tt-slot__time { font-size: 10px; letter-spacing: .1em; } }
/* live slot: pulsing 1px border in the floor color */
.tt-slot.is-live { z-index: 2; background: var(--bg-2); }
.tt-slot.is-live::after {
  content: ''; position: absolute; inset: -1px; pointer-events: none; border: 1px solid var(--sx-fc);
  animation: tt-pulse 1.8s ease-in-out infinite;
}
@keyframes tt-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* axis */
.tt-axis { position: relative; }
.tt-axis::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tt-tick { position: absolute; left: 0; right: 0; top: calc(var(--m, 0) * 100% / var(--tt-total)); height: 0; }
.tt-tick i { position: absolute; left: 50%; top: 0; width: 8px; height: 1px; background: var(--line); transform: translate(-50%, -.5px); }
.tt-tick--h i { width: 16px; background: var(--muted); }
.tt-tick b {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  font-family: var(--font-mono); font-weight: 400; font-size: 9px; letter-spacing: .04em; line-height: 1.2; color: var(--muted);
  background: var(--bg); padding: 1px 3px; white-space: nowrap;
}
.tt-tick--h b { color: var(--white); font-size: 10px; }
.tt-mark {
  position: absolute; top: calc(var(--m, 0) * 100% / var(--tt-total)); transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; line-height: 1.2; background: var(--bg); padding: 1px 2px; white-space: nowrap;
}
.tt-mark--main { left: 0; color: var(--red); }
.tt-mark--lounge { right: 0; color: var(--cyan); }
@media (max-width: 639.98px) {
  .tt-mark { display: none; }
  .tt-tick:not(.tt-tick--h) b { display: none; }
}
@media (min-width: 640px) {
  .tt-tick b { font-size: 11px; letter-spacing: .08em; }
  .tt-tick--h b { font-size: 12px; }
  .tt-mark { font-size: 10px; letter-spacing: .08em; }
}
@media (min-width: 900px) { .tt-mark { font-size: 11px; } }

/* NOW line */
.tt-now { position: absolute; left: 0; right: 0; top: calc(var(--m, 0) * 100% / var(--tt-total)); height: 0; z-index: 4; pointer-events: none; border-top: 1px solid var(--white); }
.tt-now[hidden] { display: none; }
.tt-now__tag {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .22em; line-height: 1; padding: 4px 7px 3px 9px;
  background: var(--white); color: #000;
}

.tt-foot { display: flex; justify-content: center; margin-top: 28px; }
.tt-imglink {
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--sx-tap); padding: 0 20px; border: 1px solid var(--line);
  font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .04em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.tt-imglink__ic { display: inline-grid; place-items: center; }
.tt-imglink__ic svg { width: 16px; height: 16px; fill: currentColor; }
.tt-imglink:hover, .tt-imglink:focus-visible { background: var(--white); color: #000; border-color: var(--white); }

/* ==========================================================================
   3. VENUE
   ========================================================================== */
.venue-strip { position: relative; margin-bottom: clamp(32px, 5vw, 60px); }
.venue-strip__scroller {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 4px; cursor: grab;
}
.venue-strip__scroller::-webkit-scrollbar { display: none; }
.venue-strip__scroller.is-grab { cursor: grabbing; }
.venue-strip__scroller.is-dragging { scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.venue-slide { flex: 0 0 min(78vw, 440px); margin: 0; scroll-snap-align: start; min-width: 0; }
.venue-slide__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; isolation: isolate;
  background: var(--bg-3); border: 1px solid var(--line-soft); transition: border-color .25s var(--ease);
}
.venue-slide__btn:hover, .venue-slide__btn:focus-visible { border-color: var(--white); }
.venue-slide__btn img { width: 100%; height: 100%; object-fit: cover; }
.venue-slide__btn::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--sx-grain); opacity: .12; mix-blend-mode: overlay; }
.venue-slide__cap { display: flex; gap: 10px; margin-top: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.venue-slide__n { color: var(--dim); }
.venue-strip__nav { display: flex; align-items: center; gap: 0; margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.venue-strip__label { margin-right: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.venue-strip__btn--next { margin-left: -1px; }
.venue-strip__btn.is-off { opacity: .3; pointer-events: none; }

.venue-info { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .venue-info { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.venue-floor { margin: 0; }
.venue-floor__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 1024 / 373; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line-soft); transition: border-color .25s var(--ease);
}
.venue-floor__btn:hover, .venue-floor__btn:focus-visible { border-color: var(--white); }
.venue-floor__btn img { width: 100%; height: 100%; object-fit: cover; }
.venue-floor__zoom {
  position: absolute; right: 0; bottom: 0; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--bg); border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft);
}
.venue-floor__zoom svg { width: 14px; height: 14px; fill: currentColor; }
.venue-floor__cap { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.venue-floor__cap::before { content: ''; width: 22px; height: 1px; background: var(--red); }
.venue-map { position: relative; margin-top: 20px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-soft); }
.venue-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) grayscale(.2); }

.venue-access { min-width: 0; }
.venue-access__k { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); }
.venue-access__k::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.venue-access__k--sub { margin-top: 30px; color: var(--red); }
.venue-access__name { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.venue-access__addr { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.venue-access__list { border-top: 1px solid var(--line); }
.venue-access__list:empty { display: none; }
.venue-access__item { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.venue-access__from { font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.3; }
.venue-access__from::before { content: 'FROM'; font-family: var(--font-mono); font-weight: 400; font-size: 9px; letter-spacing: .22em; color: var(--dim); margin-right: 10px; vertical-align: middle; }
.venue-access__how { font-size: 14px; line-height: 1.8; }
.venue-access__note { font-size: 12px; line-height: 1.7; color: var(--muted); }
.venue-access__note::before { content: '— '; color: var(--dim); }
.venue-access__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
/* minimal fallback in case .btn is not available */
.venue-access__link { display: inline-flex; align-items: center; justify-content: center; min-height: var(--sx-tap); padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }

/* ==========================================================================
   4. GALLERY (vol.1)
   ========================================================================== */
.gallery-film {
  position: relative; overflow: hidden; margin-bottom: clamp(24px, 4vw, 44px); padding: 12px 0;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery-film__track { display: flex; width: max-content; animation: gallery-film 80s linear infinite; will-change: transform; }
.gallery-film:hover .gallery-film__track, .gallery-film.is-paused .gallery-film__track { animation-play-state: paused; }
.gallery-film__item { flex: 0 0 auto; height: 72px; aspect-ratio: 3 / 2; margin-right: 6px; overflow: hidden; background: var(--bg-3); }
.gallery-film__item--p { aspect-ratio: 2 / 3; }
.gallery-film__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .gallery-film__item { height: 88px; margin-right: 8px; } }
@media (min-width: 900px) { .gallery-film__item { height: 104px; } }
@keyframes gallery-film { to { transform: translateX(-50%); } }

.gallery-wall { container-type: inline-size; }
.gallery-grid {
  --sx-cols: 2; --sx-gap: 8px;
  display: grid; grid-template-columns: repeat(var(--sx-cols), minmax(0, 1fr)); gap: var(--sx-gap); grid-auto-flow: dense;
  grid-auto-rows: calc((100cqw - (var(--sx-cols) - 1) * var(--sx-gap)) / var(--sx-cols) * 2 / 3);
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 640px) { .gallery-grid { --sx-cols: 3; --sx-gap: 10px; } }
@media (min-width: 1000px) { .gallery-grid { --sx-cols: 4; --sx-gap: 12px; } }
.gallery-item { position: relative; min-width: 0; overflow: hidden; background: var(--bg-3); }
.gallery-item--p { grid-row: span 2; }
.gallery-item__btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; isolation: isolate; }
@supports not (width: 1cqw) {
  .gallery-grid { grid-auto-rows: auto; }
  .gallery-item { aspect-ratio: 3 / 2; }
  .gallery-item--p { grid-row: auto; }
}
.gallery-item__btn img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.92); transition: filter .4s var(--ease); }
.gallery-item__btn:hover img, .gallery-item__btn:focus-visible img { filter: none; }
.gallery-item__btn::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--sx-grain); opacity: .3; mix-blend-mode: overlay; }
.gallery-item__n {
  position: absolute; left: 0; bottom: 0; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; line-height: 1; color: var(--white);
  background: var(--bg); padding: 6px 8px 5px; opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-item__btn:hover .gallery-item__n, .gallery-item__btn:focus-visible .gallery-item__n { opacity: 1; }
.gallery-foot { margin-top: 18px; text-align: right; font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }

/* ==========================================================================
   5. LIGHTBOX (shared)
   ========================================================================== */
.lb {
  position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px 16px calc(76px + env(safe-area-inset-bottom));
  opacity: 0; transition: opacity .3s var(--ease); touch-action: pan-y pinch-zoom; -webkit-tap-highlight-color: transparent;
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(7, 8, 12, .95); }
.lb__fig {
  position: relative; margin: 0; max-width: 92vw; display: flex; flex-direction: column; align-items: center; gap: 12px;
  transform: scale(.96); transition: transform .4s var(--ease-out);
}
.lb.is-open .lb__fig { transform: none; }
.lb__stage { position: relative; display: grid; place-items: center; min-width: 120px; min-height: 120px; }
.lb__img {
  display: block; width: auto; height: auto; max-width: 92vw; max-height: min(88vh, calc(100vh - 140px)); object-fit: contain;
  border: 1px solid var(--line-soft); user-select: none; -webkit-user-drag: none;
}
.lb__img:not([src]) { display: none; }
.lb__spin {
  position: absolute; width: 24px; height: 24px; border: 1px solid var(--line); border-top-color: var(--white);
  opacity: 0; pointer-events: none; transition: opacity .2s; animation: lb-spin .9s linear infinite;
}
.lb__fig.is-loading .lb__spin { opacity: 1; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb__bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; width: 100%;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.lb__cap { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb__count { flex: 0 0 auto; color: var(--white); }
.lb.is-single .lb__count { display: none; }
.lb__btn { position: absolute; z-index: 2; }
.lb__btn--close { top: 12px; right: 12px; }
.lb__btn--prev { left: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); }
.lb__btn--next { right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); }
.lb.is-single .lb__btn--prev, .lb.is-single .lb__btn--next { display: none; }
@media (min-width: 760px) {
  .lb { padding: 16px; }
  .lb__img { max-height: min(88vh, calc(100vh - 80px)); }
  .lb__btn--prev, .lb__btn--next { bottom: auto; top: 50%; transform: translateY(-50%); }
  .lb__btn--prev { left: 20px; }
  .lb__btn--next { right: 20px; }
}

/* ==========================================================================
   reduced motion
   ========================================================================== */
