@layer reset, base, theme, components;

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

  body {
    margin: 0;
  }

  ul[role="list"] {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

@layer base {
  :root {
    color-scheme: light;
    --stage: #100c09;
    --stage-ink: #f6efe4;
    --stage-muted: #d9cbb8;
    --header: #14100e;
    --paper: #f6f0e4;
    --paper-2: #fffaf3;
    --ink: #1c140f;
    --muted: #5c4a3a;
    --rule: #ddcfb8;
    --rust: #9a3412;
    --rust-hot: #b93812;
    --gold: #f0b429;
    --gold-ink: #1a120c;
    --cream: #f4ead7;
    --focus: #9a3412;
    --focus-on-dark: #ffe08a;
    --jc: #d7efc4;
    --jc-ink: #173218;
    --hob: #d5eef6;
    --hob-ink: #0e3342;
    --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --pad: clamp(1rem, 2vw, 1.75rem);
    --bar: 4.75rem;
  }

  @media (prefers-color-scheme: light) {
    :root {
      --stage: #e4d5bf;
      --stage-ink: #1c140f;
      --stage-muted: #5c4a3a;
    }
  }

  @media (prefers-contrast: more) {
    :root {
      --rule: var(--ink);
      --muted: var(--ink);
      --stage-muted: var(--stage-ink);
    }
  }

  html {
    scroll-padding-top: 9.5rem;
    background: var(--paper);
  }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.55;
    text-align: start;
  }

  a {
    color: inherit;
    text-underline-offset: 0.18em;
  }

  :focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
  }

  h1,
  h2 {
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -0.035em;
    line-height: 0.94;
    text-wrap: balance;
  }

  h3 {
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.08;
  }

  h1 {
    margin: 0.1rem 0 0.75rem;
    font-size: clamp(3.4rem, 11vw, 7.2rem);
  }

  h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  }

  h2::after {
    content: "";
    display: block;
    width: 2.6rem;
    height: 0.22rem;
    margin-top: 0.55rem;
    background: var(--rust);
  }

  h3 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
  }

  p,
  ul,
  ol {
    margin: 0 0 0.85rem;
  }

  .lede,
  .prose p,
  .section > p {
    max-width: 62ch;
    text-wrap: pretty;
  }
}

@layer components {
  .skip-link {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    z-index: 6;
    background: var(--gold);
    color: var(--gold-ink);
    padding: 0.6rem 0.9rem;
    font-weight: 700;
    text-decoration: none;
  }

  .skip-link:focus-visible {
    outline-color: var(--ink);
  }

  .skip-link:where(:not(:focus, :active)) {
    position: absolute !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: var(--header);
    color: var(--cream);
  }

  h2,
  h3,
  section,
  article {
    scroll-margin-top: 9.5rem;
  }

  @media (max-width: 40rem) {
    h2,
    h3,
    section,
    article {
      scroll-margin-top: 14.5rem;
    }
  }

  .site-header :focus-visible {
    outline-color: var(--focus-on-dark);
  }

  .site-header::after {
    content: "";
    display: block;
    height: 0.95rem;
    background:
      radial-gradient(circle at 0.7rem 50%, #fff4cc 0 0.16rem, var(--gold) 0.18rem 0.28rem, #6a4a10 0.3rem 0.34rem, transparent 0.38rem) 0 0 / 1.7rem 100% repeat-x,
      #1c140f;
  }

  .bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    width: 100%;
    margin-inline: 0;
    padding: 0.7rem var(--pad) 0.55rem;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-right: auto;
    color: var(--cream);
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.92;
    text-decoration: none;
  }

  .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
  }

  .brand small {
    display: block;
    margin-top: 0.22rem;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding-inline: 0.75rem;
    border-radius: 999px;
    color: var(--cream);
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
  }

  .site-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.28em;
  }

  .site-nav .task a {
    background: var(--gold);
    color: var(--gold-ink);
  }

  .site-nav .task + .task a {
    background: transparent;
    color: var(--cream);
    box-shadow: inset 0 0 0 1.5px var(--cream);
  }

  .site-nav .task a[aria-current="page"] {
    box-shadow: inset 0 0 0 2px var(--gold-ink);
  }

  .site-nav .task + .task a[aria-current="page"] {
    box-shadow: inset 0 0 0 2px var(--gold);
    color: var(--gold);
  }

  .also-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.35rem;
    padding: 0 var(--pad) 0.35rem;
  }

  .also-label {
    margin: 0;
    color: #d9cbb8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: none;
  }

  .also-nav ul,
  .footer-also ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.1rem 0.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .also-nav a,
  .footer-also a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding-inline: 0.55rem;
    font-weight: 700;
    text-decoration: none;
  }

  .also-nav a {
    color: var(--cream);
    font-size: 0.95rem;
  }

  .also-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.28em;
  }

  main {
    width: 100%;
    margin: 0;
    background:
      linear-gradient(#1c140f, #1c140f) 0 0 / 100% 3px no-repeat,
      var(--paper);
    color: var(--ink);
  }

  .wrap {
    width: 100%;
    margin-inline: 0;
    padding: 1.35rem var(--pad) 3.25rem;
  }

  .wrap:has(> .hero) {
    padding-top: 0.35rem;
  }

  .kicker {
    margin: 0 0 0.35rem;
    color: var(--rust);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .wrap > h1 {
    margin-top: 0.15rem;
    font-size: clamp(2.7rem, 6.5vw, 4.4rem);
  }

  .wrap > h1::after {
    content: "";
    display: block;
    width: 4.25rem;
    height: 0.28rem;
    margin-top: 0.7rem;
    background: var(--rust-hot);
  }

  main a:not(.button) {
    color: var(--rust);
    font-weight: 560;
    text-decoration-color: color-mix(in srgb, var(--rust) 45%, transparent);
  }

  main a:not(.button):hover {
    text-decoration-thickness: 2px;
  }

  .hero {
    display: grid;
    gap: 1.35rem;
    width: 100%;
    margin: 0;
    padding: 1.5rem var(--pad) 1.85rem;
    background: #100c09;
    color: var(--cream);
  }

  .hero-copy {
    min-width: 0;
  }

  .hero .date-board {
    margin: 0 0 0.65rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: none;
  }

  .hero h1 {
    margin: 0 0 0.75rem;
    color: var(--cream);
  }

  .hero h1 .wordmark {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero h1 .line {
    display: block;
  }

  .hero h1 .harvest {
    font-style: italic;
    font-weight: 560;
    color: var(--cream);
  }

  .hero .lede {
    margin-bottom: 0.35rem;
    color: var(--cream);
    font-size: 1.15rem;
  }

  .hero-quiet {
    margin: 0;
    color: #d9cbb8;
    font-size: 0.98rem;
  }

  .ticket-hero {
    display: block;
    width: 100%;
    height: auto;
  }

  .date-plate {
    align-self: start;
    display: flex;
    flex-direction: column;
    min-width: min(100%, 16rem);
    margin-top: 0.35rem;
    padding: 0;
    background: var(--ink);
    color: var(--cream);
    box-shadow: 0 16px 32px rgb(28 20 15 / 0.16);
  }

  .date-plate img {
    display: block;
    width: 100%;
    max-height: 16rem;
    object-fit: cover;
    object-position: center;
  }

  .plate-copy {
    padding: 0.85rem 1.05rem 1rem;
  }

  .date-plate .kicker {
    color: var(--gold);
  }

  .date-plate p {
    margin: 0;
    color: var(--cream);
  }

  .date-plate strong {
    display: block;
    margin-block: 0.15rem 0.2rem;
    color: var(--cream);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.15rem;
  }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    min-width: 2.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: var(--gold);
    color: var(--gold-ink);
    font-weight: 700;
    text-decoration: none;
  }

  .button:hover {
    background: color-mix(in srgb, var(--gold) 84%, white);
    text-decoration: none;
  }

  .button.secondary {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px currentColor;
  }

  .button.secondary:hover {
    background: var(--ink);
    color: var(--cream);
  }

  .hero .actions .button {
    min-height: 3rem;
  }

  .hero .actions .button.secondary {
    background: transparent;
    color: var(--cream);
    box-shadow: inset 0 0 0 1.5px var(--cream);
  }

  .hero .actions .button.secondary:hover {
    background: var(--cream);
    color: #14100e;
  }

  .section {
    padding-block: 2rem;
    border-bottom: 1px solid var(--rule);
  }

  .section:last-child {
    border-bottom: 0;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.4rem, 1fr));
    border-block: 1px solid var(--rule);
  }

  .stats li {
    padding: 0.95rem 0.85rem 1rem 0;
  }

  .stats li + li {
    padding-left: 0.85rem;
    box-shadow: inset 1px 0 0 var(--rule);
  }

  .stats strong {
    display: block;
    color: var(--rust-hot);
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4vw, 3.15rem);
    font-weight: 560;
    letter-spacing: -0.045em;
    line-height: 0.9;
  }

  .stats span {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.92rem;
  }

  .stats a.stat-hit {
    display: block;
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
  }

  .stats a.stat-hit:hover span,
  .stats a.stat-hit:focus-visible span {
    text-decoration: underline;
  }

  .menu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 0.75rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
  }

  .menu-cards a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
    min-height: 2.75rem;
    padding: 0.85rem 0.95rem 0.95rem;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    color: inherit;
    text-decoration: none;
  }

  .menu-cards strong {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 560;
    letter-spacing: -0.03em;
  }

  .menu-cards span {
    color: var(--muted);
    font-size: 0.95rem;
  }

  .menu-cards a:hover span,
  .menu-cards a:focus-visible span {
    text-decoration: underline;
  }

  .night {
    display: grid;
    gap: 0.75rem;
    clear: both;
    margin: 0.9rem 0 1rem;
  }

  .night li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    min-width: 0;
    padding-top: 0.65rem;
    border-top: 1px solid var(--rule);
  }

  .night span {
    color: var(--muted);
    font-size: 0.95rem;
  }

  .show-walk {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    clear: both;
    margin-top: 1rem;
  }

  .show-walk button {
    min-height: 2.75rem;
    padding: 0.45rem 0.95rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    box-shadow: inset 0 0 0 1.5px var(--ink);
    cursor: pointer;
  }

  .show-walk button:hover {
    background: var(--ink);
    color: var(--cream);
  }

  .bill button.person-open,
  dialog.ticket-dialog button.person-open {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: var(--rust);
    font: inherit;
    font-weight: 700;
    text-align: start;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--rust) 45%, transparent);
    text-underline-offset: 0.15em;
    cursor: pointer;
  }

  .city-grid,
  .card-grid,
  .roster,
  .day {
    display: grid;
    gap: 0.85rem;
  }

  .city-grid,
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  }

  .card,
  .venue,
  .person,
  .film {
    padding: 1rem 1.05rem 1.1rem;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--ink);
    box-shadow: 0 10px 24px rgb(28 20 15 / 0.05);
  }

  .stamp {
    float: right;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 0 0.35rem 0.75rem;
  }

  .details,
  .close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.45rem 0.95rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 0 0 1.5px var(--ink);
    cursor: pointer;
  }

  .details:hover,
  .close:hover {
    background: var(--ink);
    color: var(--cream);
  }

  .card .details {
    clear: both;
  }

  dialog.ticket-dialog {
    width: min(40rem, calc(100vw - 2rem));
    max-height: min(85vh, 44rem);
    margin: auto;
    padding: 1.15rem 1.25rem 1.2rem 2.55rem;
    overflow: auto;
    border: 1px solid var(--ink);
    background: var(--paper);
    -webkit-mask-image: radial-gradient(circle at 1.48rem 0.72rem, transparent 0.3rem, #000 0.36rem);
    mask-image: radial-gradient(circle at 1.48rem 0.72rem, transparent 0.3rem, #000 0.36rem);
    -webkit-mask-size: 100% 1.45rem;
    mask-size: 100% 1.45rem;
    -webkit-mask-repeat: repeat-y;
    mask-repeat: repeat-y;
    color: var(--ink);
    box-shadow:
      inset 1.15rem 0 0 var(--header),
      inset 0 -0.28rem 0 var(--rust),
      inset 0 -0.38rem 0 var(--rust-hot);
  }

  dialog.ticket-dialog::backdrop {
    background: rgb(16 12 9 / 0.72);
  }

  dialog.ticket-dialog .close {
    float: right;
    margin: 0 0 0.35rem 0.75rem;
    background: var(--header);
    color: var(--cream);
    box-shadow: none;
  }

  dialog.ticket-dialog .close:hover {
    background: var(--rust);
    color: var(--cream);
  }

  dialog.ticket-dialog .close:focus-visible {
    outline-color: var(--focus-on-dark);
  }

  dialog.ticket-dialog h2 {
    clear: right;
    margin-top: 0.2rem;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
  }

  dialog.ticket-dialog a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .card h3,
  .person h3,
  .venue h2,
  .film h3 {
    margin-top: 0;
  }

  .venue h2::after,
  .card h3::after,
  .person h3::after,
  .film h3::after {
    content: none;
  }

  .tag {
    display: inline-block;
    margin: 0 0.35rem 0.5rem 0;
    padding: 0.2rem 0.5rem;
    background: var(--paper);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px var(--rule);
  }

  .tag.jc {
    background: var(--jc);
    color: var(--jc-ink);
    box-shadow: none;
  }

  .tag.hob {
    background: var(--hob);
    color: var(--hob-ink);
    box-shadow: none;
  }

  .roster {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    column-gap: 2rem;
    row-gap: 0;
  }

  .roster li {
    padding: 0.72rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .name {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 560;
    letter-spacing: -0.02em;
  }

  button.person-open {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-align: start;
    white-space: normal;
    max-width: 100%;
    cursor: pointer;
  }

  .person h3 button.person-open {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
  }

  button.name.person-open {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 560;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  .from {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
  }

  .person h3 {
    font-size: clamp(1.65rem, 2.2vw, 2.05rem);
  }

  .person .bill-photo {
    display: block;
    width: 100%;
    margin: 0 0 0.85rem;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    background: var(--header);
  }

  .person:has([data-person="sarah-hartshorne"]) .bill-photo {
    aspect-ratio: 1 / 1;
  }

  .day-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
  }

  .day-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding-inline: 0.95rem;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 0 0 1.5px var(--ink);
  }

  .day-nav a:hover {
    background: var(--ink);
    color: var(--cream);
  }

  .day {
    gap: 0.75rem;
  }

  .slot {
    display: grid;
    gap: 0.35rem 1.25rem;
    padding: 0.95rem 1rem 1.05rem 2.7rem;
    background-color: var(--paper-2);
    background-image: url("images/sprocket.png");
    background-repeat: repeat-y;
    background-position: 0.4rem 0.35rem;
    background-size: 1.65rem auto;
    border: 1px solid var(--ink);
    box-shadow: 0 8px 18px rgb(28 20 15 / 0.04);
  }

  .pay-jump {
    margin: 0.45rem 0 0.15rem;
  }

  .day li:last-child .slot {
    border-bottom: 1px solid var(--rule);
  }

  .when {
    margin: 0;
    color: var(--rust-hot);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 560;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
  }

  .meta,
  .price {
    margin: 0 0 0.35rem;
    color: var(--muted);
  }

  .price {
    color: var(--ink);
    font-weight: 700;
  }

  .bill {
    margin: 0 0 0.45rem;
  }

  .pass-hero {
    display: grid;
    gap: 0.9rem;
    margin-top: 0.3rem;
    padding: 0.85rem;
    background: var(--ink);
    color: var(--cream);
  }

  .pass-hero img {
    display: block;
    width: 100%;
  }

  .ticket-caption {
    margin: 0;
    color: var(--gold);
    font-weight: 700;
  }

  .pass-hero .lede,
  .pass-hero p {
    color: var(--cream);
  }

  .pass-hero a:not(.button) {
    color: var(--gold);
  }

  .table-scroll {
    overflow-x: auto;
    max-width: 100%;
    margin-top: 0.4rem;
  }

  table {
    width: 100%;
    min-width: 40rem;
    border-collapse: collapse;
    background: var(--paper-2);
    font-size: 0.98rem;
  }

  caption {
    margin-bottom: 0.65rem;
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 560;
    letter-spacing: -0.03em;
    text-align: start;
    text-wrap: balance;
  }

  th,
  td {
    padding: 0.72rem 0.75rem;
    border-bottom: 1px solid var(--rule);
    text-align: start;
    vertical-align: top;
  }

  thead th {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  tbody tr:hover {
    background: color-mix(in srgb, var(--gold) 14%, var(--paper-2));
  }

  .prose ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0;
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
  }

  .prose ul li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--rule);
  }

  address {
    font-style: normal;
  }

  .site-footer {
    background: var(--stage);
    color: var(--stage-muted);
    border-top: 3px solid var(--gold);
  }

  .site-footer .wrap {
    width: 100%;
    padding: 1.15rem var(--pad) 2.4rem;
    color: var(--stage-muted);
  }

  .site-footer a {
    color: var(--stage-ink);
    font-weight: 700;
  }

  .footer-also {
    margin-top: 0.35rem;
  }

  .footer-also a {
    color: var(--stage-ink);
  }

  @media (min-width: 52rem) {
    .hero {
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
      align-items: center;
      padding: 2rem var(--pad) 2.25rem;
      gap: 2rem;
    }

    .slot {
      grid-template-columns: 8.75rem minmax(0, 1fr);
      align-items: start;
    }

    .slot:not(:has(.when)) {
      grid-template-columns: minmax(0, 1fr);
    }

    .bar {
      flex-wrap: nowrap;
    }

    .pass-hero {
      padding: 1rem;
    }
  }

  @media (max-width: 51.99rem) {
    .site-nav {
      flex: 1 1 100%;
    }

    .hero h1 {
      max-width: none;
    }

    .hero .ticket-hero {
      width: calc(100% + (2 * var(--pad)));
      max-width: none;
      margin-inline: calc(var(--pad) * -1);
    }

    .stats li + li {
      box-shadow: none;
      padding-left: 0;
    }
  }

  @media (max-width: 22.5rem) {
    html {
      scroll-padding-top: 15rem;
    }
  }

  @media (max-width: 40rem) {
    .brand {
      font-size: 1.2rem;
    }

    .site-nav a {
      padding-inline: 0.62rem;
      font-size: 0.92rem;
    }
  }

  @media (pointer: coarse) {
    .site-nav a,
    .also-nav a,
    .footer-also a,
    .button,
    .day-nav a,
    .details,
    .close,
    .bill-prev,
    .bill-next,
    dialog.ticket-dialog a {
      min-height: 2.9rem;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  }

  .headliners {
    margin-inline: calc(var(--pad) * -1);
    padding: 1.7rem var(--pad) 1.9rem;
    background:
      radial-gradient(circle at 8% 0%, rgb(240 180 41 / 0.18), transparent 26rem),
      var(--header);
    color: var(--cream);
    border-bottom: 0;
  }

  .headliners .kicker,
  .headliners .cast-role,
  .headliners .pick,
  .cast legend {
    color: var(--gold);
  }

  .headliners h2 {
    color: var(--cream);
    font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  }

  .headliners h2::after {
    width: 4.8rem;
    background: var(--gold);
  }

  .headliners .lede,
  .headliners .cast-credit,
  .headliners .aside-note {
    color: #d9cbb8;
  }

  .headliners a:not(.button) {
    color: var(--gold);
    text-decoration-color: color-mix(in srgb, var(--gold) 50%, transparent);
  }

  .headliners :focus-visible {
    outline-color: var(--focus-on-dark);
  }

  .headliners button.button {
    border: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .playbill {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 0.35rem;
  }

  .bill-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.35rem;
  }

  .bill-line .kicker {
    margin: 0;
  }

  .bill-step {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .bill-prev,
  .bill-next {
    min-height: 2.75rem;
    padding: 0.45rem 0.95rem;
    border: 0;
    background: transparent;
    color: var(--cream);
    font: inherit;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: inset 0 0 0 1.5px var(--gold);
    cursor: pointer;
  }

  .bill-prev:disabled,
  .bill-next:disabled {
    opacity: 0.45;
    cursor: default;
  }

  @media (max-width: 63.99rem) {
    .bill-step {
      flex-basis: 100%;
    }
  }

  .playbill-act {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .playbill-act p {
    margin: 0;
  }

  .playbill-act .button {
    width: min(100%, 22rem);
  }

  .cast {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-width: 0;
    margin: 1.25rem 0 0;
    padding: 0;
    border: 0;
  }

  .cast legend {
    margin: 0 0 0.15rem;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .cast-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.55rem;
    background: rgb(255 250 243 / 0.04);
    border: 1px solid rgb(240 180 41 / 0.28);
    translate: 0;
    cursor: pointer;
    transition: translate 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .cast-card:hover {
    translate: 0 -3px;
    border-color: var(--gold);
  }

  .cast-card:has(:checked) {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold);
  }

  .cast-card:focus-within {
    outline: 3px solid var(--focus-on-dark);
    outline-offset: 3px;
  }

  .cast-card input {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  button.cast-photo-open {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0;
    border: 0;
    background: none;
    line-height: 0;
    cursor: pointer;
  }

  .cast-photo {
    width: 7.5rem;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    object-position: center center;
    border: 0;
  }

  .cast-card:has(input[value="sarah"]) .cast-photo {
    aspect-ratio: 1 / 1;
  }

  .cast-copy {
    min-width: 0;
  }

  .cast-role {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .cast-name {
    display: block;
    font-family: var(--serif);
    font-size: 1.28rem;
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.08;
  }

  button.cast-name {
    position: relative;
    z-index: 1;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-align: start;
    white-space: normal;
    cursor: pointer;
  }

  .cast-credit {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.95rem;
  }

  .cast-credit cite {
    font-style: italic;
  }

  .marquee-portrait {
    position: relative;
    width: min(100%, 26rem);
    aspect-ratio: 4 / 5;
    height: auto;
    justify-self: start;
    background: #1c140f;
    border: 1px solid var(--gold);
    overflow: hidden;
  }

  .headliners:has(input[value="sarah"]:checked) .marquee-portrait {
    aspect-ratio: 1 / 1;
  }

  .marquee-portrait .portrait {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .marquee-open {
    position: absolute;
    z-index: 1;
    inset: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .marquee-portrait:has(.marquee-open:focus-visible) {
    outline: 3px solid var(--focus-on-dark);
    outline-offset: 3px;
  }

  .marquee-open:focus-visible {
    outline: none;
  }

  .sunday-stamp {
    position: absolute;
    z-index: 2;
    right: 0.55rem;
    bottom: 0.55rem;
    width: 3.35rem;
    height: auto;
    pointer-events: none;
  }

  .pick {
    min-height: 2.5em;
    font-family: var(--serif);
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  .pick span {
    display: none;
  }

  .headliners:has(input[value="sara"]:checked) .pick-sara,
  .headliners:has(input[value="sara"]:checked) .portrait-sara,
  .headliners:has(input[value="chris"]:checked) .pick-chris,
  .headliners:has(input[value="chris"]:checked) .portrait-chris,
  .headliners:has(input[value="jordan"]:checked) .pick-jordan,
  .headliners:has(input[value="jordan"]:checked) .portrait-jordan,
  .headliners:has(input[value="sarah"]:checked) .pick-sarah,
  .headliners:has(input[value="sarah"]:checked) .portrait-sarah,
  .headliners:has(input[value="john"]:checked) .pick-john,
  .headliners:has(input[value="john"]:checked) .portrait-john,
  .headliners:has(input[value="daniel"]:checked) .pick-daniel,
  .headliners:has(input[value="daniel"]:checked) .portrait-daniel {
    display: block;
  }

  .aside-note {
    font-size: 0.92rem;
  }

  @media (min-width: 40rem) {
    .cast {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 64rem) {
    .playbill {
      grid-template-columns: minmax(0, 26rem) minmax(16rem, 1fr);
      grid-template-rows: auto auto 1fr;
      column-gap: 1.75rem;
      row-gap: 0.85rem;
      align-items: start;
    }

    .marquee-portrait {
      grid-column: 1;
      grid-row: 1 / -1;
      align-self: start;
    }

    .playbill-lead {
      grid-column: 2;
      grid-row: 1;
    }

    .playbill-act {
      grid-column: 2;
      grid-row: 2;
    }

    .cast {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  dialog.ticket-dialog.person-card {
    align-content: start;
    width: min(100% - 2rem, 40rem);
    padding: 1.15rem 1.15rem 1.2rem;
    background: var(--paper-2);
    color: var(--ink);
    border: 1px solid var(--ink);
    -webkit-mask-image: none;
    mask-image: none;
    box-shadow: inset 0 0.4rem 0 var(--rust);
  }

  dialog.ticket-dialog.person-card[open] {
    display: grid;
  }

  dialog.person-card .close {
    float: none;
    justify-self: end;
    margin: 0 0 0.75rem;
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--ink);
  }

  dialog.person-card .close:hover {
    background: var(--ink);
    color: var(--cream);
  }

  dialog.person-card .person-sheet {
    display: grid;
    gap: 1rem;
    min-width: 0;
  }

  dialog.person-card .person-photo:not([hidden]) {
    display: block;
    width: min(100%, 16rem);
    max-width: 16rem;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    object-position: center center;
    justify-self: start;
    background: #1c140f;
  }

  dialog.person-card .person-photo[data-frame="square"]:not([hidden]) {
    aspect-ratio: 1 / 1;
  }

  dialog.person-card .person-copy {
    min-width: 0;
  }

  dialog.person-card h2 {
    clear: none;
    margin: 0 0 0.45rem;
    padding-bottom: 0;
    border-bottom: 0;
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
  }

  dialog.person-card .person-fact {
    margin: 0;
    color: var(--muted);
  }

  dialog.person-card .person-fact cite {
    font-style: italic;
  }

  dialog.person-card .person-ig {
    margin: 0.7rem 0 0;
  }

  dialog.person-card .person-kicker {
    margin: 0;
    color: var(--rust);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  dialog.person-card .person-show p {
    margin: 0;
  }

  dialog.person-card .person-shows {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.9rem;
  }

  dialog.person-card .person-show {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
  }

  dialog.person-card a:not(.button) {
    max-width: 100%;
    min-width: 0;
    color: var(--rust);
    overflow-wrap: anywhere;
  }

  dialog.person-card .person-show .button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  dialog.person-card .person-walk {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  dialog.person-card .person-walk button {
    min-height: 2.75rem;
    padding: 0.45rem 0.95rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    box-shadow: inset 0 0 0 1.5px var(--ink);
    cursor: pointer;
  }

  dialog.person-card .person-walk button:hover:not(:disabled) {
    background: var(--ink);
    color: var(--cream);
  }

  dialog.person-card .person-walk button:disabled {
    opacity: 0.4;
    cursor: default;
  }

  dialog.person-card .person-cast:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.85rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rule);
  }

  dialog.person-card .person-switch {
    min-height: 2.75rem;
    padding: 0.35rem 0;
    border: 0;
    background: none;
    color: var(--rust);
    font: inherit;
    font-weight: 700;
    text-align: start;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
  }

  dialog.person-card .person-switch:hover {
    color: var(--rust-hot);
  }

  dialog.person-card .close:focus-visible,
  dialog.person-card :focus-visible {
    outline-color: var(--focus);
  }

  @media (min-width: 40rem) {
    dialog.person-card.has-photo .person-sheet {
      grid-template-columns: min(100%, 16rem) minmax(0, 1fr);
      align-items: start;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .cast-card {
      transition: none;
    }

    .cast-card:hover {
      translate: 0;
    }

    dialog.person-card,
    dialog.person-card * {
      transition: none;
      animation: none;
    }
  }

  @media (forced-colors: active) {
    .button,
    .site-nav a,
    .also-nav a,
    .day-nav a,
    .menu-cards a,
    .card,
    .film,
    .person,
    .venue,
    .pass-hero,
    .date-plate,
    .slot,
    .details,
    .close,
    .cast-card,
    .marquee-portrait,
    .bill-prev,
    .bill-next,
    dialog.ticket-dialog {
      border: 1px solid ButtonText;
    }

    .hero::before,
    .site-header::after,
    .pass-hero::after {
      content: none;
    }
  }
}
