/* ===========================================================================
   VARIANT B — «Bühne» (blackout / playbill)
   Absurd comedies framed like a 19th-century playbill, then lit like a stage.
   Two lights: warm tungsten (dominant) and cold teal. Scoped to .v-b.
   =========================================================================== */

.v-b {
  --black: #0b0b0c;
  --black-2: #14141a;
  --tungsten: #f5c77e;
  --tungsten-hot: #ffe6bb;
  --teal: #62babb;
  --wood: #7a4a2b;
  --paper: #ede7dc;
  --paper-ink: #17150f;
  --dim: rgb(237 231 220 / 58%);
  --dimmer: rgb(237 231 220 / 34%);

  --display: "Bodoni Moda", "Times New Roman", serif;
  --body: "Karla", system-ui, sans-serif;

  position: relative;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper);
  background: var(--black);
}

.v-b .wrap {
  max-width: 1080px;
  padding: 0 26px;
  margin: 0 auto;
}

.v-b .narrow {
  max-width: 720px;
  margin: 0 auto;
}

.v-b h1,
.v-b h2,
.v-b h3,
.v-b .display {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "opsz" 14;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.v-b p {
  margin: 0 0 1em;
}

.v-b a {
  color: inherit;
}

/* the playbill's tracked-out utility labels */
.v-b .label {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tungsten);
}

.v-b .rule-orn {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 22px 0;
  color: var(--dimmer);
}

.v-b .rule-orn::before,
.v-b .rule-orn::after {
  flex: 1;
  height: 1px;
  background: currentcolor;
  content: "";
}

/* --- blackout on load ---------------------------------------------------- */

.v-b .blackout {
  position: fixed;
  z-index: 500;
  inset: 0;
  pointer-events: none;
  background: #000;
  animation: b-lights-up 1.5s 0.15s ease-out forwards;
}

@keyframes b-lights-up {
  to {
    opacity: 0;
  }
}

/* --- masthead ------------------------------------------------------------ */

.v-b .mast {
  position: relative;
  z-index: 3;
  padding: 24px 0 14px;
  text-align: center;
}

.v-b .mark {
  display: inline-block;
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.v-b .mark span {
  display: block;
  margin-top: 5px;
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--tungsten);
}

.v-b nav.site {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  justify-content: center;
  margin-top: 20px;
}

.v-b nav.site a {
  padding-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

.v-b nav.site a:hover {
  color: var(--paper);
}

.v-b nav.site a[aria-current] {
  color: var(--tungsten);
  border-color: var(--tungsten);
}

/* --- hero: a spotlight on a black stage ---------------------------------- */

.v-b .hero {
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* the pointer-tracked spotlight — warm, and one cold rim from the wings */
.v-b .hero .lights {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      42vw 42vw at var(--mx, 50%) var(--my, 34%),
      rgb(245 199 126 / 20%),
      rgb(245 199 126 / 6%) 45%,
      transparent 72%
    ),
    radial-gradient(30vw 34vw at 96% 12%, rgb(98 186 187 / 16%), transparent 70%);
  transition: background-position 0.2s linear;
}

.v-b .hero-in {
  position: relative;
  z-index: 2;
  padding: 46px 0 30px;
}

.v-b .hero h1 {
  font-size: clamp(40px, 7.8vw, 96px);
  font-weight: 700;
  letter-spacing: 0.018em;
  text-transform: uppercase;
}

.v-b .hero h1 em {
  display: block;
  margin-top: 0.14em;
  font-size: 0.4em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.v-b .hero .lede {
  max-width: 46ch;
  margin: 24px auto 0;
  color: var(--dim);
}

.v-b .cast-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(260px, 46vh, 480px);
  object-fit: cover;
  object-position: 50% 34%;
  mask-image: radial-gradient(76% 88% at 50% 42%, #000 42%, transparent 78%);
}

/* the stage floor: one warm wooden plane closing the hero */
.v-b .floor {
  height: 78px;
  background:
    linear-gradient(rgb(0 0 0 / 34%), rgb(0 0 0 / 74%)),
    repeating-linear-gradient(90deg, var(--wood) 0 62px, #62381f 62px 65px),
    var(--wood);
  box-shadow: inset 0 1px 0 rgb(245 199 126 / 22%);
}

/* --- lighting state: sections come up as they enter ---------------------- */

.v-b section {
  position: relative;
  padding: 62px 0;
  opacity: 0.38;
  filter: brightness(0.6);
  transition:
    opacity 0.85s ease,
    filter 0.85s ease;
}

.v-b section.lit {
  opacity: 1;
  filter: none;
}

.v-b section.lit::before {
  position: absolute;
  inset: -10% 0 auto;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(52% 100% at 50% 0%, rgb(245 199 126 / 8%), transparent 72%);
  content: "";
}

.v-b .sec-head {
  margin-bottom: 26px;
  text-align: center;
}

.v-b .sec-head h2 {
  margin-top: 10px;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: 0.022em;
  text-transform: uppercase;
}

.v-b .sec-head p {
  max-width: 52ch;
  margin: 12px auto 0;
  color: var(--dim);
}

/* --- playbill card: warm paper pasted on the black wall ------------------ */

.v-b .playbill {
  max-width: 700px;
  padding: 34px clamp(22px, 4vw, 44px) 38px;
  margin: 0 auto;
  color: var(--paper-ink);
  text-align: center;
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgb(23 21 15 / 18%) inset,
    0 30px 70px rgb(0 0 0 / 60%);
}

.v-b .playbill .label {
  color: #8a6b2f;
}

.v-b .playbill h3 {
  margin: 8px 0 0;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.v-b .playbill .orn {
  margin: 18px 0;
  color: rgb(23 21 15 / 30%);
}

.v-b .pb-date {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 16px;
  align-items: baseline;
  padding: 12px 0;
  text-align: left;
}

.v-b .pb-date + .pb-date {
  border-top: 1px solid rgb(23 21 15 / 14%);
}

.v-b .pb-date .w {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
}

.v-b .pb-date .w small {
  display: block;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: rgb(23 21 15 / 62%);
}

.v-b .pb-date .st {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
  color: #2f7b7c;
}

.v-b .pb-date.out {
  opacity: 0.45;
}

.v-b .pb-date.out .st {
  color: #a3402f;
}

/* --- buttons ------------------------------------------------------------- */

.v-b .btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--tungsten);
  border: 0;
}

.v-b .btn:hover {
  background: var(--tungsten-hot);
}

.v-b .btn.ghost {
  color: var(--tungsten);
  background: none;
  box-shadow: inset 0 0 0 1px var(--tungsten);
}

.v-b .btn.ghost:hover {
  color: var(--black);
  background: var(--tungsten);
}

.v-b a:focus-visible,
.v-b button:focus-visible,
.v-b input:focus-visible,
.v-b select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* --- figures / stats ----------------------------------------------------- */

.v-b .figs {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 60px;
  justify-content: center;
  margin-top: 8px;
}

.v-b .figs div {
  text-align: center;
}

.v-b .figs b {
  display: block;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  line-height: 1;
  color: var(--tungsten);
}

.v-b .figs span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

/* --- archive: a playbill index on the wall ------------------------------- */

.v-b .idx-row {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  gap: 6px 24px;
  align-items: baseline;
  padding: 22px 4px;
  border-top: 1px solid rgb(237 231 220 / 14%);
}

.v-b .idx-row:hover {
  background: rgb(245 199 126 / 6%);
}

.v-b .idx-row .yr {
  font-family: var(--display);
  font-size: 17px;
  color: var(--tungsten);
}

.v-b .idx-row h3 {
  font-size: clamp(21px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.v-b .idx-row .blurb {
  max-width: 62ch;
  margin: 10px 0 0;
  font-size: 15.5px;
  color: var(--dim);
  white-space: pre-line;
}

.v-b .idx-row .cr {
  margin-top: 10px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--dimmer);
}

.v-b .idx-row .n {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: right;
  color: var(--dimmer);
}

.v-b .idx-row.small {
  padding: 12px 4px;
}

.v-b .idx-row.small h3 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

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

.v-b form.pb {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.v-b .field {
  margin-bottom: 20px;
}

.v-b label.f {
  display: block;
  margin-bottom: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tungsten);
}

.v-b input[type="text"],
.v-b input[type="email"],
.v-b select {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  color: var(--paper);
  background: rgb(237 231 220 / 6%);
  border: 1px solid rgb(237 231 220 / 26%);
  border-radius: 0;
}

.v-b select option {
  color: #111;
  background: var(--paper);
}

.v-b .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.v-b .seats {
  display: flex;
  gap: 0;
  border: 1px solid rgb(237 231 220 / 26%);
}

.v-b .seats input {
  position: absolute;
  opacity: 0;
}

.v-b .seats label {
  flex: 1;
  padding: 13px 0;
  font-family: var(--display);
  font-size: 18px;
  text-align: center;
  cursor: pointer;
}

.v-b .seats label + input + label,
.v-b .seats input + label:not(:first-of-type) {
  border-left: 1px solid rgb(237 231 220 / 18%);
}

.v-b .seats input:checked + label {
  color: var(--black);
  background: var(--tungsten);
}

.v-b .check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
  font-size: 15px;
  color: var(--dim);
}

.v-b .check input {
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: var(--teal);
}

.v-b .note {
  padding: 16px 20px;
  margin: 0 auto 26px;
  max-width: 620px;
  font-size: 15px;
  color: var(--paper);
  background: rgb(98 186 187 / 10%);
  border-left: 3px solid var(--teal);
}

.v-b .fine {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--dimmer);
}

.v-b .honeypot {
  position: absolute;
  left: -9999px;
}

/* --- people / gallery / cards ------------------------------------------- */

.v-b .people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.v-b .people li {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgb(237 231 220 / 12%);
}

.v-b .people b {
  font-family: var(--display);
  font-weight: 700;
}

.v-b .people span {
  font-size: 12.5px;
  color: var(--dimmer);
}

.v-b .gal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3px;
}

.v-b .gal img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.8);
}

.v-b .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 34px;
  text-align: center;
}

.v-b .cards h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.v-b .cards p {
  font-size: 15.5px;
  color: var(--dim);
}

/* --- footer -------------------------------------------------------------- */

.v-b footer.site {
  padding: 46px 0 66px;
  text-align: center;
  border-top: 1px solid rgb(237 231 220 / 12%);
}

.v-b footer.site .fl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin: 20px 0 0;
}

.v-b footer.site .fl a {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-decoration: none;
  text-transform: uppercase;
}

.v-b footer.site .fl a:hover {
  color: var(--tungsten);
}

@media (width <= 720px) {
  .v-b .two,
  .v-b .idx-row,
  .v-b .idx-row.small,
  .v-b .pb-date {
    grid-template-columns: 1fr;
  }

  .v-b .idx-row .n,
  .v-b .pb-date .st {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v-b .blackout {
    display: none;
  }

  .v-b section {
    opacity: 1;
    filter: none;
    transition: none;
  }
}
