/* Kestrel Park (stadium) — venue layer on top of the Sightline system. */
body.stadium { --accent: #ff6a1a; background: #0b0d10; }
.top-right { display: flex; align-items: center; gap: 14px; }
.stadium .sl-top { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.stadium .sl-top .sl-event { color: rgba(255, 255, 255, .78); }
.stadium .sl-top .sl-event b { color: #fff; }

/* crumbs */
.crumbs {
  position: absolute; z-index: 8; left: 50%; top: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(14, 18, 24, .38); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .35);
  transition: opacity .4s ease;
}
.crumbs:empty { opacity: 0; pointer-events: none; }
.crumbs button, .crumbs span {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72);
  padding: 7px 11px; border-radius: 999px; white-space: nowrap;
}
.crumbs button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.crumbs span { color: #fff; }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .35); }

/* ---------- ticket ---------- */
.ticket-layer { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; pointer-events: none; }
.ticket-layer.on { pointer-events: auto; }
.ticket-dim {
  position: absolute; inset: 0; background: rgba(6, 7, 10, .42);
  backdrop-filter: blur(5px) saturate(115%); -webkit-backdrop-filter: blur(5px) saturate(115%);
  opacity: 0; transition: opacity .6s ease;
}
.ticket-layer.on .ticket-dim { opacity: 1; }
.ticket-wrap {
  position: relative; perspective: 2000px; width: min(900px, 92vw);
  opacity: 0; transform: translateY(6%) rotate(-3deg) scale(.92);
  transition: opacity .35s ease, transform .8s var(--spring-soft);
}
.ticket-layer.on .ticket-wrap { opacity: 1; transform: none; transition-delay: .25s, .25s; }
.ticket-layer.out .ticket-wrap { opacity: 0; transform: translateY(-3%) scale(.97); transition: opacity .3s ease, transform .4s ease; transition-delay: 0s; }
.ticket-layer.out .ticket-dim { opacity: 0; transition-duration: .45s; }
.ticket { position: relative; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.55, 0, .2, 1.12); aspect-ratio: 900 / 360; }
.ticket.flipped { transform: rotateY(180deg); }
.ticket .face {
  position: absolute; inset: 0; display: grid; grid-template-columns: 43.5% 1fr 18%;
  border-radius: 22px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 2px 0 rgba(255, 255, 255, .5) inset;
}
.ticket .face.back { transform: rotateY(180deg); background: linear-gradient(135deg, #141519 0%, #231f1b 60%, #2e2620 100%); color: #f3e8d8; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .08) inset; }
.t-photo { position: relative; overflow: hidden; background: #1b1f26; }
.t-photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.t-chip {
  position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(12, 14, 18, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.t-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.back .t-chip i { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.t-body { position: relative; padding: clamp(18px, 2.6vw, 30px) clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; min-width: 0; }
.t-lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); }
.t-lbl.gold { color: var(--gold); }
.t-ttl { font-family: var(--f-num); font-weight: 650; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.02em; margin-top: 6px; line-height: 1.05; }
.t-fields { display: flex; gap: clamp(18px, 2.4vw, 34px); margin-top: auto; padding-top: 14px; }
.t-fields span { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); }
.back .t-fields span { color: var(--gold); }
.t-fields b { display: block; font-family: var(--f-num); font-weight: 650; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.04em; line-height: 1; margin-top: 4px; }
.t-cta { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.t-cta .sl-btn { height: 42px; font-size: 14px; padding: 0 18px; }
.t-ghost { font-size: 13.5px; font-weight: 600; color: var(--mute-2); padding: 4px 2px; text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color .2s, color .2s; }
.t-ghost:hover { color: var(--ink); text-decoration-color: currentColor; }
.t-q { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.t-q:empty { display: none; }
.sl-btn.cream { background: #f3e8d8; color: #1b1612; }
.t-stub {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 22px 12px 22px;
}
.t-stub::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; border-left: 2px dashed var(--perf); }
.back .t-stub::before { border-color: rgba(243, 232, 216, .22); }
.t-stub::after { content: ""; position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: transparent; box-shadow: 0 calc(100% * 0) 0 0 transparent; }
.t-cur { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--mute-2); }
.back .t-cur { color: var(--gold); }
.t-bar { width: 46%; flex: 1; margin: 14px 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; max-height: 120px; }
.t-bar i { display: block; height: 2px; background: currentColor; opacity: .86; }
.t-price { font-family: var(--f-num); font-weight: 700; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; color: var(--accent); }
.back .t-price { color: var(--gold); }
/* ticket punch notches on the perforation */
.ticket .face { -webkit-mask: radial-gradient(circle 12px at 82% 0, transparent 11.5px, #000 12px) top / 100% 50.5% no-repeat, radial-gradient(circle 12px at 82% 100%, transparent 11.5px, #000 12px) bottom / 100% 50.5% no-repeat;
  mask: radial-gradient(circle 12px at 82% 0, transparent 11.5px, #000 12px) top / 100% 50.5% no-repeat, radial-gradient(circle 12px at 82% 100%, transparent 11.5px, #000 12px) bottom / 100% 50.5% no-repeat; }
.t-stamp {
  position: absolute; right: 18px; bottom: 22px; padding: 8px 14px 7px; border: 2.5px solid var(--ok); border-radius: 8px; color: var(--ok);
  font-family: var(--f-disp); font-weight: 800; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; font-size: 18px; line-height: 1;
  transform: rotate(-12deg) scale(1.6); opacity: 0; pointer-events: none; text-align: center;
  transition: transform .35s cubic-bezier(.2, 1.6, .4, 1), opacity .2s ease;
}
.t-stamp small { display: block; font-family: var(--f-mono); font-weight: 500; font-stretch: 100%; font-size: 9px; letter-spacing: .1em; margin-top: 5px; }
.ticket.booked .t-stamp { transform: rotate(-12deg) scale(1); opacity: 1; }
.ticket.booked .t-cta { opacity: .25; pointer-events: none; transition: opacity .3s; }
.ticket.locked .t-cta, .ticket.locked .t-ghost { pointer-events: none; }

/* phones: the wallet pass */
@media (max-width: 720px) {
  .ticket-wrap { width: min(350px, 90vw); }
  .ticket { aspect-ratio: auto; height: min(590px, 78vh); }
  .ticket .face { grid-template-columns: 1fr; grid-template-rows: 38% 1fr 72px; border-radius: 20px;
    -webkit-mask: radial-gradient(circle 11px at 0 calc(100% - 72px), transparent 10.5px, #000 11px) left / 50.5% 100% no-repeat, radial-gradient(circle 11px at 100% calc(100% - 72px), transparent 10.5px, #000 11px) right / 50.5% 100% no-repeat;
            mask: radial-gradient(circle 11px at 0 calc(100% - 72px), transparent 10.5px, #000 11px) left / 50.5% 100% no-repeat, radial-gradient(circle 11px at 100% calc(100% - 72px), transparent 10.5px, #000 11px) right / 50.5% 100% no-repeat; }
  .t-body { padding: 18px 20px 14px; }
  .t-fields { margin-top: 14px; }
  .t-fields b { font-size: 34px; }
  .t-stub { flex-direction: row; padding: 0 20px; }
  .t-stub::before { left: 16px; right: 16px; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed var(--perf); }
  .t-bar { flex-direction: row; width: auto; height: 34px; margin: 0 14px; flex: 1; max-height: none; }
  .t-bar i { width: 2px; height: auto; }
  .t-stamp { right: 14px; bottom: 16px; }
}

/* reduced motion: no springs on the ticket */
@media (prefers-reduced-motion: reduce) {
  .ticket-wrap, .ticket { transition-duration: .2s !important; }
}

/* phones: crumbs under the brand bar, hint above the concept note */
@media (max-width: 720px) {
  .crumbs { top: 64px; max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .crumbs::-webkit-scrollbar { display: none; }
  .crumbs button, .crumbs span { padding: 6px 9px; font-size: 9.5px; }
  .sl-hint { bottom: 50px; font-size: 13px; padding: 10px 16px; }
  .sl-actions { bottom: 50px; }
  .sl-actions .sl-btn { height: 44px; padding: 0 18px; font-size: 14px; }
}
@media (pointer: coarse), (max-width: 720px) {
  .t-ghost { min-height: 40px; padding: 8px 4px; }
  .crumbs button, .crumbs span { min-height: 40px; display: inline-flex; align-items: center; }
}
@media (pointer: coarse), (max-width: 720px) {
  .crumbs { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 18, 24, .72); }
  .t-ghost { min-height: 44px; }
}
/* phones: the ticket's dim is a plain veil (a full-screen backdrop blur costs a first-use raster spike) */
@media (pointer: coarse), (max-width: 720px) {
  .ticket-dim { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6, 7, 10, .66); }
}
