:root {
  --bg: #000000;
  --text: #FFFFFF;
  --muted: #A6A6A6;
  --rule: #777777;
  --field: #F9F9F9;
  --field-text: #111111;
  --red: #C8102E;
  --ok: #1F8A4C;
  --heading: 'Newsreader', Georgia, 'Times New Roman', serif;
  --body: 'Red Hat Text', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; }

.wrap { width: min(100% - 48px, 720px); margin-inline: auto; padding: 32px 0 64px; }
.logo { display: block; width: fit-content; margin: 0 auto 32px; line-height: 0; }
.logo img { display: block; width: clamp(130px, 28vw, 200px); height: auto; }
.hero-video { position: relative; margin: 0 0 40px; border-radius: 20px; overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-toggle { position: absolute; right: 12px; bottom: 12px; min-height: 40px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 0; background: rgba(0,0,0,.55); color: #fff; font: inherit; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
@media (min-width: 900px) { .hero-video { width: min(100vw - 80px, 1240px); margin-left: 50%; transform: translateX(-50%); aspect-ratio: 2.4 / 1; } }

h1 { font-family: var(--heading); font-weight: 300; font-size: clamp(30px, 6vw, 44px); line-height: 1.15; margin: 0 0 16px; }
h2 { font-family: var(--heading); font-weight: 300; font-size: 24px; margin: 0 0 12px; }
p { margin: 0 0 16px; }
a { color: var(--text); }

.meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 28px 0 36px; }
.meta div { padding: 18px 2px; }
.meta div + div { border-left: 1px solid var(--rule); padding-left: 20px; }
.eyebrow { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--red); margin: 0 0 6px; }

form { display: grid; gap: 26px; }
.field label, legend { display: block; margin: 0 0 10px; font-size: 17px; }
legend { padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 56px; padding: 14px 16px;
  border: 2px solid #8C8C8C; border-radius: 0; background: var(--field);
  color: var(--field-text); -webkit-text-fill-color: var(--field-text);
  font: inherit; font-size: 16px; /* 16px stops iOS zooming into fields */
  appearance: none; -webkit-appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='18' viewBox='0 0 12 18'%3E%3Cpath d='M1 7l5-5 5 5M1 11l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 48px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

.choices { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.choice { display: inline-flex; align-items: center; gap: 14px; font-size: 17px; cursor: pointer; }
.choice input { appearance: none; -webkit-appearance: none; width: 32px; height: 32px; margin: 0; border: 2px solid #8C8C8C; background: transparent; display: grid; place-content: center; cursor: pointer; flex: 0 0 auto; }
.choice input[type=radio] { border-radius: 50%; }
.choice input[type=checkbox]:checked { background: var(--field); border-color: var(--field); }
.choice input[type=checkbox]:checked::after { content: ''; width: 9px; height: 17px; border: solid #111; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.choice input[type=radio]:checked::after { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--text); }
.consent { align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { width: 24px; height: 24px; margin-top: 1px; }
.consent input[type=checkbox]:checked::after { width: 7px; height: 13px; }

.btn {
  display: block; width: 100%; min-height: 60px; padding: 16px 24px; border: 0; border-radius: 0;
  background: var(--field); color: var(--field-text); font: inherit; font-size: 15px;
  letter-spacing: .25em; text-transform: uppercase; cursor: pointer;
}
.btn:disabled { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--rule); }

.error { color: #FF8A8A; font-size: 14px; margin: 8px 0 0; }
[aria-invalid=true] { border-color: #FF8A8A !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: 13px; color: var(--muted); }

.notice { border: 1px solid var(--rule); padding: 16px 18px; }
#soldout { margin: 8px 0 24px; border-color: var(--red); }
#soldout h2 { color: #FFF; }
.card { border-top: 1px solid var(--rule); padding-top: 28px; }
.card form { display: block; margin-top: 24px; }

.ticket { background: #FFFFFF; color: #0A0A0A; text-align: center; padding: 32px 24px; margin: 8px auto 20px; max-width: 420px; }
.ticket img { display: block; width: 240px; height: 240px; margin: 0 auto 18px; }
.ticket-name { font-size: 20px; font-weight: 500; margin: 0 0 12px; }
.used { display: inline-block; margin: 8px 0 0; padding: 4px 10px; border: 1px solid #0A0A0A; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.hint { text-align: center; color: var(--muted); font-size: 14px; }
.staff { max-width: 420px; margin: 24px auto 0; }
#staff-result, #result { margin-top: 14px; }
.ok { color: #7CE0A3; }
.warn { color: #FF8A8A; }

/* Door */
.door-status { padding: 22px; margin: 18px 0; text-align: center; font-size: 22px; font-family: var(--heading); min-height: 84px; }
.door-status.ok { background: var(--ok); color: #FFF; }
.door-status.warn { background: var(--red); color: #FFF; }
.door-status.idle { border: 1px solid var(--rule); color: var(--muted); }
#reader { width: 100%; max-width: 480px; margin: 0 auto; background: #111; }
.guest-list { list-style: none; margin: 16px 0 0; padding: 0; }
.guest-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #333; }
.guest-list button { min-height: 40px; padding: 8px 14px; background: var(--field); color: #111; border: 0; font: inherit; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.guest-list .done { color: var(--muted); font-size: 13px; }
.counts { color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); padding-top: 24px; }
  .meta { grid-template-columns: 1fr; }
  .meta div + div { border-left: 0; border-top: 1px solid var(--rule); padding-left: 2px; }
}
