*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #141414; }
main {
  --cream: #f2ece1;
  --ink: #141414;
  --yellow: #ffc21a;
  --red-text: #a51b14;
  --red-surface: color-mix(in srgb, var(--accent) 86%, #6b110d);
  --display: 'Fira Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --gutter: clamp(14px, 3vw, 24px);
  background: var(--cream);
  color: var(--ink);
  font: 18px/1.5 'Inter Tight', system-ui, sans-serif;
}
.shell { width: min(100%, 1128px); margin-inline: auto; padding-inline: var(--gutter, 24px); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:focus-visible { outline: 3px solid #141414; outline-offset: 3px; box-shadow: 0 0 0 3px #ffc21a; }

.hero-heading { position: relative; z-index: 5; }
.hero-header { display: grid; gap: clamp(18px, 3vw, 34px); padding-block: 28px 24px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.show-stamp {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--red-surface);
  color: #fff;
  font-size: clamp(14px, 2.6vw, 18px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
  animation: stamp-in 460ms ease-out both;
}
@keyframes stamp-in {
  0% { opacity: 0; transform: translateY(-12px) rotate(-8deg); }
  62% { opacity: 1; transform: translateY(3px) rotate(2deg) scale(1.025); }
  82% { transform: translateY(-2px) rotate(-1deg); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .show-stamp { animation: none; }
}
.hero-title, .hero-tear {
  margin: 0;
  font: 900 clamp(38px, 14vw, 226px)/.86 var(--display);
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.paper-edge {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 28px;
  margin-bottom: -28px;
  pointer-events: none;
  filter: drop-shadow(0 4px 3px #0004);
}
.hero { background: var(--red-surface); color: var(--cream); }
.hero-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding-top: 34px;
}
.audience-sticker {
  grid-column: 1 / -1;
  justify-self: start;
  transform: rotate(-2deg);
  padding: 8px 13px;
  background: var(--yellow);
  box-shadow: 0 3px 6px #0004;
  color: var(--ink);
  font-size: clamp(13px, 2.7vw, 25px);
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.hero-tear { font-size: clamp(34px, 14.5vw, 236px); transform: rotate(-3deg); transform-origin: left center; }
.seat-sticker {
  position: relative;
  width: clamp(72px, 19vw, 174px);
  aspect-ratio: 1;
  transform: rotate(12deg);
  justify-self: end;
}
.hero-copy { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 640px; }
.hero-copy p:first-child span { color: var(--yellow) !important; }
.cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px clamp(16px, 4vw, 32px);
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.cta:hover { background: var(--yellow); color: var(--ink); }
button:disabled { opacity: .62; cursor: default !important; }
.hero-cast {
  --figure-height: clamp(230px, 34vw, 470px);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}
.hero-figure { position: relative; margin: 0; min-width: 0; }
.hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: var(--figure-height);
  /* Allow neighboring silhouettes to overlap while masking the shared baseline. */
  clip-path: inset(0 -25% 0);
}
.hero-cast img {
  display: block;
  justify-self: center;
  width: var(--figure-width, 118%);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(var(--photo-offset, 0px));
}
.hero-figure--amir {
  --figure-width: 126%;
  --photo-offset: 5%;
}
.hero-figure:first-child, .hero-figure:last-child { --figure-width: 104%; }
.hero-figure:first-child img { justify-self: start; }
.hero-figure:last-child img { justify-self: end; }
.hero-cast figcaption { width: max-content; }
.hero-cast figcaption, .portrait h3 {
  position: absolute;
  z-index: 2;
  bottom: 8px;
  left: 50%;
  max-width: 100%;
  margin: 0;
  padding: 5px 9px;
  transform: translateX(-50%) rotate(-2deg);
  border-radius: 4px;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font: 900 clamp(20px, 2.7vw, 32px)/1 var(--display);
  text-transform: uppercase;
}
.hero-cast figcaption span { display: block; font: 500 11px/1.2 var(--mono); text-transform: none; margin-top: 3px; }
.hero-strip { position: relative; }

main h2 { font-size: clamp(36px, 6.5vw, 88px); overflow-wrap: break-word; text-wrap: balance; }
.section-grid, .cast-section { padding-block: clamp(48px, 8vw, 96px); }
.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}
.section-grid > *, .receipt span { min-width: 0; }
.receipt, .application {
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
  padding: clamp(15px, 3vw, 34px);
  box-shadow: 6px 8px 0 var(--ink);
}
.receipt {
  border: 2px solid var(--ink);
  font: clamp(12px, 1.7vw, 16px)/1.45 var(--mono);
  transform: rotate(1deg);
}
.receipt-lines > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
}
.receipt-lines > div > span:first-child { overflow-wrap: anywhere; }
.cast-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 40px); }
.cast-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.cast-card { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-width: 0; }
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--accent);
  border-radius: 6px;
}
.portrait-media {
  position: absolute;
  inset: 0;
  padding: 8px 4px 0;
  clip-path: inset(0 round 6px);
}
.portrait-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: var(--photo-position, center bottom);
  transform: translateY(var(--photo-offset, 0px));
}
.portrait-media--amir { --photo-offset: 5%; }
.portrait h3 { font-size: clamp(19px, 2.25vw, 30px); }
.cast-description, .cast-social { margin: 0; font: clamp(12px, 1.4vw, 15px)/1.4 var(--mono); }
.cast-social { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: clamp(10px, 1.2vw, 13px); color: #55504a; text-decoration: none; }
.cast-social:hover { color: var(--red-text); text-decoration: underline; }
footer a { color: inherit; }
footer a:hover { color: #f2ece1; }
#tickets { background: var(--red-surface) !important; color: #fff !important; }
#tickets > .section-grid { padding-top: clamp(56px, 9vw, 104px); }
.application { display: grid; gap: 16px; scroll-margin-top: 18px; }
.application-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 8px; }
.application :is(input:not([type=checkbox]), select, textarea) { width: 100%; min-width: 0; min-height: 44px; }
.select-field { display: block; position: relative; }
.application .select-field select {
  display: block;
  appearance: none;
  min-height: 52px;
  padding: 12px 42px 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.4 'Inter Tight', system-ui, sans-serif;
  text-overflow: ellipsis;
  cursor: pointer;
}
.select-field::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
@media (hover: hover) {
  .select-field select:enabled:hover { background: #fffaf1; }
}
.review-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}
.review-option input { width: 20px; height: 20px; margin: 0; accent-color: var(--red-text); }
.application [aria-invalid=true] { border-color: var(--red-text) !important; }
.field-error, .form-status { color: var(--red-text); font-size: 14px; font-weight: 700; }
.form-status { margin: 0; }
.form-status:empty { position: absolute; }
.form-status[data-state=success] { color: var(--ink); padding-left: 10px; border-left: 4px solid var(--yellow); }

@media (max-width: 899px) {
  .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .portrait { aspect-ratio: 1 / 1; }
}
@media (max-width: 740px) {
  .section-grid { grid-template-columns: minmax(0, 1fr); }
  .receipt { transform: none; }
  .hero-cast figcaption span { display: none; }
}
@media (max-width: 640px) {
  .hero-header { padding-block: 20px 18px; }
  .seat-sticker { width: clamp(104px, 26vw, 146px); }
  .hero-cast {
    --figure-height: clamp(155px, 51vw, 315px);
  }
  /* Wider seated silhouettes overlap the outer portraits below the shoulders. */
  .hero-figure:first-child { --figure-width: 103%; }
  .hero-figure:nth-child(2) { --figure-width: 144%; }
  .hero-figure--amir {
    --figure-width: 147%;
    --photo-offset: 5%;
  }
  .hero-figure:last-child { --figure-width: 116%; }
  .hero-cast figcaption {
    bottom: 5px;
    padding: 4px 5px;
    transform: translateX(-50%);
    font-size: clamp(13px, 4.1vw, 20px);
    white-space: nowrap;
  }
  .hero-strip { font-size: 13px !important; }
}
@media (max-width: 549px) {
  .cast-grid { grid-template-columns: minmax(0, 1fr); }
  .cast-card {
    grid-template: 1fr 1fr / minmax(0, 44%) minmax(0, 1fr);
    border-bottom: 1px dashed #14141466;
    padding-bottom: 16px;
  }
  .portrait { grid-row: span 2; }
  .cast-description { align-self: end; }
  .cast-social { align-self: start; }
}
