@font-face {
  font-family: "Fell Canon";
  src: url("fonts/IMFellFrenchCanon-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Fell Canon";
  font-style: italic;
  src: url("fonts/IMFellFrenchCanon-italic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Fell English";
  src: url("fonts/IMFellEnglish-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Fell English";
  font-style: italic;
  src: url("fonts/IMFellEnglish-italic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Fell SC";
  src: url("fonts/IMFellEnglishSC-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Garamond";
  src: url("fonts/EBGaramond-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Garamond";
  font-style: italic;
  src: url("fonts/EBGaramond-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #0b0a09;
  --smoke: #3b3935;
  --ash: #9b968e;
  --bone: #ece8e0;
  --display: "Fell Canon", "Fell English", Georgia, serif;
  --fell: "Fell English", Georgia, serif;
  --sc: "Fell SC", "Fell English", Georgia, serif;
  --text: "Garamond", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rail: 3.5rem;
  --gutter: clamp(1rem, 4vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--bone);
  scrollbar-color: var(--smoke) var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--rail) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.1875rem;
  line-height: 1.55;
  font-weight: 450;
  caret-color: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--bone);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: var(--smoke);
  border: 2px solid var(--ink);
}

:focus-visible {
  outline: 1px solid var(--bone);
  outline-offset: 4px;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  text-decoration-color: var(--smoke);
  transition: text-decoration-color 0.3s var(--ease), color 0.3s var(--ease);
}
a:hover {
  text-decoration-color: var(--bone);
}

h1,
h2,
h3 {
  font-weight: 400;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.sc {
  font-family: var(--sc);
  font-style: normal;
  letter-spacing: 0.06em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.5rem 1rem;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sc);
  text-decoration: none;
}
.skip:focus {
  top: 0.75rem;
}

.rail {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--rail);
  padding: 0 var(--gutter);
  background: rgb(11 10 9 / 0.94);
  border-bottom: 1px solid var(--smoke);
}

.mark {
  justify-self: start;
  font-family: var(--sc);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  padding-left: 0.16em;
}

.rail-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.rail-nav a {
  font-family: var(--sc);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-decoration: none;
}
.rail-nav a:hover {
  color: var(--bone);
}

.rail-book {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rail-label {
  font-family: var(--sc);
  letter-spacing: 0.06em;
  color: var(--ash);
  font-size: 1rem;
}

.copy {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.3rem 0.85rem 0.35rem;
  border: 1px solid var(--smoke);
  background: none;
  color: var(--bone);
  font: inherit;
  font-family: var(--sc);
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.copy-name {
  font-family: var(--fell);
  letter-spacing: 0.02em;
}
.copy-state {
  color: var(--ash);
  transition: color 0.3s var(--ease);
}
.copy:hover {
  border-color: var(--bone);
}
.copy:hover .copy-state,
.copy.done .copy-state {
  color: var(--bone);
}

.house {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: clamp(1.25rem, 3.6svh, 2.75rem) var(--gutter) clamp(3.5rem, 8svh, 6rem);
  overflow: clip;
}
.house::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("orn/damask.webp") 50% 0 / 20rem auto repeat;
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(#000 40%, transparent 96%);
  mask-image: linear-gradient(#000 40%, transparent 96%);
}
.house::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 46% 52% at 50% 60%, var(--ink) 38%, rgb(11 10 9 / 0) 100%);
  pointer-events: none;
}

.bill-name {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.25rem, 10.5vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.07em;
  padding-left: 0.07em;
  text-transform: uppercase;
  animation: bill 1.6s var(--ease) both;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 26rem;
  margin: 0.9rem auto 0.7rem;
}
.rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgb(236 232 224 / 0), var(--ash));
}
.rule span:last-child {
  background: linear-gradient(90deg, var(--ash), rgb(236 232 224 / 0));
}
.rule img,
.fleuron img {
  width: 2.4rem;
  height: auto;
}

.bill-line {
  margin: 0;
  font-family: var(--fell);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.3;
  color: var(--bone);
}

.stage {
  width: min(100%, 66rem, max(22rem, calc((100svh - 26rem) * 16 / 9)));
  margin: clamp(1.5rem, 3.4svh, 2.5rem) auto 0;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: zoom-in;
}
.shot img,
.shot video {
  width: 100%;
  height: auto;
}

.stage-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--ash);
  outline: 1px solid var(--smoke);
  outline-offset: 7px;
  cursor: pointer;
}
.stage-frame:focus-visible {
  outline-color: var(--bone);
}
.stage-video {
  height: 100% !important;
  object-fit: cover;
}

.valance {
  position: absolute;
  left: -9px;
  right: -9px;
  top: -9px;
  height: 26%;
  background: url("orn/valance-short-a.webp") 50% 0 / auto 100% repeat-x;
  pointer-events: none;
  transform-origin: 50% 0;
  animation: valance 1.9s var(--ease) both;
}

.play {
  position: absolute;
  right: 0.9rem;
  bottom: 0.8rem;
  padding: 0.25rem 0.7rem 0.3rem;
  background: rgb(11 10 9 / 0.78);
  border: 1px solid var(--smoke);
  font-family: var(--sc);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  color: var(--bone);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.shot:hover .play,
.shot:focus-visible .play {
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .play {
    opacity: 1;
    transform: none;
  }
}

.stage figcaption {
  margin-top: 1.35rem;
  font-family: var(--fell);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ash);
}
.stage figcaption .sc {
  margin-right: 0.45rem;
  color: var(--bone);
}

.bill-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin: 2rem 0 0;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.5rem 0.68rem;
  border: 1px solid var(--bone);
  outline: 1px solid var(--smoke);
  outline-offset: 4px;
  font-family: var(--sc);
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.button:hover {
  background: var(--bone);
  color: var(--ink);
}
.button:focus-visible {
  outline-color: var(--bone);
}

.quiet {
  font-family: var(--sc);
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  color: var(--ash);
}
.quiet:hover {
  color: var(--bone);
}

.program,
.repertoire {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(2rem, 5vw, 4rem);
}
.program::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(4rem, 7vw, 6.5rem);
  background: url("orn/border-a.webp") 50% 0 / auto 100% repeat-x;
  opacity: 0.5;
  pointer-events: none;
}

.program > h2,
.repertoire > h2,
.box > h2 {
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0.015em;
}

.sub {
  margin: 0.9rem auto 0;
  max-width: 34rem;
  padding: 0 var(--gutter);
  text-align: center;
  font-family: var(--fell);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ash);
}

.bill-list {
  list-style: none;
  max-width: 48rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto clamp(3rem, 7vw, 5rem);
  padding: 0 var(--gutter);
}
.bill-list a {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem auto minmax(1.5rem, 1fr) auto;
  align-items: baseline;
  column-gap: 0.8rem;
  padding: 0.62rem 0.25rem;
  text-decoration: none;
}
.bill-list a::before {
  content: "";
  position: absolute;
  inset: -0.15rem -2rem;
  background: radial-gradient(50% 100% at 50% 50%, rgb(236 232 224 / 0.085), rgb(236 232 224 / 0) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.bill-list a:hover::before,
.bill-list a:focus-visible::before {
  opacity: 1;
}
.bill-list .num {
  font-family: var(--sc);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--ash);
  text-align: right;
  font-variant-numeric: lining-nums;
}
.bill-list .title {
  font-family: var(--fell);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1.15;
}
.bill-list .lead {
  align-self: end;
  height: 0.5em;
  margin-bottom: 0.3em;
  background: radial-gradient(circle, var(--smoke) 1px, rgb(0 0 0 / 0) 1.5px) 0 50% / 0.5rem 0.5em repeat-x;
}
.bill-list .kind {
  font-family: var(--sc);
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  color: var(--ash);
  transition: color 0.4s var(--ease);
}
.bill-list a:hover .kind,
.bill-list a:hover .num,
.bill-list a:focus-visible .kind {
  color: var(--bone);
}

.fleuron {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  max-width: 22rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.fleuron span {
  flex: 1;
  height: 1px;
  background: var(--smoke);
}

.work {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 3vw, 3.25rem);
  row-gap: 2.25rem;
  align-items: start;
  max-width: 84rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
}
.work-text {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--rail) + 2rem);
}
.work-media {
  grid-column: 6 / span 7;
}
.work.flip .work-text {
  grid-column: 8 / span 5;
  grid-row: 1;
}
.work.flip .work-media {
  grid-column: 1 / span 7;
  grid-row: 1;
}
.work.wide .work-media {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
}
.work.wide .work-text {
  grid-column: 1 / -1;
  grid-row: 2;
  position: static;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: inherit;
}
.work.wide .work-intro {
  grid-column: 1 / span 5;
}
.work.wide .work-notes {
  grid-column: 7 / span 6;
  padding-top: 0.35rem;
}
.work.tall .work-text {
  grid-column: 1 / span 5;
}
.work.tall .work-media {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.work.tall .strip {
  grid-template-columns: 1fr;
  margin: 0;
  gap: 1.25rem;
}
.work.tall .strip img {
  aspect-ratio: auto;
}

.work h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
}
.work h3 .num {
  margin-right: 0.3em;
  font-family: var(--sc);
  font-size: 0.4em;
  letter-spacing: 0.08em;
  vertical-align: 0.6em;
  color: var(--ash);
}
.ticket {
  margin: 0.85rem 0 1.4rem;
  font-family: var(--sc);
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 1.45;
  color: var(--ash);
}
.lede {
  margin: 0 0 1.1rem;
  font-family: var(--fell);
  font-style: italic;
  font-size: clamp(1.3rem, 1.85vw, 1.55rem);
  line-height: 1.36;
  color: var(--bone);
}
.work-notes p {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: var(--ash);
}
.facts {
  list-style: none;
  max-width: 36rem;
  margin: 1.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--smoke);
}
.facts li {
  padding: 0.55rem 0 0.6rem;
  border-bottom: 1px solid var(--smoke);
  font-size: 1.06rem;
  line-height: 1.4;
  font-variant-numeric: lining-nums tabular-nums;
}
.out {
  margin: 1.5rem 0 0;
}
.out a {
  font-family: var(--sc);
  font-size: 1.08rem;
  letter-spacing: 0.06em;
}

.shot.main {
  border: 1px solid var(--ash);
  outline: 1px solid var(--smoke);
  outline-offset: 6px;
  background: #000;
}
.shot.main:focus-visible {
  outline-color: var(--bone);
}
.shot.main video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.75rem, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.strip .shot {
  overflow: hidden;
  background: #000;
}
.strip img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 0.6s var(--ease), transform 0.9s var(--ease);
}
.strip .shot:focus-visible {
  outline-offset: 3px;
}
@media (hover: hover) {
  .strip img {
    filter: brightness(0.7);
  }
  .strip .shot:hover img,
  .strip .shot:focus-visible img {
    filter: none;
    transform: scale(1.025);
  }
}
.work.wide .strip {
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}

.repertoire {
  border-top: 1px solid var(--smoke);
  margin-top: clamp(3rem, 7vw, 6rem);
}
.cast {
  max-width: 52rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 0 var(--gutter);
}
.cast div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
  align-items: baseline;
  column-gap: 0.9rem;
  padding: 0.7rem 0;
}
.cast dt {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-family: var(--fell);
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  line-height: 1.2;
}
.cast dt::after {
  content: "";
  flex: 1;
  min-width: 1.5rem;
  height: 0.3em;
  background: radial-gradient(circle, var(--smoke) 1px, rgb(0 0 0 / 0) 1.5px) 0 100% / 0.5rem 0.3em repeat-x;
}
.cast dd {
  margin: 0;
  color: var(--ash);
  line-height: 1.45;
}

.box {
  position: relative;
  isolation: isolate;
  text-align: center;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding: clamp(5rem, 11vw, 9rem) var(--gutter) clamp(5rem, 11vw, 9rem);
  border-top: 1px solid var(--smoke);
  overflow: clip;
}
.box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("orn/acanthus.webp") 50% 50% / cover no-repeat;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, #000 20%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, #000 20%, transparent 85%);
}
.box > h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
}
.box > h2 .volute {
  width: auto;
  height: clamp(4.4rem, 9vw, 6.6rem);
}
.box > h2 .volute.flip {
  transform: scaleX(-1);
}
.box-lede {
  margin: 1.6rem 0 0;
  font-family: var(--fell);
  font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}
.box-text {
  max-width: 30rem;
  margin: 0.8rem auto 0;
  color: var(--ash);
}
.handle {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}
.handle-label {
  font-family: var(--sc);
  letter-spacing: 0.08em;
  color: var(--ash);
}
.handle-name {
  font-family: var(--display);
  font-size: clamp(3.25rem, 9vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
}
.copy.big {
  margin-top: 0.8rem;
  padding: 0.55rem 1.4rem 0.62rem;
  border-color: var(--bone);
  outline: 1px solid var(--smoke);
  outline-offset: 4px;
  font-size: 1.12rem;
}
.copy.big .copy-state {
  color: var(--bone);
}
.copy.big:hover,
.copy.big.done {
  background: var(--bone);
}
.copy.big:hover .copy-state,
.copy.big.done .copy-state {
  color: var(--ink);
}
.box-mail {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin: clamp(2.25rem, 4vw, 3rem) 0 0;
}
.box-mail a {
  font-family: var(--fell);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  letter-spacing: 0.01em;
}
.box-alt {
  margin: 2.25rem 0 0;
  font-family: var(--sc);
  letter-spacing: 0.06em;
}

.colophon {
  position: relative;
  padding: clamp(6.5rem, 10vw, 8rem) var(--gutter) 3rem;
  text-align: center;
  color: var(--ash);
  font-size: 1rem;
  line-height: 1.55;
}
.colophon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(4rem, 7vw, 6.5rem);
  background: url("orn/border-a.webp") 50% 0 / auto 100% repeat-x;
  opacity: 0.42;
  pointer-events: none;
}
.colophon p {
  max-width: 42rem;
  margin: 0 auto 0.8rem;
}

.viewer {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bone);
  overscroll-behavior: contain;
}
.viewer[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.viewer::backdrop {
  background: rgb(11 10 9 / 0.96);
}
.viewer-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  min-height: 0;
  margin: 0;
  padding: clamp(1rem, 4vh, 3rem) clamp(0.75rem, 4vw, 3rem) 0;
}
.viewer-media {
  display: grid;
  place-items: center;
  min-height: 0;
  width: 100%;
}
.viewer-media img,
.viewer-media video {
  max-width: 100%;
  max-height: calc(100dvh - 9.5rem);
  width: auto;
  height: auto;
  border: 1px solid var(--smoke);
  animation: lift 0.55s var(--ease) both;
}
.viewer-cap {
  max-width: 44rem;
  margin: 1rem auto 0;
  padding: 0 1rem;
  text-align: center;
  font-family: var(--fell);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ash);
}
.viewer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  padding: 0.9rem 1rem 1.2rem;
}
.viewer-bar button {
  padding: 0.45rem 0.4rem;
  border: 0;
  background: none;
  color: var(--ash);
  font-family: var(--sc);
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.viewer-bar button:hover {
  color: var(--bone);
}
.viewer-bar [hidden] {
  display: none;
}
.viewer-count {
  min-width: 4.5rem;
  text-align: center;
  font-family: var(--sc);
  letter-spacing: 0.05em;
  color: var(--ash);
  font-variant-numeric: lining-nums tabular-nums;
}

@keyframes valance {
  from {
    transform: translateY(-16%) scaleY(0.92);
    filter: blur(1.5px);
  }
  to {
    transform: none;
    filter: none;
  }
}

@keyframes bill {
  from {
    letter-spacing: 0.13em;
    opacity: 0.55;
  }
  to {
    letter-spacing: 0.07em;
    opacity: 1;
  }
}

@keyframes lift {
  from {
    opacity: 0.35;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 63.99rem) {
  .work {
    row-gap: 1.75rem;
  }
  .work .work-text,
  .work.flip .work-text,
  .work.wide .work-text,
  .work.tall .work-text {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    display: block;
  }
  .work .work-media,
  .work.flip .work-media,
  .work.wide .work-media,
  .work.tall .work-media {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .work.tall .work-media {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }
}

@media (max-width: 47.99rem) {
  :root {
    --rail: 3.25rem;
  }
  .rail {
    grid-template-columns: auto 1fr;
  }
  .rail-nav,
  .rail-label {
    display: none;
  }
  .stage {
    width: 100%;
  }
  .valance {
    height: 30%;
  }
  .bill-list a {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    row-gap: 0.1rem;
  }
  .bill-list .lead {
    display: none;
  }
  .bill-list .kind {
    grid-column: 2;
  }
  .bill-list a::before {
    inset: 0 -1rem;
  }
  .cast div {
    grid-template-columns: 1fr;
    row-gap: 0.25rem;
  }
  .cast dt::after {
    display: none;
  }
  .work.tall .work-media {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 0.85rem;
  }
  .work.tall .strip {
    gap: 0.85rem;
  }
  .strip,
  .work.wide .strip {
    grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.lost {
  min-height: 100svh;
  display: grid;
  align-content: center;
}
