/* Local production preview. The approved marquee is outside this wrapper. */
.production {
  --ivory: #fff3d8;
  --champagne: #ffdb89;
  --metal: linear-gradient(130deg, #fff5c6, #a55220 20%, #ffd991 38%, #fff1bf 53%, #a85c22 76%, #ffe3a0);
  --paper: linear-gradient(145deg, #fff3d6, #efcd92);
  --footlights: radial-gradient(circle, #fff9d3 0 2px, #ffbe52 2.5px 4px, #f9823455 5px, transparent 8px);
  --gutter: max(clamp(1.35rem, 5.5vw, 5.5rem), calc((100% - 1280px) / 2));
  color: var(--ivory);
}

.production > section {
  position: relative;
  isolation: isolate;
  padding: clamp(3.75rem, 6.5vw, 7rem) var(--gutter);
  border: 0;
  border-top: 1px solid #f1bb62;
  scroll-margin-top: 0;
}
.production > section::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  inset: -2px 0 auto;
  height: 5px;
  background:
    radial-gradient(ellipse at center, #fff8cf 0%, #ffc668 8%, #fa9b3833 29%, transparent 63%),
    linear-gradient(90deg, #561009, #e5a44d 24%, #ffdc95 50%, #e5a44d 76%, #561009) center/100% 1px no-repeat;
  pointer-events: none;
}
.production > section::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: .48rem;
  height: .48rem;
  left: calc(50% - .24rem);
  top: -.27rem;
  transform: rotate(45deg);
  background: #fff5be;
  box-shadow: 0 0 .65rem .2rem #ff9c39b3;
  pointer-events: none;
}
.production :is(h2, h3) { text-wrap: balance; }
.production h2 {
  font: italic clamp(2.9rem, 6.75vw, 6.75rem)/.94 Georgia, serif;
  letter-spacing: -.055em;
  margin: .28em 0 .24em;
}
.production h2 :is(em, i) { color: var(--champagne); }
.production .eyebrow {
  color: #ffe09c;
  font: 700 clamp(.77rem, 1.08vw, .9rem)/1.55 Georgia, serif;
  letter-spacing: .19em;
}
.production :is(.portrait-heading, .tour-copy, .antigua-copy, .listen-heading, .family-copy, .performance-copy) > p:not(.eyebrow) {
  color: #f9e4c8;
  font: 1.075rem/1.6 Georgia, serif;
}
.production :is(.portrait-heading, .tour-copy, .antigua-copy, .family-copy, .listen-heading) .eyebrow::before {
  content: "";
  display: block;
  width: min(7rem, 100%);
  height: 13px;
  margin-block-end: 1.1rem;
  background: var(--footlights) left center/16px 13px repeat-x;
  filter: drop-shadow(0 0 5px #e58b46);
}
.production :is(.together, .tour-photo, .antigua-photo, .restaurant, .family-photo, .publicity-photo, .performance-keepsake, .album :where(figure), .postcard-exhibit :where(figure)) {
  min-width: 0;
  padding: 6px;
  border: 1px solid #ffe5a0;
  background: var(--metal);
  box-shadow: 0 16px 34px #1a000ba0, 0 0 24px #ffc66436;
}
.production .view-photo { position: relative; }
.production .view-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.production .view-photo::after {
  content: "";
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #ffe6ab;
  border-radius: 50%;
  background:
    linear-gradient(#fff3c7, #fff3c7) center/11px 1px no-repeat,
    linear-gradient(#fff3c7, #fff3c7) center/1px 11px no-repeat,
    #23090cdd;
  box-shadow: 0 2px 10px #0007;
  pointer-events: none;
}
.production .view-photo:focus-visible {
  z-index: 2;
  outline: 3px solid #fff2b4;
  outline-offset: 6px;
}
.production figcaption {
  padding: .72rem .75rem;
  background: var(--paper);
  color: #352014;
  font: 1.08rem/1.25 Georgia, serif;
}
.production figcaption span {
  margin-top: .27rem;
  color: #654521;
  font: .84rem/1.4 Arial, sans-serif;
}

/* A full proscenium for the first photograph; the photo and title share one stage. */
.production .photographs {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 1rem clamp(1.6rem, 5vw, 5rem);
  text-align: left;
  background:
    linear-gradient(102deg, #46000423, #33000616 58%, #26100936),
    url('assets/golden-stage.webp') center 47%/cover no-repeat,
    #690b14;
}
.production .portrait-heading { grid-area: 1 / 1; align-self: end; }
.production .portrait-heading h2 { color: #fff0c8; text-shadow: 0 2px #6d1908, 0 0 28px #ffc57866; }
.production .portrait-heading > p:last-child { max-width: 24ch; }
.production .together {
  grid-area: 1 / 2 / 3;
  width: 100%;
  max-width: 660px;
  margin: 0;
  padding: clamp(12px, 1.45vw, 19px);
  transform: none;
  justify-self: center;
  background:
    var(--footlights) center top/16px 13px repeat-x,
    var(--footlights) center bottom/16px 13px repeat-x,
    var(--metal);
}
.production .together img { border: 0; }
.production .portrait-flourish {
  display: block;
  position: static;
  grid-area: 2 / 1;
  justify-self: start;
  align-self: start;
  margin-top: 1rem;
  font: italic clamp(1.08rem, 2vw, 1.6rem)/1.3 Georgia, serif;
  color: #ffd991;
  transform: none;
  text-align: left;
}
.production .portrait-flourish br { display: none; }
.production .portrait-flourish em::before { content: " "; white-space: pre; }

/* Tour print and neon-red curtains, with the headline set like a tour bill. */
.production .on-tour {
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  gap: clamp(2rem, 7vw, 7rem);
  background:
    radial-gradient(ellipse at 2% 75%, #ff9d3166, transparent 42%),
    radial-gradient(ellipse at 81% 22%, #db2724a8, transparent 61%),
    repeating-linear-gradient(116deg, #2b020b1a 0 14px, #fd554813 19px 21px, #25000a2b 40px 46px),
    linear-gradient(133deg, #741316, #850d1d 48%, #360c13);
}
.production .tour-copy { grid-column: 2; grid-row: 1; }
.production .tour-copy h2 {
  width: fit-content;
  padding-bottom: .24em;
  border-bottom: 1px solid #ffda906e;
}
.production .tour-copy p.small { margin-top: .45rem; }
.production .tour-photo {
  grid-column: 1;
  grid-row: 1;
  width: min(100%, 500px);
  justify-self: center;
  transform: rotate(-2deg);
}

/* Champagne-coloured Deco surround, not a filter on the Antigua photograph. */
.production .antigua {
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(2rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse at 77% 30%, #e59e3f83, transparent 56%),
    radial-gradient(ellipse at 27% 45%, #9c451eaf, transparent 45%),
    linear-gradient(113deg, #3f110d, #75310e 65%, #6f1b13);
}
.production .antigua-arches {
  display: block;
  width: 72%;
  height: 140%;
  right: -20%;
  top: 5%;
  border: 1px solid #ffe2a3;
  box-shadow: 0 0 0 13px #ffda8055, 0 0 0 14px #ffebb891, 0 0 0 30px #74292077, 0 0 0 31px #ffdda379, 0 0 0 53px #ffe28b29, 0 0 0 54px #ffde9f65;
  transform: rotate(-18deg);
  opacity: .58;
}
.production .antigua-photo {
  max-width: 410px;
  width: 100%;
  background: var(--metal);
  transform: none;
}
.production .antigua .antigua-copy .display-note {
  display: block;
  color: #fff1cb;
  font: italic clamp(1.45rem, 3vw, 2.15rem)/1.17 Georgia, serif;
  margin: 1rem 0 .5rem;
}
.production .antigua-copy > p:last-child { max-width: 32ch; }
.production .star-line { display: flex; }

/* The narrated story is a listening desk and an open programme. */
.production .listen {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  gap: clamp(1.6rem, 5vw, 5rem);
  align-items: start;
  background:
    radial-gradient(ellipse at 38% 24%, #f85b3349, transparent 68%),
    repeating-linear-gradient(90deg, #4c10152b 0 2px, #d046321b 10px, #4109122e 28px),
    linear-gradient(125deg, #6d1018, #340910 74%, #551613);
}
.production .listen-stage { display: block; min-width: 0; }
.production .listen-heading h2 { font-size: clamp(2.65rem, 5.2vw, 5.2rem); }
.production .listen .player {
  padding: clamp(1rem, 2.6vw, 2rem);
  margin-top: 1.5rem;
  border: 1px solid #f5c981;
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at 15% 0, #aa552ca0, transparent 65%), linear-gradient(140deg, #631720, #270813 82%);
  box-shadow: 0 0 0 4px #4c1714, 0 0 0 5px #e8ac6677, 0 16px 35px #21020788;
}
.production .player .record {
  color: #43121b;
  border-color: #fff1b0;
  box-shadow: 0 0 14px #ffc66d85;
  background: radial-gradient(circle, #fff0b2 0 37%, transparent 39%), repeating-radial-gradient(circle, #864324 0 2px, #ffda97 3px 4px);
}
.production .player h3 { margin: .16em 0 .26em; }
.production .player-heading p:last-child,
.production .scrubber-label,
.production .time-display,
.production .music-controls > span,
.production .player-note { color: #f5d9b0; }
.production .documentary-controls { margin-top: 1.2rem; }
.production .transport { justify-content: center; gap: clamp(.7rem, 2vw, 1.25rem); margin-bottom: 1rem; }
.production .transport button {
  min-width: 52px;
  height: 52px;
  color: #fff0c2;
  background: linear-gradient(#641b22, #2a0a11);
  box-shadow: 0 2px 10px #0005;
}
.production #play-story {
  min-width: 8.3rem;
  height: 3.45rem;
  padding-inline: .8rem;
  border: 1px solid #fff1bb;
  border-radius: 999px;
  background: linear-gradient(140deg, #fff5bb, #f3b957 65%, #ffdf91);
  box-shadow: 0 0 18px #e99247aa, inset 0 -3px 0 #ac642e66;
  color: #3d1b0c;
  font-size: 1rem;
}
.production #play-story::before {
  content: "";
  display: inline-block;
  width: .85rem;
  height: .85rem;
  margin-right: .45rem;
  background: currentColor;
  clip-path: polygon(14% 0, 94% 50%, 14% 100%);
}
.production #play-story[aria-label="Pause narration"]::before {
  clip-path: polygon(13% 0, 40% 0, 40% 100%, 13% 100%, 13% 0, 62% 0, 88% 0, 88% 100%, 62% 100%, 62% 0);
}
.production .music-controls { gap: .45rem; margin-top: .75rem; }
.production .music-controls label { min-height: 36px; }
.production .player-note { font-size: .84rem; margin-top: .75rem; }
.production .restaurant {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  transform: none;
}
.production .restaurant figcaption { font-size: 1.15rem; }
.production .transcript-shell {
  position: relative;
  top: auto;
  padding: 0 clamp(1rem, 2vw, 1.8rem);
  background: linear-gradient(155deg, #fff5dd, #f7e3be);
  border: 1px solid #ffdf9b;
  border-radius: .25rem .25rem 1.2rem .25rem;
  color: #382419;
  box-shadow: 0 0 0 5px #6c2b22, 0 0 0 6px #efbb77aa, 0 25px 45px #20050ba8;
}
.production .transcript-shell summary {
  border-color: #a7693a6e;
  color: #6a1320;
  font: bold clamp(1.25rem, 2.6vw, 2rem)/1.3 Georgia, serif;
  padding: 1.15rem 0;
}
.production .transcript-shell summary span { color: #7a351f; font-weight: 700; }
.production :is(.transcript-options > span, .transcript-note) { color: #67472e; font-size: .875rem; }
.production .transcript-options { margin: .85rem 0; }
.production #transcript-text { max-height: clamp(27rem, 51vw, 46rem); scrollbar-color: #9c5a34 #f4dcb2; }
.production .transcript-paragraph {
  padding: .65rem .75rem .85rem;
  margin: 0 0 .33rem;
  border-bottom: 1px solid #99512921;
}
.production .transcript-paragraph[aria-current=true] { background: #de94522f; border-left-color: #a7422e; }
.production .transcript-paragraph p { font: clamp(1rem, 1.35vw, 1.115rem)/1.65 Georgia, serif; color: #36231a; }
.production .transcript-paragraph button {
  padding: .37rem .75rem;
  min-height: 40px;
  border: 1px solid #ad623c;
  border-radius: 99px;
  color: #701d25;
  background: #fff7e7;
  font-weight: 700;
}
.production .transcript-shell :focus-visible { outline-color: #831d2f; }

/* Family portraits read like paired publicity prints. */
.production .family {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, .59fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  background:
    radial-gradient(ellipse at 67% 59%, #f0a94687, transparent 61%),
    repeating-linear-gradient(100deg, #7031212b 0 18px, #faa15b20 22px, #540e2229 47px),
    #8d211e;
}
.production .family .flourish {
  margin: 1.25rem 0 0;
  text-align: left;
  max-width: 7rem;
}
.production :is(.family-photo, .publicity-photo) { width: 100%; max-width: none; transform: none; }
.production .publicity-photo { align-self: end; }
.production .family figcaption { font-size: clamp(.9rem, 1.4vw, 1.08rem); }

/* Four different prints with a clear baseline, like lobby stills on a wall. */
.production .album {
  grid-template-columns: 1.2fr .87fr 1.08fr .82fr;
  gap: clamp(.8rem, 2vw, 1.85rem);
  align-items: start;
  background:
    radial-gradient(ellipse at 55% -6%, #fd983973, transparent 43%),
    repeating-linear-gradient(92deg, #29080b42 0 3px, #ea57341c 10px, #31060e59 27px),
    linear-gradient(166deg, #891f19, #5e1020 68%, #9c301a);
}
.production .album-heading { grid-column: 1/-1; margin: 0 0 .6rem; }
.production .album-heading h2 { font-size: clamp(2.75rem, 5.8vw, 5.8rem); }
.production .album :is(.smiling-original, .riding-photo, .parrot-photo, .horse-photo) {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  align-self: start;
  transform: none;
}
.production .album .smiling-original { margin-top: 1.75rem; }
.production .album .parrot-photo { margin-top: 2.5rem; }
.production .album .horse-photo { margin-top: .5rem; }
.production .album figcaption { font-size: .98rem; }

.production .performance {
  background:
    linear-gradient(180deg, #34030b33 3%, #2d090846 55%, #330a14b0),
    url('assets/golden-stage.webp') center 38%/cover no-repeat,
    #5e1118;
}
.production .performance-heading,
.production .video-frame,
.production .video-caption { width: min(100%, 1000px); margin-inline: auto; }
.production .performance-heading {
  grid-template-columns: .9fr 1fr;
  gap: clamp(1rem, 6vw, 6rem);
}
.production .performance h2 { font-size: clamp(3.2rem, 6.5vw, 6.2rem); }
.production .performance-copy > p { margin: 0 0 .45rem; }
.production .performance-copy > .small { color: #ffe4ae; }
.production .performance-media {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.4rem, 3.5vw, 3rem);
  width: min(100%, 1150px);
  margin: clamp(1.2rem, 3vw, 2.75rem) auto 0;
}
.production .performance-recording { min-width: 0; }
.production .performance-keepsake {
  width: min(100%, 330px);
  justify-self: center;
}
.production .video-frame {
  padding: clamp(10px, 1.8vw, 24px);
  margin-top: 0;
  border: 1px solid #ffe3a2;
  background:
    var(--footlights) center top/16px 13px repeat-x,
    var(--footlights) center bottom/16px 13px repeat-x,
    var(--metal);
  box-shadow: 0 0 0 5px #611c19, 0 0 0 6px #ffdc87b3, 0 20px 50px #1e000bb8;
}
.production .video-frame::before { content: none; }
.production .video-caption { font-size: 1.1rem; margin-top: 1.3rem; }

/* Archival scans remain intact; all ornament sits in the surrounding frame. */
.production .postcard-exhibit {
  background:
    radial-gradient(ellipse at 80% 85%, #f4ad5852, transparent 55%),
    radial-gradient(ellipse at 25% 14%, #bd322b81, transparent 55%),
    repeating-linear-gradient(162deg, #39091d40 0 5px, #d5524922 20px, #54160c33 37px),
    #600d1a;
}
.production .postcard-intro { text-align: center; padding-inline-end: 0; }
.production .postcard-intro h2 { max-width: none; margin-inline: auto; font-size: clamp(2.7rem, 6vw, 5.8rem); }
.production .postcard-intro::after { right: 1%; top: -.35rem; }
.production .postcard-spread { grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 4vw, 3.5rem); }
.production .postcard-exhibit .postcard-front { transform: rotate(-1.8deg); }
.production .postcard-exhibit .postcard-reverse { transform: rotate(1.5deg); margin-top: 1.5rem; }
.production .postcard-exhibit .view-photo { border: 0; padding: 0; box-shadow: none; }
.production .postcard-exhibit figcaption { display: block; }
.production .postcard-view-note { color: #fff0cf; text-align: center; margin-top: 1.6rem; }

.production .curtain {
  background:
    radial-gradient(ellipse at 50% 54%, #ac24232c, #22030d99 95%),
    url('assets/golden-stage.webp') center 60%/cover no-repeat,
    #77171c;
}
.production .curtain h2 { font-size: clamp(3.2rem, 7vw, 7rem); text-shadow: 0 4px 24px #2c0314a8; }
.production .curtain .button {
  justify-content: center;
  min-height: 48px;
  border-color: #fff1ae;
  padding: .7rem 1.4rem;
  color: #311609;
  background: linear-gradient(135deg, #fff2bc, #eeb769 70%, #ffdf96);
  box-shadow: 0 0 20px #f39c5570;
  font-weight: 700;
}
main:has(.production) + footer { background: #29080f; color: #f7e2bf; border-top: 1px solid #bf7439; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .production :is(.transport button, .curtain .button, .view-photo::after) { transition: box-shadow 180ms ease, background-color 180ms ease; }
  .production :is(.transport button, .curtain .button):hover,
  .production .view-photo:hover::after { box-shadow: 0 0 19px #ffc66d; }
}

@media (max-width: 860px) {
  .production > section { padding-block: clamp(3rem, 7vw, 4.5rem); }
  .production .performance-media { grid-template-columns: minmax(0, 1fr); }
  .production .listen { grid-template-columns: minmax(0, 1fr); }
  .production .listen-stage {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
    column-gap: 1.8rem;
    align-items: start;
  }
  .production .listen .player { margin: 0; align-self: center; }
  .production .restaurant { margin-top: 1.15rem; align-self: start; }
  .production .transcript-shell { width: 100%; }
  .production .family { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 1.4rem; }
  .production .family-copy { grid-column: 1/-1; text-align: left; }
  .production .family h2 br { display: none; }
  .production .family h2 em::before { content: " "; white-space: pre; }
  .production .family .flourish { display: none; }
  .production .album { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .production .album :is(.smiling-original, .riding-photo, .parrot-photo, .horse-photo) { margin-top: 0; align-self: center; }
  .production .album img { max-height: 390px; width: 100%; object-fit: contain; background: #480b19; }
}

@media (max-width: 610px) {
  .production > section { padding-block: 2.9rem; }
  .production .photographs { background-position: 41% 47%; }
  .production :is(.photographs, .on-tour, .antigua, .listen-stage, .performance-heading, .postcard-spread) {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  .production .portrait-heading > p:last-child { max-width: none; }
  .production :is(.portrait-heading, .together, .portrait-flourish) { grid-area: auto; }
  .production .portrait-flourish { margin-top: 0; }
  .production .tour-copy { grid-column: auto; grid-row: auto; }
  .production .tour-copy h2 { padding-bottom: .13em; }
  .production .tour-photo { grid-column: auto; grid-row: auto; transform: rotate(-1deg); }
  .production .antigua-arches { right: -66%; width: 128%; height: 115%; }
  .production .antigua-photo { max-width: 340px; }
  .production .antigua-copy .star-line { width: 6rem; }
  .production .listen { gap: 1.7rem; }
  .production .listen-stage { display: flex; flex-direction: column; align-items: stretch; }
  .production .listen .player { align-self: stretch; }
  .production .restaurant { margin: 0; align-self: stretch; }
  .production .transcript-options > span { display: inline; }
  .production #transcript-text { max-height: 31rem; }
  .production .family { grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr); gap: .75rem; }
  .production .family-copy { margin-bottom: .5rem; }
  .production .family figure, .production .album figure { padding: 4px; }
  .production .album { gap: .8rem; }
  .production .album-heading { margin: 0 0 .5rem; }
  .production .album img { max-height: none; }
  .production :is(.family, .album) figcaption { font-size: .9rem; padding: .55rem .42rem; }
  .production :is(.family, .album) .view-photo::after { right: .3rem; bottom: .3rem; width: 1.5rem; height: 1.5rem; }
  .production .performance-heading { gap: .4rem; }
  .production .video-caption { flex-direction: row; align-items: baseline; }
  .production .postcard-intro::after { display: none; }
  .production .postcard-exhibit .postcard-front,
  .production .postcard-exhibit .postcard-reverse { margin: 0; transform: none; }
}

@media (max-width: 355px) {
  .production #play-story { min-width: 6rem; }
  .production .transport button { min-width: 46px; }
  .production .transcript-options > span { display: none; }
}

@media (forced-colors: active) {
  .production .view-photo::after, .production .eyebrow::before,
  .production > section::before, .production > section::after { display: none; }
  .production .view-photo, .production .transport button, .production :is(.player, .transcript-shell) { border: 1px solid ButtonText; }
}
