:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020403;
  color: #f5fff8;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body, #root { height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
button { font: inherit; }

.archive {
  position: relative;
  height: 100svh;
  width: 100vw;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 187, 99, .18), transparent 28rem),
    radial-gradient(circle at 80% 0%, rgba(18, 35, 77, .55), transparent 34rem),
    linear-gradient(135deg, #020403 0%, #07110d 42%, #020607 100%);
}
.archive::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}
.archive:active { cursor: grabbing; }

.wall {
  position: absolute;
  width: 3300px;
  height: 2250px;
  transform-origin: 0 0;
  will-change: transform;
}

.concert-status {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(28rem, calc(100% - 3rem));
  margin: 0;
  padding: 1rem;
  border-radius: 9px;
  background: #111;
  text-align: center;
  cursor: auto;
}

.ticket {
  position: absolute;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #111;
  box-shadow: 0 22px 36px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.18) inset;
  color: #fff;
  cursor: pointer;
  touch-action: none;
  -webkit-user-drag: none;
  transform-origin: center;
  transition: filter .18s ease, scale .18s ease, box-shadow .18s ease;
}
.ticket::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid transparent;
  border-radius: 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ticket img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  pointer-events: none;
}
.ticket span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 5px 7px;
  border-radius: 999px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: rgba(0,0,0,.68);
  color: #dcffe8;
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.ticket:hover, .ticket:focus-visible {
  scale: 1.08;
  filter: saturate(1.16) contrast(1.05);
  box-shadow: 0 30px 60px rgba(0,0,0,.58), 0 0 0 1px rgba(0, 255, 136, .36);
  outline: none;
}
.ticket:hover::after, .ticket:focus-visible::after { border-color: #00d26a; box-shadow: 0 0 34px rgba(0, 210, 106, .32); }
.ticket:hover span, .ticket:focus-visible span { opacity: 1; transform: translateY(0); }

.controls, .details {
  position: absolute;
  z-index: 10000;
  backdrop-filter: blur(18px);
  background: rgba(2, 8, 7, .72);
  border: 1px solid rgba(180, 255, 209, .15);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.controls {
  right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom));
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
}
.controls button, .close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #f4fff7;
  cursor: pointer;
}
.controls svg { width: 18px; }

.details {
  left: 14px; right: 14px; bottom: 14px;
  max-height: 55svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-radius: 24px;
}
.details img { width: 100%; max-height: 30svh; object-fit: contain; border-radius: 14px; background: #111; }
.details p { margin: 12px 0 4px; color: #00d26a; font-weight: 800; }
.details h2 { margin: 0 48px 14px 0; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.details dl { display: grid; gap: 10px; margin: 0; }
.details div { display: grid; gap: 2px; }
.details dt { color: #93a89b; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.details dd { margin: 0; color: #fff; }
.close { position: sticky; top: 0; margin-left: auto; z-index: 1; }

@media (min-width: 760px) {
  .controls { right: 24px; bottom: 24px; padding: 8px; }
  .controls button, .close { width: 42px; height: 42px; }
  .details { left: auto; right: 24px; bottom: 88px; width: 380px; max-height: calc(100svh - 124px); }
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  z-index: 19000;
  background: transparent;
}
.menu-is-open .details, .menu-is-open .controls { pointer-events: none; }

.about-page {
  position: absolute;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  padding: max(92px, calc(env(safe-area-inset-top) + 86px)) 16px max(22px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 210, 106, .17), transparent 21rem),
    radial-gradient(circle at 90% 0%, rgba(18, 35, 77, .58), transparent 30rem),
    rgba(2, 4, 3, .88);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.about-card {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.about-section {
  border: 1px solid rgba(180,255,209,.16);
  border-radius: 28px;
  background: rgba(2, 8, 7, .68);
  box-shadow: 0 24px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  padding: 20px;
}
.eyebrow {
  margin: 0 0 10px;
  color: #00d26a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-section h1, .about-section h2 {
  margin: 0 0 12px;
  line-height: .98;
  letter-spacing: -.045em;
}
.about-section h1 { max-width: 760px; font-size: clamp(36px, 12vw, 76px); }
.about-section h2 { font-size: clamp(30px, 9vw, 48px); }
.about-section p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #dff5e7;
  font-size: clamp(16px, 4vw, 19px);
  line-height: 1.5;
}
.about-author {
  display: grid;
  gap: 18px;
  align-items: center;
}
.author-photo {
  width: min(42vw, 150px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(220,255,232,.18);
  box-shadow: 0 18px 44px rgba(0,0,0,.42);
}

@media (min-width: 760px) {
  .about-page { padding: 118px 28px 34px; }
  .about-card { gap: 18px; }
  .about-section { padding: 32px; }
  .about-author { grid-template-columns: 150px 1fr; }
}

.legal-grid {
  display: grid;
  gap: 18px;
}
.legal-grid article {
  display: grid;
  gap: 8px;
}
.legal-grid h2 {
  margin: 0;
  color: #f5fff8;
  font-size: clamp(22px, 6vw, 30px);
  letter-spacing: -.03em;
}
.legal-grid p + p { margin-top: 2px; }
.copyright-line {
  color: #f5fff8 !important;
  font-weight: 800;
}

@media (min-width: 760px) {
  .legal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.project-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(180,255,209,.16);
  border-radius: 999px;
  background: rgba(18, 35, 77, .62);
  color: #f5fff8;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.about-setology {
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(61, 212, 104, .22), transparent 42%),
    rgba(2, 8, 7, .68);
}
.about-setology .eyebrow { margin-top: 18px; }
.about-setology h2 { margin-bottom: 6px; }
.setology-icon {
  width: min(36vw, 132px);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(61, 212, 104, .38));
}
.setology-noun {
  margin-left: 8px;
  color: #93a79a;
  font-size: .45em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}
.about-section p.setology-phonetic {
  margin-bottom: 16px;
  color: #3dd468;
  font-weight: 700;
}
.about-section p.setology-definition {
  margin-bottom: 14px;
  color: #f2fff6;
  font-size: clamp(18px, 4.6vw, 22px);
}
.about-setology .project-links { justify-content: center; margin-top: 20px; }
.project-links a.setology-cta {
  border-color: rgba(61, 212, 104, .5);
  background: rgba(61, 212, 104, .14);
  font-weight: 800;
}
.project-links a:hover, .project-links a:focus-visible {
  outline: none;
  border-color: rgba(0, 210, 106, .46);
  background: rgba(18, 35, 77, .86);
  box-shadow: 0 0 0 3px rgba(0, 210, 106, .14), inset 0 1px 0 rgba(255,255,255,.12);
}

.details-more, .back-link, .external-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 210, 106, .34);
  border-radius: 999px;
  background: rgba(18, 35, 77, .68);
  color: #f5fff8;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.details-more { margin-top: 14px; width: 100%; }
.details-more:hover, .details-more:focus-visible,
.back-link:hover, .back-link:focus-visible,
.external-links a:hover, .external-links a:focus-visible {
  outline: none;
  border-color: rgba(0, 210, 106, .7);
  box-shadow: 0 0 0 3px rgba(0, 210, 106, .16), inset 0 1px 0 rgba(255,255,255,.12);
}

.missing-image {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(180,255,209,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  color: #93a89b;
  font-weight: 800;
}

.concert-page {
  position: absolute;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  padding: max(82px, calc(env(safe-area-inset-top) + 76px)) 14px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 210, 106, .16), transparent 22rem),
    radial-gradient(circle at 84% 0%, rgba(18, 35, 77, .62), transparent 32rem),
    rgba(2, 4, 3, .92);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.concert-detail-card {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(180,255,209,.16);
  border-radius: 30px;
  background: rgba(2, 8, 7, .72);
  box-shadow: 0 24px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.concert-hero-image {
  width: 100%;
  max-height: 58svh;
  object-fit: contain;
  border-radius: 20px;
  background: #111;
}
.concert-detail-card h1 {
  margin: -8px 0 0;
  font-size: clamp(38px, 13vw, 82px);
  line-height: .92;
  letter-spacing: -.055em;
}
.concert-detail-card h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 7vw, 36px);
  line-height: 1;
  letter-spacing: -.035em;
}
.concert-detail-card section {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}
.detail-grid, .performance-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.detail-grid div, .performance-card div { display: grid; gap: 2px; }
.detail-grid dt, .performance-card dt {
  color: #93a89b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.detail-grid dd, .performance-card dd { margin: 0; color: #fff; }
.performance-card, .comment-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(180,255,209,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
}
.performance-card h3, .comment-card h3 { margin: 0; font-size: 21px; }
.comment-card p { margin: 0; color: #fff; line-height: 1.55; }
.empty-state { margin: 0; color: #93a89b; font-weight: 700; }
.external-links { display: flex; flex-wrap: wrap; gap: 8px; }

.setlist-widgets {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
}
.setlist-widget {
  display: block;
  max-width: 100%;
}
.setlist-widget img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}
.setlist-widget:focus-visible {
  outline: 3px solid #00d26a;
  outline-offset: 4px;
}
.live-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 10px;
}
.live-gallery img, .live-gallery video {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(180,255,209,.14);
  background: #111;
}
.live-gallery video { object-fit: contain; background: #000; }
.gallery-photo {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 18px;
  cursor: zoom-in;
}
.gallery-photo:focus-visible {
  outline: 3px solid #00d26a;
  outline-offset: 3px;
}
.gallery-photo.is-expanded {
  grid-column: 1 / -1;
  cursor: zoom-out;
}
.gallery-photo.is-expanded img {
  max-height: 85vh;
  object-fit: contain;
  background: #000;
}

@media (min-width: 760px) {
  .concert-page { padding: 118px 28px 34px; }
  .concert-detail-card { padding: 28px; gap: 22px; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .performance-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.search-results {
  display: grid;
  gap: 8px;
  max-height: min(36svh, 320px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-top: 2px;
}
.search-results p {
  margin: 0;
  color: #dff5e7;
  font-size: 13px;
  font-weight: 800;
}
.search-links {
  display: grid;
  gap: 6px;
}
.search-links a {
  padding: 10px 11px;
  border: 1px solid rgba(180,255,209,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: #f5fff8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}
.search-links a:hover, .search-links a:focus-visible {
  outline: none;
  border-color: rgba(0, 210, 106, .56);
  box-shadow: 0 0 0 3px rgba(0, 210, 106, .14);
}
.search-active .ticket.is-search-muted {
  filter: grayscale(.72) brightness(.42);
  opacity: .42;
}
.search-active .ticket.is-search-match {
  scale: 1.14;
  filter: saturate(1.24) contrast(1.08);
  box-shadow: 0 34px 70px rgba(0,0,0,.62), 0 0 0 2px rgba(0, 210, 106, .68), 0 0 42px rgba(0, 210, 106, .38);
}
.search-active .ticket.is-search-match::after {
  border-color: #00d26a;
  box-shadow: 0 0 38px rgba(0, 210, 106, .42);
}
.search-active .ticket.is-search-match span {
  opacity: 1;
  transform: translateY(0);
}

/* Site menu: collapses to a circular toggle in the top-left corner */
.site-menu {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: max(14px, env(safe-area-inset-left));
  z-index: 25000;
  width: 48px;
  max-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(220,255,232,.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.045)),
    rgba(3, 13, 20, .66);
  box-shadow: 0 18px 54px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.2);
  backdrop-filter: blur(14px) saturate(1.18);
  /* max-height overshoots the real height, so collapse it quickly at the start to keep pace with the width */
  transition: width .24s cubic-bezier(.2, .8, .2, 1), max-height .24s cubic-bezier(0, .9, .1, 1);
}
.menu-is-open .site-menu {
  width: min(calc(100vw - 28px), 340px);
  max-height: calc(100svh - 28px);
  transition: width .24s cubic-bezier(.2, .8, .2, 1), max-height .28s cubic-bezier(.2, .8, .2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu-toggle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle:focus-visible { outline: 2px solid #00d26a; outline-offset: -4px; }
.menu-is-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-is-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-menu-content {
  display: grid;
  gap: 14px;
  padding: 12px 14px 14px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .16s ease .06s, visibility 0s linear .22s;
}
.menu-is-open .site-menu-content {
  visibility: visible;
  opacity: 1;
  transition: opacity .16s ease .06s;
}

.menu-header h1 {
  min-height: 22px;
  margin: 0 0 6px 36px;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.menu-header p {
  margin: 0;
  color: #b9cfc2;
  font-size: 13px;
  line-height: 1.4;
}

.site-search {
  display: grid;
  gap: 6px;
}
.search-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.site-search label,
.ticket-order p {
  margin: 0;
  color: #00d26a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-search select {
  appearance: none;
  padding: 3px 22px 3px 10px;
  border: 1px solid rgba(180,255,209,.18);
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b4ffd1' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 8px center,
    rgba(255,255,255,.06);
  color: #dff5e7;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
.site-search select option { background: #0b1612; }
.search-row { position: relative; }
.site-search input {
  width: 100%;
  min-height: 42px;
  padding: 10px 40px 10px 14px;
  border: 1px solid rgba(180,255,209,.18);
  border-radius: 14px;
  background: rgba(2, 8, 7, .72);
  color: #f5fff8;
  font: inherit;
  font-size: 15px;
  outline: none;
}
.site-search input::-webkit-search-cancel-button { appearance: none; }
.site-search input::placeholder { color: #93a89b; }
.site-search select:focus-visible,
.site-search input:focus {
  border-color: rgba(0, 210, 106, .72);
  box-shadow: 0 0 0 3px rgba(0, 210, 106, .14);
}
.site-search button {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #f5fff8;
  font-size: 16px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.site-search button[hidden] { display: none; }

.ticket-order {
  display: grid;
  gap: 6px;
}
.ticket-order-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(180,255,209,.14);
  border-radius: 12px;
  background: rgba(0,0,0,.22);
}
.ticket-order button {
  min-height: 32px;
  padding: 6px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #dff5e7;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ticket-order button:hover, .ticket-order button:focus-visible {
  outline: none;
  background: rgba(255,255,255,.08);
}
.ticket-order button[aria-pressed="true"] {
  background: rgba(0,210,106,.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,210,106,.5);
}

.menu-links {
  display: flex;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(180,255,209,.12);
}
.menu-links a {
  padding: 6px 12px;
  border-radius: 999px;
  color: #dff5e7;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.menu-links a:hover, .menu-links a:focus-visible {
  outline: none;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.menu-links a[aria-current="page"] {
  background: rgba(18, 35, 77, .78);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(158, 187, 255, .18);
}

@media (min-width: 760px) {
  .site-menu { top: 24px; left: 24px; width: 54px; max-height: 54px; border-radius: 27px; }
  .menu-is-open .site-menu { width: 360px; max-height: calc(100svh - 48px); }
  .menu-toggle { width: 52px; height: 52px; }
  .site-menu-content { padding: 15px 16px 16px; }
  .menu-header h1 { margin-left: 40px; font-size: 21px; }
}

/* Embedded in the gigs tab on tonypreece.co.uk: let the host page's background show
   through and leave site navigation to the host. */
.is-embedded, .is-embedded body, .is-embedded .archive { background: transparent; }
.is-embedded .menu-links { display: none; }
