:root {
  --ink: #241433;
  --paper: #fff6ea;
  --card: #fffdf8;
  --saffron: #ffb703;
  --pomegranate: #e23d6b;
  --mint: #148f6a;
  --cobalt: #2f5bff;
  --tangerine: #ff6b2c;
  --berry: #c026d3;
  --line: #241433;
  --muted: #5c4d66;
  --shadow: 6px 6px 0 var(--ink);
  --serif: "Literata", "Iowan Old Style", Georgia, serif;
  --sans: "Syne", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, #ffe1a8 0 8rem, transparent 9rem),
    radial-gradient(circle at 96% 0, #ffd0dc 0 7rem, transparent 8rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; letter-spacing: -0.03em; }
p { margin: 0 0 0.8rem; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.5rem 0.8rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--ink);
  color: white;
  z-index: 40;
}
.wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 246, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--saffron), var(--pomegranate), var(--mint), var(--cobalt)) 1;
}
.top-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0 0.7rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.06em;
}
.mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50% 50% 50% 12%;
  background: conic-gradient(from 20deg, var(--saffron), var(--pomegranate), var(--mint), var(--saffron));
  box-shadow: 3px 3px 0 var(--ink);
}
.seek { margin-left: auto; display: flex; gap: 0.4rem; }
.seek input, .note-form input, .note-form textarea {
  font: inherit;
  border: 2px solid var(--ink);
  background: white;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  min-width: 12rem;
}
.note-form textarea { border-radius: 1rem; width: 100%; }
.seek button, .note-form button, .pill, .menu-btn {
  font: inherit;
  font-weight: 700;
  border: 2px solid var(--ink);
  background: var(--saffron);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.menu-btn { display: none; }
.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0 0 0.85rem;
}
.nav-pill {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
}
.nav-pill.is-current { box-shadow: 3px 3px 0 var(--ink); }
.tone-saffron { --tone: var(--saffron); }
.tone-pomegranate { --tone: var(--pomegranate); }
.tone-mint { --tone: var(--mint); }
.tone-cobalt { --tone: var(--cobalt); }
.tone-tangerine { --tone: var(--tangerine); }
.tone-berry { --tone: var(--berry); }
.nav-pill.tone-saffron { background: #ffe08a; }
.nav-pill.tone-pomegranate { background: #ffd0dc; }
.nav-pill.tone-mint { background: #c9f3e2; }
.nav-pill.tone-cobalt { background: #d9e2ff; }
.nav-pill.tone-tangerine { background: #ffd7c4; }
.nav-pill.tone-berry { background: #f6d0fb; }

.stage {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.4rem auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: end;
}
.stage-copy h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0.2rem 0 0.8rem; }
.kicker {
  display: inline-block;
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.stage-card {
  background: var(--card);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.stage-photo { display: block; text-decoration: none; }
.stage-photo img, .story-still img, .ticket-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.stage-note { padding: 0.9rem 1rem 1.1rem; }
.stage-note h2 { margin: 0 0 0.4rem; font-size: 1.8rem; }
.stage-note a { text-decoration-thickness: 2px; }

.market { display: grid; gap: 1.5rem; margin-top: 2.2rem; }
.market-block {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1rem;
  align-items: start;
  background: color-mix(in srgb, var(--tone) 18%, white);
  border: 3px solid var(--ink);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.market-copy h2 { margin: 0.15rem 0 0.5rem; font-size: 2rem; }
.market-block .shelf { grid-template-columns: repeat(3, 1fr); }

.lane { margin: 2.4rem auto 3rem; }
.lane-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 0.3rem; }
.shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.ticket {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  background: var(--card);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--tone, var(--ink));
}
.ticket-photo { background: color-mix(in srgb, var(--tone) 30%, white); }
.photo-fallback {
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  background: color-mix(in srgb, var(--tone, var(--saffron)) 55%, white);
  font-family: var(--serif);
  font-size: 2.4rem;
}
.ticket-copy { padding: 0.75rem 0.85rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.ticket-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.ticket:hover { transform: translate(-2px, -2px); }

.banner { padding: 2.2rem 0 1.4rem; }
.banner-copy, .story-head .wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.banner h1, .story-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0.2rem 0 0.6rem; }
.banner { background: color-mix(in srgb, var(--tone) 22%, transparent); border-bottom: 3px solid var(--ink); }
.story-head {
  padding: 1.6rem 0 1.2rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 28%, transparent), transparent);
}
.story-body { margin-top: 1rem; }
.story-still {
  margin: 0 0 1.2rem;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--tone);
  background: white;
}
.story-still figcaption { padding: 0.5rem 0.8rem 0.7rem; color: var(--muted); font-size: 0.92rem; }
.sheet { width: min(760px, 100%); }
.prose { font-family: var(--serif); font-size: 1.08rem; }
.prose h2, .prose h3, .prose h4 { font-family: var(--sans); letter-spacing: -0.04em; margin: 1.6rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.28rem 0; }
.prose img { border: 3px solid var(--ink); margin: 1rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose th, .prose td { border: 2px solid var(--ink); padding: 0.4rem 0.5rem; text-align: left; }
.prose a { text-decoration-thickness: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 1rem 0 0; margin: 0; width: min(760px, 100%); }
.tags a, .crumb { text-decoration: none; font-weight: 700; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.92rem; }
.crumbs span { opacity: 0.5; }

.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.4rem; }
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  padding: 0.35rem 0.6rem;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 800;
  background: white;
}
.page-link.is-current { background: var(--ink); color: white; }

.foot {
  background: var(--ink);
  color: #fff6ea;
  padding: 2.2rem 0 1rem;
  margin-top: 1rem;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1.2rem; }
.foot h2 { font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { color: #fff6ea; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .logo { color: white; }
.legal { margin-top: 1.4rem; padding-top: 0.8rem; border-top: 1px solid rgba(255,246,234,0.25); font-size: 0.9rem; }
.contact-board {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.6rem 0 3rem;
}
.contact-card, .index-card {
  border: 3px solid var(--ink);
  background: var(--card);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.contact-card { background: #fff; }
.contact-card h2 { margin: 0.2rem 0 0.5rem; font-size: 2rem; }
.note-form { display: grid; gap: 0.85rem; margin-top: 0.6rem; }
.note-form label { display: grid; gap: 0.3rem; font-weight: 700; }
.note-form input, .note-form textarea {
  border-radius: 0.9rem;
  width: 100%;
  background: var(--paper);
}
.note-form button { justify-self: start; background: var(--pomegranate); color: white; }
.captcha { margin-top: 0.2rem; }
@media (max-width: 800px) {
  .contact-board { grid-template-columns: 1fr; }
}
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.notice { background: #c9f3e2; border: 2px solid var(--ink); padding: 0.6rem 0.8rem; }
.form-errors { color: #8d1238; }

@media (max-width: 900px) {
  .stage, .market-block, .foot-grid, .index-grid { grid-template-columns: 1fr; }
  .shelf, .market-block .shelf { grid-template-columns: 1fr 1fr; }
  .stage-card { transform: none; }
  .menu-btn { display: inline-block; }
  .seek { display: none; }
  .nav { display: none; }
  .nav.is-open { display: block; }
}
@media (max-width: 620px) {
  .shelf, .market-block .shelf { grid-template-columns: 1fr; }
}
