/* Forma — "night timetable" direction.
   Dark workshop-board surfaces, condensed heavy type, monospace data,
   one signal colour per craft. System fonts only. */

:root {
  --ink: #12110e;
  --panel: #1c1a16;
  --panel-2: #26231d;
  --line: #3a352c;
  --line-soft: #2c2922;
  --text: #f4efe4;
  --muted: #bdb4a3;
  --acid: #d4f53c;
  --acid-ink: #1a1f00;

  --c-ceramics: #8ec5ec;
  --c-painting: #ff7462;
  --c-floristry: #ffb03a;
  --c-baking: #e8d2a6;

  --f-display: "Avenir Next Condensed", "HelveticaNeue-CondensedBold", "Helvetica Neue Condensed", "Roboto Condensed", "Arial Narrow", "Liberation Sans Narrow", "Segoe UI", system-ui, sans-serif;
  --f-text: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 14px;
  --wrap: 1320px;
  --gutter: clamp(18px, 3.2vw, 48px);
  --toolbar-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--acid);
  color: var(--acid-ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */

.site-head {
  border-bottom: 1px solid var(--line-soft);
}
.site-head__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.wordmark__mark { width: 28px; height: 28px; }
.site-head__tag {
  margin: 0;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.head-count {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 13px;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.head-count:hover { border-color: var(--muted); }
.head-count__star { color: var(--muted); }
.head-count.has-items .head-count__star { color: var(--acid); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(32px, 3.5vw, 48px);
  align-items: start;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(212, 245, 60, .16);
}

.hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: condensed;
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: .95;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.hero__title-accent {
  color: var(--ink);
  background: var(--acid);
  padding: 0 .12em;
  margin-left: -.04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 4px;
}

.hero__lede {
  margin: 26px 0 0;
  max-width: 54ch;
  font-size: clamp(16px, 1.3vw, 18px);
  color: #dcd4c4;
}

/* craft tiles */
.crafts {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.craft {
  --cat: var(--acid);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 116px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  text-align: left;
  isolation: isolate;
  transition: transform .2s ease, border-color .2s ease;
}
.craft img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(.9);
  transition: transform .4s ease;
}
.craft::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18,17,14,0) 20%, rgba(18,17,14,.88) 88%);
}
.craft:hover { border-color: var(--cat); }
.craft:hover img { transform: scale(1.05); }
.craft__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.05;
}
.craft__count {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: #e6dfd0;
}
.craft__count::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cat);
}
.craft[aria-pressed="true"] {
  border-color: var(--cat);
  box-shadow: inset 0 0 0 2px var(--cat);
}
.craft[aria-pressed="true"] .craft__name::after {
  content: " ✓";
  color: var(--cat);
}

/* calendar */
.cal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(18px, 2vw, 28px);
}
.cal__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.cal__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.cal__title span { color: var(--muted); font-weight: 500; }
.cal__hint {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.cal__dow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding-bottom: 4px;
}
.cal__dow--we { color: var(--text); }
.cal__day {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: #8f8778;
  background: transparent;
  border: 1px solid transparent;
  position: relative;
}
.cal__day--empty { visibility: hidden; }
.cal__day--we:not(.cal__day--event) { background: rgba(255,255,255,.025); }
button.cal__day--event {
  --cat: var(--acid);
  background: var(--cat);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  border: 0;
  padding: 0;
  transition: transform .15s ease, opacity .2s ease, filter .2s ease;
}
button.cal__day--event:hover { transform: translateY(-2px); }
button.cal__day--event.is-dim {
  opacity: .28;
  filter: grayscale(.6);
}
.cal__day-star {
  position: absolute;
  top: 2px; right: 5px;
  font-size: 11px;
  line-height: 1;
}
.cal__legend {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}
.cal__legend li { display: inline-flex; align-items: center; gap: 7px; }
.cal__legend i {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--cat);
}

/* ---------- Toolbar ---------- */

.programme { outline: none; }

.toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 17, 14, .94);
  border-block: 1px solid var(--line-soft);
}
@supports (backdrop-filter: blur(8px)) {
  .toolbar { background: rgba(18, 17, 14, .82); backdrop-filter: blur(12px) saturate(1.2); }
}
.toolbar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) auto;
  gap: 14px;
  align-items: end;
  padding-block: 12px;
}
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.search { position: relative; }
.search__icon {
  position: absolute;
  left: 14px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search input,
.field select {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 16px;
  transition: border-color .2s ease, background-color .2s ease;
}
.search input { padding: 0 14px 0 42px; }
.search input::placeholder { color: #8a8272; }
.search input:hover, .field select:hover { border-color: #5a5345; }
.search input:focus-visible, .field select:focus-visible {
  outline-offset: 1px;
  border-color: var(--acid);
  border-radius: 10px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 40px 0 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23d4f53c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.field select option { background: var(--panel); color: var(--text); }

.saved-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 12px 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease;
}
.saved-toggle:hover { border-color: #5a5345; }
.saved-toggle__track {
  width: 36px; height: 20px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid #5a5345;
  position: relative;
  flex: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.saved-toggle__thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .2s ease, background-color .2s ease;
}
.saved-toggle__count {
  min-width: 26px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--panel-2);
  font-family: var(--f-mono);
  font-size: 13px;
  text-align: center;
}
.saved-toggle[aria-pressed="true"] {
  border-color: var(--acid);
  background: #22260f;
}
.saved-toggle[aria-pressed="true"] .saved-toggle__track {
  background: var(--acid);
  border-color: var(--acid);
}
.saved-toggle[aria-pressed="true"] .saved-toggle__thumb {
  transform: translateX(16px);
  background: var(--acid-ink);
}
.saved-toggle[aria-pressed="true"] .saved-toggle__count {
  background: var(--acid);
  color: var(--acid-ink);
}

/* ---------- Programme ---------- */

.programme__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 34px 0 22px;
}
.programme__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.015em;
}
.programme__status {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}

.load-error {
  padding: 18px;
  border: 1px solid var(--c-painting);
  border-radius: var(--radius);
}

.tickets {
  list-style: none;
  margin: 0;
  padding: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ticket {
  --cat: var(--acid);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ticket:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--cat) 60%, var(--line));
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.9);
}
.ticket.is-entering { animation: rise .35s ease backwards; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.ticket__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--panel-2);
}
.ticket__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ticket:hover .ticket__media img { transform: scale(1.04); }

.stamp {
  position: absolute;
  left: 14px; top: 14px;
  display: grid;
  justify-items: center;
  min-width: 62px;
  padding: 7px 8px 6px;
  border-radius: 10px;
  background: var(--cat);
  color: var(--ink);
  font-family: var(--f-mono);
  line-height: 1;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.7);
}
.stamp__dow, .stamp__mon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.stamp__day {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  margin: 2px 0 1px;
}

.flag {
  position: absolute;
  right: 12px; top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--acid-ink);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
}

.ticket__body {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ticket__cat {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket__cat b { color: var(--cat); font-weight: 700; }
.ticket__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.ticket__summary {
  margin: 0;
  color: #d7cfbf;
  font-size: 15px;
  line-height: 1.5;
}
.meta {
  margin: 6px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.meta div {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--panel-2);
}
.meta dt {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta dd {
  margin: 2px 0 0;
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* perforated stub */
.ticket__stub {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 16px;
  border-top: 2px dashed var(--line);
  margin-top: 4px;
}
.ticket__stub::before,
.ticket__stub::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line);
}
.ticket__stub::before { left: -11px; }
.ticket__stub::after { right: -11px; }
.price {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
}
.price small {
  display: block;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
  margin-top: 3px;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--open {
  margin-left: auto;
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
}
.btn--open:hover { background: var(--cat); border-color: var(--cat); }
.btn--open .arrow { transition: transform .2s ease; }
.btn--open:hover .arrow { transform: translateX(3px); }
/* the whole ticket also opens on pointer click (see app.js) */
.ticket { cursor: pointer; }
.btn--acid {
  background: var(--acid);
  color: var(--acid-ink);
  border-color: var(--acid);
}
.btn--acid:hover { background: #e3ff63; }
.btn--ghost { background: transparent; }
.btn--ghost:hover { border-color: var(--muted); }

.quick-save {
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 19px;
  line-height: 1;
  color: var(--muted);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.quick-save:hover { color: var(--text); border-color: var(--muted); }
.quick-save[aria-pressed="true"] {
  color: var(--acid-ink);
  background: var(--acid);
  border-color: var(--acid);
}

/* ---------- Empty + tally ---------- */

.empty {
  margin: 4px 0 40px;
  padding: clamp(28px, 5vw, 56px);
  border: 2px dashed var(--line);
  border-radius: calc(var(--radius) + 6px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.empty__art { width: 120px; height: 80px; margin-bottom: 6px; }
.empty__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.05;
}
.empty__text { margin: 0 0 8px; color: var(--muted); max-width: 44ch; }

.tally {
  margin: 8px 0 56px;
  padding: 22px 24px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--acid);
  color: var(--acid-ink);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px 28px;
  align-items: center;
}
.tally__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
}
.tally__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tally__list button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--acid-ink);
  background: transparent;
  color: var(--acid-ink);
  font-size: 14px;
  font-weight: 600;
}
.tally__list button:hover { background: rgba(26,31,0,.1); }
.tally__list button span { font-family: var(--f-mono); font-weight: 400; font-size: 12px; }
.tally :focus-visible { outline-color: var(--acid-ink); }
.tally__total {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 14px;
  text-align: right;
}
.tally__total strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
}

/* ---------- Footer ---------- */

.site-foot {
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
}
.site-foot__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px 40px;
  flex-wrap: wrap;
  padding-block: 28px 36px;
}
.site-foot p { margin: 0; max-width: 60ch; }
.site-foot strong { color: var(--text); }

/* ---------- Detail sheet ---------- */

.sheet {
  --cat: var(--acid);
  padding: 0;
  border: 0;
  margin: 0 0 0 auto;
  width: min(580px, 100vw);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--panel);
  color: var(--text);
  border-left: 1px solid var(--line);
  overflow: hidden;
}
.sheet[open] { animation: slide-in .32s cubic-bezier(.2,.8,.2,1) both; }
.sheet::backdrop {
  background: rgba(6, 6, 4, .68);
}
.sheet[open]::backdrop { animation: fade-in .3s ease both; }
@keyframes slide-in {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.sheet__inner {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet__bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 12px 22px;
  background: rgba(28, 26, 22, .94);
  border-bottom: 1px solid var(--line-soft);
}
.sheet__crumb {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.icon-btn {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  transition: border-color .2s ease, background-color .2s ease;
}
.icon-btn:hover { border-color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }

.sheet__media {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--panel-2);
}
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__media figcaption {
  position: absolute;
  right: 10px; bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(18,17,14,.78);
  font-family: var(--f-mono);
  font-size: 11px;
  color: #e0d9ca;
}
.sheet__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--cat);
}

.sheet__content { padding: 24px 24px 36px; }
.sheet__cat {
  margin: 0 0 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet__cat b { color: var(--cat); }
.sheet__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 50px);
  line-height: .98;
  letter-spacing: -0.02em;
}
.sheet__body {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: #e3dccd;
}

.facts {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.facts div {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.facts div:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 3px 0 0;
  font-weight: 600;
  font-size: 16px;
}
.facts dd.big {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.05;
}

.sheet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.btn--save {
  flex: 1 1 220px;
  min-height: 52px;
  font-size: 16px;
  background: var(--acid);
  color: var(--acid-ink);
  border-color: var(--acid);
}
.btn--save:hover { background: #e3ff63; }
.btn__star { font-size: 18px; }
.btn--save[aria-pressed="true"] {
  background: transparent;
  color: var(--acid);
  border: 2px solid var(--acid);
}
.btn--save[aria-pressed="true"]:hover { background: #22260f; }
.btn--ghost { flex: 0 1 auto; min-height: 52px; }
.sheet__note {
  min-height: 1.5em;
  margin: 10px 0 0;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}

.more {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 2px dashed var(--line);
}
.more__title {
  margin: 0 0 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.more__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}
.more__list button {
  --cat: var(--acid);
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px 14px 8px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  text-align: left;
  transition: border-color .2s ease, background-color .2s ease;
}
.more__list button:hover { border-color: var(--cat); background: var(--panel-2); }
.more__date {
  display: grid;
  place-items: center;
  height: 52px;
  border-radius: 8px;
  background: var(--cat);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
}
.more__date strong { font-family: var(--f-display); font-size: 20px; font-weight: 800; display: block; }
.more__name { font-weight: 700; font-size: 16px; }
.more__sub { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-weight: 400; }
.more__price { font-family: var(--f-mono); font-size: 14px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .cal { max-width: 620px; }
}

@media (max-width: 720px) {
  :root { --toolbar-h: 132px; --radius: 12px; }
  body { font-size: 16px; }
  .site-head__tag { display: none; }
  .site-head__inner { min-height: 58px; }
  .head-count { padding: 7px 12px; font-size: 12px; }

  .hero { padding-top: 26px; gap: 28px; }
  .kicker { font-size: 11.5px; margin-bottom: 16px; }
  .hero__title { font-size: clamp(38px, 11vw, 52px); }
  .hero__lede { margin-top: 18px; }
  .crafts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
  .craft { min-height: 104px; }
  .cal__title { font-size: 28px; }
  .cal__grid { gap: 4px; }
  .cal__day { border-radius: 8px; }

  .toolbar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-block: 10px;
  }
  .field--search { grid-column: 1 / -1; }
  .field--search .field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .field--filter { flex-direction: row; align-items: center; gap: 0; }
  .field--filter .field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .field--saved .field__label { display: none; }
  .search input, .field select, .saved-toggle { height: 44px; }
  .saved-toggle__text { font-size: 14px; }

  .programme__head { padding: 26px 0 16px; }
  .tickets { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ticket__body { padding: 16px 16px 14px; }
  .ticket__stub { padding: 12px 16px 14px; }
  .meta dd { font-size: 13px; }

  .tally { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .tally__total { text-align: left; }

  .sheet { width: 100vw; border-left: 0; }
  .sheet[open] { animation-name: rise-in; }
  .sheet__content { padding: 20px 18px 32px; }
  .sheet__body { font-size: 17px; }
  .btn--ghost { flex: 1 1 100%; }
}
@keyframes rise-in {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (max-width: 370px) {
  .saved-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ticket:hover, button.cal__day--event:hover { transform: none; }
  .ticket:hover .ticket__media img, .craft:hover img { transform: none; }
}
