/* ==========================================================================
   Barber Battle page. Loaded only by pages/barber-battle via extraHead.
   Same paper-and-steel system as the catalog, with one departure: the hero
   runs dark, like a fight card, so the event reads as an event and not as
   another product listing. Everything below the hero goes back to paper.
   ========================================================================== */

.bb-hero {
  background: var(--graphite);
  color: var(--paper);
  padding-block: clamp(2.75rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
/* Hairline grid behind the type, the catalog's rules turned into a mat. */
.bb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.bb-hero .container { position: relative; }
.bb-hero .eyebrow { color: var(--action); }
.bb-hero h1 {
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  line-height: .92;
  letter-spacing: -.01em;
  margin: 0 0 1.25rem;
  color: var(--paper);
  max-width: 14ch;
}
.bb-hero h1 em { font-style: normal; color: var(--action); }
.bb-hero .lede { color: var(--steel-2); max-width: 56ch; font-size: 1.125rem; }
.bb-hero .spec-rail { color: var(--steel-2); margin: 1.5rem 0 2rem; font-size: .75rem; }
.bb-hero .spec-rail .sep { color: var(--graphite-2); }
.bb-hero .spec-rail strong { color: var(--paper); font-weight: 500; }
.bb-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.bb-hero .btn-ghost { color: var(--paper); border-color: var(--steel); }
.bb-hero .btn-ghost:hover { background: var(--paper); color: var(--graphite); border-color: var(--paper); }

.bb-purse {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--graphite-2);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.bb-purse > div { padding: 1.1rem 1rem 0 0; }
.bb-purse .n {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1;
  color: var(--paper);
}
.bb-purse .l {
  display: block;
  font-family: var(--font-mono);
  font-size: .688rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin-top: .35rem;
}

/* ------------------------------------------------------------- agenda -- */

.bb-agenda { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.bb-agenda li {
  display: grid;
  grid-template-columns: 11rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--edge-soft);
}
.bb-agenda time {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--steel);
}
.bb-agenda strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.bb-agenda .tag {
  font-family: var(--font-mono);
  font-size: .688rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--action);
}
.bb-agenda li.is-finale strong { color: var(--action); }

/* ---------------------------------------------------- ticket selector -- */
/* Each ticket is a radio. The whole card is the label, so the tap target is
   the card and the form needs no separate "which ticket" dropdown. */

.bb-tickets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  margin: 0 0 2rem;
  padding: 0;
}
.bb-ticket { position: relative; background: var(--paper); }
.bb-ticket input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.bb-ticket label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  height: 100%;
  padding: 1.1rem 1.1rem 1.25rem;
  cursor: pointer;
  border-top: 3px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.bb-ticket label:hover { background: var(--paper-2); }
.bb-ticket input:checked + label { background: var(--action-soft); border-top-color: var(--action); }
.bb-ticket input:focus-visible + label { outline: 2px solid var(--graphite); outline-offset: -2px; }
.bb-ticket .t-slot {
  font-family: var(--font-mono);
  font-size: .688rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
}
.bb-ticket .t-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.bb-ticket .t-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  margin-top: auto;
  padding-top: .6rem;
}
.bb-ticket .t-price small { font-size: .9rem; color: var(--steel); font-weight: 600; }
.bb-ticket .t-prize {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--stock);
  letter-spacing: .03em;
}
.bb-ticket .t-note { font-size: .8125rem; color: var(--steel); line-height: 1.4; }

/* --------------------------------------------------------------- form -- */

.bb-form { max-width: 720px; }
.bb-form fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.bb-form legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: .9rem;
  padding: 0;
}
.bb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.bb-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding: 1rem 0;
  margin-bottom: 1.25rem;
}
.bb-summary .label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.bb-summary .val { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.bb-error {
  color: var(--sale);
  font-size: .9375rem;
  margin-top: .75rem;
}

/* ----------------------------------------------------------- location -- */

.bb-where { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.bb-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.bb-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.bb-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--edge-soft);
  font-size: .9375rem;
}
.bb-facts li span:first-child {
  font-family: var(--font-mono);
  font-size: .688rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: .2rem;
}
.bb-facts li span:last-child { text-align: right; }

/* -------------------------------------------------------- confirmed -- */

.bb-ticket-stub {
  border: 1px solid var(--edge);
  border-top: 3px solid var(--action);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem .5rem;
  margin: 1.5rem 0;
}
.bb-ticket-stub .mono { font-size: 1.6rem; font-weight: 500; letter-spacing: .06em; }

@media (max-width: 760px) {
  .bb-agenda li { grid-template-columns: 1fr; gap: .15rem; }
  .bb-where { grid-template-columns: 1fr; }
  .bb-row { grid-template-columns: 1fr; }
  .bb-purse { grid-template-columns: 1fr 1fr; }
  .bb-purse > div:last-child { grid-column: 1 / -1; }
}
