/* ============================================================
   JSD BLOK M FESTIVAL 2026 — single-page site, iteration 2
   Animated sunset gradient canvas, black M hero with
   scroll-driven photo flashes, black card system, white type.
   ============================================================ */

@font-face {
  font-family: "Neue Haas";
  src: url("assets/fonts/NeueHaas-Roman.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas";
  src: url("assets/fonts/NeueHaas-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas";
  src: url("assets/fonts/NeueHaas-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Momo Trust";
  src: url("assets/fonts/MomoTrustDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --offwhite: #f6f2e3;
  --card: #101010;

  --font-sans: "Neue Haas", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Momo Trust", "Neue Haas", sans-serif;

  --ease-bounce: cubic-bezier(0.8, 1.2, 0.6, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --radius-xl: 36px;

  --container-pad: clamp(20px, 4vw, 40px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: #fb8a35; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--black); color: var(--white); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
img { display: block; }

/* ============================================================
   ANIMATED GRADIENT BACKGROUND
   Seamless loop: gradient, flipped, gradient, flipped — the
   strip slides one full period (2 images) and repeats.
   ============================================================ */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #fb8a35;
}
.bg__strip {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 400lvh;
  display: flex;
  flex-direction: column;
  animation: bg-drift 46s linear infinite;
  will-change: transform;
}
.bg__strip img {
  width: 100%;
  height: 25%;
  object-fit: cover;
  flex: none;
}
.bg__flip { transform: scaleY(-1); }
@keyframes bg-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* solid-black first screen (colored primary logo sits on it);
   JS fades this out into the gradient as the landing scrolls away */
.bg__yellow {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 1;
}

/* ============================================================
   TYPE SCALE
   ============================================================ */
.t-h1 {
  font-weight: 700;
  font-size: clamp(52px, 9vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.t-h2 {
  font-weight: 700;
  font-size: clamp(40px, 6.6vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.t-h4 {
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.t-h5 {
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.1;
}
.t-b1 {
  font-size: clamp(19px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.t-b2 {
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.t-b3 {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.t-b4 {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.t-italic { font-style: italic; }

/* ============================================================
   HEADER — hidden on first view, appears past the hero
   ============================================================ */
.site-header {
  position: fixed;
  top: 14px; left: 16px; right: 16px;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}
body.past-hero .site-header {
  opacity: 1;
  transform: none;
}
body.past-hero .site-header > * { pointer-events: auto; }

.header-logo img { height: clamp(26px, 3vw, 36px); width: auto; }
.header-logo { transition: opacity 0.3s; }
.header-logo:hover { opacity: 0.8; }

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* --- pill nav: white bar, black active pill (per mockup) ---
   extra inset keeps the black pill clear of the bar's rounded ends */
.pill-nav {
  position: relative;
  background: var(--white);
  border-radius: 999px;
  padding: 5px 9px;
}
.pill-nav__indicator {
  position: absolute;
  top: 5px; bottom: 5px;
  border-radius: 999px;
  background: var(--black);
  transition: width 0.3s ease 0.15s, left 0.3s ease 0.15s;
  z-index: 1;
}
.pill-nav ul {
  position: relative;
  display: flex;
  gap: 2px;
  z-index: 2;
}
.pill-nav li {
  position: relative;
  border-radius: 999px;
  color: rgba(10, 10, 10, 0.55);
  transition: color 0.3s;
}
.pill-nav li.is-active { color: var(--white); }
.pill-nav li:not(.is-active):hover { color: var(--black); }
.pill-nav a {
  display: block;
  padding: 6px 18px;
  font-size: 14.5px;
  font-weight: 500;
}

/* --- right-side section nav with travelling dot --- */
.section-nav { position: relative; display: none; }
@media (min-width: 720px) { .section-nav { display: block; } }
.section-nav__dot {
  position: absolute;
  top: 4px; right: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--white);
  transition: top 0.45s var(--ease-bounce), opacity 0.3s;
  opacity: 0;
}
.section-nav.has-active .section-nav__dot { opacity: 1; }
.section-nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
  text-align: right;
}
.section-nav a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 12px rgba(0,0,0,0.08);
  transition: color 0.3s;
}
.section-nav a:hover, .section-nav li.is-active a { color: var(--white); }

/* ============================================================
   HERO — page 1: lockup centered mid-screen, giant black M
   barely poking out from the bottom; photos flash inside the
   M as it travels through the viewport (no pin).
   ============================================================ */
#hero {
  position: relative;
  padding-bottom: clamp(40px, 10vh, 140px);
}
.hero-land {
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 48px);
}
.hero-logo {
  position: relative;
  width: min(90vw, 1200px, calc(52svh * 2.755)); /* landing art is 1400x508, transparent bg */
  will-change: transform;
}
.hero-logo__art { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
/* the animated gradient sits on top, visible only through the BLOK
   letterforms via an inverted-alpha mask of the letter shapes */
.hero-logo__grad {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  -webkit-mask-image: url("assets/blok-mask.png");
  mask-image: url("assets/blok-mask.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: grad-drift 1.7s ease-in-out infinite alternate;
}
@keyframes grad-drift {
  from { object-position: 50% 0%; }
  to   { object-position: 50% 100%; }
}
/* nearly page-wide M, top sliver visible on the first screen */
.m-hero {
  width: min(96vw, 1700px);
  margin: -11svh auto 0;
  will-change: transform;
}
.m-frame {
  position: relative;
  aspect-ratio: 1858 / 734;
  background: var(--black);
  -webkit-mask-image: url("assets/m-logo.png");
  mask-image: url("assets/m-logo.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.m-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.m-frame img.is-active { opacity: 1; }

/* ============================================================
   SECTIONS — shared layout
   ============================================================ */
.my-section { margin: clamp(120px, 20vh, 240px) 0; }
#zones { margin: clamp(120px, 20vh, 240px) 0; }

.section-col {
  width: min(100% - 2 * var(--container-pad), 1200px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 6vh, 72px);
  text-align: center;
  position: relative;
  z-index: 2;
}
.section-col--wide { width: min(100% - 2 * var(--container-pad), 1500px); }
.section-col--narrow { width: min(100% - 2 * var(--container-pad), 860px); }

.section-body {
  width: min(92%, 860px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

.headline-reveal .line { display: block; overflow: clip; }
.headline-reveal .line > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1s var(--ease-out);
}
.headline-reveal.is-in .line > span { transform: none; }
.headline-reveal .line:nth-child(2) > span { transition-delay: 0.08s; }
.headline-reveal .line:nth-child(3) > span { transition-delay: 0.16s; }

/* ============================================================
   ZONES — black squares with zone logos
   ============================================================ */
.zones-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: min(100%, 1100px);
  margin: 0 auto;
}
.zones-head .t-b1 { max-width: 900px; margin: 0 auto; }

.zone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
}
@media (min-width: 720px)  { .zone-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .zone-grid { grid-template-columns: repeat(4, 1fr); } }

/* center the orphans on the last row (10 zones) */
@media (min-width: 720px) and (max-width: 1099.98px) {
  .zone-grid > :nth-child(10) { grid-column: 2; } /* 3+3+3+1 */
}
@media (min-width: 1100px) {
  .zone-grid > :nth-child(9) { grid-column: 2; }  /* 4+4+2, centered */
}

.zone-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out);
}
.zone-card:hover { transform: scale(0.98); }

.zone-card__logo {
  position: relative;
  z-index: 2;
  width: 68%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s;
}
.zone-card__logo img { width: 100%; height: auto; max-height: 52%; object-fit: contain; }
.zone-card__logo span {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 40px);
  line-height: 1;
  color: var(--offwhite);
  text-transform: uppercase;
  text-align: center;
}
.zone-card:hover .zone-card__logo { opacity: 0; }

.zone-card__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease 0.15s;
}
.zone-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.zone-card:hover .zone-card__photo { opacity: 1; }

.zone-card__hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent 55%);
}
.zone-card:hover .zone-card__hover { opacity: 1; }
.zone-card__name {
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 22px);
  letter-spacing: -0.01em;
}
.zone-card__venue {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ============================================================
   SUBPAGES (zone pages + map) — header always visible
   ============================================================ */
body.subpage .site-header {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
body.subpage .site-header > * { pointer-events: auto; }

/* ============================================================
   ZONE PAGE — banner (zone background + logo title), lead,
   article with a mid-page photo break, CTAs, next-zone link
   ============================================================ */
.zone-page {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vh, 90px);
  padding-top: clamp(70px, 9vh, 110px);
}
.zp-banner {
  position: relative;
  margin: 0 16px;
  height: min(62svh, 640px);
  border-radius: var(--radius-lg);
  overflow: clip;
  display: grid;
  place-items: center;
}
.zp-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zp-banner__logo { position: relative; z-index: 2; width: min(64%, 660px); }
.zp-banner__logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,0.25)); }
.zp-banner__logo span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  color: var(--offwhite);
  text-transform: uppercase;
  text-align: center;
}

.zp-meta { text-align: center; }
.zp-meta p {
  display: inline-block;
  background: var(--black);
  border-radius: 999px;
  padding: 10px 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zp-article {
  width: min(100% - 2 * var(--container-pad), 860px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vh, 44px);
}
.zp-lead {
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 500;
  text-align: center;
  text-wrap: pretty;
}
.zp-body {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.45;
  text-align: left;
}

.zp-photo { margin: 0 16px; }
.zp-photo img {
  width: 100%;
  max-height: 78svh;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.zp-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.partner-cta--solidwhite {
  background: var(--white);
  color: var(--black);
}

.zp-next {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: clamp(30px, 6vh, 70px);
}
.zp-next > p { opacity: 0.8; text-transform: uppercase; letter-spacing: 0.14em; }
.zp-next__link { font-weight: 700; transition: opacity 0.3s; }
.zp-next__link:hover { opacity: 0.7; }

/* ============================================================
   MAP PAGE — Leaflet map clipped by the M-shaped frame,
   venue-shape overlays, affiliate dots, zone-logo legend
   ============================================================ */
.map-page {
  padding-top: clamp(70px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vh, 44px);
  padding-bottom: clamp(24px, 4vh, 48px);
}
.map-shell {
  margin: 0 16px;
  -webkit-mask-image: url("assets/map/m-mask.png");
  mask-image: url("assets/map/m-mask.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
#festMap {
  height: min(72svh, 760px);
  background: #eee;
}
#festMap:focus { outline: none; }

.venue-shape { cursor: pointer; transition: filter 0.25s; }
.venue-shape.is-hot {
  filter: brightness(1.18) saturate(1.25) drop-shadow(0 0 16px rgba(246, 174, 45, 0.95));
}

.aff-dot {
  background: #ff17b4;
  border-radius: 2px;
}
.aff-tip {
  font-family: var(--font-sans);
  font-weight: 600;
}

.venue-pop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 2px; }
.venue-pop__zone { display: block; width: 130px; }
.venue-pop__zone img { width: 100%; height: auto; filter: invert(1); }
.venue-pop__zone span { font-weight: 700; color: var(--black); }
.venue-pop__name { font-weight: 700; color: var(--black); }
.venue-pop__venue {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.5vw, 56px);
  padding: 0 var(--container-pad);
}
.map-legend__item {
  display: block;
  width: clamp(90px, 11vw, 170px);
  transition: transform 0.3s var(--ease-pop), opacity 0.3s;
}
.map-legend__item:hover { transform: scale(1.08); }
.map-legend__item img { width: 100%; height: auto; }
.map-legend__item span {
  font-family: var(--font-display);
  color: var(--offwhite);
  font-size: clamp(16px, 1.6vw, 24px);
  text-transform: uppercase;
}
.map-note { text-align: center; opacity: 0.9; padding: 0 var(--container-pad); }

/* ============================================================
   TICKETS
   ============================================================ */
.ticket-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 20px);
  width: min(100%, 1240px);
  margin: 0 auto;
}
@media (min-width: 720px)  { .ticket-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .ticket-grid { grid-template-columns: repeat(3, 1fr); } }
/* the presale card centers itself when it wraps alone on 2-col */
@media (min-width: 720px) and (max-width: 1039.98px) {
  .ticket-grid > :nth-child(3):last-child { grid-column: 1 / 3; width: calc(50% - 8px); justify-self: center; }
}

.ticket-card__name {
  font-weight: 700;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.ticket-note--disclaimer { font-size: 13px; opacity: 0.75; }

.ticket-card {
  position: relative;
  background: var(--black);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.6vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.ticket-card--featured {
  outline: 3px solid var(--white);
  outline-offset: -3px;
}
.ticket-card__badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 12px;
}
.ticket-card__tier {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.ticket-card__price {
  font-weight: 700;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.ticket-card__cur {
  font-size: 0.38em;
  font-weight: 500;
  vertical-align: super;
  margin-right: 0.2em;
  letter-spacing: 0;
}
.ticket-card__desc { font-size: 16px; opacity: 0.85; max-width: 320px; }
.ticket-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  opacity: 0.75;
}
.ticket-card__list li::before { content: "✦ "; }
.ticket-card__cta {
  margin-top: auto;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 14px 44px;
  transition: transform 0.3s var(--ease-pop), background 0.3s;
}
.ticket-card__cta:hover { transform: scale(1.06); }

.ticket-note {
  width: min(92%, 720px);
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  row-gap: clamp(36px, 7vh, 80px);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  flex: 1 1 40%;
}
@media (min-width: 900px) { .stat { flex: 0 1 20%; } }
.stat__num {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.stat__big { font-size: clamp(72px, 6.6vw, 128px); }
.stat__suffix { font-size: clamp(42px, 4vw, 80px); }

/* ============================================================
   LINEUP — flip cards
   ============================================================ */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px)  { .lineup-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 900px)  { .lineup-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .lineup-grid { grid-template-columns: repeat(5, 1fr); } }

.flip-card {
  position: relative;
  perspective: 2000px;
  min-height: 320px;
}
.flip-card__front, .flip-card__back {
  background: var(--black);
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  transition: transform 0.6s;
}
.flip-card__front {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 7px;
  text-align: center;
  transform: rotateY(0);
}
.flip-card.is-flipped .flip-card__front { transform: rotateY(-180deg); }

.flip-card__photo {
  position: relative;
  aspect-ratio: 0.8;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: clip;
  display: grid;
  place-items: center;
}
.flip-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.flip-card__initials {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 64px);
  color: var(--offwhite);
}
.flip-card__viewbio {
  position: absolute;
  top: 0; right: 0;
  padding: 9px 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  pointer-events: none;
  z-index: 2;
}
.flip-card__front-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px 10px;
}
.flip-card__role { font-size: 12.5px; font-weight: 500; opacity: 0.7; }
.flip-card__name { font-size: clamp(15px, 1.4vw, 19px); font-weight: 700; letter-spacing: -0.01em; }
.flip-card__hit { position: absolute; inset: 0; cursor: pointer; }

.flip-card__back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  text-align: left;
  transform: rotateY(180deg);
  overflow: clip;
}
.flip-card.is-flipped .flip-card__back { transform: rotateY(0); }
.flip-card__back-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.flip-card__close {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}
.flip-card__bio {
  flex: 1;
  overflow-y: auto;
  font-size: 12.5px;
  line-height: 1.5;
  padding-right: 6px;
  opacity: 0.9;
}
.flip-card__bio::-webkit-scrollbar { width: 3px; }
.flip-card__bio::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.35); border-radius: 3px; }

/* artist photos show at full strength (venue fallbacks stay dimmed) */
.flip-card__photo img.flip-card__artist { opacity: 1; }

/* closing "…and many more" card */
.flip-card--more {
  background: var(--black);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  text-align: center;
}
.flip-card--more span {
  font-family: var(--font-serif, var(--font-sans));
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-style: italic;
  opacity: 0.9;
  padding: 16px;
}

/* ============================================================
   FAQS — accordion
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.faq-item {
  background: var(--black);
  border-radius: var(--radius-md);
  overflow: clip;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.3s var(--ease-pop);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.85;
}

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
}
.sponsor-tile {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: clamp(130px, 17vw, 230px);
  aspect-ratio: 1.55;
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 30px);
}
.sponsor-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partner-ctas { display: flex; justify-content: center; }
.partner-cta {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 22px);
  border-radius: 999px;
  padding: 18px 44px;
  transition: transform 0.3s var(--ease-pop);
}
.partner-cta:hover { transform: scale(1.05); }

.partner-emails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);
}
.partner-emails > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.partner-emails span { opacity: 0.7; text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }
.partner-emails a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   DEDICATED PAGES (/tenants /perks /lineupsound /paspor
   /sponsors /marketprogram /tickets)
   ============================================================ */
.page-main {
  padding-top: clamp(120px, 18vh, 200px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vh, 100px);
  padding-bottom: clamp(40px, 7vh, 90px);
}
.page-hero {
  width: min(100% - 2 * var(--container-pad), 1100px);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-hero .t-b1 { max-width: 860px; margin: 0 auto; }

/* header page links (below the pill) */
.page-nav ul { gap: 5px; }
.page-nav a { font-size: 14px; }

/* --- tenants: zone roster rows --- */
.roster {
  width: min(100% - 2 * var(--container-pad), 1100px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.roster-row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: clamp(14px, 2vw, 24px) clamp(16px, 2.5vw, 32px);
  transition: transform 0.35s var(--ease-out);
}
.roster-row:hover { transform: scale(0.99); }
.roster-row__logo { width: clamp(90px, 12vw, 150px); flex: none; }
.roster-row__logo img { width: 100%; height: auto; max-height: 64px; object-fit: contain; }
.roster-row__logo span { font-family: var(--font-display); color: var(--offwhite); font-size: 18px; text-transform: uppercase; }
.roster-row__meta { flex: 1; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.roster-row__name { font-weight: 700; font-size: clamp(16px, 1.8vw, 22px); }
.roster-row__venue { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.roster-row__go { font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0.85; }

/* --- perks: affiliate grid --- */
.perk-grid {
  width: min(100% - 2 * var(--container-pad), 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px)  { .perk-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .perk-grid { grid-template-columns: repeat(4, 1fr); } }
.perk-item {
  background: var(--black);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 17px);
  text-align: center;
}
.perk-item span { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; margin-top: 5px; }

/* --- lineupsound: night blocks + artist wall --- */
.night-block {
  width: min(100% - 2 * var(--container-pad), 1100px);
  margin: 0 auto;
  background: var(--black);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.night-block h3 { font-weight: 700; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.015em; }
.night-block .night-genre { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.night-block p { font-size: clamp(15px, 1.6vw, 19px); line-height: 1.5; opacity: 0.9; max-width: 760px; margin: 0 auto; }

.artist-grid {
  width: min(100% - 2 * var(--container-pad), 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px)  { .artist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .artist-grid { grid-template-columns: repeat(4, 1fr); } }
.artist-card {
  position: relative;
  background: var(--black);
  border-radius: var(--radius-lg);
  overflow: clip;
  aspect-ratio: 0.82;
  display: grid;
  place-items: center;
}
.artist-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.artist-card__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
  text-align: left;
}
.artist-card__meta strong { display: block; font-size: clamp(16px, 1.7vw, 22px); letter-spacing: -0.01em; }
.artist-card__meta span { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
.artist-card--noimg span.artist-card__big {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  color: var(--offwhite);
  text-transform: uppercase;
  text-align: center;
  padding: 0 12px;
}

/* --- paspor: steps --- */
.step-grid {
  width: min(100% - 2 * var(--container-pad), 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.step-card .step-num { font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px); color: var(--offwhite); }
.step-card h3 { font-size: clamp(17px, 1.9vw, 24px); font-weight: 700; }
.step-card p { font-size: 15px; line-height: 1.5; opacity: 0.85; }

.page-note {
  width: min(100% - 2 * var(--container-pad), 720px);
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.85;
}

/* ============================================================
   BANK DISCLAIMERS — light strip so the official dark-text
   artwork stays legible (BCA + blu OJK/BI/LPS notices)
   ============================================================ */
.bank-disclaimers {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px clamp(14px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.bank-disclaimers img {
  width: 100%;
  max-width: 980px;
  height: auto;
}
.map-page .bank-disclaimers { margin: 0 16px; }

/* ============================================================
   LANGUAGE TOGGLE (EN / ID)
   ============================================================ */
.lang-toggle {
  display: flex;
  gap: 2px;
  background: var(--white);
  border-radius: 999px;
  padding: 4px;
  cursor: pointer;
}
.lang-toggle button {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.5);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.lang-toggle button.is-on {
  background: var(--black);
  color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  z-index: 2;
  margin: 16px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 6vh, 56px);
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}
.footer-brand img { height: clamp(88px, 11vw, 140px); width: auto; align-self: flex-start; max-width: 100%; object-fit: contain; }
.footer-brand p { opacity: 0.6; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col > span { opacity: 0.55; text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { transition: opacity 0.3s; }
.footer-col a:hover { opacity: 0.65; }

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  text-align: right;
}
.footer-legal p { opacity: 0.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.7;
}
.footer-legal a:hover { text-decoration: underline; }

/* ============================================================
   INTRO / LOADING STATE
   ============================================================ */
/* intro animates .hero-land / .m-frame; the JS parallax owns the
   transforms on .hero-logo / .m-hero, so they must stay separate */
.is-loading .hero-land,
.is-loading .m-frame { opacity: 0; }

body:not(.is-loading) .hero-land { animation: rise-in 1.1s var(--ease-out) both; }
body:not(.is-loading) .m-frame { animation: rise-in 1.1s var(--ease-out) 0.15s both; }

@keyframes rise-in {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .headline-reveal .line > span { opacity: 1; transform: none; }
  .bg__strip { animation: none; }
}


/* ============================================================
   LATE ROUND ADDITIONS
   ============================================================ */

/* long footer lists (Explore) flow into two columns */
.footer-col ul:has(li:nth-child(5)) { display: block; columns: 2; column-gap: 28px; }
.footer-col ul:has(li:nth-child(5)) li { break-inside: avoid; margin-bottom: 10px; }

/* bank disclaimers as text, both at the same (BCA) size */
.bank-disclaimers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}
.disc-line {
  font-size: 11.5px;
  line-height: 1.45;
  opacity: 0.75;
  text-align: left;
}
.map-page .bank-disclaimers { margin: 0 16px; }

/* sponsors: one shared white rectangle instead of separate boxes */
.sponsor-grid {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 40px) clamp(16px, 2.5vw, 36px);
  width: min(100%, 1100px);
  margin: 0 auto;
}
.sponsor-tile { background: none; border-radius: 0; }

/* zoom control tucked inside the M-shaped frame */
.leaflet-top.leaflet-left { margin: 26px 0 0 30px; }

/* perk bars: logo slot + name + perk */
.perk-list {
  width: min(100% - 2 * var(--container-pad), 980px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.perk-bar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  background: var(--black);
  border-radius: var(--radius-md);
  padding: 12px clamp(14px, 2vw, 24px);
  scroll-margin-top: 120px;
}
.perk-bar.is-linked { outline: 3px solid var(--white); }
.perk-bar__logo {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  overflow: clip;
}
.perk-bar__logo img { width: 100%; height: 100%; object-fit: contain; }
.perk-bar__logo > span { font-weight: 700; font-size: 18px; opacity: 0.85; }
.perk-bar__name { flex: 1; text-align: left; font-weight: 700; font-size: clamp(15px, 1.6vw, 19px); }
.perk-bar__perk { text-align: right; font-size: clamp(12px, 1.3vw, 14.5px); opacity: 0.8; max-width: 44%; }
.perks-map-note { text-align: center; }

/* paspor stamp-type cards */
.step-grid--stamps .step-card .step-num {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.04em;
}

/* muted coming-soon ticket buttons */
.ticket-card__cta--soon {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  pointer-events: none;
}

/* language toggle */
.lang-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.lang-toggle button {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  opacity: 0.7;
}
.lang-toggle button.is-on {
  background: var(--white);
  color: var(--black);
  opacity: 1;
}


/* perk tiles: deal-first grid */
.perk-item { scroll-margin-top: 120px; }
.perk-item.is-linked { outline: 3px solid var(--white); }
.perk-item--deal span { opacity: 0.95; font-weight: 600; color: var(--offwhite); }
.perk-item__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto 8px;
  border-radius: 8px;
}


/* tighter footer bottom: legal + disclaimers hug the base */
footer { row-gap: clamp(20px, 3vh, 32px); }
.footer-legal { gap: 6px; }
.bank-disclaimers { padding: 10px 16px; gap: 4px; margin-top: -6px; }

/* perk tile: small perk text under the name */
.perk-item { cursor: pointer; }
.perk-item--deal span { display: block; font-size: 12px; margin-top: 6px; }

/* pulsing highlight for a map-selected affiliate */
.aff-dot.is-pulse {
  animation: aff-pulse 1s ease-in-out infinite alternate;
  outline: 3px solid rgba(255, 255, 255, 0.9);
}
@keyframes aff-pulse {
  from { transform: scale(1); }
  to   { transform: scale(2.1); }
}
