/* Tikkat marketplace. One idea carries the design: the paper ticket, with a
   perforated tear line and a date stub. Everything else stays quiet. */

:root {
    --royal: #1d3c9f;
    --royal-deep: #15307f;
    --coral: #f74a4d;
    --coral-deep: #de3336;
    --marigold: #ffc53d;
    --navy: #081130;
    --ink: #141a33;
    --muted: #5b6380;
    --paper: #f5f6fa;
    --card: #ffffff;
    --line: #dde1ec;
    --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
    --body: "DM Sans", system-ui, sans-serif;
    --wrap: 1180px;
    --gutter: 20px;
    --notch: 13px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.page { padding-bottom: 96px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; padding: 15px 24px; font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.btn-buy { background: var(--coral); color: #fff; }
.btn-buy:hover { background: var(--coral-deep); }
.btn-buy:active { transform: translateY(1px); }
.btn-quiet { background: #fff; color: var(--royal); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--royal); }
.btn-block { width: 100%; }
.text-link { color: var(--royal); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.topbar .brand img { display: block; }
.search { flex: 1; max-width: 520px; display: flex; align-items: center; height: 46px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); padding-left: 14px; }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--royal); }
.search svg { flex-shrink: 0; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; padding: 0 10px; }
.search button { height: 100%; border: 0; border-radius: 0 12px 12px 0; background: var(--royal); color: #fff; font: 600 15px var(--body); padding: 0 18px; cursor: pointer; }
.topbar-link { margin-left: auto; font-weight: 600; font-size: 15px; color: var(--royal); text-decoration: none; }
.topbar-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- The ticket ----------
   A ticket is two halves joined by a dashed tear line. Each half cuts its own
   half-circle notches where they meet (radial-gradient masks), and the wrapper
   carries the shadow as a drop-shadow so it follows the notched outline. */
.ticket { filter: drop-shadow(0 1px 1px #1d3c9f1a) drop-shadow(0 10px 18px #1d3c9f1f); }
.ticket-row { display: grid; grid-template-columns: minmax(0, 1fr) var(--stub, 128px); }
.ticket-col { display: grid; }
.half { background: var(--card); }
.half-left  { border-radius: 18px 0 0 18px; -webkit-mask: var(--cut-right); mask: var(--cut-right); }
.half-right { border-radius: 0 18px 18px 0; -webkit-mask: var(--cut-left); mask: var(--cut-left); border-left: 2px dashed #ffffff66; }
.half-top    { border-radius: 18px 18px 0 0; -webkit-mask: var(--cut-bottom); mask: var(--cut-bottom); }
.half-bottom { border-radius: 0 0 18px 18px; -webkit-mask: var(--cut-top); mask: var(--cut-top); border-top: 2px dashed var(--line); }
:root {
    --cut-right: radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
    --cut-left: radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
    --cut-bottom: radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat;
    --cut-top: radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat;
}

/* ---------- Home ---------- */
.page-home { padding-bottom: 0; }
.home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 40px; align-items: center; background: var(--royal); color: #fff; border-radius: 32px; padding: 64px 56px; margin-top: 4px; overflow: hidden; isolation: isolate; }
.home-hero::before { content: ""; position: absolute; width: 640px; aspect-ratio: 1; right: -180px; top: -260px; border-radius: 50%; background: var(--royal-deep); z-index: -1; }
.home-hero h1 { font-size: clamp(44px, 6vw, 86px); font-weight: 800; letter-spacing: -0.04em; line-height: .95; overflow-wrap: break-word; }
.home-hero .lede { margin-top: 20px; max-width: 30em; font-size: 19px; color: #dfe6ff; }
.hero-search { min-width: 0; display: flex; align-items: center; gap: 6px; margin-top: 30px; max-width: 560px; background: #fff; border-radius: 16px; padding: 6px 6px 6px 18px; color: var(--muted); box-shadow: 0 18px 40px -20px #08113080; }
.hero-search:focus-within { box-shadow: 0 0 0 3px var(--marigold), 0 18px 40px -20px #08113080; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); padding: 10px 6px; }
.hero-search .btn { padding: 13px 22px; }
.hero-cities { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; }
.hero-cities span { color: #c7d2ff; margin-right: 4px; }
.hero-cities a { color: #fff; text-decoration: none; font-weight: 600; padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px #ffffff4d; }
.hero-cities a:hover { box-shadow: inset 0 0 0 1.5px #fff; background: #ffffff14; }

.deck { position: relative; height: 486px; }
.deck-card { position: absolute; left: 0; right: 0; transition: transform .25s ease; }
.deck-card .ticket { display: block; }
.deck-card .et-main { min-height: 168px; }
.deck-1 { top: 6px; transform: rotate(-5deg); z-index: 3; }
.deck-2 { top: 158px; transform: translateX(30px) rotate(3deg); z-index: 2; }
.deck-3 { top: 304px; transform: translateX(-8px) rotate(-2deg); z-index: 1; }
.deck-card:hover { z-index: 4; transform: translateY(-6px) rotate(0); }
.deck-card .event-ticket:hover { transform: none; }
.deck .stub-date { background: var(--marigold); color: var(--navy); border-left-color: #0811302e; }
.deck .stub-date .month { color: var(--navy); }
.deck .stub-date .when { color: #4a4220; }
.deck .ticket { filter: drop-shadow(0 18px 24px #08113059); }

.listing { padding-top: 56px; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 18px; }
.list-head h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.segmented { display: inline-flex; padding: 4px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.segmented a { padding: 8px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.segmented a:hover { color: var(--ink); }
.segmented a[aria-current="page"] { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.chips a { white-space: nowrap; text-decoration: none; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.chips a:hover { box-shadow: inset 0 0 0 1.5px var(--royal); }
.chips a[aria-current="page"] { background: var(--royal); color: #fff; box-shadow: none; }
.month-head { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 16px; font-size: 22px; font-weight: 700; }
.month-head span { font-family: var(--body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.month-head::after { content: ""; flex: 1; border-top: 2px dashed var(--line); transform: translateY(-5px); }

.how { padding-top: 88px; }
.how h2, .organizers h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.how-ticket { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-radius: 22px; }
.how-step { position: relative; padding: 30px 30px 32px; }
.how-step + .how-step { border-left: 2px dashed var(--line); }
.how-step + .how-step::before, .how-step + .how-step::after { content: ""; position: absolute; left: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); }
.how-step + .how-step::before { top: -13px; }
.how-step + .how-step::after { bottom: -13px; }
.how-step b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--marigold); color: var(--navy); font: 800 20px var(--display); }
.how-step h3 { margin-top: 18px; font-size: 21px; font-weight: 700; }
.how-step p { margin-top: 8px; color: var(--muted); }

.organizers { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; margin: 88px 0 96px; padding: 48px 52px; border-radius: 28px; background: var(--navy); color: #fff; }
.organizers p { margin-top: 12px; max-width: 36em; color: #c3c9de; font-size: 17px; }
.organizers-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px #ffffff59; background: transparent; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- Event ticket card ---------- */
.event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.event-ticket { text-decoration: none; color: var(--ink); transition: transform .18s ease; }
.event-ticket:hover { transform: translateY(-2px); }
.event-ticket:hover h3 { color: var(--royal); }
.et-main { padding: 22px 22px 20px 24px; display: flex; flex-direction: column; min-height: 176px; }
.et-city { font-size: 14px; font-weight: 600; color: var(--coral); }
.et-main h3 { margin-top: 6px; font-size: 23px; font-weight: 700; overflow-wrap: anywhere; transition: color .15s; }
.et-venue { margin-top: 6px; color: var(--muted); font-size: 15px; }
.et-price { margin-top: auto; padding-top: 16px; font-weight: 700; }
.et-price small { font-weight: 500; color: var(--muted); font-size: 14px; }
.stub-date { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 16px 8px; background: var(--royal); color: #fff; }
.stub-date .month { font-weight: 700; font-size: 15px; color: var(--marigold); }
.stub-date .day { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -0.04em; margin: 2px 0 4px; }
.stub-date .when { font-size: 13px; line-height: 1.4; color: #d5ddff; }
.empty-state { grid-column: 1 / -1; padding: 48px 24px; text-align: center; background: #fff; border-radius: 18px; }
.empty-state h3 { font-size: 24px; }
.empty-state p { margin: 8px auto 20px; color: var(--muted); max-width: 34em; }

/* ---------- Event page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--royal); text-decoration: none; font-weight: 600; }
.poster { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 40px; align-items: center; background: var(--royal); color: #fff; border-radius: 28px; padding: 56px 56px 52px; overflow: hidden; isolation: isolate; }
.poster::before { content: ""; position: absolute; inset: auto -12% -62% auto; width: 520px; aspect-ratio: 1; border-radius: 50%; background: var(--royal-deep); z-index: -1; }
.poster-city { font-weight: 700; color: var(--marigold); }
.poster h1 { margin-top: 10px; font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: .96; overflow-wrap: anywhere; }
.poster-summary { margin-top: 20px; max-width: 34em; font-size: 18px; color: #dfe6ff; }
.poster-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 600; }
.poster-facts li { display: flex; align-items: center; gap: 8px; }
.poster-facts a { color: inherit; text-decoration: underline; text-decoration-color: #ffffff66; text-underline-offset: 3px; }
.poster-facts a:hover { text-decoration-color: currentColor; }
.poster-facts svg { color: var(--marigold); flex-shrink: 0; }
.poster .btn { margin-top: 30px; }
.poster-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.poster-actions .btn { margin-top: 0; display: inline-flex; align-items: center; gap: 8px; }
.poster-stub { transform: rotate(4deg); filter: drop-shadow(0 16px 22px #0811304d); text-align: center; color: var(--navy); }
.poster-stub .half { background: var(--marigold); }
.poster-stub .half-top { padding: 22px 12px 14px; }
.poster-stub .half-bottom { padding: 12px; border-top-color: #08113040; }
.poster-stub .month { font-weight: 700; font-size: 17px; }
.poster-stub .day { display: block; font-family: var(--display); font-weight: 800; font-size: 92px; line-height: .95; letter-spacing: -0.05em; }
.poster-stub .weekday { font-weight: 600; }
.poster-stub .time { font-weight: 700; }

.event-body { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; align-items: start; padding-top: 44px; }
.event-section + .event-section { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.event-section h2 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.event-section > p { color: #3d4462; font-size: 17px; line-height: 1.75; max-width: 38em; white-space: pre-line; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts div { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 4px 0 0; font-weight: 700; font-size: 17px; }
.facts dd span { display: block; font-weight: 500; color: var(--muted); font-size: 15px; }
.facts .text-link { display: inline-block; margin-top: 8px; font-size: 15px; }
.organizer { display: flex; gap: 16px; align-items: center; }
.organizer-mark { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; background: var(--marigold); color: var(--navy); font: 800 26px var(--display); }
.organizer h3 { font-size: 20px; font-weight: 700; }
.organizer p { color: var(--muted); font-size: 15px; }

/* Booking ticket */
.booking { position: sticky; top: 20px; scroll-margin-top: 20px; }
.booking-top { padding: 26px 26px 8px; }
.booking-top h2 { font-size: 26px; font-weight: 700; }
.booking-top > p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tier { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 18px 0; }
.tier + .tier { border-top: 1px solid #eceef4; }
.tier h3 { font-family: var(--body); letter-spacing: 0; font-size: 17px; font-weight: 700; }
.tier-price { font-weight: 700; font-size: 17px; text-align: right; }
.tier-status { font-size: 14px; color: var(--muted); }
.stepper { justify-self: end; display: inline-flex; align-items: center; gap: 4px; }
.step { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--royal); font: 600 24px/1 var(--body); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color .15s, border-color .15s, transform .1s; }
.step:active:not(:disabled) { transform: scale(.94); background: #e6ebfa; }
.step:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; }
.step:disabled { color: #c3c9da; border-color: #e7e9f0; cursor: not-allowed; }
@media (hover: hover) { .step:hover:not(:disabled) { border-color: var(--royal); background: #f2f5fd; } }
.qty { width: 40px; padding: 0; border: 0; background: none; text-align: center; font: 700 20px var(--body); color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty::-webkit-outer-spin-button, .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty:focus { outline: none; }
.qty:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; border-radius: 8px; }
.booking-bottom { padding: 20px 26px 24px; }
.booking-split { margin: 0 0 16px; }
.booking-split > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; color: var(--muted); font-size: 15px; }
.booking-split dd { margin: 0; color: var(--ink); font-weight: 600; }
.booking-split .booking-total { margin-top: 8px; padding-top: 10px; border-top: 1px solid #eceef4; color: var(--ink); font-weight: 700; }
.booking-total strong { font: 800 28px var(--display); letter-spacing: -0.02em; }
.booking-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.booking-note a { color: var(--royal); }
.form-error { display: block; margin-top: 6px; color: #c62828; font-size: 14px; font-weight: 600; }
.alert { margin: 4px 0 8px; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #b3261e; font-size: 14px; font-weight: 600; }

.buy-bar { display: none; }

/* ---------- Checkout ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 12px 0 28px; font-weight: 600; font-size: 15px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 10px; }
.steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; }
.steps .done b { background: #e3e9fb; box-shadow: none; color: var(--royal); }
.steps .current { color: var(--ink); }
.steps .current b { background: var(--royal); box-shadow: none; color: #fff; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; align-items: start; }
.panel { background: #fff; border-radius: 20px; padding: 34px; box-shadow: inset 0 0 0 1px var(--line); }
.panel h1 { font-size: 34px; font-weight: 700; }
.panel .lede { color: var(--muted); margin: 8px 0 28px; }
.field { display: block; margin-bottom: 20px; }
.field > span:first-child { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.input, .phone { width: 100%; font: inherit; background: #fff; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
.input { padding: 13px 15px; }
.input:focus, .phone:focus-within { outline: 0; box-shadow: inset 0 0 0 2px var(--royal); }
.input[aria-invalid="true"], .phone:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 2px #c62828; }
.phone { display: flex; align-items: center; }
.phone b { padding: 0 12px 0 15px; font-weight: 500; color: var(--muted); border-right: 1.5px solid var(--line); }
.phone input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 13px 15px; outline: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }

.summary { position: sticky; top: 20px; }
.summary-event { display: flex; gap: 16px; align-items: center; padding: 22px 24px; }
.summary-event .stub-date { flex-shrink: 0; width: 70px; height: 78px; padding: 8px 4px; border-radius: 12px; }
.summary-event .stub-date .day { font-size: 32px; margin: 0; }
.summary-event .stub-date .month { font-size: 13px; }
.summary-event h2 { font-size: 19px; font-weight: 700; }
.summary-event p { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.summary-body { padding: 20px 24px 26px; }
.lines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.lines li, .totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid #eceef4; font-size: 15px; }
.totals div span:first-child { color: var(--muted); }
.totals .grand { padding-top: 6px; font-size: 18px; font-weight: 700; }
.totals .grand span:first-child { color: var(--ink); }
.totals .grand span:last-child { font: 800 26px var(--display); letter-spacing: -0.02em; }
.totals p { font-size: 13px; color: var(--muted); }
.agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 15px; line-height: 1.5; }
.agree input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--royal); flex-shrink: 0; }
.agree a { color: var(--royal); font-weight: 600; }
.pay { margin-top: 20px; font-size: 18px; padding: 17px 24px; }
.secure { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; text-wrap: balance; }
.secure svg { vertical-align: -2px; margin-right: 6px; }
.review-block { margin-top: 28px; padding-top: 24px; border-top: 1px solid #eceef4; }
.review-block header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.review-block h2 { font-size: 20px; font-weight: 700; }
.review-block dl { display: grid; gap: 10px; margin: 0; }
.review-block dl div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
.review-block dt { color: var(--muted); }
.review-block dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.review-block > p { color: var(--muted); }
.review-block > p a { color: var(--royal); font-weight: 600; }
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: start; background: #fff7df; border-radius: 18px; padding: 24px 26px; margin-bottom: 28px; box-shadow: inset 0 0 0 1.5px #f5d67a; }
.notice svg { grid-row: span 3; color: #b7791f; margin-top: 2px; }
.notice h2 { font-size: 22px; font-weight: 700; }
.notice p { color: #4a4f66; }
.notice .btn { justify-self: start; margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aab1c8; font-size: 15px; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 60px var(--gutter) 44px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand .brand img { display: block; }
.footer-tagline { margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #8d95b0; }
.footer-tagline span { color: var(--coral); }
.footer-about { margin-top: 18px; max-width: 300px; line-height: 1.7; }
.footer-col { display: grid; align-content: start; gap: 12px; }
.footer-col h2 { font: 700 16px var(--body); letter-spacing: 0; color: #fff; margin-bottom: 4px; }
.footer-col a { color: #c9cee0; text-decoration: none; width: fit-content; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-col p { color: #8d95b0; font-size: 14px; }
.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter) 28px; border-top: 1px solid #ffffff17; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: #8d95b0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .event-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
    .checkout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
    .event-list { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .home-hero { grid-template-columns: minmax(0, 1fr); padding: 44px 32px; }
    .deck { height: 230px; max-width: 470px; }
    .deck-2, .deck-3 { display: none; }
    .deck-1 { top: 18px; transform: rotate(-3deg); }
    .how-ticket { grid-template-columns: 1fr; }
    .how-step + .how-step { border-left: 0; border-top: 2px dashed var(--line); }
    .how-step + .how-step::before { top: -14px; left: -13px; }
    .how-step + .how-step::after { top: -14px; bottom: auto; left: auto; right: -13px; }
    .organizers { grid-template-columns: 1fr; padding: 36px 30px; }
    .poster { grid-template-columns: 1fr; padding: 40px 32px; }
    .poster-stub { display: none; }
    .event-body, .checkout { grid-template-columns: 1fr; }
    .booking, .summary { position: static; }
    .buy-bar { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px -12px #1d3c9f40; }
    .buy-bar p { font-size: 14px; color: var(--muted); line-height: 1.3; }
    .buy-bar strong { display: block; font-size: 18px; color: var(--ink); }
    .buy-bar .btn { padding: 13px 22px; }
    .page-event { padding-bottom: 120px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-top: 48px; }
    .footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    :root { --gutter: 16px; }
    .topbar { flex-wrap: wrap; gap: 12px 16px; padding-block: 14px; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .topbar-link { font-size: 14px; }
    .ticket-row { --stub: 96px; }
    .home-hero { padding: 34px 22px 26px; border-radius: 24px; }
    .home-hero h1 { font-size: clamp(32px, 10.5vw, 44px); }
    .home-hero .lede { font-size: 17px; }
    .hero-search { padding-left: 14px; }
    .hero-search .btn { padding: 12px 16px; }
    .deck { display: none; }
    .list-head { align-items: flex-start; flex-direction: column; }
    .segmented { width: 100%; }
    .segmented a { flex: 1; text-align: center; padding: 8px 10px; }
    .how, .listing { padding-top: 56px; }
    .organizers { margin: 56px 0 64px; padding: 30px 22px; }
    .et-main { padding: 18px 16px 16px 18px; min-height: 160px; }
    .et-main h3 { font-size: 20px; }
    .stub-date .day { font-size: 40px; }
    .poster { padding: 32px 22px; border-radius: 22px; }
    .poster-facts { flex-direction: column; }
    .facts { grid-template-columns: 1fr; }
    .panel { padding: 24px 20px; }
    .panel h1 { font-size: 28px; }
    .field-row { grid-template-columns: 1fr; }
    .actions { flex-direction: column-reverse; align-items: stretch; }
    .actions .btn { width: 100%; }
    .actions .text-link { text-align: center; }
    .notice { grid-template-columns: 1fr; padding: 20px; }
    .notice svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- Payment hand-off and confirmation ---------- */
.handoff { max-width: 640px; margin: 8px auto 0; text-align: center; }
.handoff .lede { margin-bottom: 24px; }
.handoff-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.confirmation { max-width: 760px; padding: 12px 0 8px; }
.confirmation h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.confirmation .lede { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 36em; }
.order-meta { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 12px 36px; margin: 28px 0 0; }
.order-meta dt { font-size: 14px; color: var(--muted); }
.order-meta dd { margin: 2px 0 0; font-weight: 700; }
.tickets-title { margin: 44px 0 18px; font-size: 26px; font-weight: 700; }
.event-map { display: block; width: 100%; height: 260px; margin-top: 18px; border: 0; border-radius: 16px; background: #eef1f8; }
.event-image { margin: 0 0 32px; }
.event-image img { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 18px; box-shadow: 0 10px 30px rgba(8, 17, 48, .12); }
.tickets-actions { margin: -6px 0 20px; }
.ticket-wallet { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.pass-top { padding: 22px 22px 18px; background: var(--royal); color: #fff; }
.pass-type { font-weight: 700; color: var(--marigold); font-size: 14px; }
.pass-top h3 { margin-top: 4px; font-size: 22px; font-weight: 700; }
.pass-when { margin-top: 6px; color: #d5ddff; font-size: 14px; }
.pass-bottom { padding: 20px 22px 22px; display: grid; justify-items: center; gap: 14px; }
.qr { width: 200px; max-width: 100%; aspect-ratio: 1; font-size: 10px; overflow-wrap: anywhere; color: var(--muted); }
.qr svg { display: block; width: 100%; height: 100%; }
.pass-holder { text-align: center; font-weight: 700; }
.pass-holder span { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }
.payment-error { margin-bottom: 20px; }
@media (max-width: 560px) { .order-meta { grid-template-columns: 1fr 1fr; } }

/* ---------- Partner storefronts: the partner's name in place of the Tikkat logo ---------- */
.partner-brand { display: inline-flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--navy); }
.partner-brand strong { font: 800 22px/1.1 var(--display); letter-spacing: -0.02em; }
.partner-brand small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.footer-brand .partner-brand { color: #fff; }
