/* ==========================================================================
   Landing page — "Bayang Kelana"
   The one bold move: the street lamp's beam switches on and lights the ticket stub.
   Everything else stays quiet.
   ========================================================================== */

.bk-landing { overflow-x: hidden; }

/* ---------- hero ---------- */
.bk-hero {
  position: relative; isolation: isolate;
  min-height: min(calc(100svh - 64px), 980px);
  display: grid; align-items: end;
  padding: 6.5rem 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.bk-hero__scene {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
}
/* vignette + floor so text stays readable */
.bk-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 21, 48, .55) 0%, rgba(7, 21, 48, 0) 28%, rgba(7, 21, 48, 0) 55%, rgba(7, 21, 48, .92) 100%),
    radial-gradient(120% 90% at 20% 20%, transparent 40%, rgba(7, 21, 48, .5) 100%);
}
/* night before the lamp: a dark veil that the lamp "switches off" on load */
.bk-hero__dark {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 60% at 72% 38%, rgba(7, 21, 48, .55), rgba(4, 10, 26, .92));
  opacity: 0;
}
.bk-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: end; }
.bk-hero__inner > * { min-width: 0; }
.bk-hero__title { margin: 0; }
.bk-hero__title img { display: block; width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .45)); }
.bk-hero__presents { margin: 0 0 1rem; font-family: var(--bk-font-display); font-size: var(--bk-step-1); color: var(--bk-lamp); text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.bk-hero__sub { margin: 1.1rem 0 0; font-style: italic; font-size: var(--bk-step-1); color: var(--bk-lamp); text-shadow: 0 2px 14px rgba(0, 0, 0, .7); max-width: 34ch; }

/* the lit ticket stub */
.bk-hero__stub { justify-self: end; width: min(420px, 100%); }
.bk-hero__stub .bk-stub { background: linear-gradient(165deg, rgba(239, 230, 207, .14), rgba(12, 37, 82, .88) 45%); backdrop-filter: blur(6px); }
.bk-stub__date { font-family: var(--bk-font-display); font-weight: 700; font-size: var(--bk-step-3); line-height: 1; margin: 0; }
.bk-stub__day { font-family: var(--bk-font-display); color: var(--bk-lamp-dim); margin: .35rem 0 1rem; }
.bk-stub__venue { margin: 0 0 1.2rem; line-height: 1.45; }
.bk-stub__venue strong { font-family: var(--bk-font-display); font-weight: 600; font-size: 1.1rem; display: block; }
.bk-stub__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.bk-stub__note { margin: .9rem 0 0; font-size: var(--bk-step--1); color: var(--bk-lamp-dim); }
.bk-stub__soldout img { display: block; width: 220px; height: auto; margin-bottom: .4rem; }

/* single orchestrated moment: the lamp flickers on, then the stub is lit */
@media (prefers-reduced-motion: no-preference) {
  .bk-hero__dark { animation: bk-lamp-on 1.5s steps(1, end) .25s both; }
  .bk-hero__stub { animation: bk-stub-in .9s var(--bk-ease) 1.35s both; }
}
/* the veil is lifted in flickers, like a street lamp warming up */
@keyframes bk-lamp-on {
  0% { opacity: 1; } 14% { opacity: .35; } 20% { opacity: .95; } 32% { opacity: .2; }
  38% { opacity: .8; } 50% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes bk-stub-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .bk-hero { align-items: end; padding-top: 5.5rem; }
  .bk-hero__scene { object-position: 70% 50%; }
  .bk-hero__inner { grid-template-columns: 1fr; }
  .bk-hero__stub { justify-self: stretch; width: 100%; }
}

/* ---------- sections ---------- */
.bk-section { position: relative; z-index: 2; padding: var(--bk-section) 0 0; }
.bk-section:last-of-type { padding-bottom: var(--bk-section); }
.bk-section__head { display: grid; gap: .6rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); max-width: 62ch; }
.bk-section__head h2 { font-size: var(--bk-step-3); margin: 0; }
.bk-section__head p { margin: 0; color: var(--bk-lamp-dim); }
.bk-section__titleart { display: block; width: min(520px, 90%); height: auto; }

/* when & where */
.bk-when { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: stretch; }
.bk-facts { margin: 0; display: grid; gap: 1.1rem; align-content: start; }
.bk-facts dt { font-family: var(--bk-font-display); color: var(--bk-brass-light); font-size: .95rem; }
.bk-facts dd { margin: .1rem 0 0; font-size: var(--bk-step-1); line-height: 1.35; }
.bk-map { position: relative; min-height: 320px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(197, 138, 46, .3); background: #0a1c40; }
.bk-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(.95); }
@media (max-width: 860px) { .bk-when { grid-template-columns: 1fr; } }

/* tiers on the landing: CTA link instead of a quantity input */
.bk-tier__cta { margin-top: .4rem; }
.bk-tier__left [data-free] { font-family: var(--bk-font-display); font-weight: 700; color: var(--bk-lamp); }

/* synopsis */
.bk-synopsis { max-width: 64ch; font-size: var(--bk-step-1); line-height: 1.7; }
/* the closing question is the hook: set apart, in italic */
.bk-synopsis p:last-child:not(:first-child) { font-style: italic; color: var(--bk-lamp); margin-top: 1.4em; }
.bk-synopsis p:first-child::first-letter {
  float: left; font-family: var(--bk-font-display); font-weight: 700; font-size: 3.4em; line-height: .85;
  margin: .08em .12em 0 0; color: var(--bk-ember-light);
}

/* rundown: a real sequence, so time is the marker */
.bk-rundown { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.bk-rundown li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed rgba(185, 193, 211, .22); }
.bk-rundown time { font-family: var(--bk-font-display); font-weight: 700; color: var(--bk-brass-light); }

/* merch: each item is a ticket stub, a white product photo above a perforated cream stub */
.bk-merch {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); margin: 0; padding: 0; list-style: none;
}
.bk-merch__item {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 10px; background: #fff; color: var(--bk-abyss);
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .95);
}
@media (min-width: 640px) { .bk-merch__item.is-pair { grid-column: span 2; } }
.bk-merch__photo {
  flex: none; display: flex; align-items: center; justify-content: center; gap: .75rem;
  height: clamp(220px, 20vw + 120px, 300px); padding: 1rem; /* fixed: portrait designs must not stretch it */
  border: 0; background: #fff; cursor: zoom-in;
}
.bk-merch__photo:focus-visible { outline: 3px solid var(--bk-brass); outline-offset: -5px; }
/* photo row + caption row, so front/back captions line up whatever the image ratio */
.bk-merch__shot { flex: 1 1 0; min-width: 0; min-height: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; }
.bk-merch__shot img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.bk-merch__cap { margin-top: .35rem; font-family: var(--bk-font-display); font-size: .78rem; color: #5d6785; }
.bk-merch__stub {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: .15rem;
  padding: .8rem 1.1rem .9rem; background: var(--bk-lamp); border-top: 2px dashed rgba(12, 37, 82, .3);
}
/* the two notches of the perforation, cut in the page colour */
.bk-merch__stub::before, .bk-merch__stub::after {
  content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--bk-abyss);
}
.bk-merch__stub::before { left: -8px; }
.bk-merch__stub::after { right: -8px; }
.bk-merch .bk-merch__name { margin: 0; font-family: var(--bk-font-display); font-size: var(--bk-step-0); font-weight: 700; color: var(--bk-night); line-height: 1.2; }
.bk-merch .bk-merch__name small { font-weight: 400; color: #5d6785; }
.bk-merch__price { margin: 0; font-family: var(--bk-font-display); font-size: var(--bk-step--1); font-weight: 600; color: var(--bk-ember-deep); }
.bk-merch__cta { margin: 1.75rem 0 0; }

/* enlarged merch view */
.bk-lightbox {
  width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 12px;
  background: #fff; color: var(--bk-abyss); overflow: auto;
}
.bk-lightbox::backdrop { background: rgba(3, 10, 25, .84); }
.bk-lightbox__inner { padding: clamp(.9rem, .6rem + 1vw, 1.5rem); }
.bk-lightbox__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.bk-lightbox .bk-lightbox__head h3 { margin: 0; font-family: var(--bk-font-display); font-size: var(--bk-step-1); color: var(--bk-night); }
.bk-lightbox__close {
  flex: none; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(12, 37, 82, .25); border-radius: 50%;
  background: #fff; color: var(--bk-night); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.bk-lightbox__close:focus-visible { outline: 3px solid var(--bk-brass); outline-offset: 2px; }
.bk-lightbox__shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.bk-lightbox__shots figure { margin: 0; text-align: center; }
.bk-lightbox__shots img { display: block; margin: 0 auto; max-width: 100%; max-height: 74vh; width: auto; height: auto; }
.bk-lightbox__shots figcaption { margin-top: .4rem; font-family: var(--bk-font-display); font-size: .85rem; color: #5d6785; }

/* contact */
.bk-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.bk-contact h3 { font-size: var(--bk-step-1); margin: 0 0 .4rem; }
.bk-contact p { margin: 0; color: var(--bk-lamp-dim); }
.bk-contact a { color: var(--bk-lamp); }
