/* HIT Talent Management
   Theatre curtain and spotlight. Dark theme.
   theatre red #7B1020, stage black #120A0C, gold #E7B94C, cream #F7EBD3 */

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

:root {
  --red: #7B1020;
  --red-shadow: #4A0912;
  --red-light: #A01C30;
  --black: #120A0C;
  --boards: #1F1316;
  --gold: #E7B94C;
  --cream: #F7EBD3;
  --dim: #D9C9AE;
  --folds: repeating-linear-gradient(90deg, #4A0912 0, #7B1020 16px, #A01C30 27px, #7B1020 38px, #4A0912 54px);
  --marquee: "Limelight", "Rockwell", "Georgia", serif;
  --plain: "Montserrat", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
}

html { background: var(--black); }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--plain);
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  font-family: var(--marquee);
  font-weight: 400;
  line-height: 1.12;
  color: var(--gold);
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(1.9rem, 6.6vw, 4.2rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
a { color: var(--gold); text-underline-offset: 0.22em; }
a:hover { color: var(--cream); }
svg { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}
.skip-link:focus { top: 0.5rem; color: var(--black); }

.row { width: min(100% - 2.5rem, 1040px); margin-inline: auto; }
.over {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dim);
}
.over::before,
.over::after { content: "\2605"; color: var(--gold); margin: 0 0.7em; font-size: 0.8em; }
.intro { font-size: clamp(1.08rem, 2vw, 1.25rem); line-height: 1.65; }

/* ----- house name (top left) and corner menu button ----- */
.house {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  padding: 1.15rem 1.25rem;
}
.house-name {
  display: inline-block;
  padding: 0.5rem 0.9rem 0.4rem;
  background: var(--black);
  border: 2px solid var(--gold);
  border-radius: 6px;
  font-family: var(--marquee);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gold);
  text-decoration: none;
  box-shadow: 0 0 18px rgba(231, 185, 76, 0.35);
}
.house-name small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--plain);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
}
.house-name:hover { background: var(--red); color: var(--gold); }

.cue {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 50px;
  min-width: 50px;
  padding: 0 1.15rem;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font: 700 0.85rem/1 var(--plain);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--gold), 0 0 26px rgba(231, 185, 76, 0.55);
}
.cue:hover { background: var(--cream); }
.cue-icon { position: relative; width: 20px; height: 2px; background: currentColor; }
.cue-icon::before,
.cue-icon::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform 0.25s; }
.cue-icon::before { top: -6px; }
.cue-icon::after { top: 6px; }
.cue[aria-expanded="true"] .cue-icon { background: transparent; }
.cue[aria-expanded="true"] .cue-icon::before { transform: translateY(6px) rotate(45deg); }
.cue[aria-expanded="true"] .cue-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* ----- side panel ("the wings") ----- */
.wings {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  width: min(88vw, 380px);
  padding: 96px 1.5rem 2rem 2.4rem;
  overflow-y: auto;
  background: linear-gradient(90deg, transparent 0 18px, var(--black) 18px), var(--folds);
  border-left: 3px solid var(--gold);
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.7);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}
.wings.is-on { transform: none; visibility: visible; transition: transform 0.35s ease, visibility 0s; }
.wings-title { margin: 0 0 1.2rem; font-family: var(--marquee); font-size: 1.1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.wings ol { list-style: none; margin: 0; padding: 0; }
.wings li { border-top: 1px dotted rgba(231, 185, 76, 0.5); }
.wings li:last-child { border-bottom: 1px dotted rgba(231, 185, 76, 0.5); }
.wings a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  min-height: 60px;
  padding: 1rem 0.3rem 0.8rem;
  font-family: var(--marquee);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--cream);
  text-decoration: none;
}
.wings a span { flex: none; width: 2.4rem; font-size: 0.95rem; color: var(--gold); }
.wings a:hover { color: var(--gold); padding-left: 0.8rem; transition: padding 0.2s; }
.wings a[aria-current="page"] { color: var(--gold); text-shadow: 0 0 18px rgba(231, 185, 76, 0.7); }
.wings-note { margin: 1.6rem 0 0; font-size: 0.95rem; color: var(--dim); }
.scrim { position: fixed; inset: 0; z-index: 125; background: rgba(0, 0, 0, 0.6); }

/* ----- the stage (hero and page headers) ----- */
.stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: min(94vh, 780px);
  padding: 9rem 44px 5.5rem;
  text-align: center;
  background: radial-gradient(ellipse 55% 50% at 50% 46%, rgba(247, 235, 211, 0.17), transparent 72%), var(--black);
}
.stage.is-small { min-height: 0; padding-top: 9.5rem; padding-bottom: 4.5rem; }
.stage-in { position: relative; z-index: 5; max-width: 42rem; }
.valance { position: absolute; top: 0; left: 0; right: 0; z-index: 4; filter: drop-shadow(0 3px 0 var(--gold)) drop-shadow(0 12px 14px rgba(0, 0, 0, 0.6)); }
.valance span {
  display: block;
  height: 70px;
  background: repeating-linear-gradient(90deg, #4A0912 0, #7B1020 20px, #A01C30 34px, #7B1020 48px, #4A0912 68px);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 22px) no-repeat, radial-gradient(ellipse 34px 22px at 50% 0, #000 98%, transparent 100%) bottom / 68px 22px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 22px) no-repeat, radial-gradient(ellipse 34px 22px at 50% 0, #000 98%, transparent 100%) bottom / 68px 22px repeat-x;
}
.drape { position: absolute; top: 0; bottom: 0; z-index: 3; width: 32px; background: var(--folds); box-shadow: inset 0 -70px 70px rgba(0, 0, 0, 0.55); }
.drape.is-left { left: 0; border-bottom-right-radius: 100% 48%; }
.drape.is-right { right: 0; border-bottom-left-radius: 100% 48%; }
.beam { position: absolute; top: 0; left: 50%; z-index: 1; width: min(86%, 900px); height: 100%; transform: translateX(-50%); background: linear-gradient(180deg, rgba(247, 235, 211, 0.24), rgba(247, 235, 211, 0) 88%); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); }
.beam.from-left { clip-path: polygon(12% 0, 22% 0, 100% 100%, 20% 100%); }
.beam.from-right { clip-path: polygon(78% 0, 88% 0, 80% 100%, 0 100%); }
@media (min-width: 700px) {
  .stage { padding-inline: clamp(130px, 19vw, 250px); }
  .drape { width: clamp(110px, 16vw, 210px); }
}
.pool { position: absolute; left: 50%; bottom: -50px; z-index: 1; width: min(84%, 760px); height: 150px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(231, 185, 76, 0.4), transparent 70%); }

.plays { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }
.play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.6rem 1.7rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font: 700 0.9rem/1.2 var(--plain);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
}
.play:hover { background: var(--cream); color: var(--black); box-shadow: 0 0 30px rgba(231, 185, 76, 0.7); }
.play.is-ghost { background: transparent; color: var(--gold); }
.play.is-ghost:hover { background: var(--red); color: var(--cream); }

/* ----- tickets ----- */
.bill { padding: 4.5rem 0 4rem; background: var(--black); }
.bill-head { max-width: 40rem; margin-bottom: 2.4rem; }
.bill-list { display: grid; gap: 2rem; }
.ticket {
  position: relative;
  display: grid;
  min-width: 0;
  background: var(--cream);
  color: var(--black);
  border-radius: 12px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.ticket:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 18px 40px rgba(231, 185, 76, 0.25); }
.ticket-stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem 0.8rem;
  border-radius: 12px 12px 0 0;
  border-bottom: 3px dashed var(--black);
  background: var(--gold);
  font-family: var(--marquee);
  font-size: 1.3rem;
  line-height: 1;
}
.ticket-stub small { font-family: var(--plain); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.ticket-stub::before,
.ticket-stub::after { content: ""; position: absolute; bottom: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--hole, var(--black)); }
.ticket-stub::before { left: -13px; }
.ticket-stub::after { right: -13px; }
.ticket-main { padding: 1.5rem 1.4rem 1.6rem; min-width: 0; }
.ticket-main h3 { color: var(--red); font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 0.4rem; }
.ticket-main h3 a { color: inherit; text-decoration: none; }
.ticket-main h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.ticket-main p { margin-bottom: 0.8rem; }
.ticket-go { margin: 0; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.ticket-go::after { content: " \2192"; }
.ticket.is-red .ticket-stub { background: var(--red); color: var(--cream); }
.ticket.is-black .ticket-stub { background: var(--boards); color: var(--gold); }
@media (min-width: 760px) {
  .bill-list { gap: 2.2rem; }
  .ticket { grid-template-columns: 200px minmax(0, 1fr); width: min(100%, 820px); }
  .ticket:nth-child(even) { justify-self: end; }
  .ticket > .ticket-stub { flex-direction: column; justify-content: center; text-align: center; border-radius: 12px 0 0 12px; border-bottom: 0; border-right: 3px dashed var(--black); font-size: 1.7rem; padding: 1.4rem 1rem; }
  .ticket > .ticket-stub::before,
  .ticket > .ticket-stub::after { left: auto; right: -15px; }
  .ticket > .ticket-stub::before { top: -13px; bottom: auto; }
  .ticket > .ticket-stub::after { bottom: -13px; }
  .ticket-main { padding: 1.8rem 2rem 1.8rem 2.2rem; }
}

/* ----- tap tempo ----- */
.tempo { padding: 4rem 0 4.5rem; background: radial-gradient(circle at 70% 50%, rgba(123, 16, 32, 0.55), transparent 60%), var(--boards); border-block: 3px solid var(--gold); }
.tempo-grid { display: grid; gap: 2.4rem; align-items: center; }
.tempo-grid > * { min-width: 0; }
@media (min-width: 860px) { .tempo-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.tempo-rig { display: grid; justify-items: center; gap: 0.6rem; padding: 2rem 1rem 2.2rem; border: 2px solid rgba(231, 185, 76, 0.6); border-radius: 18px; background: var(--black); text-align: center; }
.lamp { width: 34px; height: 34px; border-radius: 50%; background: #4A3A16; box-shadow: inset 0 0 0 3px #2B2110; }
.lamp.is-lit { background: var(--gold); box-shadow: 0 0 10px 4px rgba(231, 185, 76, 0.9), 0 0 60px 26px rgba(231, 185, 76, 0.45); }
.lamp.is-pulsing { animation: lamp-beat 0.5s linear infinite; }
@keyframes lamp-beat {
  0% { background: var(--gold); box-shadow: 0 0 10px 4px rgba(231, 185, 76, 0.9), 0 0 60px 26px rgba(231, 185, 76, 0.45); }
  35% { background: #8A6C28; box-shadow: 0 0 6px 2px rgba(231, 185, 76, 0.3); }
  100% { background: #4A3A16; box-shadow: inset 0 0 0 3px #2B2110; }
}
.tempo-read { margin: 0.6rem 0 0; font-family: var(--marquee); font-size: clamp(3.6rem, 13vw, 5.6rem); line-height: 1; color: var(--cream); }
.tempo-read abbr { font-family: var(--plain); font-size: 1rem; font-weight: 700; letter-spacing: 0.2em; text-decoration: none; color: var(--gold); }
.tempo-mark { margin: 0; min-height: 3.4em; max-width: 22em; color: var(--dim); }
.tap {
  width: 150px;
  height: 150px;
  margin-top: 0.4rem;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F6D98A, var(--gold) 55%, #B98B24);
  color: var(--black);
  font-family: var(--marquee);
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 0 0 3px var(--gold), 0 10px 0 #7A5C17, 0 0 40px rgba(231, 185, 76, 0.35);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.tap:active,
.tap.is-down { transform: translateY(6px); box-shadow: 0 0 0 3px var(--gold), 0 4px 0 #7A5C17, 0 0 60px rgba(231, 185, 76, 0.6); }
.tempo-reset { margin-top: 1.2rem; min-height: 44px; padding: 0.4rem 1.2rem; border: 1px solid var(--dim); border-radius: 999px; background: transparent; color: var(--cream); font: 600 0.85rem/1 var(--plain); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.tempo-reset:hover { border-color: var(--gold); color: var(--gold); }

/* ----- running order ----- */
.running { padding: 4.5rem 0; }
.running.on-boards { background: var(--boards); }
.running-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 3px double var(--gold); }
.running-list li { display: grid; gap: 0.2rem 2rem; padding: 1.3rem 0 1.1rem; border-bottom: 1px dotted rgba(231, 185, 76, 0.55); }
.running-list li > * { min-width: 0; }
.running-cue { font-family: var(--marquee); font-size: 1.15rem; color: var(--gold); letter-spacing: 0.06em; }
.running-list h3 { color: var(--cream); font-family: var(--plain); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.2rem; }
.running-list p { margin: 0; color: var(--dim); }
@media (min-width: 760px) { .running-list li { grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; } }
.running-end { margin-top: 2.2rem; }

/* ----- inner pages: prose under the light ----- */
.scene { padding: 4.5rem 0 3.5rem; }
.scene-grid { display: grid; gap: 2.6rem; }
.scene-grid > * { min-width: 0; }
@media (min-width: 900px) { .scene-grid { grid-template-columns: 1.3fr 0.7fr; gap: 3.4rem; align-items: start; } .scene-grid.is-flipped { grid-template-columns: 0.7fr 1.3fr; } .scene-grid.is-flipped .scene-text { order: 2; } }
.scene-text p:first-of-type { font-size: 1.2rem; color: var(--cream); }
.scene-text p { color: #EFE1C6; }
.card-up { --hole: var(--black); position: relative; background: var(--cream); color: var(--black); border-radius: 12px; }
.card-up .ticket-stub { font-size: 1.25rem; }
.card-up ul { list-style: none; margin: 0; padding: 1.2rem 1.4rem 1.5rem; }
.card-up li { padding: 0.65rem 0 0.6rem 1.7rem; border-bottom: 1px dotted #9C8B6C; position: relative; line-height: 1.5; }
.card-up li:last-child { border-bottom: 0; }
.card-up li::before { content: "\2605"; position: absolute; left: 0; top: 0.6rem; color: var(--red); }

.pairing { padding: 4.5rem 0 5rem; }
.pairing-head { max-width: 38rem; margin-bottom: 2.2rem; }
.pairing-grid { display: grid; gap: 2.4rem; }
.pairing-grid > * { min-width: 0; }
@media (min-width: 820px) { .pairing-grid { grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: start; } .pairing-grid .card-up:nth-child(2) { margin-top: 2.5rem; } }

.encore { position: relative; overflow: hidden; padding: 5rem 0 5.5rem; text-align: center; background: radial-gradient(ellipse 50% 70% at 50% 60%, rgba(247, 235, 211, 0.16), transparent 70%), var(--black); border-top: 3px solid var(--gold); }
.encore-in { position: relative; z-index: 2; }
.encore h2 { max-width: 16em; margin-inline: auto; }
.encore p { max-width: 36em; margin-inline: auto; }
.encore-more { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.8rem; margin: 2rem 0 0; padding: 0; font-weight: 600; }

/* ----- contact ----- */
.office { padding: 4rem 0 5rem; }
.office-grid { display: grid; gap: 2.6rem; }
.office-grid > * { min-width: 0; }
@media (min-width: 900px) { .office-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; } }
.office-list { margin: 0; padding: 0.6rem 1.4rem 1.4rem; }
.office-list > div { padding: 0.8rem 0 0.7rem; border-bottom: 1px dotted #9C8B6C; }
.office-list > div:last-child { border-bottom: 0; }
.office-list dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); }
.office-list dd { margin: 0.15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.office-list a { color: var(--red); }
.office-list a:hover { color: var(--black); }
.office-aside { margin-top: 1.6rem; color: var(--dim); }
.letterbox { padding: 1.8rem 1.3rem 2rem; border: 2px solid var(--gold); border-radius: 16px; background: var(--boards); }
@media (min-width: 720px) { .letterbox { padding: 2.4rem 2.2rem; } }
.letterbox-row { margin-bottom: 1.2rem; }
.letterbox-row label { display: block; margin-bottom: 0.4rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.letterbox-row input,
.letterbox-row select,
.letterbox-row textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.8rem 0.95rem;
  border: 2px solid #6B5A3A;
  border-radius: 8px;
  background: var(--black);
  color: var(--cream);
  font: 500 1.05rem/1.4 var(--plain);
}
.letterbox-row textarea { min-height: 10rem; resize: vertical; }
.letterbox-row input:focus,
.letterbox-row select:focus,
.letterbox-row textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.letterbox-row [aria-invalid="true"] { border-color: #FF9A8A; }
.letterbox-error { margin: 0.4rem 0 0; color: #FFB3A6; font-weight: 600; }
.letterbox-note { margin: 1.2rem 0 0; padding: 0.9rem 1rem; border-left: 4px solid var(--gold); background: rgba(231, 185, 76, 0.1); font-size: 1rem; line-height: 1.55; }
.letterbox-direct { margin: 1rem 0 0; overflow-wrap: anywhere; }

/* ----- footer with footlights ----- */
.pit { background: var(--boards); }
.footlights { height: 34px; background: radial-gradient(circle at 50% 100%, rgba(231, 185, 76, 0.95) 0 5px, rgba(231, 185, 76, 0.35) 6px 13px, transparent 14px) center bottom / 56px 34px repeat-x, var(--black); border-bottom: 3px solid var(--gold); }
.pit-grid { display: grid; gap: 2.2rem; padding: 3rem 0 1.8rem; }
.pit-grid > * { min-width: 0; }
@media (min-width: 800px) { .pit-grid { grid-template-columns: 1.1fr 0.7fr 1.3fr; gap: 2.6rem; } }
.pit-name { margin: 0 0 0.7rem; font-family: var(--marquee); font-size: 1.6rem; line-height: 1.15; color: var(--gold); }
.pit h2 { font: 700 0.78rem/1.2 var(--plain); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.pit ul { list-style: none; margin: 0; padding: 0; }
.pit li { margin-bottom: 0.45rem; }
.pit a { color: var(--cream); }
.pit a:hover { color: var(--gold); }
.pit-co { margin: 0; }
.pit-co > div { display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); gap: 0.6rem; padding: 0.3rem 0; }
.pit-co dt { font-weight: 700; color: var(--dim); }
.pit-co dd { margin: 0; overflow-wrap: anywhere; }
.pit-end { margin: 0; padding: 1.1rem 0 1.6rem; border-top: 1px dotted rgba(231, 185, 76, 0.5); font-size: 0.95rem; color: var(--dim); overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  .wings, .wings.is-on { transition: none; }
  .ticket, .play, .cue-icon::before, .cue-icon::after { transition: none; }
  .lamp.is-pulsing { animation: none; }
}
