:root {
  --ink: #241c16;
  --muted: #5e5348;
  --saffron: #9c4221;
  --saffron-deep: #7c3016;
  --gold: #b8860b;
  --cream: #f3eee4;
  --paper: #fffdf8;
  --line: #eadfce;
  --indigo: #1e3f66;
  --hall: #12161c;
  --ok: #0f6b3c;
  --ok-bg: #e5f6ec;
  --wait: #8a4b08;
  --wait-bg: #fde7c7;
  --shadow: 0 24px 60px rgba(70, 36, 12, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  background:
    radial-gradient(1000px 420px at 100% -80px, rgba(224, 122, 40, 0.22), transparent 60%),
    radial-gradient(820px 480px at -140px 200px, rgba(30, 77, 123, 0.13), transparent 55%),
    var(--cream);
}
img, video, iframe { max-width: 100%; }
button, input { font: inherit; color: inherit; }
::selection { background: #f3c7a2; }
:focus-visible { outline: 3px solid #e07a28; outline-offset: 2px; }

a { color: var(--saffron); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; }
p { margin: 0; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.brand img { height: 54px; width: auto; display: block; }
.topnav { display: flex; gap: 18px; }
.topnav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}
.topnav a:hover { color: var(--saffron); }
.back-link { color: var(--ink); text-decoration: none; font-size: 0.92rem; }
.drop .solid-btn { width: 100%; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin: 8px auto 64px; }

.ticket {
  width: min(720px, 100%);
  margin: 12px auto 56px;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px 18px 18px;
}
.kicker {
  margin: 0 0 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--saffron);
  font-weight: 600;
}
.ticket h1 {
  font-size: clamp(2.15rem, 8vw, 3.6rem);
  letter-spacing: -0.02em;
}
.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 10px 0 18px;
  color: var(--muted);
}
.fields { display: grid; gap: 12px; }
.field span, .label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
}
.field input:focus { border-color: #e07a28; outline: none; }
.ticket-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fbf6ef;
  border: 1px solid #f0e4d4;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.stepper button {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  font-size: 1.45rem;
  cursor: pointer;
  line-height: 1;
}
.stepper button:disabled { color: #c8b8a6; cursor: default; }
.stepper input {
  width: 42px;
  border: 0;
  text-align: center;
  font-weight: 600;
  background: transparent;
  padding: 0;
}
.stepper input:focus { outline: none; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.ticket-total { text-align: right; }
.ticket-total span { color: var(--muted); font-size: 0.92rem; }
.ticket-total strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 0.95;
  color: var(--saffron);
  font-weight: 600;
}
.form-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fde8e4;
  color: #8f2d2d;
}
.book-btn, .solid-btn, .ghost-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
}
.book-btn, .solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  background: var(--saffron);
  color: #fffaf3;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.book-btn:hover, .solid-btn:hover { background: var(--saffron-deep); }
.book-btn:disabled, .solid-btn:disabled { opacity: 0.7; cursor: wait; }
.ghost-btn {
  min-height: 42px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.ghost-btn:hover { border-color: var(--saffron); color: var(--saffron); }
.fine {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.welcome {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}
.portrait {
  width: min(280px, 72vw);
  margin: 0 auto;
  aspect-ratio: 1;
  padding: 7px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, #e7b15a, #fff, #e07a28, #1e4d7b, #e7b15a);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--paper);
}
.welcome h2 { font-size: clamp(2rem, 5vw, 3.3rem); margin-bottom: 12px; }
.welcome p + p { margin-top: 12px; }
.welcome em { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--indigo); }

.facts, .benefits {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 42px;
}
.facts { grid-template-columns: 1fr 1fr; }
.benefits { grid-template-columns: 1fr 1fr; }
.facts li, .benefit {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 16px;
}
.facts span, .benefit span {
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--saffron);
  font-weight: 600;
}
.facts strong { display: block; margin-top: 4px; font-size: 1.02rem; }
.benefit h3 { font-size: 1.7rem; margin: 6px 0; }

.section-title { margin: 8px 0 8px; font-size: clamp(2rem, 5vw, 3rem); }
.section-copy { max-width: 38rem; color: var(--muted); margin-bottom: 18px; }

.stage {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  margin-bottom: 12px;
}
.faces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.faces img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 18px;
}

.hall {
  background:
    radial-gradient(700px 280px at 15% 0%, rgba(224, 122, 40, 0.2), transparent 55%),
    var(--hall);
  color: #f6f1e8;
  border-radius: 28px;
  padding: 26px 16px 18px;
  margin-bottom: 48px;
}
.hall .section-copy { color: #d9d0c4; }
.clips {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(280px, 78%);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.clips figure { margin: 0; scroll-snap-align: start; }
.clips video {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  background: #0b0e12;
}
.clips figcaption {
  margin-top: 8px;
  min-height: 2.8em;
  font-size: 0.92rem;
  color: #d9d0c4;
}
.swipe { margin: 0 0 10px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: #b7aa9c; }

.yt-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.yt, .yt-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  background: #1b140f center/cover no-repeat;
}
.yt {
  position: relative;
  padding: 0;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt span {
  position: absolute;
  inset: auto 12px 12px auto;
  background: #fffaf3;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}
.clips a.reel {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #0b0e12;
}
.clips a.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.close-cta {
  text-align: center;
  padding: 10px 0 28px;
}
.close-cta h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 8px; }
.close-cta p { color: var(--muted); margin-bottom: 6px; }
.close-cta .solid-btn { width: auto; min-width: 220px; padding: 0 28px; }

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(36, 28, 22, 0.08);
}
.footer a { color: var(--muted); }

.pay-amount {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 12vw, 4.6rem);
  line-height: 0.9;
  color: var(--saffron);
  margin: 8px 0;
}
.lede { font-size: 1.08rem; margin-bottom: 8px; }
.banner {
  border-radius: 16px;
  padding: 12px 14px;
  margin: 12px 0;
}
.banner.wait { background: var(--wait-bg); color: var(--wait); }
.banner.ok { background: var(--ok-bg); color: var(--ok); }
.summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 16px 0 20px;
  padding: 16px;
  background: var(--paper);
  border-radius: 18px;
}
.summary div span { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.summary strong { font-weight: 600; word-break: break-word; }
.pay-options { display: grid; gap: 12px; }
.pay-card, .panel {
  background: var(--paper);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 12px;
}
.pay-card h2, .panel h2 { font-size: 1.8rem; margin-bottom: 8px; }
.qr-slot {
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(90deg, #eadfce 0 10px, transparent 10px 16px) border-box;
  border: 1px dashed #d9cbb8;
  overflow: hidden;
}
.qr-slot img { width: 100%; height: auto; display: block; border-radius: 12px; }
.qr-slot:has(img) { border: 0; background: transparent; min-height: 0; padding: 0; }
.placeholder { color: var(--muted); text-align: center; padding: 24px; }
#gpay-number.placeholder, #wa-number.placeholder {
  text-align: left;
  padding: 8px 0 0;
  font-family: var(--sans);
  font-size: 1rem;
}
.gpay-number {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 8px 0 10px;
  word-break: break-all;
}
.or-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.or-line::before, .or-line::after {
  content: "";
  height: 1px;
  background: #e4d8c8;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row .ghost-btn, .btn-row .solid-btn { width: auto; margin-top: 0; }
.drop {
  margin-top: 8px;
  border: 1.5px dashed #d9cbb8;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  background: #fff;
}
.drop.over { border-color: var(--saffron); background: #fff8f2; }
.drop input { display: block; margin: 10px auto; }
.drop img {
  display: block;
  width: min(280px, 100%);
  margin: 12px auto 0;
  border-radius: 12px;
}
.page-thanks .solid-btn { width: auto; padding: 0 18px; }

.gate, .desk { width: min(880px, calc(100% - 32px)); margin: 12px auto 48px; }
.gate {
  background: var(--paper);
  border-radius: 24px;
  padding: 28px 20px;
  box-shadow: var(--shadow);
}
.gate h1, .desk h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.gate p, .hint { color: var(--muted); margin: 8px 0 14px; }
.stats, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.stat, .filter {
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid transparent;
}
.stat { padding: 10px 12px; min-width: 120px; }
.stat b { display: block; font-family: var(--sans); font-size: 1.45rem; font-weight: 600; line-height: 1; }
.stat span { color: var(--muted); font-size: 0.82rem; }
.filter {
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
}
.filter[aria-pressed="true"] { background: var(--ink); color: #fffaf3; border-color: var(--ink); }
.search {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #fff;
}
.reg {
  background: var(--paper);
  border-radius: 18px;
  padding: 16px;
  margin-top: 12px;
}
.reg.unapproved { box-shadow: inset 4px 0 0 #e07a28; }
.reg.approved { box-shadow: inset 4px 0 0 #1f8a4c; }
.reg.nonpaid { box-shadow: inset 4px 0 0 #c4b8a8; }
.reg-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.reg h2 { font-size: 1.8rem; }
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.chip-nonpaid { background: #efe8dc; color: #5c5146; }
.chip-unapproved { background: var(--wait-bg); color: var(--wait); }
.chip-approved { background: var(--ok-bg); color: var(--ok); }
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 12px 0;
}
.reg-grid span { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.reg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.reg-actions .solid-btn, .reg-actions .ghost-btn { width: auto; margin: 0; min-height: 42px; padding: 0 14px; }
.ref { color: var(--muted); font-size: 0.85rem; }
.empty { padding: 20px 4px; color: var(--muted); }
dialog {
  width: min(520px, calc(100% - 24px));
  border: 0;
  border-radius: 18px;
  padding: 12px;
}
dialog img { width: 100%; height: auto; border-radius: 12px; }
dialog::backdrop { background: rgba(18, 14, 10, 0.72); }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }

@media (max-width: 640px) {
  .topnav { display: none; }
  .brand img { height: 44px; }
  .ticket-box { flex-direction: column; align-items: stretch; }
  .ticket-total { display: flex; justify-content: space-between; align-items: baseline; text-align: left; }
  .ticket-total strong { font-size: 2.2rem; }
  .summary, .reg-grid { grid-template-columns: 1fr; }
}
@media (min-width: 720px) {
  .ticket { padding: 32px 32px 24px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field-name { grid-column: 1 / -1; }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .pay-options { grid-template-columns: 1fr 1fr; }
  .yt-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .welcome { grid-template-columns: 280px 1fr; gap: 48px; }
  .portrait { margin: 0; }
  .clips {
    grid-auto-flow: unset;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: unset;
    overflow: visible;
  }
  .swipe { display: none; }
  .hall { padding: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
