:root {
  --black: #030303;
  --bone: #f1eee8;
  --muted: rgba(241,238,232,.42);
  --line: rgba(241,238,232,.16);
  --red: #8f1511;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  color: var(--bone);
  overflow: hidden;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .07;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.22) 0 1px, transparent 1px),
    radial-gradient(circle at 76% 62%, rgba(255,255,255,.12) 0 1px, transparent 1px);
  background-size: 9px 9px, 13px 13px;
}

.veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(241,238,232,.055), transparent 22%),
    radial-gradient(circle at 50% 50%, transparent 0 54%, rgba(0,0,0,.9) 100%);
  transition: background 500ms ease;
}

.stage {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8vw;
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(.995);
  pointer-events: none;
  transition: opacity 980ms ease, transform 980ms ease, filter 980ms ease;
  filter: blur(10px);
}

.scene.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  filter: blur(0);
}

.ant-mark {
  display: flex;
  gap: clamp(34px, 7vw, 92px);
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 200;
  letter-spacing: .06em;
  line-height: 1;
  transform: translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 10px), 0);
  transition: transform 650ms ease;
}

.ant-mark span {
  opacity: 0;
  animation: letter 900ms ease forwards;
}

.ant-mark span:nth-child(2) { animation-delay: 260ms; }
.ant-mark span:nth-child(3) { animation-delay: 520ms; }

@keyframes letter {
  from { opacity: 0; transform: translateY(8px); filter: blur(8px); }
  to { opacity: .94; transform: translateY(0); filter: blur(0); }
}

.question {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 36px);
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.6;
  color: rgba(241,238,232,.86);
  transform: translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -6px), 0);
}

h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(46px, 8vw, 132px);
  font-weight: 300;
  letter-spacing: .36em;
  line-height: 1;
  transform: translate3d(calc(var(--px, 0) * 7px), calc(var(--py, 0) * 7px), 0);
}

.date {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .2em;
}

.action {
  position: absolute;
  left: 50%;
  bottom: 7vh;
  transform: translateX(-50%);
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .28em;
  line-height: 1.9;
  padding: 18px 22px;
  cursor: pointer;
  transition: color 250ms ease, opacity 250ms ease, transform 250ms ease;
}

.action:hover {
  color: var(--bone);
  transform: translateX(-50%) translateY(-2px);
}

.action::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin: 14px auto 0;
  background: currentColor;
  opacity: .45;
}

.ticket-action.locked {
  cursor: default;
  opacity: .55;
}

.reservation {
  width: min(420px, 86vw);
  display: grid;
  gap: 26px;
  text-align: left;
}

.form-title {
  margin: 0 0 18px;
  color: var(--red);
  font-size: clamp(34px, 5vw, 78px);
  font-weight: 300;
  letter-spacing: .28em;
  text-align: center;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .24em;
}

input, select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--bone);
  padding: 12px 0;
  font-size: 18px;
  font-family: inherit;
  outline: none;
  border-radius: 0;
}

select option { color: #111; }

input:focus, select:focus {
  border-bottom-color: rgba(241,238,232,.7);
}

.reserve {
  margin-top: 24px;
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--bone);
  padding: 18px;
  font-size: 11px;
  letter-spacing: .28em;
  cursor: pointer;
  transition: background 300ms ease, color 300ms ease;
}

.reserve:hover {
  background: var(--bone);
  color: var(--black);
}

.success-page {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.thanks {
  margin: 0 0 52px;
  font-size: clamp(34px, 5vw, 84px);
  font-weight: 300;
  letter-spacing: -.04em;
}

.account {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}

.account p, .note {
  margin: 0;
  color: rgba(241,238,232,.72);
  font-size: 16px;
  letter-spacing: .08em;
  line-height: 1.7;
}

.back {
  display: inline-block;
  margin-top: 70px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .34em;
}

@media (max-width: 760px) {
  .scene { padding: 24px; }
  h1 { letter-spacing: .22em; }
  .date { line-height: 1.7; }
}
