@font-face {
  font-family: Malamaya Serif;
  src: url("./assets/serif.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: Malamaya Serif;
  src: url("./assets/serif-italic.woff") format("woff");
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #eee6d9;
  --panel: #f8f2e8;
  --ink: #1a1713;
  --muted: #574e40;
  --brown: #665039;
  --dark-brown: #3a2d20;
  --line: #c9bba7;
  --serif: "Malamaya Serif", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
::selection { color: var(--panel); background: var(--brown); }
:focus-visible { outline: 2px solid var(--dark-brown); outline-offset: 5px; }

.shell { width: min(1184px, calc(100% - 6rem)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; top: .5rem; left: .5rem; transform: translateY(-200%); padding: .65rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }

.masthead { border-top: 4px solid var(--brown); }
.masthead-inner { min-height: 74px; display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .57rem; font: 400 1.16rem/1.12 var(--serif); text-decoration: none; }
.mark { color: var(--brown); font: 400 1.35rem/1 var(--sans); }
nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.5rem); }
nav a, .footer a { display: inline-flex; align-items: center; min-height: 44px; gap: .4rem; font-size: .84rem; font-weight: 650; text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: .27em; }

.hero { display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: clamp(2rem, 5vw, 5.15rem); padding-block: clamp(3rem, 5.4vw, 5.25rem); }
.eyebrow { font-size: .7rem; font-weight: 750; letter-spacing: .16em; line-height: 1.38; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: .65rem; color: var(--brown); }
.hero-kicker span { width: 24px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(3.95rem, 7.2vw, 7rem); line-height: .99; letter-spacing: -.085em; margin: .77rem 0 1.26rem -.056em; }
.hero h1 em { display: block; font-weight: 400; color: var(--brown); letter-spacing: -.09em; }
.hero-intro { max-width: 30rem; color: var(--muted); font-size: clamp(.98rem, 1.4vw, 1.15rem); line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 48px; padding: .74rem .96rem .74rem 1rem; font-size: .87rem; font-weight: 690; line-height: 1.2; text-decoration: none; }
.button span { font-size: 1.05rem; }
.button-primary { background: var(--brown); color: #fdf7ee; border: 1px solid var(--brown); }
.button-primary:hover { background: var(--dark-brown); border-color: var(--dark-brown); }

.hero-art { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1.39; background: #3a3024; }
.hero-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.hero-art::after { content: ""; position: absolute; inset: .65rem; pointer-events: none; border: 1px solid #f3e9d450; }
.date-stamp { position: absolute; right: -.62rem; bottom: 1.2rem; z-index: 1; padding: .71rem 1.02rem .72rem; min-width: 127px; color: var(--dark-brown); background: #f3eadb; transform: rotate(-5deg); border: 1px solid #ab9479; box-shadow: 0 .21rem .8rem #211b1450; text-align: center; }
.date-stamp time { display: grid; justify-items: center; }
.date-stamp span { font-size: .62rem; font-weight: 750; letter-spacing: .115em; line-height: 1.45; text-transform: uppercase; white-space: nowrap; }
.date-stamp strong { font: 400 3.4rem/.98 var(--serif); letter-spacing: -.1em; margin: .07rem .1em .22rem 0; }

.editions { display: grid; grid-template-columns: minmax(220px, .64fr) minmax(0, 1.55fr); gap: clamp(1.8rem, 5vw, 5.3rem); padding-block: clamp(1.75rem, 4vw, 3.75rem); border-top: 1px solid var(--line); }
.edition-sidebar h2, .performers h2 { font-size: clamp(2rem, 3.45vw, 3.16rem); line-height: 1.05; letter-spacing: -.06em; }
.edition-year { margin-top: .5rem; color: var(--muted); font-size: .88rem; }
.edition-picker { display: grid; gap: .58rem; margin-top: 1.45rem; }
.edition-option { display: flex; min-height: 76px; align-items: center; gap: .9rem; padding: .66rem .9rem; border: 1px solid var(--line); text-decoration: none; }
.edition-option:hover { background: #e9ddcc; border-color: #a48b6b; }
.edition-option[aria-selected="true"] { color: #fdf7ee; background: var(--brown); border-color: var(--brown); }
.edition-option-date { display: grid; flex: 0 0 2.45rem; justify-items: center; align-items: center; padding-right: .7rem; border-right: 1px solid #8e785c67; }
.edition-option[aria-selected="true"] .edition-option-date { border-color: #f3eadb6b; }
.edition-option-date span { font-size: .58rem; font-weight: 750; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; }
.edition-option-date strong { font: 400 1.56rem/1 var(--serif); letter-spacing: -.075em; }
.edition-option-copy { display: grid; gap: .05rem; }
.edition-option-copy strong { font-size: .92rem; font-weight: 720; line-height: 1.4; }
.edition-option-copy span { font-size: .77rem; color: var(--muted); }
.edition-option[aria-selected="true"] .edition-option-copy span { color: #f3e9d8; }

.edition-panels { min-width: 0; }
.edition-panel + .edition-panel { margin-top: 1rem; }
.edition-panel[hidden] + .edition-panel { margin-top: 0; }
.edition-card { border: 1px solid var(--line); background: var(--panel); padding: clamp(1.15rem, 3.5vw, 2.45rem); }
.edition-label { display: flex; align-items: center; gap: .53rem; color: var(--brown); }
.status-dot { flex: none; width: .48rem; height: .48rem; background: var(--brown); border-radius: 50%; }
.archive-dot { background: none; border: 1.5px solid var(--brown); }
.edition-card h3 { font-size: clamp(2rem, 4.45vw, 4rem); letter-spacing: -.072em; line-height: 1.08; margin-top: .5rem; }
.edition-date { margin-top: .36rem; color: var(--muted); line-height: 1.48; font-size: .95rem; }
.edition-date time { color: var(--ink); font-weight: 650; }
.edition-facts { display: grid; grid-template-columns: 1fr .9fr; gap: 1.3rem; margin-top: 1.45rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.edition-facts h4 { font-size: .67rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .4rem; }
.edition-facts p, .prices { color: var(--muted); font-size: .91rem; line-height: 1.65; }
.edition-facts strong { color: var(--ink); }
.prices div { display: flex; justify-content: space-between; gap: .55rem; }
.prices dd { color: var(--ink); font-weight: 650; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-size: .83rem; font-weight: 700; color: var(--dark-brown); text-decoration-thickness: 1px; text-underline-offset: .26em; }
.text-link:hover { color: var(--ink); }
.edition-actions { display: flex; gap: .54rem 1rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 1.08rem; }
.edition-actions p { color: var(--muted); font-size: .84rem; }
.edition-actions .button { flex: none; }

.performers { padding: clamp(1.4rem, 3vw, 2.65rem); margin: 0 0 clamp(2.2rem, 5vw, 4.5rem); background: #e6dac9; border-top: 2px solid var(--brown); display: grid; grid-template-columns: minmax(185px, .64fr) minmax(0, 1.55fr); gap: 1.1rem clamp(1rem, 4vw, 4rem); }
.performers-heading { display: flex; align-items: baseline; gap: .55rem; }
.performers-heading .mark { font-size: 1.1rem; }
.performer-copy h3 { font-size: 1.65rem; letter-spacing: -.045em; line-height: 1.2; }
.performer-copy p { color: var(--muted); font-size: .92rem; margin-top: .49rem; }
.footer { color: #eee6d9; background: var(--ink); }
.footer .mark { color: #d7c2a1; }
.footer-inner { display: flex; min-height: 76px; gap: .55rem 1rem; align-items: center; justify-content: space-between; padding-block: .6rem; }
.footer a:hover { color: #e4cda7; }
.footer :focus-visible { outline-color: #e4cda7; }

@media (max-width: 950px) {
  .shell { width: calc(100% - 4rem); }
  .hero h1 { font-size: clamp(3.45rem, 8.2vw, 5.5rem); }
  .edition-facts { gap: 1rem; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 2.5rem); }
  .masthead-inner { min-height: 62px; gap: .65rem; }
  .wordmark { gap: .34rem; font-size: 1rem; }
  .mark { font-size: 1.02rem; }
  nav { gap: .9rem; }
  nav a, .footer a { font-size: .76rem; }
  .hero { grid-template-columns: 1fr; gap: 1.85rem; padding-block: 2.35rem 2.25rem; }
  .hero h1 { font-size: clamp(3.8rem, 12vw, 5.65rem); margin-block: .6rem 1rem; }
  .hero-intro { max-width: 24rem; }
  .hero-art { aspect-ratio: 1.52; }
  .date-stamp { min-width: 101px; right: -.35rem; bottom: .82rem; padding: .5rem .72rem; }
  .date-stamp span { font-size: .53rem; }
  .date-stamp strong { font-size: 2.7rem; }
  .editions { grid-template-columns: 1fr; gap: 1.12rem; }
  .edition-year { margin-top: .28rem; font-size: .83rem; }
  .edition-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .9rem; }
  .edition-option { min-height: 58px; gap: .55rem; padding-inline: .6rem; }
  .edition-option-date { flex-basis: 1.9rem; padding-right: .48rem; }
  .edition-option-date strong { font-size: 1.28rem; }
  .performers { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 2rem); }
  .hero h1 { font-size: clamp(3.15rem, 13vw, 3.8rem); }
  .edition-facts { grid-template-columns: 1fr; gap: .67rem; }
  .edition-actions { align-items: start; flex-direction: column; }
  .edition-actions .button { width: 100%; }
}
@media (max-width: 350px) {
  nav { gap: .55rem; }
  nav a { font-size: .69rem; white-space: nowrap; }
  .masthead .wordmark { font-size: .81rem; white-space: nowrap; }
}

/* The supplied wordmark and artist posters. */
.brand-logo { display: block; width: clamp(7.2rem, 13vw, 10.4rem); height: auto; }
.footer .brand-logo { background: transparent; filter: brightness(0) invert(1); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .42rem .65rem; margin-top: 1.65rem; }
.hero-actions .hero-details { flex-basis: 100%; }
.register-button { min-height: 50px; justify-content: center; padding-inline: 1.4rem; color: #fff8ed; background: var(--ink); border-color: var(--ink); font-size: .92rem; font-weight: 790; letter-spacing: .055em; }
.register-button:hover { background: var(--dark-brown); border-color: var(--dark-brown); }
.button-outline { justify-content: center; border: 1px solid var(--brown); color: var(--dark-brown); background: transparent; }
.button-outline:hover { background: #e8dac7; }
button.button { cursor: pointer; font-family: inherit; }
button.button:disabled { cursor: wait; opacity: .72; }
.hero-art { aspect-ratio: 1.5; background: #493b2d; }
.hero-art img { object-position: center; }
.performer-lineup { grid-column: 1 / -1; }
.performer-lineup h3 { margin-bottom: 1.1rem; }
.poster-card:hover { border-color: var(--brown); }
.poster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.58rem, 1.6vw, 1.2rem); padding: 0; margin: 0; list-style: none; }
.poster-card { display: flex; flex-direction: column; height: 100%; min-width: 0; border: 1px solid var(--line); background: var(--panel); text-decoration: none; }
.poster-card img { display: block; width: 100%; height: auto; background: #302b27; }
.poster-caption { display: grid; align-content: start; gap: .18rem; padding: .65rem .72rem; }
.poster-caption strong { font-size: .95rem; line-height: 1.32; overflow-wrap: anywhere; }
.poster-caption span { color: var(--muted); font-size: .84rem; }
.poster-card:has(.featured-label) { border-color: var(--brown); }
.poster-caption .featured-label { justify-self: start; margin-top: .2rem; padding: .12rem .36rem; background: #dfcfb6; color: var(--dark-brown); font-size: .78rem; font-weight: 750; }
.poster-spotlight { grid-column: 1 / -1; }
.poster-spotlight .poster-card { display: grid; grid-template-columns: minmax(9rem, .72fr) 1fr; gap: clamp(1rem, 3vw, 2.6rem); align-items: center; padding: clamp(.9rem, 3vw, 1.85rem); }
.poster-spotlight img { max-width: 245px; justify-self: center; }
.poster-spotlight .poster-caption { padding: 0; gap: .4rem; }
.poster-spotlight .featured-label { margin-top: 0; }
.poster-spotlight [data-artist] { font: 400 clamp(2.1rem, 5.2vw, 4.2rem)/1.03 var(--serif); letter-spacing: -.065em; }
.poster-spotlight .spotlight-bio { max-width: 36ch; margin-top: .32rem; font-size: .95rem; }
.poster-spotlight .view-poster { margin-top: .35rem; color: var(--dark-brown); font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.performer-lineup .performer-guideline { margin-top: 1rem; }

.poster-dialog { width: min(100% - 1.5rem, 44rem); max-height: 94dvh; padding: 0; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.poster-dialog::backdrop { background: #1a1713bb; }
.poster-dialog-content { padding: clamp(.9rem, 3vw, 1.45rem); }
.poster-dialog-top { display: flex; justify-content: space-between; align-items: start; gap: .7rem; margin-bottom: 1rem; }
.poster-dialog h2 { font-size: clamp(1.5rem, 5vw, 2.6rem); letter-spacing: -.047em; line-height: 1.12; overflow-wrap: anywhere; }
.poster-dialog p { color: var(--muted); }
.poster-dialog img { display: block; width: 100%; height: auto; }
#poster-bio { margin-top: .9rem; }
body:has(.poster-dialog[open]) { overflow: hidden; }

.questionnaire-shell { width: min(100% - 2rem, 38rem); padding-block: clamp(2rem, 6vw, 4.5rem); }
.questionnaire { padding: clamp(1.2rem, 4vw, 2.6rem); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--brown); }
.questionnaire-kicker { color: var(--dark-brown); font-size: .83rem; }
.questionnaire h1 { margin: .4rem 0 .75rem; font-size: clamp(2.45rem, 7vw, 4.4rem); line-height: 1; letter-spacing: -.07em; }
.questionnaire-intro { color: var(--muted); }
.inquiry-form { display: grid; margin-top: 1.45rem; gap: .37rem; }
.inquiry-form label { margin-top: .62rem; font-size: .97rem; font-weight: 680; }
.inquiry-form label span { font-weight: 400; color: var(--muted); }
.inquiry-form input { min-width: 0; min-height: 48px; border: 1px solid #99876e; padding: .62rem .75rem; border-radius: 0; font: inherit; color: var(--ink); background: #fdf9f2; }
.inquiry-form input::placeholder { color: var(--muted); }
#artform-hint { color: var(--muted); font-size: .87rem; }
.inquiry-form .button { justify-self: start; margin-top: 1rem; font-size: .95rem; }
.inquiry-feedback { color: var(--dark-brown); margin-top: .65rem; }
.inquiry-success { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.inquiry-success h2 { margin-bottom: .3rem; }
.inquiry-success .button, .questionnaire > .button { margin-top: 1.2rem; }

@media (max-width: 900px) {
  .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hero-actions { margin-top: 1.23rem; }
}
@media (max-width: 540px) {
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster-caption { padding: .6rem .45rem; }
  .poster-spotlight .poster-card { grid-template-columns: minmax(0, 1fr); }
  .poster-spotlight img { width: min(100%, 235px); }
}
@media (max-width: 420px) {
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { justify-content: center; }
  .hero-actions .hero-details { justify-self: center; }
  .inquiry-form .button { justify-self: stretch; justify-content: center; }
}
