/* The public site. Colours, type and form controls come from style.css; this file is layout
   and the two pictures: the fan of tickets and the matched bank statement. */
/* minmax(0, 1fr): a grid track otherwise grows to its widest word and pushes the page sideways. */
body.site main { max-width: 1080px; padding: 0 20px 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; }
.site h1 { font-size: clamp(30px, 7.6vw, 56px); line-height: 1.06; letter-spacing: -0.035em; margin: 0; text-wrap: balance; hyphens: auto; }
.site h2 { font-size: clamp(21px, 4.8vw, 30px); line-height: 1.15; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.site h3 { font: 700 19px/1.25 var(--body); letter-spacing: 0; margin: 0; }
.site p { margin: 0; }
.site section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; justify-items: start; }
.site section > p, .site section > ul.ticks, .site section > dl { max-width: 62ch; color: var(--muted); font-size: 18px; }

.top { max-width: 1080px; margin: 0 auto; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand svg rect { fill: var(--accent); } .brand svg path { fill: var(--sun); }
.top nav { display: flex; justify-content: flex-start; gap: 4px 20px; flex-wrap: wrap; align-items: center; padding: 0; font-size: 15px; font-weight: 500; }
.top nav a { color: var(--muted); text-decoration: none; padding: 8px 0; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.top nav a.signin { color: var(--on-accent); background: var(--accent); font-weight: 700; border-radius: 99px; padding: 8px 16px; }

.intro { gap: 36px; padding-top: 24px; align-items: center; }
.intro > div:first-child { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.intro .lead { font-size: clamp(18px, 4.4vw, 21px); color: var(--muted); max-width: 52ch; }
.intro .card { width: 100%; max-width: 470px; margin: 0; border-width: 1.5px; box-shadow: 0 14px 40px color-mix(in srgb, var(--accent) 14%, transparent); }
.intro .card h2 { font-size: 17px; letter-spacing: -0.02em; }
.pill { font: 700 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #17123a; background: var(--sun); border-radius: 99px; padding: 7px 12px; }
@media (min-width: 900px) { .site .intro:not(.plain) { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.intro.plain { padding-top: 40px; }

.invite { display: grid; gap: 12px; }
.invite .trap, .setup .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.invite small a { color: inherit; }

/* ---- the fan of tickets ---- */
.fan { position: relative; width: 100%; max-width: 420px; height: 330px; justify-self: center; }
.tk { --r: 0deg; position: absolute; left: 0; width: 86%; height: 108px; display: grid; grid-template-columns: 84px 1fr auto; align-items: center;
  background: var(--accent); color: var(--on-accent); border-radius: 18px; transform: rotate(var(--r)); box-shadow: 0 16px 34px rgb(23 18 58 / 0.22);
  animation: deal 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.15) both; }
.tk:nth-child(1) { --r: -6deg; top: 8px; left: 0; }
.tk:nth-child(2) { --r: 4deg; top: 108px; left: 12%; animation-delay: 0.09s; }
.tk:nth-child(3) { --r: -2.5deg; top: 208px; left: 4%; animation-delay: 0.18s; }
@keyframes deal { from { opacity: 0; transform: translateY(46px) rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .tk { animation: none; } }
.tk-date { height: 100%; display: grid; align-content: center; justify-items: center; border-right: 2px dashed color-mix(in srgb, var(--on-accent) 55%, transparent); position: relative; }
/* notches at both ends of the tear line */
.tk-date::before, .tk-date::after { content: ""; position: absolute; right: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); }
.tk-date::before { top: -9px; } .tk-date::after { bottom: -9px; }
.tk-date b { font: 800 34px/0.95 var(--display); letter-spacing: -0.04em; }
.tk-date i { font: 700 12px/1.4 var(--body); font-style: normal; letter-spacing: 0.1em; }
.tk-main { padding: 0 6px 0 16px; display: grid; gap: 3px; min-width: 0; }
.tk-main b { font: 700 16px/1.15 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.tk-main i { font-style: normal; font-size: 14px; opacity: 0.88; }
.tk-price { align-self: start; margin: 12px 12px 0 0; font: 700 13px/1 var(--body); padding: 6px 9px; border-radius: 99px; background: color-mix(in srgb, var(--on-accent) 18%, transparent); white-space: nowrap; }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-self: stretch; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid .card { margin: 0; padding: 22px; align-content: start; justify-items: start; gap: 10px; }
.grid .card p { color: var(--muted); }
/* a torn-off stub carrying the thing itself: a time, a code, a language list */
.tag { font: 700 13px/1 var(--mono); letter-spacing: 0.02em; color: var(--on-accent); background: var(--accent); padding: 8px 12px 8px 18px; border-radius: 4px 10px 10px 4px;
  -webkit-mask: radial-gradient(circle 5px at 0 50%, #0000 96%, #000); mask: radial-gradient(circle 5px at 0 50%, #0000 96%, #000); }
.price { font: 700 clamp(20px, 5vw, 26px)/1.2 var(--display); letter-spacing: -0.03em; color: var(--ink) !important; }

/* ---- the matched statement ---- */
.match { justify-self: stretch; max-width: 820px; background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 6px 18px; }
.match-head, .match-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 8px 28px; align-items: center; padding: 14px 0; }
.match-head { font: 700 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.match-row { border-top: 1px solid var(--line); }
.match .line { font: 500 14px/1.5 var(--mono); color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; }
.match .line > :last-child { margin-left: auto; color: var(--ink); font-weight: 700; }
.match mark { background: none; color: var(--muted); }
.match mark.code { color: #17123a; background: var(--sun); border-radius: 6px; padding: 1px 7px; font-weight: 700; }
.match .guest { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: center; }
.match .guest b { grid-column: 1; }
.match .guest small { grid-column: 1; }
.match .guest::after { content: "✓"; grid-column: 2; grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #0b7f5f; font-weight: 800; }
@media (max-width: 640px) {
  .match-head { display: none; }
  .match-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .match-row:first-of-type { border-top: 0; }
}

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 62ch; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font: 700 17px/1 var(--display); color: var(--on-accent); background: var(--accent); }
.steps b { font-size: 18px; align-self: end; }
.steps span { color: var(--muted); grid-column: 2; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site section > ul.ticks { color: var(--ink); font-size: 17px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

.more { font-weight: 700; text-decoration: none; }
.band { justify-self: stretch; padding: 28px; border-radius: 24px; background: var(--card); border: 1.5px solid var(--line); }
/* the one loud block on each page */
.band.closing { justify-items: center; text-align: center; padding: 48px 22px; background: var(--ink); border-color: var(--ink); }
.band.closing h2 { color: var(--paper); }
.site .band.closing > p { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.band.closing .button { width: auto; padding-inline: 28px; background: var(--sun); border-color: var(--sun); color: #17123a; }

.faq { gap: 0 !important; justify-items: stretch !important; max-width: 780px; }
.faq details { border-bottom: 1.5px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.faq details p { margin-top: 8px; color: var(--muted); max-width: 62ch; }

.items { display: grid; gap: 4px; margin: 0; }
.items dt { font-weight: 700; margin-top: 18px; color: var(--ink); }
.items dt:first-child { margin-top: 0; }
.items dd { margin: 0; }

.foot { max-width: 1080px; margin: 0 auto; padding: 28px 20px 44px; border-top: 1.5px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: 14px; }
.foot p { margin: 0; }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--muted); }

/* ---- what a guest sees: a small real event page in a phone ---- */
@media (min-width: 860px) { .site .guests-see { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; } }
.guests-see > div:first-child { display: grid; gap: 20px; }
.phone { width: 100%; max-width: 300px; justify-self: center; display: grid; gap: 12px; padding: 14px; background: var(--card); border: 1.5px solid var(--line); border-radius: 34px; box-shadow: 0 20px 50px rgb(23 18 58 / 0.16); }
.phone .cover.poster { border-radius: 22px; padding: 14px 16px 26px; margin: 0; }
.phone .cover.poster .day { font-size: 76px; }
.phone .cover.poster .month { font-size: 16px; }
.phone .cover.poster::after { background: radial-gradient(circle at 12px 9px, var(--card) 8px, transparent 8.6px) 0 0 / 24px 18px repeat-x; }
.phone .ph-title { font: 700 18px/1.15 var(--display); letter-spacing: -0.02em; }
.phone .tt { border-color: var(--ink); }
.phone .stepper { gap: 12px; font-weight: 700; }
.phone .stepper span { width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid var(--line); display: grid; place-items: center; }
.phone .ph-btn { text-align: center; font-weight: 700; background: var(--accent); color: var(--on-accent); border-radius: 14px; padding: 12px; }

.start { display: grid; gap: 10px; justify-items: start; }
.start .button { width: auto; padding-inline: 30px; min-height: 58px; display: grid; place-items: center; font-size: 18px; }
.intro .help summary { cursor: pointer; font-weight: 700; }
.intro .help[open] summary { margin-bottom: 4px; }

/* ---- alignment on wide screens: every block ends at the same right edge ---- */
/* the statement beside its explanation, not under it */
@media (min-width: 960px) {
  .site section.split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 48px; grid-template-rows: auto 1fr; align-items: start; }
  .site section.split > h2, .site section.split > p { grid-column: 1; }
  .site section.split > .match { grid-column: 2; grid-row: 1 / span 2; max-width: none; }
}
/* the organiser's four steps as a row of stubs, each in a ticket colour */
@media (min-width: 900px) {
  .steps.wide { max-width: none; justify-self: stretch; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .steps.wide li { grid-template-columns: minmax(0, 1fr); row-gap: 10px; align-content: start; padding: 20px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; }
  .steps.wide li::before { grid-row: auto; }
  .steps.wide span { grid-column: 1; }
  .steps.wide li:nth-child(1)::before { background: #e0432a; }
  .steps.wide li:nth-child(2)::before { background: #2b63e6; }
  .steps.wide li:nth-child(3)::before { background: #ffc41f; color: #17123a; }
  .steps.wide li:nth-child(4)::before { background: #0b8563; }
}
/* a long list of small things reads better in columns */
.site section > ul.ticks.cols { max-width: none; justify-self: stretch; }
@media (min-width: 700px) { .ticks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
@media (min-width: 1000px) { .ticks.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- the pictures an event comes with ---- */
.shots { justify-self: stretch; display: flex; gap: 22px; align-items: flex-end; justify-content: space-between; overflow-x: auto; padding: 14px 14px 44px; margin-bottom: -30px; scroll-snap-type: x proximity; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
/* on a wide screen the four fit in the row exactly */
@media (min-width: 1100px) { .shots { padding-inline: 6px; } }
.shots figure { margin: 0; flex: 0 0 auto; display: grid; gap: 12px; justify-items: center; scroll-snap-align: center; }
.shots img { display: block; border-radius: 16px; box-shadow: 0 18px 40px rgb(23 18 58 / 0.2); background: var(--card); }
.shots figure:nth-child(odd) img { transform: rotate(-1.5deg); }
.shots figure:nth-child(even) img { transform: rotate(1.5deg); }
.shots figcaption { font: 700 14px/1.2 var(--body); color: var(--muted); }

/* ---------- What's on ---------- */
.whatson { display: grid; gap: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.filters label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); flex: 1 1 140px; }
.filters select { width: 100%; }
.filters .near { display: flex; gap: 10px; align-items: center; flex: 1 1 200px; }
.filters .near button { width: auto; min-height: 48px; padding-inline: 16px; white-space: nowrap; }
.filters .near a { font-size: 14px; white-space: nowrap; }
.views { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.views a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.views a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.views .clear { border: 0; color: var(--link); font-weight: 400; margin-left: auto; }
.whatson .day h2 { font-size: 17px; margin: 8px 0 10px; }
.whatson .none { padding: 24px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }
.evcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.evcard .tags i { font-style: normal; font-size: 12.5px; padding: 2px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.evcard .tags .price { color: var(--ink); font-weight: 600; }

.cal .calhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal .calhead h2 { margin: 0; font-size: 20px; text-transform: capitalize; }
.cal .calhead a { font-size: 26px; text-decoration: none; padding: 2px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.calgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.calgrid .wd { font-size: 12px; color: var(--muted); text-align: center; padding: 4px 0; }
.calgrid .cell { min-height: 92px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.calgrid .cell.past { opacity: 0.55; }
.calgrid .cell.today { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.calgrid .n { font-size: 13px; font-weight: 700; }
.calgrid .cell a { display: block; font-size: 12px; line-height: 1.25; padding: 2px 5px; border-radius: 6px; background: var(--accent); color: var(--on-accent); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calgrid .cell a.more { background: none; color: var(--link); padding: 0; }
@media (max-width: 600px) { .calgrid .cell { min-height: 64px; padding: 4px; } .calgrid .cell a { font-size: 0; height: 6px; padding: 0; } .calgrid .cell a.more { font-size: 11px; height: auto; } }

.whatson .map { height: min(70svh, 560px); border-radius: 18px; border: 1px solid var(--line); z-index: 0; }
.whatson .subscribe { font-size: 15px; }
.whatson .subscribe small { color: var(--muted); }
.whatson .cal { width: 100%; }
.calgrid .cell { position: relative; }
.calgrid .cell a.n { background: none; color: var(--ink); padding: 0; font-size: 13px; height: auto; }
/* On a phone the bars are too small to tap: the whole day opens that day's list. */
@media (max-width: 600px) { .calgrid .cell a.n { position: absolute; inset: 0; padding: 4px; font-size: 13px; z-index: 1; } }

/* ---------- an organiser's public page ---------- */
.host { display: grid; gap: 16px; }
.host-head { display: flex; gap: 16px; align-items: center; }
.host-head .avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 800 34px/1 var(--display); }
.host-head h1 { margin: 0; }
.host .stats b.since { font-size: 16px; text-transform: capitalize; }
.host .follow .row { display: flex; gap: 10px; flex-wrap: wrap; }
.host .follow .row input { flex: 1 1 220px; }
.host .follow .row button { width: auto; padding-inline: 22px; }
.host .none { padding: 20px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.host { justify-items: stretch; max-width: 820px; }
.host > * { width: 100%; }
.host-head h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.1; }
.host .stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 0; }
.host .eyebrow { margin: 0 0 6px; font: 700 13px/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.card.setup { margin-top: 24px; }
.card.setup textarea { width: 100%; }
.filters label.search { flex: 2 1 240px; }
.filters label.search input { width: 100%; }

/* ---------- the main page ---------- */
.hero-main { padding-top: 28px; gap: 18px !important; }
.hero-main h1 { font-size: clamp(38px, 9vw, 76px); line-height: 0.98; letter-spacing: -0.045em; max-width: 14ch; }
.hero-main .lead { font-size: clamp(18px, 4.2vw, 21px); color: var(--muted); max-width: 54ch; }
.hero-main .strip { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--sun); border-radius: 99px; padding: 7px 14px; }
.bigsearch { display: flex; gap: 8px; width: 100%; max-width: 640px; padding: 6px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 12%, transparent); }
.bigsearch input { flex: 1; min-width: 0; border: 0; background: none; font-size: 18px; padding: 10px 12px; }
.bigsearch input:focus { outline: none; }
.bigsearch:focus-within { border-color: var(--accent); }
.bigsearch button { width: auto; padding-inline: 24px; border-radius: 13px; }
.hero-main .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-main .chips a { padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.hero-main .chips a:hover { border-color: var(--accent); }
.sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; width: 100%; }
.none-main { padding: 24px; border: 1.5px dashed var(--line); border-radius: 18px; color: var(--muted); }

/* The ticket: a stub in the event's colour, a perforated edge with two punched notches, then the event. */
.tix { --notch: 9px; position: relative; display: grid; grid-template-columns: 86px minmax(0, 1fr); min-height: 132px; text-decoration: none; color: var(--ink);
  background: var(--card); border-radius: 16px; box-shadow: 0 1px 0 var(--line), 0 10px 24px rgba(23, 18, 58, 0.07); overflow: hidden;
  -webkit-mask: radial-gradient(circle var(--notch) at 86px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 86px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 86px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 86px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  transition: transform .15s ease, box-shadow .15s ease; }
.tix:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--line), 0 16px 32px rgba(23, 18, 58, 0.12); }
.tix:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tix .stub { display: grid; align-content: center; justify-items: center; gap: 2px; background: var(--accent); color: var(--on-accent); border-right: 2px dashed color-mix(in srgb, var(--on-accent) 45%, transparent); padding: 10px 4px; }
.tix .stub i { font: 700 12px/1 var(--body); font-style: normal; text-transform: uppercase; letter-spacing: 0.1em; }
.tix .stub b { font: 800 38px/1 var(--display); letter-spacing: -0.04em; }
.tix .stub small { font-size: 12px; opacity: 0.9; }
.tix .body { display: grid; align-content: start; gap: 4px; padding: 14px 16px; min-width: 0; }
.tix .body img { width: 100%; height: 96px; object-fit: cover; border-radius: 10px; margin-bottom: 4px; }
.tix .t { font: 700 17px/1.25 var(--display); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.tix small { color: var(--muted); font-size: 14px; }
.tix .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tix .tags i { font-style: normal; font-size: 12.5px; padding: 2px 8px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.tix .tags .price { color: var(--ink); font-weight: 700; }
.tixrow { display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 84%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; padding: 4px 2px 14px; }
.tixrow > * { scroll-snap-align: start; }
.tixgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; width: 100%; }
@media (prefers-reduced-motion: reduce) { .tix { transition: none; } .tix:hover { transform: none; } }

.typegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; width: 100%; }
.typegrid a { display: grid; gap: 2px; padding: 16px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); }
.typegrid a:hover { border-color: var(--accent); }
.typegrid b { font: 700 16px/1.25 var(--display); } .typegrid small { color: var(--muted); }
.hostrow { display: flex; gap: 18px; overflow-x: auto; width: 100%; padding-bottom: 8px; }
.hostrow a { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 110px; text-decoration: none; color: var(--ink); }
.hostrow img, .hostrow .av { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 800 28px/1 var(--display); }
.hostrow small { color: var(--muted); font-size: 13px; }
.two-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.band.closing .button.ghost-light { background: none; color: var(--paper); border-color: color-mix(in srgb, var(--paper) 40%, transparent); }
.tix .stub small { color: var(--on-accent); opacity: 0.9; font-size: 12px; }
/* Sold out / almost full / going fast: the one loud tag on a card. */
.tags i.hot { font-weight: 700; border-color: transparent; }
.tags i.hot.almostFull, .tags i.hot.goingFast { background: #ffc41f; color: #17123a; }
.tags i.hot.soldOut { background: #17123a; color: #fff; }

/* ♡ save: a round button on the card's top-right corner; filled once saved. */
.tixwrap { position: relative; min-width: 0; }
.tixwrap .save { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; min-height: 0; padding: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 19px; line-height: 1; background: rgba(255,255,255,0.92); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(23,18,58,0.12); }
.tixwrap .save[aria-pressed="true"] { background: #d62f7c; color: #fff; border-color: #d62f7c; }
.tixwrap .evcard { padding-right: 56px; }
.tixwrap .tix .t { padding-right: 40px; }

/* ---------- the guide ---------- */
.guide { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; width: 100%; max-width: 820px; }
.guide > li { counter-increment: step; position: relative; padding: 22px 22px 22px 84px; background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; display: grid; gap: 10px; justify-items: start; }
.guide > li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font: 800 22px/1 var(--display); background: #5b4bff; color: #fff; }
.guide h2 { font-size: clamp(19px, 4.4vw, 24px); }
.guide ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); font-size: 16.5px; line-height: 1.5; max-width: 66ch; }
@media (max-width: 560px) { .guide > li { padding: 74px 18px 20px; } .guide > li::before { left: 18px; top: 18px; } }

/* Find my tickets: the list behind the emailed link. */
.mytickets details.past { margin-top: 28px; }
.mytickets details.past summary { cursor: pointer; font-weight: 700; margin-bottom: 12px; }

/* =====================================================================================
   Redesign, 30 October 2026: "box office after dark". The paper ticket stays (Unbounded,
   Onest, raffle tints, perforations); the frame around it goes to stage night: a night top
   bar on every public page, night bands where the event happens, paper where people read.
   ===================================================================================== */
/* a section heading with its explanation beside it on wide screens */
.sec-head { display: grid; gap: 14px; width: 100%; }
.sec-head h2 { max-width: 22ch; }
.sec-head p { color: var(--muted); font-size: 18px; max-width: 56ch; }

/* inner pages: a big title over a perforated rule, like the top of a ticket */
.site .intro.plain { padding-top: clamp(40px, 7vw, 88px); padding-bottom: 28px; position: relative; border-bottom: 2px dashed var(--line); }
.site .intro.plain h1 { font-size: clamp(36px, 7vw, 76px); line-height: 0.98; letter-spacing: -0.05em; max-width: 16ch; }

/* ---------- the main page (What's on) ---------- */
body.site.home main { max-width: none; padding: 0 0 72px; gap: 72px; }
.home main > section { padding-inline: var(--gutter); }
.home main > section > * { max-width: 1160px; }
.site .hero-main { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 84px);
  display: grid; gap: 36px !important; align-items: center; }
.hero-main::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 60% at 85% 30%, rgb(214 47 124 / 0.38), transparent 70%), radial-gradient(45% 55% at 60% 110%, rgb(91 75 255 / 0.5), transparent 70%),
    repeating-conic-gradient(from 168deg at 78% -12%, rgb(255 255 255 / 0.05) 0 3deg, transparent 3deg 11deg); }
@media (min-width: 980px) { .site .hero-main.has-spot { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 56px; } }
.hero-words { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.site .hero-main h1 { font-size: clamp(42px, 7.6vw, 96px); line-height: 0.94; letter-spacing: -0.055em; max-width: 11ch; color: #fff; }
.site .hero-main .lead { color: rgb(255 255 255 / 0.78); }
.hero-main .strip { background: rgb(255 255 255 / 0.1); color: #fff; border: 1px solid var(--night-line); }
.hero-main .strip:hover { background: rgb(255 255 255 / 0.16); }
.hero-main .bigsearch { background: #fff; border-color: transparent; box-shadow: 0 20px 50px rgb(0 0 0 / 0.35); }
.hero-main .bigsearch input { color: #17123a; }
.hero-main .bigsearch button { background: var(--sun); border-color: var(--sun); color: #17123a; }
.hero-main .chips a { background: rgb(255 255 255 / 0.08); border-color: var(--night-line); color: #fff; }
.hero-main .chips a:hover { border-color: #fff; }
.hero-main :focus-visible { outline-color: var(--sun); }
/* the spotlight: the next big thing as a tall ticket with its cover */
.spot { --notch: 12px; display: grid; grid-template-rows: auto auto; text-decoration: none; color: var(--ink); background: var(--card); border-radius: 26px; overflow: hidden; width: 100%; max-width: 520px; justify-self: center;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.45); transform: rotate(1.5deg); transition: transform 0.25s ease;
}
.spot:hover { transform: rotate(0deg) translateY(-4px); }
.spot:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.spot-cover { position: relative; aspect-ratio: 16 / 10; background: var(--accent); color: var(--on-accent); overflow: hidden; display: block; }
.spot-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-day { position: absolute; right: -0.04em; bottom: -0.2em; font: 800 clamp(160px, 30vw, 260px)/1 var(--display); letter-spacing: -0.07em; opacity: 0.9; }
.spot-label { position: absolute; left: 16px; top: 16px; font: 700 12px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; background: var(--sun); color: #17123a; padding: 8px 12px; border-radius: 99px; }
.spot-body { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); border-top: 2px dashed var(--line); }
/* the punched notches at both ends of the tear line, in the colour of the night behind */
.spot-body::before, .spot-body::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--night); z-index: 1; }
.spot-body::before { left: -12px; } .spot-body::after { right: -12px; }
.spot-date { display: grid; align-content: center; justify-items: center; background: var(--accent); color: var(--on-accent); padding: 16px 6px; }
.spot-date i { font: 700 12px/1 var(--body); font-style: normal; text-transform: uppercase; letter-spacing: 0.1em; }
.spot-date b { font: 800 38px/1 var(--display); letter-spacing: -0.05em; }
.spot-what { display: grid; gap: 6px; padding: 18px 20px; min-width: 0; }
.spot-what > b { font: 800 clamp(20px, 2.4vw, 26px)/1.1 var(--display); letter-spacing: -0.04em; overflow-wrap: anywhere; }
.spot-what small { color: var(--muted); font-size: 15px; }
.spot .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.spot .tags i { font-style: normal; font-size: 13px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); }
.spot .tags .price { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .spot { transition: none; } .spot:hover { transform: rotate(1.5deg); } }

/* section headings on the main page: bigger, and the event cards with real covers */
.home main > section > h2, .home .sechead h2 { font-size: clamp(26px, 4.4vw, 44px); letter-spacing: -0.045em; }
.tix .body img { width: calc(100% + 32px); height: 128px; margin: -14px -16px 6px; border-radius: 0; }
.tix { min-height: 148px; }
.tix .t { font-size: 18px; }
.typegrid a { position: relative; overflow: hidden; min-height: 112px; align-content: end; background: var(--accent); color: var(--on-accent); border: 0; transition: transform 0.15s; }
.typegrid a:hover { transform: translateY(-2px); }
.typegrid a::after { content: ""; position: absolute; right: -18px; top: -18px; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); }
.typegrid b { font: 800 19px/1.15 var(--display); letter-spacing: -0.03em; }
.typegrid small { color: inherit !important; opacity: 0.85; }
@media (prefers-reduced-motion: reduce) { .typegrid a { transition: none; } .typegrid a:hover { transform: none; } }

/* the one loud block at the end: night with a little stage light */
.site .band.closing { position: relative; isolation: isolate; overflow: hidden; background: var(--night); border-color: var(--night); border-radius: 28px; padding: clamp(48px, 7vw, 88px) 22px; }
.site .band.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 130%, rgb(91 75 255 / 0.6), transparent 70%), radial-gradient(30% 50% at 0% 0%, rgb(255 196 31 / 0.16), transparent 70%); }
.site .band.closing h2 { color: #fff; font-size: clamp(28px, 5vw, 56px); line-height: 1; letter-spacing: -0.05em; max-width: 18ch; }
.site .band.closing > p { color: rgb(255 255 255 / 0.75); }
.site .band.closing .eyebrow { color: var(--sun); font: 700 12.5px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.home .org-band { margin-inline: var(--gutter); padding-inline: 22px !important; }
.site .band.closing :focus-visible { outline-color: var(--sun); }


.hero-main .chips { justify-content: flex-start; padding: 0; }

/* /compare: the fees table scrolls sideways on a phone instead of the page */
.table-scroll { min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5rem; }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
table.compare th, table.compare td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
table.compare thead th { font-weight: 700; }
table.compare tbody th { font-weight: 600; width: 22%; }
/* landing pages: the trail back to What's on */
.crumbs { margin: 0 0 .5rem; opacity: .8; }
.crumbs a { color: inherit; }
.crumbs { display: block; }
/* links to the town, weekend, category and suburb pages: wrapped pills */
.seo-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.seo-links a { padding: 7px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; max-width: 100%; }
.seo-links a:hover { border-color: var(--accent); }
.sources { min-width: 0; overflow-wrap: anywhere; }
