/* jaanuhos — clean white, Inter, sindoor red, ticket-stub motif. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.260c81a4759b.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --sunk: #f7f5f8;
  --ink: #1d1720;           /* plum-black */
  --text: #1d1720;
  --muted: #625b68;
  --line: #ebe6ee;
  --red: #d1123f;           /* sindoor */
  --red-deep: #7c0b2a;
  --red-ink: #ffffff;
  --blush: #fdecf0;
  --blue: #2b3fa0;
  --success: #17804d;
  --success-soft: #e6f5ec;
  --error: #b42318;
  --error-soft: #fdecea;
  --utility: #221c25;
  --radius: 18px;
  --radius-sm: 12px;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
  --display: var(--body);
  color-scheme: light;
}


* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.02em; }
h1 { font-size: 1.75rem; font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 800; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.shell { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 20px 16px; }
.home { padding-top: 24px; }

/* Utility strip */
.utility { background: var(--utility); color: #e9e3ec; font-size: .85rem; font-weight: 500; }
.utility-row { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.utility a, .utility .link { color: inherit; text-decoration: none; }
.utility a:hover, .utility .link:hover { color: #fff; }
.utility-links { display: flex; gap: 16px; align-items: center; }
.utility-phone { opacity: .7; }

/* Masthead */
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.masthead-row { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; color: var(--red); text-decoration: none;
  font: 800 1.55rem/1 var(--display); letter-spacing: -.04em;
}
.brand-mark { width: 28px; height: 20px; }
.brand-small { font-size: 1.2rem; }
.mainnav { display: flex; gap: 28px; margin-right: auto; }
.mainnav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.mainnav a:hover { color: var(--red); }
@media (max-width: 760px) {
  .mainnav { display: none; }
  .masthead-row { justify-content: space-between; min-height: 64px; }
}

.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

.page-title { margin: 8px 0 16px; font-size: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.error { color: var(--error); }
.center { text-align: center; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; }
.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }

/* Buttons: pills */
.btn {
  display: inline-block; border: 0; border-radius: 999px; padding: 14px 24px; margin: 8px 0;
  background: var(--red); color: var(--red-ink); font: 700 1rem/1.2 var(--body);
  text-align: center; text-decoration: none; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn-pill { padding: 12px 22px; margin: 0; white-space: nowrap; }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--sunk); }
.btn-light { background: #fff; color: var(--red); }

label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
input, select {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
input:focus, select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--blush); }
.phone-input { display: flex; align-items: stretch; margin-bottom: 8px; }
.phone-input span {
  display: flex; align-items: center; padding: 0 14px; background: var(--sunk); border: 1.5px solid var(--line);
  border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--muted); font-weight: 600;
}
.phone-input input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.otp { font: 700 1.8rem/1 var(--body); letter-spacing: .5em; text-align: center; margin: 12px 0; }
.promo { margin: 14px 0; text-transform: uppercase; }

.flash { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--sunk); margin: 12px 0; font-weight: 500; }
.flash-success { background: var(--success-soft); color: var(--success); }
.flash-error, .flash-warning { background: var(--error-soft); color: var(--error); }

/* Featured show: a ticket stub */
.stub {
  position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  color: #fff; text-decoration: none; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(105deg, var(--red-deep) 0%, #b30f37 45%, #d1123f 100%);
  min-height: 150px;
}
.stub-watermark {
  position: absolute; right: 16%; top: 50%; transform: translateY(-50%);
  font: 800 7rem/1 "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif;
  color: rgba(255, 255, 255, .06); white-space: nowrap; pointer-events: none;
}
.stub-main { position: relative; padding: 28px 32px; }
.stub-date { font-weight: 600; opacity: .85; }
.stub-title { font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin: 4px 0 6px; color: #fff; }
.stub-venue { opacity: .85; }
.stub-tear { position: relative; align-self: stretch; width: 0; border-left: 2px dashed rgba(255, 255, 255, .45); }
.stub-tear::before, .stub-tear::after {
  content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg);
}
.stub-tear::before { top: -14px; }
.stub-tear::after { bottom: -14px; }
.stub-side { position: relative; padding: 24px 32px; text-align: center; }
.stub-from { font-weight: 600; margin-bottom: 10px; }
.stub:hover .btn-light { background: var(--blush); }
@media (max-width: 640px) {
  .stub { grid-template-columns: 1fr; }
  .stub-main { padding: 24px 22px 20px; }
  .stub-tear { width: auto; height: 0; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .45); }
  .stub-tear::before, .stub-tear::after { top: -15px; bottom: auto; }
  .stub-tear::before { left: -14px; }
  .stub-tear::after { left: auto; right: -14px; }
  .stub-side { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 20px; }
  .stub-from { margin: 0; }
  .stub-watermark { font-size: 4.5rem; right: -10px; }
}

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding-top: 88px; padding-bottom: 72px; }
.display { font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 0 0 20px; }
/* Optical alignment. Display type carries more side bearing than body text, so nudge the
   heading left until its stems line up with the paragraph; then hang the T's thin crossbar
   a little further, since its stem reads as indented next to the b below. */
.display { margin-left: -.02em; }
.display::first-letter { margin-left: -.05em; }
.intro-art { display: block; width: 100%; height: auto; mix-blend-mode: multiply; border-radius: var(--radius); }
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--muted); margin: 0; max-width: 34em; }
.intro-subhead { font: 700 1rem/1.5 var(--body); letter-spacing: 0; color: var(--ink); margin: 32px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; font-size: 1rem; line-height: 24px; color: var(--muted); }
.checks li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23d1123f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 48px; }
}

/* Shows */
.shows { padding-bottom: 56px; }
/* The homepage section is centred, so its cards are too; a lone card shouldn't hug the left edge. */
.shows .grid { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; }
.shows .block-title, .shows .block-sub { text-align: center; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.pill-label {
  display: inline-block; background: var(--blush); color: var(--red); font-weight: 700; font-size: .9rem;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; letter-spacing: -.03em; }
.section-sub { color: var(--muted); font-size: 1.1rem; margin: 0; }

.empty-state {
  max-width: 560px; margin: 0 auto; padding: 48px 32px; text-align: center;
  border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--sunk);
}
.empty-icon { color: var(--red); margin-bottom: 16px; }
.empty-state h3 { font-size: 1.3rem; margin: 0 0 8px; }
.empty-state p { color: var(--muted); margin: 0 auto 24px; max-width: 30em; line-height: 1.6; }
.empty-state .btn { margin: 0; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.event-card {
  display: block; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: inherit; text-decoration: none; transition: border-color .15s;
}
.event-card:hover { border-color: var(--red); }
.poster { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blush); display: grid; place-items: center; }
/* Absolute, so a tall portrait poster is cropped to the card instead of stretching it. */
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster-initial { font: 800 4.5rem/1 var(--display); color: var(--red); opacity: .5; }
.poster-cat {
  position: absolute; left: 16px; bottom: 14px; font-size: .8rem; font-weight: 700;
  color: var(--red-deep); letter-spacing: .04em; text-transform: uppercase;
}
.card-flag {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}
.event-card-body { padding: 18px 20px 20px; }
.event-card h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.date { color: var(--red); font-weight: 700; font-size: .92rem; }
.from { margin-top: 12px; font-weight: 700; }
.from-quiet { font-weight: 600; color: var(--muted); }

/* Directory: browse, venue and organizer pages */
.browse { padding-bottom: 24px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.browse-title { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; margin-bottom: 8px; }
.browse > .section-sub { margin-bottom: 24px; }
.chip-rows { display: grid; gap: 10px; margin: 0 0 32px; }
.chip-rows-center .chips { justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; text-decoration: none;
  color: var(--ink); border: 1.5px solid var(--line); background: var(--surface); white-space: nowrap;
}
.chip:hover { border-color: var(--red); }
.chip-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-on:hover { border-color: var(--ink); }
@media (max-width: 560px) {
  /* One swipeable row per chip group instead of a wall of wrapped chips. */
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip-rows-center .chips { justify-content: flex-start; }
}
.listing-block { margin-bottom: 40px; }
.block-title { font-size: 1.35rem; margin: 0 0 16px; }
.block-title .pill-label { margin: 0; }
.block-sub { margin: -8px 0 16px; }
.recent-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.recent-list a {
  display: grid; grid-template-columns: 7.5em minmax(0, 1fr) auto; gap: 16px; align-items: baseline;
  padding: 14px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
.recent-list a:hover .recent-title { color: var(--red); }
.recent-date { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.recent-title { font-weight: 700; }
@media (max-width: 560px) {
  .recent-list a { grid-template-columns: 1fr; gap: 2px; }
}
.see-all { text-align: center; margin: 8px 0 0; }
.org-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: var(--radius); background: var(--blush); margin-top: 16px;
}
.org-cta h2 { margin: 0 0 6px; }
.org-cta p { margin: 0; color: var(--muted); max-width: 36em; }
.org-cta .btn-ghost { background: #fff; margin: 0; }
.similar { margin-top: 48px; }
.plain-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.plain-link:hover { color: var(--red); text-decoration-color: currentColor; }
.listing-price { font-size: 1.15rem; font-weight: 700; margin: 0 0 6px; }
.listing-card .btn { margin: 8px 0 12px; }
.claim { margin-top: 8px; }

/* Event detail */
.event > h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); letter-spacing: -.03em; }
.hero { width: 100%; border-radius: var(--radius); margin-bottom: 18px; }
.tier { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tier select { width: 80px; flex: none; }
.tier-off { opacity: .5; }
.tier-name { font-weight: 700; }
.tier-price { font-weight: 600; color: var(--muted); }
.badge { font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--sunk); white-space: nowrap; }
.description { margin-top: 28px; max-width: 38em; }
.event-links { margin-top: 24px; }
.event-links h2 { font-size: 1rem; margin-bottom: 8px; }
.event-links ul { margin: 0; padding-left: 1.2em; }
.event-links li { margin: 4px 0; }

.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 14px 0; }
.totals dt, .totals dd { margin: 0; }
.totals dd { text-align: right; font-variant-numeric: tabular-nums; }
.totals .total { font-weight: 800; font-size: 1.15rem; padding-top: 10px; border-top: 1px solid var(--line); }

.providers { border: 0; padding: 0; margin: 18px 0 8px; }
.providers legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.provider {
  display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 8px 0;
  padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.provider input { width: auto; accent-color: var(--red); }
.provider:has(input:checked) { border-color: var(--red); background: var(--blush); }
.provider-khalti { color: #5c2d91; }
.provider-esewa { color: #41a124; }

.ticket-list { list-style: none; padding: 0; margin: 12px 0; }
.ticket-list a {
  display: flex; justify-content: space-between; padding: 14px 16px; margin: 8px 0;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: inherit; text-decoration: none; font-weight: 600;
}
.ticket-list a:hover { border-color: var(--red); }

/* Ticket */
.ticket { max-width: 380px; margin: 8px auto 16px; background: var(--surface); border-radius: 22px; overflow: hidden; border: 1.5px solid var(--line); }
.ticket-head { background: linear-gradient(105deg, var(--red-deep), var(--red)); color: #fff; padding: 22px; }
.ticket-head .date { color: rgba(255, 255, 255, .85); }
.ticket-head h1 { margin: 4px 0; color: #fff; }
.ticket-body { position: relative; padding: 22px; text-align: center; border-top: 2px dashed var(--line); }
.ticket-body::before, .ticket-body::after {
  content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--line);
}
.ticket-body::before { left: -14px; }
.ticket-body::after { right: -14px; }
.qr { background: #fff; border-radius: var(--radius-sm); padding: 8px; margin: 12px auto; width: 100%; max-width: 280px; aspect-ratio: 1; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-live { font-size: .85rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } .btn { transition: none; } }
.ticket-code { display: block; font-size: 1.2rem; letter-spacing: .12em; margin: 12px 0 4px; }
.stamp {
  margin: 24px auto; padding: 24px; border: 3px solid var(--success); color: var(--success);
  border-radius: var(--radius-sm); font: 800 1.4rem/1.2 var(--display); max-width: 240px;
}
.stamp-void { border-color: var(--error); color: var(--error); }
details summary { cursor: pointer; font-weight: 700; }

/* Footer */
.site-footer { background: var(--utility); color: #b9b0bf; margin-top: 64px; font-size: .95rem; }
/* Red band with a perforated lower edge, like the tear line on a ticket. */
.footer-band {
  height: 30px; background: var(--red);
  -webkit-mask: radial-gradient(circle 6px at 10px 100%, transparent 98%, #000) -10px 0 / 20px 100% repeat-x;
          mask: radial-gradient(circle 6px at 10px 100%, transparent 98%, #000) -10px 0 / 20px 100% repeat-x;
}
.site-footer a { color: #b9b0bf; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { font-family: var(--body); font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: 0; margin: 0 0 16px; }
.footer-top {
  display: grid; grid-template-columns: minmax(240px, 1.6fr) repeat(4, 1fr); gap: 40px 32px;
  padding: 64px 0 48px;
}
.brand-footer { color: #fff; font-size: 1.5rem; }
.site-footer .brand-footer:hover { color: #fff; }
.footer-brand p { margin: 16px 0 24px; max-width: 30em; line-height: 1.6; }
.footer-caption { display: block; font-size: .85rem; color: #8d8494; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.pay-chip {
  font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 10px; background: #fff; color: #5c2d91;
}
.pay-soon { background: transparent; color: #8d8494; border: 1.5px dashed #4a4150; }
.footer-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-help {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 40px 0 48px; border-top: 1px solid #3a3240;
}
.footer-help h2 { margin-bottom: 10px; }
.footer-help p { margin: 0; line-height: 1.6; }
.footer-help a { color: #fff; text-decoration: underline; text-decoration-color: #6b6172; text-underline-offset: 3px; }
.footer-bottom { background: #19141b; border-top: 1px solid #2e2733; }
.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; font-size: .88rem; }
.footer-bottom p { margin: 0; color: #8d8494; }
.socials { display: flex; align-items: center; gap: 10px; color: #8d8494; }
.socials span { margin-right: 6px; }
.site-footer .social {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: #2c2530; color: #e9e3ec; transition: background .15s;
}
.site-footer .social:hover { background: var(--red); color: #fff; }
.social svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-help { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-top { padding-top: 48px; gap: 32px 20px; }
  .footer-help { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 20px; padding-bottom: 20px; }
}

/* Info pages */
.prose { max-width: 680px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.03em; margin-bottom: 20px; }
.prose h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.prose p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.prose .lede { font-size: 1.125rem; line-height: 1.6; color: var(--muted); margin: 0; max-width: 34em; }
.prose .btn { color: #fff; }
