/* ==========================================================================
   FaroTix - public site styles
   Identity: a violet stage, a lavender-white page, indigo ink, marigold highlights.
   Signature: the perforated ticket edge (hero, footer, tickets, date stubs).
   ========================================================================== */

:root {
  --ink: #1a1340;
  --ink-soft: #3d3666;
  --muted: #5f5a7e;
  --faint: #8d88a8;
  --line: #e4e1f2;
  --line-strong: #cfcae6;
  --bg: #f5f4fb;
  --surface: #ffffff;

  --violet: #5b3df5;
  --violet-hover: #4a2ce0;
  --violet-deep: #2b1a95;
  --violet-tint: #ece8ff;
  --violet-wash: #f6f4ff;
  --marigold: #ffc22e;
  --marigold-deep: #e8a600;
  --coral: #c9253e;
  --coral-tint: #ffe9ec;
  --green: #0b7a53;
  --green-tint: #dcf5e9;
  --amber-tint: #fff1cc;
  --amber-ink: #7a4d00;
  --blue-tint: #e3edff;
  --blue-ink: #1d4ba3;

  --r-s: 10px;
  --r-m: 14px;
  --r-l: 22px;
  --shadow-float: 0 18px 40px -16px rgba(26, 19, 64, .35), 0 3px 8px rgba(26, 19, 64, .08);
  --shadow-soft: 0 1px 2px rgba(26, 19, 64, .06), 0 6px 18px -8px rgba(26, 19, 64, .16);
  --ring: 0 0 0 3px rgba(91, 61, 245, .35);

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.55 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--violet); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--violet-hover); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; letter-spacing: -.02em; }
h4 { font-size: 1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); transition: top .15s; }
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--marigold); color: var(--ink); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 760px; }
.container-form { max-width: 520px; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; align-items: center; }
.row-wrap { flex-wrap: wrap; }
.row-between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.hide-sm { }
.show-sm { display: none !important; }
[hidden] { display: none !important; }

.i { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--violet); --btn-fg: #fff; --btn-bd: var(--violet);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 650 .975rem/1 var(--font-body); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .08s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--violet-hover); --btn-bd: var(--violet-hover); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ink { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn-ink:hover { --btn-bg: #2a2166; --btn-bd: #2a2166; }
.btn-marigold { --btn-bg: var(--marigold); --btn-bd: var(--marigold); --btn-fg: var(--ink); }
.btn-marigold:hover { --btn-bg: #ffb300; --btn-bd: #ffb300; color: var(--ink); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); color: var(--ink); }
.btn-soft { --btn-bg: var(--violet-tint); --btn-fg: var(--violet-deep); --btn-bd: var(--violet-tint); }
.btn-soft:hover { --btn-bg: #ddd6ff; --btn-bd: #ddd6ff; color: var(--violet-deep); }
.btn-danger { --btn-bg: var(--coral); --btn-bd: var(--coral); }
.btn-danger:hover { --btn-bg: #a81c31; --btn-bd: #a81c31; }
.btn-danger-ghost { --btn-bg: transparent; --btn-fg: var(--coral); --btn-bd: #f1b9c1; }
.btn-danger-ghost:hover { --btn-bg: var(--coral-tint); --btn-bd: var(--coral); color: var(--coral); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: var(--violet-tint); --btn-bd: var(--violet-tint); color: var(--ink); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: #fff; color: #fff; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid transparent; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--violet-tint); color: var(--violet-deep); }
.link-btn { background: none; border: 0; padding: 0; color: var(--violet); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--violet-hover); }

/* ---------------------------------------------------------------- badges etc */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; line-height: 1.4; white-space: nowrap; background: #ecebf3; color: var(--ink-soft); }
.badge-good { background: var(--green-tint); color: var(--green); }
.badge-warn { background: var(--amber-tint); color: var(--amber-ink); }
.badge-bad { background: var(--coral-tint); color: var(--coral); }
.badge-info { background: var(--blue-tint); color: var(--blue-ink); }
.badge-brand { background: var(--violet-tint); color: var(--violet-deep); }
a.badge { text-decoration: none; }
a.badge:hover { text-decoration: underline; text-underline-offset: 3px; }
.badge-mute { background: #ecebf3; color: var(--ink-soft); }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-m); margin: 0 0 16px; font-weight: 500; border: 1px solid transparent; }
.flash .i { margin-top: 3px; flex: none; }
.flash > span { flex: 1 1 200px; min-width: 0; }
.flash > form { flex: none; }
.flash .link-btn { white-space: nowrap; }
@media (max-width: 520px) { .flash { flex-wrap: wrap; } .flash > form { margin-left: 28px !important; } }
.flash-success { background: var(--green-tint); color: #064d34; border-color: #b4e6cf; }
.flash-error { background: var(--coral-tint); color: #7d1424; border-color: #f4bcc5; }
.flash-info { background: var(--blue-tint); color: #123a82; border-color: #bcd2f5; }
.flash-warn { background: var(--amber-tint); color: var(--amber-ink); border-color: #f2d98a; }
.avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; }
.avatar-text { color: #fff; font-weight: 700; font-family: var(--font-display); letter-spacing: 0; }
.verified { color: var(--violet); display: inline-flex; vertical-align: -.2em; }

/* --------------------------------------------------------------------- forms */
.field { margin: 0 0 18px; }
.field > label, .label { display: block; font-weight: 650; font-size: .925rem; margin: 0 0 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.hint { display: block; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-s); border: 1.5px solid var(--line-strong);
  background: #fff; color: var(--ink); font: inherit; transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .select:hover, .textarea:hover { border-color: #b3acd6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: var(--ring); }
.select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f5a7e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.has-error .input, .has-error .select, .has-error .textarea, .input.has-error { border-color: var(--coral); }
.field-error { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; color: var(--coral); font-size: .875rem; font-weight: 550; }
.field-error .i { margin-top: 2px; }
/* file inputs look like the rest of the form */
input[type="file"].input { padding: 8px 10px; cursor: pointer; }
input[type="file"].input::file-selector-button { margin-right: 12px; border: 0; border-radius: 999px; background: var(--violet-tint); color: var(--violet-deep); font: 650 .875rem var(--font-body); padding: 9px 16px; cursor: pointer; }
input[type="file"].input::file-selector-button:hover { background: #ddd5ff; }
.input-affix { position: relative; }
.input-affix .affix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 650; pointer-events: none; }
.input-affix .input { padding-left: 30px; }
.input-affix.is-end .affix { left: auto; right: 14px; }
.input-affix.is-end .input { padding-left: 14px; padding-right: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 500; line-height: 1.4; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .12s, border-color .12s; }
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--violet); border-color: var(--violet); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check input[type="radio"]:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.check small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 550; }
.switch input { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .15s; cursor: pointer; flex: none; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked { background: var(--violet); }
.switch input:checked::after { transform: translateX(18px); }
.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: #ebe9f6; gap: 2px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: block; padding: 8px 18px; border-radius: 999px; font-weight: 650; font-size: .925rem; color: var(--ink-soft); }
.segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(26,19,64,.18); }
.segmented input:focus-visible + span { box-shadow: var(--ring); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { font-weight: 650; padding: 0; margin: 0 0 8px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* -------------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.045em; line-height: 1; flex: none; }
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; }
.logo b { font-weight: 800; color: var(--violet); }
.main-nav { display: flex; gap: 4px; margin-left: 4px; flex: none; }
.main-nav a { white-space: nowrap; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); text-decoration: none; }
.main-nav a:hover { background: var(--violet-wash); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--violet-deep); background: var(--violet-tint); }
.header-search { flex: 1 1 160px; min-width: 140px; max-width: 420px; margin-left: auto; position: relative; }
.header-search .input { min-height: 42px; padding: 8px 14px 8px 42px; border-radius: 999px; background: var(--bg); border-color: transparent; font-size: .95rem; }
.header-search .input:hover { border-color: var(--line-strong); }
.header-search .input:focus { background: #fff; }
.header-search .i { position: absolute; left: 14px; top: 50%; margin-top: -9px; color: var(--muted); pointer-events: none; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 650; font-size: .925rem; }
.menu-btn:hover { border-color: var(--ink); }
.menu-btn .name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-float); padding: 8px; z-index: 80; }
.menu-panel a, .menu-panel button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 550; text-decoration: none; cursor: pointer; text-align: left; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--violet-wash); color: var(--ink); }
.menu-panel hr { margin: 6px 4px; }
.menu-panel.left { left: 0; right: auto; }
.menu-panel .who { padding: 8px 12px 10px; }
.menu-panel .who b { display: block; }
.menu-panel .who span { color: var(--muted); font-size: .85rem; word-break: break-all; }
.nav-toggle { display: none; }
.support-banner { background: var(--marigold); color: var(--ink); text-align: center; padding: 8px var(--gutter); font-weight: 650; font-size: .925rem; }
.support-banner a { color: var(--ink); }

/* ---------------------------------------------------------------------- hero */
.hero { position: relative; background: var(--violet); color: #fff; padding: 56px 0 84px; overflow: hidden; --notch-bg: var(--violet); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(115deg, rgba(255,255,255,.045) 0 2px, transparent 2px 22px); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: radial-gradient(circle at 14px 14px, var(--bg) 0 9.5px, transparent 10px) 0 0 / 28px 14px repeat-x; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 36px; align-items: center; }
.hero-title { font-size: clamp(2.5rem, 6.2vw, 4.9rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; color: #fff; margin: 0 0 18px; }
.hero-title .city-pick { display: inline-block; vertical-align: baseline; position: relative; }
.city-pick select { appearance: none; -webkit-appearance: none; font: inherit; letter-spacing: inherit; color: var(--ink); background: var(--marigold); border: 0; border-radius: .26em; padding: 0 .85em 0 .28em; line-height: 1.08; cursor: pointer; margin: 0 .04em; }
.city-pick select:focus-visible { box-shadow: 0 0 0 4px rgba(255,255,255,.55); }
.city-pick::after { content: ""; position: absolute; right: .3em; top: 50%; width: .3em; height: .3em; border-right: .1em solid var(--ink); border-bottom: .1em solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.hero-sub { font-size: 1.15rem; max-width: 34em; color: rgba(255,255,255,.88); margin-bottom: 28px; }
.hero-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 16px 36px -14px rgba(14, 6, 70, .6); max-width: 560px; }
.hero-search .input { border: 0; min-height: 50px; padding-left: 48px; background: transparent; font-size: 1.02rem; border-radius: 999px; }
.hero-search .input:focus { box-shadow: none; }
.hero-search .sfield { position: relative; }
.hero-search .sfield .i { position: absolute; left: 18px; top: 50%; margin-top: -10px; color: var(--violet); }
.hero-search:focus-within { box-shadow: 0 0 0 4px rgba(255, 194, 46, .85), 0 16px 36px -14px rgba(14, 6, 70, .6); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .x { margin-left: 2px; opacity: .7; }
.hero .chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.hero .chip:hover { background: #fff; color: var(--violet-deep); border-color: #fff; }

/* stub stack (hero) */
.stubs { position: relative; height: 430px; --notch-bg: var(--violet); }
.stub { position: absolute; width: min(360px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 82px; background: #fff; color: var(--ink); border-radius: 18px; text-decoration: none; filter: drop-shadow(0 16px 24px rgba(14, 6, 70, .38)); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.stub:hover { color: var(--ink); }
.stub::before, .stub::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--notch-bg); left: calc(100% - 82px - 10px); z-index: 2; }
.stub::before { top: -10px; }
.stub::after { bottom: -10px; }
.stub-main { display: flex; gap: 12px; align-items: center; padding: 14px 8px 14px 14px; min-width: 0; }
.stub-img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; flex: none; position: relative; }
.stub-img img { width: 100%; height: 100%; object-fit: cover; }
.stub-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.stub-title { font: 700 1rem/1.2 var(--font-display); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stub-meta { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stub-price { font-weight: 700; font-size: .88rem; color: var(--violet-deep); }
.stub-date { border-left: 2px dashed var(--line-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; padding: 10px 6px; text-align: center; }
.stub-date span { font-size: .78rem; font-weight: 650; color: var(--muted); }
.stub-date b { font: 800 2rem/1 var(--font-display); letter-spacing: -.04em; margin: 4px 0 3px; }
.stub-1 { top: 0; right: 36px; transform: rotate(-4.5deg); z-index: 3; }
.stub-2 { top: 138px; right: -4px; transform: rotate(3.5deg); z-index: 2; }
.stub-3 { top: 276px; right: 50px; transform: rotate(-2deg); z-index: 1; }
.stubs:hover .stub { transform: rotate(0) translateY(0); }
.stub:hover { transform: translateY(-8px) rotate(0) !important; z-index: 5; }
.stubs.is-empty { display: grid; place-items: center; }
.stub-empty { transform: rotate(-3deg); position: relative; right: auto; top: auto; width: min(340px, 100%); }
.hero-enter .stub { animation: stub-in .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-enter .stub-2 { animation-delay: .12s; }
.hero-enter .stub-3 { animation-delay: .24s; }
@keyframes stub-in { from { opacity: 0; translate: 60px 0; } to { opacity: 1; translate: 0 0; } }

/* a banner that failed to load: the container shows the same colour field as an event without a banner */
.ecard-img.is-broken, .ev-banner-img.is-broken, .stub-img.is-broken, .summary-thumb.is-broken, .t-thumb.is-broken { background: var(--c1, var(--violet-tint)); position: relative; isolation: isolate; }
.ecard-img.is-broken::before, .ev-banner-img.is-broken::before, .stub-img.is-broken::before, .summary-thumb.is-broken::before, .t-thumb.is-broken::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28; background: repeating-linear-gradient(135deg, transparent 0 14px, var(--c2, #fff) 14px 28px); }
/* poster placeholder for events without a banner */
.poster { position: relative; overflow: hidden; background: var(--c1, var(--violet)); width: 100%; height: 100%; isolation: isolate; }
.poster::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, var(--c2, #fff) 14px 28px); opacity: .28; z-index: -1; }
.poster .poster-letter { position: absolute; right: -4%; bottom: -24%; font: 800 clamp(5rem, 14vw, 9rem)/1 var(--font-display); letter-spacing: -.06em; color: rgba(255,255,255,.28); user-select: none; pointer-events: none; }
.poster-sm .poster-letter { font-size: 3.4rem; right: -4px; bottom: -14px; }
.poster .poster-ico { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; line-height: 0; color: var(--ico, #fff); filter: drop-shadow(0 3px 0 rgba(0,0,0,.14)); }
.poster .poster-ico .i { width: clamp(48px, 7vw, 92px); height: clamp(48px, 7vw, 92px); stroke-width: 1.4; }
.poster-sm .poster-ico .i { width: 54px; height: 54px; stroke-width: 1.6; }
.stub-img .poster-ico .i, .summary-thumb .poster-ico .i { width: 30px; height: 30px; stroke-width: 1.8; }

/* ------------------------------------------------------------------ sections */
.section { padding: 48px 0 8px; }
.section-tight { padding-top: 28px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.sec-head h2 { margin: 0; }
.sec-head a { font-weight: 650; white-space: nowrap; }
.cats { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent); display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: thin; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.cat { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 650; text-decoration: none; color: var(--ink); white-space: nowrap; flex: none; }
.cat:hover { border-color: var(--violet); color: var(--ink); }
.cat .em { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--violet-tint); color: var(--violet); line-height: 0; }
.cat .em .i { width: 20px; height: 20px; }
.cat.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat.is-on .em { background: rgba(255,255,255,.18); color: #fff; }

/* -------------------------------------------------------------- event cards */
.egrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }
.egrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecard { display: block; text-decoration: none; color: var(--ink); position: relative; }
.ecard:hover { color: var(--ink); }
.ecard-img { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--violet-tint); }
.ecard-img img { width: 100%; height: 100%; object-fit: cover; }
.ecard-date { position: absolute; left: 10px; top: 10px; background: #fff; border-radius: 12px; padding: 6px 11px 7px; text-align: center; line-height: 1; box-shadow: 0 2px 8px rgba(26,19,64,.2); min-width: 50px; }
.ecard-date b { display: block; font: 800 1.35rem/1 var(--font-display); letter-spacing: -.04em; }
.ecard-date span { display: block; font-size: .72rem; font-weight: 650; color: var(--muted); margin-top: 3px; }
.ecard-flags { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: calc(100% - 84px); }
.flag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #fff; color: var(--ink); }
.flag-hot { background: var(--coral); color: #fff; }
.flag-out { background: var(--ink); color: #fff; }
.flag-free { background: var(--green); color: #fff; }
.flag-live { background: var(--marigold); color: var(--ink); }
.flag-past { background: rgba(26,19,64,.8); color: #fff; }
.ecard-body { padding: 12px 2px 0; }
.ecard-title { font: 650 1.075rem/1.25 var(--font-display); letter-spacing: -.02em; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.ecard:hover .ecard-title { text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ecard-line { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .9rem; line-height: 1.35; margin: 0 0 3px; }
.ecard-line .i { margin-top: 1px; color: var(--faint); }
.ecard-line span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.price { font-weight: 750; font-size: .98rem; letter-spacing: -.01em; }
.price-free { color: var(--green); }
.ecard-cat { font-size: .8rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.ecard.is-past .ecard-img img, .ecard.is-past .poster { filter: grayscale(.85); }
.ecard.is-past .ecard-title { color: var(--muted); }

.empty { text-align: center; padding: 56px 24px; border: 2px dashed var(--line-strong); border-radius: var(--r-l); background: rgba(255,255,255,.6); }
.empty .em { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; background: var(--violet-tint); color: var(--violet); line-height: 0; }
.empty .em .i { width: 30px; height: 30px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 30em; margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------- organiser call */
.cta-band { position: relative; margin: 64px 0 0; background: var(--ink); color: #fff; padding: 64px 0 72px; overflow: hidden; --notch-bg: var(--ink); }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: radial-gradient(circle at 14px 0, var(--bg) 0 9.5px, transparent 10px) 0 0 / 28px 14px repeat-x; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.04em; font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 34em; }
.cta-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cta-points li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-m); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.cta-points .i { color: var(--marigold); margin-top: 3px; }
.cta-points b { display: block; color: #fff; }
.cta-points span { color: rgba(255,255,255,.72); font-size: .925rem; }

/* ---------------------------------------------------------------- browse page */
.page-head { padding: 34px 0 10px; }
.page-head h1 { margin-bottom: 6px; }
.h1-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: 12px; border-radius: 14px; background: var(--violet-tint); color: var(--violet); vertical-align: -.2em; line-height: 0; }
.h1-ico .i { width: 28px; height: 28px; }
.browse-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; padding-top: 14px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.f-group { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.f-group:last-child { border: 0; }
.f-group h3 { font: 700 .95rem/1.2 var(--font-display); margin: 0 0 10px; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.f-list a { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; }
.f-list a:hover { background: var(--violet-wash); }
.f-list a.is-on { background: var(--violet-tint); color: var(--violet-deep); font-weight: 700; }
.f-list .em { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 8px; background: var(--violet-wash); color: var(--violet); line-height: 0; vertical-align: middle; }
.f-list .em .i { width: 17px; height: 17px; }
.f-list a.is-on .em { background: #fff; }
.filter-toggle { display: none; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; margin: 0 0 18px; }
.results-bar h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.sort { display: flex; gap: 8px; align-items: center; }
.sort .select { min-height: 40px; padding-top: 6px; padding-bottom: 6px; width: auto; }
.pager { display: flex; justify-content: center; gap: 6px; align-items: center; margin: 40px 0 8px; flex-wrap: wrap; }
.pager-btn { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 12px; font-weight: 650; text-decoration: none; color: var(--ink); background: #fff; border: 1.5px solid var(--line); }
a.pager-btn:hover { border-color: var(--ink); color: var(--ink); }
.pager-btn.is-cur { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager-btn.is-off { opacity: .4; }
.pager-gap { color: var(--muted); padding: 0 4px; }
.date-custom { display: none; gap: 8px; margin-top: 8px; }
.date-custom.is-open { display: grid; }

/* ------------------------------------------------------------ event details */
.ev-stage { position: relative; background: var(--ink); overflow: hidden; --notch-bg: var(--bg); }
.ev-stage-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) saturate(1.25); opacity: .85; transform: scale(1.1); }
.ev-stage-bg.is-poster { background: var(--c1); filter: none; opacity: 1; transform: none; }
.ev-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,19,64,.35), rgba(26,19,64,.62)); z-index: 1; }
.ev-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 3; background: radial-gradient(circle at 14px 14px, var(--bg) 0 9.5px, transparent 10px) 0 0 / 28px 14px repeat-x; }
.ev-banner { position: relative; z-index: 2; width: min(100%, 980px); margin: 0 auto; padding: 32px 0 44px; }
.ev-banner-img { aspect-ratio: 2 / 1; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); background: var(--violet-tint); }
.ev-banner-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 48px; padding-top: 32px; padding-bottom: 24px; align-items: start; }
.ev-title { margin: 10px 0 14px; }
.ev-by { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.ev-by a { color: var(--ink); font-weight: 700; text-decoration: none; }
.ev-by a:hover { text-decoration: underline; }
.ev-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.ev-notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-m); margin-top: 18px; font-weight: 550; }
.ev-notice .i { margin-top: 3px; }
.ev-notice-bad { background: var(--coral-tint); color: #7d1424; }
.ev-notice-warn { background: var(--amber-tint); color: var(--amber-ink); }
.ev-notice-info { background: var(--blue-tint); color: #123a82; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 8px; }
.fact { display: flex; gap: 14px; padding: 18px; background: #fff; border-radius: var(--r-m); border: 1px solid var(--line); }
.fact-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--violet-tint); color: var(--violet-deep); display: grid; place-items: center; flex: none; }
.fact h3 { font: 700 .95rem/1.2 var(--font-display); margin: 0 0 4px; letter-spacing: -.01em; }
.fact p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.4; }
.fact p b { color: var(--ink); font-weight: 650; }
.fact .links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-weight: 650; font-size: .9rem; }
.ev-section { margin-top: 40px; }
.ev-section > h2 { font-size: 1.4rem; }
.prose { font-size: 1.04rem; line-height: 1.7; max-width: 68ch; overflow-wrap: anywhere; }
.prose h3, .prose h4, .prose h5 { margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.3rem; } .prose h4 { font-size: 1.12rem; } .prose h5 { font-size: 1rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .25em 0; }
.prose blockquote { margin: 1.2em 0; padding: .4em 0 .4em 1.1em; border-left: 4px solid var(--marigold); color: var(--ink-soft); font-size: 1.1em; }
.prose a { word-break: break-word; }
.prose hr { margin: 2em 0; }
.org-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); }
.org-card h3 { margin: 0 0 4px; }
.org-card p { color: var(--muted); margin: 0 0 12px; }
details.fold { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 18px; }
details.fold > summary { cursor: pointer; font-weight: 650; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
details.fold[open] > summary::after { transform: rotate(-135deg); }
details.fold > div { padding: 0 0 16px; color: var(--ink-soft); }

/* ticket box */
.ev-aside { position: sticky; top: calc(var(--header-h) + 18px); }
.tbox { --notch-bg: var(--bg); position: relative; background: #fff; border-radius: var(--r-l); filter: drop-shadow(0 18px 28px rgba(26,19,64,.16)); }
.tbox-head { padding: 22px 24px 20px; }
.tbox-head h2 { font-size: 1.25rem; margin: 0 0 2px; }
.tbox-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.tbox-perf { position: relative; height: 0; border-top: 2px dashed var(--line-strong); margin: 0 18px; }
.tbox-perf::before, .tbox-perf::after { content: ""; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--notch-bg); }
.tbox-perf::before { left: -30px; }
.tbox-perf::after { right: -30px; }
.tbox-body { padding: 18px 24px 24px; }
.tt-list { display: grid; gap: 10px; margin: 0 0 14px; }
.tt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 14px 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-m); transition: border-color .15s, background-color .15s; }
.tt.has-qty { border-color: var(--violet); background: var(--violet-wash); }
.tt-name { font-weight: 700; line-height: 1.25; }
.tt-price { font-weight: 750; font-size: 1.02rem; }
.tt-price s { color: var(--faint); font-weight: 500; margin-right: 6px; }
.tt-note { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.tt-note.warn { color: var(--coral); font-weight: 650; }
.tt-note:empty { display: none; }
.tt-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 2px; }
.tt.is-off { opacity: .62; background: #f7f6fb; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; }
.stepper button { width: 38px; height: 38px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.stepper button:hover:not(:disabled) { background: var(--violet-tint); color: var(--violet-deep); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 28px; text-align: center; font-weight: 750; }
.promo-row { margin: 4px 0 14px; }
.promo-form { display: none; gap: 8px; margin-top: 10px; }
.promo-form.is-open { display: flex; }
.promo-form .input { min-height: 44px; text-transform: uppercase; }
.promo-msg { font-size: .875rem; margin-top: 6px; font-weight: 600; }
.promo-msg.ok { color: var(--green); }
.promo-msg.bad { color: var(--coral); }
.sum { margin: 0 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: .95rem; }
.sum-row.disc { color: var(--green); font-weight: 600; }
.sum-row.total { color: var(--ink); font-weight: 800; font-size: 1.15rem; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); }
.sum-empty { color: var(--muted); font-size: .92rem; text-align: center; padding: 6px 0; }
.tbox-notes { display: grid; gap: 6px; margin-top: 14px; color: var(--muted); font-size: .85rem; }
.tbox-notes div { display: flex; gap: 8px; align-items: flex-start; }
.tbox-notes .i { margin-top: 2px; color: var(--faint); }
.buybar { display: none; }

/* --------------------------------------------------------------- checkout */
.co-top { background: #fff; border-bottom: 1px solid var(--line); }
.co-top .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; padding: 10px 0; }
.steps { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--faint); font-size: .92rem; }
.steps li + li::before { content: ""; width: 24px; height: 2px; background: var(--line-strong); border-radius: 2px; margin-right: 0; }
.steps .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--muted); font-size: .8rem; }
.steps li.is-done { color: var(--ink-soft); }
.steps li.is-done .n { background: var(--violet); color: #fff; }
.steps li.is-now { color: var(--ink); }
.steps li.is-now .n { background: var(--ink); color: #fff; }
.hold { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--amber-tint); color: var(--amber-ink); font-weight: 700; font-size: .92rem; }
.hold.is-low { background: var(--coral-tint); color: var(--coral); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .65; } }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 44px; padding: 36px 0 56px; align-items: start; }
.co-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; margin-bottom: 18px; }
.co-panel h2 { font-size: 1.25rem; margin-bottom: 4px; }
.co-panel > p.sub { color: var(--muted); margin-bottom: 18px; }
.att-list { display: grid; gap: 12px; }
.att { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.att .tag { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 10px; background: var(--violet-tint); color: var(--violet-deep); font-weight: 750; font-size: .85rem; padding: 0 8px; }
.pay-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-m); background: var(--violet-wash); color: var(--ink-soft); font-size: .92rem; margin-top: 4px; }
.pay-note .i { color: var(--violet); margin-top: 2px; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pay-methods span { padding: 4px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 650; color: var(--ink-soft); }
.summary { --notch-bg: var(--bg); position: sticky; top: calc(var(--header-h) + 18px); background: #fff; border-radius: var(--r-l); filter: drop-shadow(0 18px 28px rgba(26,19,64,.14)); }
.summary-head { display: flex; gap: 14px; padding: 20px 22px; align-items: center; }
.summary-thumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex: none; }
.summary-thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary-head h2 { font-size: 1.08rem; margin: 0 0 4px; line-height: 1.2; }
.summary-head p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.summary-body { padding: 18px 22px 22px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.sum-line small { color: var(--muted); display: block; }

/* ---------------------------------------------------------------- tickets */
.confirm { text-align: center; padding: 44px 0 26px; }
.confirm-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.confirm-ic.is-wait { background: var(--marigold); color: var(--ink); }
.confirm-ic.is-bad { background: var(--coral); }
.confirm-ic svg { width: 38px; height: 38px; }
.confirm-ic .tick { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .55s .15s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm h1 { margin-bottom: 8px; }
.confirm p { color: var(--muted); max-width: 36em; margin: 0 auto 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 20px 0 0; }
.tix { display: grid; gap: 22px; margin: 28px 0 8px; }
.tix-card { --notch-bg: var(--bg); --stub: 230px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); background: #fff; border-radius: var(--r-l); filter: drop-shadow(0 16px 24px rgba(26,19,64,.14)); overflow: visible; }
.tix-card::before, .tix-card::after { content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--notch-bg); left: calc(100% - var(--stub) - 13px); z-index: 2; }
.tix-card::before { top: -13px; }
.tix-card::after { bottom: -13px; }
.tix-main { padding: 24px 26px; min-width: 0; }
.tix-type { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .8rem; margin-bottom: 12px; }
.tix-main h2 { font-size: 1.5rem; margin: 0 0 14px; }
.tix-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; }
.tix-facts dt { font-size: .8rem; font-weight: 650; color: var(--muted); margin: 0 0 2px; }
.tix-facts dd { margin: 0; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.tix-stub { border-left: 2px dashed var(--line-strong); padding: 22px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.tix-stub .qr { width: 150px; height: 150px; display: block; }
.tix-code { font: 700 .95rem/1 var(--font-mono); letter-spacing: .06em; color: var(--ink); }
.tix-admit { font-size: .82rem; color: var(--muted); font-weight: 600; }
.tix-card.is-void { opacity: .6; }
.tix-card.is-void .qr { opacity: .15; }
.tix-badge { position: absolute; right: calc(var(--stub) + 20px); top: 18px; z-index: 3; }
.order-meta { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; margin-top: 18px; }
.order-meta dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 20px; margin: 0; }
.order-meta dt { color: var(--muted); font-size: .82rem; font-weight: 650; }
.order-meta dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.cal-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------- auth + info */
.auth-wrap { padding: 52px 0 72px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 34px; box-shadow: var(--shadow-soft); }
.auth-card h1 { font-size: 2rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; }
.auth-alt { text-align: center; margin-top: 20px; color: var(--muted); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 76px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px 10px; border-radius: 8px; color: var(--violet); font: inherit; font-weight: 650; font-size: .9rem; cursor: pointer; }
.pw-toggle:hover { background: var(--violet-tint); }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pw-meter { height: 6px; border-radius: 6px; background: var(--line); margin-top: 8px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--coral); transition: width .2s, background .2s; }
.info-page { padding: 44px 0 72px; }
.info-page .prose { max-width: 70ch; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 20px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--violet); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 16px; color: var(--ink-soft); }
.org-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 36px 0 30px; }
.org-hero .row { align-items: center; gap: 22px; flex-wrap: wrap; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--violet-wash); font-size: .9rem; }
.price-table tr:last-child td { border-bottom: 0; }
.steps-how { counter-reset: how; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps-how li { counter-increment: how; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); }
.steps-how li::before { content: counter(how); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 1.15rem/1 var(--font-display); }
.steps-how b { display: block; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -.02em; }
.steps-how span { color: var(--muted); }

/* ------------------------------------------------------------------- footer */
.site-footer { position: relative; margin-top: 72px; background: var(--ink); color: rgba(255,255,255,.78); padding: 56px 0 28px; flex: none; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: radial-gradient(circle at 14px 0, var(--bg) 0 9.5px, transparent 10px) 0 0 / 28px 14px repeat-x; }
main:has(> .cta-band:last-child) + .site-footer { margin-top: 0; }
main:has(> .cta-band:last-child) + .site-footer::before { display: none; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.foot-grid h3 { font: 700 .95rem/1.2 var(--font-display); color: #fff; margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { color: #fff; }
.site-footer .logo b { color: var(--marigold); }
.foot-blurb { max-width: 24em; margin: 14px 0 0; font-size: .94rem; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .875rem; }

/* ------------------------------------------------------------------- toasts */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow-float); display: flex; gap: 10px; align-items: center; animation: toast-in .22s ease-out; }
.toast.bad { background: var(--coral); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------- dialog */
dialog.modal { border: 0; padding: 0; border-radius: var(--r-l); max-width: min(92vw, 480px); width: 100%; box-shadow: var(--shadow-float); color: var(--ink); }
dialog.modal::backdrop { background: rgba(26, 19, 64, .55); }
dialog.modal .m-body { padding: 26px; }
dialog.modal h2 { font-size: 1.3rem; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .egrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ev-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; }
  .co-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline-flex !important; }
  .nav-toggle { display: inline-grid; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 16px; margin: 0; box-shadow: var(--shadow-float); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 1rem; }
  .header-search { display: none; }
  .header-actions { margin-left: auto; }
  .hero { padding: 36px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .stubs { height: auto; display: flex; gap: 14px; overflow-x: auto; padding: 8px var(--gutter) 22px; margin: 0 calc(var(--gutter) * -1); scroll-snap-type: x mandatory; }
  .stub { position: relative; inset: auto; transform: none !important; flex: 0 0 min(320px, 82vw); scroll-snap-align: start; }
  .stub-1, .stub-2, .stub-3 { top: auto; right: auto; }
  .hero-enter .stub { animation: none; }
  .egrid, .egrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .browse-grid { grid-template-columns: 1fr; gap: 0; }
  .filters { position: fixed; inset: 0; z-index: 120; background: #fff; padding: 20px var(--gutter) 90px; overflow-y: auto; display: none; }
  .filters.is-open { display: block; }
  .filters .f-close { display: flex; }
  .filter-toggle { display: inline-flex; }
  .ev-layout { grid-template-columns: 1fr; gap: 0; padding-top: 22px; }
  .ev-aside { position: static; margin-top: 28px; }
  .ev-banner { padding: 20px 0 34px; }
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 14px; box-shadow: 0 -8px 24px -12px rgba(26,19,64,.25); transform: translateY(110%); transition: transform .2s; }
  .buybar.is-on { transform: none; }
  body.page-event { padding-bottom: 76px; }
  .buybar small { display: block; color: var(--muted); line-height: 1.1; }
  .buybar b { font-size: 1.1rem; }
  .co-grid { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .summary { position: static; order: -1; margin-bottom: 18px; }
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .tix-card { grid-template-columns: 1fr; }
  .tix-card::before, .tix-card::after { display: none; }
  .tix-stub { border-left: 0; border-top: 2px dashed var(--line-strong); flex-direction: row; justify-content: space-between; text-align: left; padding: 18px 22px; }
  .tix-stub .qr { width: 120px; height: 120px; }
  .tix-badge { right: 14px; top: 14px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .facts { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-search { grid-template-columns: 1fr; border-radius: 22px; padding: 6px; }
  .hero-search .btn { width: 100%; }
  .egrid, .egrid-3 { grid-template-columns: 1fr; }
  .egrid.scroll-sm { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .egrid.scroll-sm::-webkit-scrollbar { display: none; }
  .egrid.scroll-sm > .ecard { flex: 0 0 74vw; max-width: 320px; scroll-snap-align: start; }
  .section { padding-top: 36px; }
  .auth-card { padding: 24px 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .tbox-head, .tbox-body { padding-left: 18px; padding-right: 18px; }
  .co-panel { padding: 20px 18px; }
  .tix-facts { grid-template-columns: 1fr 1fr; }
  .org-card { flex-direction: column; }
  .site-header .bar { gap: 12px; }
  .menu-btn .name { display: none; }
  .menu-btn { padding-right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .site-header, .site-footer, .buybar, .actions, .no-print, .support-banner { display: none !important; }
  body { background: #fff; }
  .tix-card { filter: none; border: 1px solid #999; break-inside: avoid; }
}


/* ------------------------------------------------------- additions: pages */
.logo-word { display: inline-block; }
.tix-single { --stub: 180px; }
.tix-single .tix-main h2 { font-size: 1.3rem; }
.tix-single .tix-stub .qr { width: 130px; height: 130px; }
.tix-single .tix-facts { grid-template-columns: 1fr 1fr; }
.tcheck { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--r-m); margin: 0 0 22px; }
.tcheck b { display: block; font: 750 1.25rem/1.2 var(--font-display); letter-spacing: -.02em; }
.tcheck span { font-size: .92rem; }
.tcheck-good { background: var(--green-tint); color: #064d34; }
.tcheck-info { background: var(--blue-tint); color: #123a82; }
.tcheck-bad { background: var(--coral-tint); color: #7d1424; }
.mt-row { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); margin: 0 0 10px; text-decoration: none; color: var(--ink); }
.mt-row:hover { border-color: var(--violet); color: var(--ink); }
.mt-row h3 { margin: 0 0 2px; font-size: 1.05rem; }
.mt-row p { margin: 0 0 2px; }
.mt-row.is-past { opacity: .75; }
.mt-date { width: 58px; flex: none; text-align: center; padding: 8px 0; border-radius: 12px; background: var(--violet-tint); color: var(--violet-deep); line-height: 1; }
.mt-date span { display: block; font-size: .72rem; font-weight: 700; }
.mt-date b { display: block; font: 800 1.5rem/1 var(--font-display); letter-spacing: -.04em; margin-top: 4px; }
.err { text-align: center; padding: 56px 0 40px; }
.err-ticket { --stub: 150px; max-width: 460px; margin: 0 auto 32px; transform: rotate(-2.5deg); text-align: left; }
.err-ticket .tix-main h2 { font-size: 1.25rem; margin: 0; }
.err-code { font: 800 3.2rem/1 var(--font-display); letter-spacing: -.05em; color: var(--violet); display: block; }
.err h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.org-pitch { padding-bottom: 96px; }
.sample-ticket { --notch-bg: var(--violet); transform: rotate(3deg); max-width: 520px; justify-self: end; }
.sample-ticket .tix-card { --notch-bg: var(--violet); filter: drop-shadow(0 22px 28px rgba(14, 6, 70, .45)); }
.is-sticky-note { background: var(--amber-tint); }

@media (max-width: 900px) {
  .sample-ticket { transform: none; justify-self: stretch; max-width: none; }
  .tix-single { --stub: auto; }
  .facts[style*="repeat(3"] { grid-template-columns: 1fr !important; }
}
