/* HO.inc: tickets, orders and merch. Loaded after site.css on the pages that need it. */

.go--static { cursor: default; }
.go--static:hover { background: none; color: var(--bone); border-bottom-color: var(--line); }
.empty { color: var(--dim); padding: 40px 0; }

/* ---------- event page ---------- */
.event-head { padding-top: 130px; }
.event-head .label { margin-bottom: 14px; }
.event-body {
  max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 5vw, 72px); align-items: start;
}
.event-info p { color: #cfcacf; }
.event-info .desc { white-space: pre-line; }
.event-poster { width: 100%; height: auto; margin-bottom: 28px; }
.event-facts { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.event-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.event-facts span:first-child { color: var(--dim); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.event-facts span:last-child { text-align: right; }
@media (max-width: 900px) { .event-body { grid-template-columns: minmax(0, 1fr); } .buy { order: -1; position: static; } }

.buy { border: 1px solid var(--line); background: var(--ink-2); padding: clamp(20px, 3vw, 30px); position: sticky; top: 90px; }
.buy h2 { margin: 0 0 6px; font-size: 40px; }
.buy-note { color: var(--dim); font-size: 14px; margin: 0 0 18px; }
.tier { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.tier-name { font-weight: 700; }
.tier-desc, .tier-left { grid-column: 1; color: var(--dim); font-size: 13px; margin: 0; }
.tier-left { color: #ffb4b4; }
.tier-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.tier-price s { color: var(--dim); font-weight: 400; margin-right: 6px; }
.tier-state { grid-column: 2; grid-row: 1 / span 2; font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.qty { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 40px; height: 40px; background: none; border: 0; color: var(--bone); font: 700 18px var(--f); cursor: pointer; }
.qty button:disabled { color: #4a464c; cursor: default; }
.qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; }
.buy-fields { display: grid; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.buy-fields label { display: grid; gap: 6px; font-weight: 600; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.buy-fields input {
  font: inherit; font-size: 16px; color: var(--bone); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: 10px 0; text-transform: none; letter-spacing: 0;
}
.buy-fields input:focus { outline: none; border-bottom-color: var(--bone); }
.promo-row { display: flex; gap: 10px; align-items: end; }
.promo-row label { flex: 1; }
.promo-row .go { padding: 10px 14px; width: auto; }
.promo-msg { font-size: 13px; color: var(--dim); margin: 0; min-height: 1.2em; }
.promo-msg.bad { color: #ffb4b4; }
.buy-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 6px; font-weight: 700; }
.buy-total strong { font-size: 28px; font-variant-numeric: tabular-nums; }
.buy-fee { color: var(--dim); font-size: 13px; margin: 0 0 16px; min-height: 1.2em; }
.buy .go { width: 100%; text-align: center; }
.buy .go[disabled] { opacity: 0.4; cursor: default; }
.buy-go { background: var(--bone); color: var(--ink); font-family: var(--f); cursor: pointer; }
.buy-go:hover { background: transparent; color: var(--bone); }
.buy-error { color: #ffb4b4; font-size: 14px; margin: 12px 0 0; min-height: 1.2em; }
.buy-terms { color: #6d686f; font-size: 12px; margin: 16px 0 0; }
.buy-closed { text-align: center; padding: 30px 0; }
.test-banner {
  background: #ffd23f; color: #050505; text-align: center; font-weight: 700; font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 8px 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
}

/* ---------- tickets / order page ---------- */
.order-page { max-width: 760px; margin: 0 auto; padding: 120px var(--gutter) clamp(80px, 10vw, 140px); text-align: center; }
.order-page h1 { font-size: clamp(56px, 11vw, 120px); }
.order-sub { color: #cfcacf; margin: 14px 0 0; }
.tickets { display: grid; gap: 18px; margin: 40px 0; text-align: left; }
.ticket { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; background: var(--bone); color: var(--ink); padding: 18px; }
.ticket canvas { width: 168px; height: 168px; image-rendering: pixelated; background: #fff; }
.ticket h2 { margin: 0 0 6px; font-size: 30px; color: var(--ink); }
.ticket p { margin: 0 0 4px; font-size: 14px; }
.ticket .code { font: 700 18px ui-monospace, monospace; letter-spacing: 0.18em; margin-top: 10px; }
.ticket.void { opacity: 0.45; }
.ticket .stamp { display: inline-block; border: 2px solid currentColor; padding: 2px 8px; font-weight: 800; letter-spacing: 0.15em; font-size: 12px; text-transform: uppercase; margin-top: 8px; }
@media (max-width: 520px) {
  .ticket { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .ticket canvas { width: 220px; height: 220px; }
}
.order-lines { list-style: none; margin: 30px auto 0; padding: 0; max-width: 420px; text-align: left; border-top: 1px solid var(--line); }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: #cfcacf; }
.order-lines li.total { color: var(--bone); font-weight: 700; }
.order-note { color: var(--dim); font-size: 13px; max-width: 46ch; margin: 22px auto 0; }
.waiting { color: #cfcacf; }
.spin { width: 26px; height: 26px; border: 2px solid var(--line); border-top-color: var(--bone); border-radius: 50%; margin: 30px auto; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- merch ---------- */
.shop {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 36px);
}
.shop > .empty { grid-column: 1 / -1; text-align: center; }
.product-img { aspect-ratio: 4 / 5; background: var(--ink-2); overflow: hidden; display: grid; place-items: center; }
.product-img img, .product-img video { width: 100%; height: 100%; object-fit: cover; }
.product-noimg { font-size: 48px; color: #2a2a2c; }
.product-name { font-size: 34px; margin: 16px 0 4px; }
.product-price { font-weight: 700; margin: 0 0 8px; }
.product-desc { color: #cfcacf; font-size: 15px; margin: 0 0 12px; white-space: pre-line; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.size { font: 700 12px var(--f); letter-spacing: 0.12em; color: var(--bone); background: none; border: 1px solid var(--line); padding: 10px 14px; cursor: pointer; }
.size[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.size:disabled { color: #4a464c; text-decoration: line-through; cursor: default; }
.add-to-bag { width: 100%; text-align: center; font-family: var(--f); background: none; color: var(--bone); cursor: pointer; }
.add-to-bag:disabled { opacity: 0.4; cursor: default; }
.bag-btn { position: fixed; right: var(--gutter); bottom: 22px; z-index: 60; background: var(--bone); color: var(--ink); font-family: var(--f); cursor: pointer; }
.bag-btn:hover { background: var(--ink); color: var(--bone); }
.bag-btn[hidden] { display: none; }
.bag {
  position: fixed; top: 0; bottom: 0; right: 0; width: min(420px, 100vw); z-index: 80; background: var(--ink-2);
  border-left: 1px solid var(--line); padding: 24px; overflow-y: auto; transform: translateX(100%);
  transition: transform 0.35s var(--ease-out); visibility: hidden;
}
.bag.is-open { transform: none; visibility: visible; }
.bag h2 { margin: 0 0 18px; font-size: 40px; }
.bag-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: var(--bone); font: 700 12px var(--f); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; padding: 8px; }
.bag-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bag-line small { color: var(--dim); }
.bag-line button { background: none; border: 0; color: var(--dim); font: 600 12px var(--f); cursor: pointer; text-decoration: underline; justify-self: start; padding: 0; }
.ship-choice { display: grid; gap: 8px; margin: 18px 0; }
.ship-choice label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); padding: 12px; cursor: pointer; }
.ship-choice small { display: block; color: var(--dim); }

/* ---------- test-mode payment page ---------- */
.mock { max-width: 520px; margin: 0 auto; padding: 120px var(--gutter) 80px; text-align: center; }
.mock p { color: #cfcacf; }
.mock .go-row { flex-direction: column; align-items: stretch; }
.mock button.go { font-family: var(--f); background: none; color: var(--bone); cursor: pointer; }
.mock button.go.pay { background: var(--bone); color: var(--ink); }

.page-head--short { min-height: 52vh; }
@supports (min-height: 52svh) { .page-head--short { min-height: 52svh; } }
.sizes.need .size { border-color: #ffb4b4; }
.strip--event { padding: 0; margin-top: 28px; grid-template-columns: 1fr 1fr; }

/* merch coming soon */
.shop--soon { display: block; }
.soon { text-align: center; padding: clamp(40px, 8vw, 100px) 0; }
.soon .card-title { margin: 10px 0 0; }

/* ---------- members (/members/, members.js) ---------- */
.members-page { max-width: 620px; margin: 0 auto; padding: 120px var(--gutter) clamp(80px, 10vw, 140px); text-align: center; }
.members-head h1 { font-size: clamp(56px, 11vw, 120px); line-height: 0.9; }
.members-head .card-sub { margin-top: 14px; }
.perks { list-style: none; margin: 28px auto; padding: 0; display: grid; gap: 10px; max-width: 420px; }
.perks li { padding: 12px 14px; border: 1px solid var(--line); font-weight: 600; }
.members-form { text-align: left; max-width: 460px; margin: 24px auto 0; }
.members-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-fields label.check { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 400; color: #cfcacf; cursor: pointer; }
.buy-fields label.check input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--bone); }
.members-note { color: #cfcacf; margin: 16px 0; }
.members-warn { color: #ffd27a; border: 1px solid #6b5520; padding: 12px 14px; margin: 18px 0; }
.members-small { color: var(--dim); font-size: 13px; margin-top: 18px; }
.members-small a, .buy-member a { color: var(--bone); border-bottom: 1px solid var(--bone); }
.buy-member { font-size: 13px; color: #cfcacf; margin: -8px 0 18px; }
@media (max-width: 460px) { .members-row { grid-template-columns: 1fr; } }

/* members page: flyer of perks, what you get, questions */
.members-flyer { margin: 34px 0 10px; }
.members-flyer .head { font-size: clamp(52px, 12vw, 110px); }
.members-get { list-style: none; padding: 0; margin: 34px auto 0; max-width: 520px; text-align: left; border-top: 1px solid var(--line); }
.members-get li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.members-get strong { display: block; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; margin-bottom: 4px; }
.members-get span { color: #cfcacf; }
.members-join { margin-top: 48px; }
.members-join h2 { font-size: clamp(40px, 9vw, 72px); }
.members-faq { max-width: 520px; margin: 56px auto 0; text-align: left; }
.members-faq h2 { text-align: center; font-size: clamp(32px, 7vw, 56px); margin-bottom: 14px; }
.members-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.members-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.members-faq summary::-webkit-details-marker { display: none; }
.members-faq summary::after { content: "+"; color: var(--dim); }
.members-faq details[open] summary::after { content: "−"; }
.members-faq p { color: #cfcacf; margin: 10px 0 0; }
.members-flyer li { white-space: normal; }
.members-flyer ul { flex-direction: column; align-items: center; gap: 8px; font-size: clamp(26px, 6vw, 46px); }
