:root {
  --ink: #f0e6d8; --muted: rgba(240,230,216,.62); --bg: #100e0c; --bg-soft: #1a1612; --white: #221c16;
  --line: rgba(240,230,216,0.14); --accent: #c9a36a; --accent-deep: #e0c08a; --accent-bar: #e0c08a;
  --on-accent: #100e0c; --font: 'Anuphan', sans-serif; --heading: 'Prompt', 'Anuphan', sans-serif;
  --brand: 'Cormorant Garamond', 'Anuphan', serif; --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 920px; --demo-h: 48px; --header-h: 72px; --ease: cubic-bezier(0.22, 1, 0.36, 1); --radius: 2px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font); color: var(--ink); line-height: 1.65; overflow-x: hidden; font-synthesis: none;
  background:
    radial-gradient(ellipse 40% 35% at 50% 0%, rgba(201,163,106,0.12), transparent 55%),
    var(--bg);
}
img { max-width: 100%; display: block; } a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; font-size: 16px; } ul, ol, dl { list-style: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.demo-bar { position: sticky; top: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .55rem 1.25rem; background: #080706; color: #fff; font-size: .82rem; }
.demo-bar strong { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--accent-bar); font-weight: 500; }
.demo-bar__actions { display: flex; gap: .45rem; flex-wrap: wrap; }
.demo-bar a { padding: .35rem .7rem; border: 1px solid rgba(255,255,255,.25); font-size: .78rem; font-weight: 500; }
.demo-bar a.is-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.site-header { position: sticky; top: var(--demo-h); z-index: 50; background: rgba(16,14,12,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); position: relative; }
.brand { font-family: var(--heading); font-weight: 700; font-size: 1.25rem; display: inline-flex; align-items: baseline; gap: .45rem; }
.brand small { font-family: var(--brand); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: .45rem .8rem; cursor: pointer; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--muted); }
.nav-cta { background: var(--accent); color: var(--on-accent) !important; padding: .55rem 1.05rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.4rem; font-weight: 600; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.hero { position: relative; min-height: min(92dvh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: ken 22s var(--ease) both; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,6,5,.45) 0%, rgba(8,6,5,.82) 55%, rgba(8,6,5,.95) 100%); }
.hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.gold-dust {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent-bar); box-shadow: 0 0 6px rgba(224,192,138,.6);
  animation: dustFall 11s linear infinite;
}
.gold-dust--1 { left: 18%; top: -5%; animation-duration: 12s; }
.gold-dust--2 { left: 42%; top: -8%; width: 2px; height: 2px; animation-duration: 14s; animation-delay: -3s; }
.gold-dust--3 { left: 58%; top: -4%; animation-duration: 10s; animation-delay: -6s; }
.gold-dust--4 { left: 72%; top: -10%; width: 2px; height: 2px; animation-duration: 13s; animation-delay: -2s; }
.gold-dust--5 { left: 30%; top: -6%; animation-duration: 15s; animation-delay: -8s; }
.punch {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(224,192,138,.45); background: rgba(8,6,5,.35);
  animation: punchIn .8s var(--ease) both;
}
.punch--1 { right: 16%; top: 22%; animation-delay: .4s; }
.punch--2 { right: 22%; top: 30%; width: 14px; height: 14px; animation-delay: .7s; }
.punch--3 { right: 12%; top: 34%; width: 12px; height: 12px; animation-delay: 1s; }
.hero__inner { position: relative; z-index: 2; padding: 5.5rem 0 4rem; max-width: 34rem; margin-inline: auto; width: min(100% - 2.5rem, 34rem); text-align: center; animation: rise 1s var(--ease) both; }
.hero__brand { font-family: var(--heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.2rem; display: flex; gap: .5rem; align-items: baseline; justify-content: center; }
.hero__brand span { font-family: var(--brand); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bar); font-weight: 600; }
.hero h1 { font-family: var(--heading); font-size: clamp(2.2rem, 5vw, 3.35rem); line-height: 1.18; letter-spacing: -.02em; margin-bottom: 1rem; }
.hero h1 em { display: block; font-family: var(--brand); font-style: italic; font-weight: 500; color: var(--accent-bar); font-size: .72em; margin-top: .35rem; }
.hero__lead { color: rgba(255,255,255,.8); margin-bottom: 1.6rem; }
@keyframes ken { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes dustFall {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: .85; }
  100% { transform: translate3d(12px, 110vh, 0); opacity: 0; }
}
@keyframes punchIn {
  from { opacity: 0; transform: scale(1.6); }
  to { opacity: 1; transform: scale(1); }
}

.section { padding: 4.75rem 0; }
.section--soft { background: var(--bg-soft); }
.section--accent { background: #080706; padding: 5rem 0; }
.eyebrow { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .65rem; }

.tickets-head { margin-bottom: 2.25rem; max-width: 36rem; }
.tickets-head h2 { font-family: var(--heading); font-size: clamp(1.85rem, 3.4vw, 2.5rem); letter-spacing: -.02em; margin-bottom: .55rem; }
.tickets-head p { color: var(--muted); }

/* TICKET ROWS — unique to Bake Oven C */
.ticket {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 0; margin-bottom: 1.15rem;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color .2s, transform .25s var(--ease);
}
.ticket.reveal { transform: translateX(-18px); }
.ticket.reveal.is-in { transform: none; }
.ticket:hover,
.ticket.reveal.is-in:hover { border-color: var(--accent); transform: translateX(4px); }
.ticket__stub {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 1.25rem .75rem; background: #2a2218; border-right: 2px dashed rgba(240,230,216,.25);
  text-align: center;
}
.ticket__stub::after {
  content: ''; position: absolute; inset: 0; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(224,192,138,.18), transparent);
  transform: translateX(-140%);
}
.ticket.reveal.is-in .ticket__stub::after { animation: stubShine 1.2s var(--ease) .2s both; }
@keyframes stubShine {
  from { transform: translateX(-140%); }
  to { transform: translateX(220%); }
}
.ticket__no { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--accent-bar); writing-mode: horizontal-tb; }
.ticket__qty { font-family: var(--brand); font-size: 1.1rem; font-style: italic; color: var(--ink); }
.ticket__body { display: grid; grid-template-columns: 140px 1fr; gap: 1.15rem; padding: 1rem 1.15rem; align-items: center; }
.ticket__body img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ticket__body h3 { font-family: var(--heading); font-size: 1.3rem; margin-bottom: .35rem; letter-spacing: -.015em; }
.ticket__body p { color: var(--muted); font-size: .92rem; margin-bottom: .55rem; }
.ticket__body strong { font-family: var(--heading); color: var(--accent-deep); font-variant-numeric: tabular-nums; }

.flow { display: grid; gap: 0; }
.flow li {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem 0; border-top: 1px solid var(--line);
}
.flow__no { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--accent-bar); padding-top: .2rem; }
.flow h3 { font-family: var(--heading); font-size: 1.2rem; margin-bottom: .35rem; }
.flow p { color: var(--muted); font-size: .95rem; }

.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; margin-bottom: 2rem; }
.slot {
  border: 1px solid var(--line); background: var(--white); padding: 1.25rem 1.1rem;
  display: grid; gap: .4rem;
}
.slot__day { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.slot strong { font-family: var(--heading); font-size: 1.25rem; }
.slot p { color: var(--muted); font-size: .9rem; }
.slot__status { font-family: var(--brand); font-style: italic; font-size: 1rem; color: var(--muted); margin-top: .35rem; }
.slot__status.is-open { color: var(--accent-deep); }
.slot__status.is-hot { color: #e8b4a0; animation: statusBlink 1.6s ease-in-out infinite; }
.slot__status.is-open::before,
.slot__status.is-hot::before {
  content: ''; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%;
  margin-right: .4rem; vertical-align: middle; background: currentColor;
  box-shadow: 0 0 0 0 currentColor; animation: statusPulse 1.8s ease-out infinite;
}
@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .65; }
}
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(224,192,138,.45); }
  70% { box-shadow: 0 0 0 8px rgba(224,192,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,192,138,0); }
}

.rules { display: grid; gap: 0; }
.rules div { display: grid; gap: .35rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.rules dt { font-family: var(--heading); font-size: 1.15rem; }
.rules dd { color: var(--muted); font-size: .95rem; }

.night-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.night-shot { margin: 0; border: 1px solid var(--line); background: var(--white); overflow: hidden; }
.night-shot img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform .55s var(--ease);
}
.night-shot:hover img { transform: scale(1.05); }
.night-shot--wide { grid-column: span 2; }
.night-shot--wide img { aspect-ratio: 16/10; }
.night-shot figcaption { padding: .7rem .85rem; font-size: .85rem; color: var(--muted); }

.voice-slips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.voice-slip {
  margin: 0;
  padding: 1.15rem 1.05rem 1rem;
  border: 1px dashed var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}
.voice-slip:nth-child(2n) { transform: rotate(0.45deg); }
.voice-slip:nth-child(2n+1) { transform: rotate(-0.4deg); }
.voice-slip__no {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bar);
}
.voice-slip p {
  font-family: var(--heading);
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}
.voice-slip figcaption {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  margin-top: auto;
}
@media (max-width: 900px) {
  .voice-slips {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }
  .voice-slip {
    flex: 0 0 min(78vw, 16.5rem);
    scroll-snap-align: start;
    transform: none;
  }
}

.faq { display: grid; gap: .65rem; }
.faq details { border: 1px solid var(--line); background: var(--white); padding: 1rem 1.15rem; }
.faq summary { font-family: var(--heading); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent); font-weight: 500; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin-top: .65rem; font-size: .95rem; }

/* Centered ticket stub form */
.stub-form { width: min(100% - 2.5rem, 26rem); margin-inline: auto; position: relative; }
.stub-form__head {
  position: relative; text-align: center; padding: 1.5rem 1.25rem 1.25rem; background: #2a2218; border: 1px solid var(--line); border-bottom: none;
}
.stub-form__head > span:not(.stamp) { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; color: var(--accent-bar); margin-bottom: .65rem; }
.stub-form__head strong { display: block; font-family: var(--heading); font-size: 1.55rem; margin-bottom: .5rem; color: #fff; }
.stub-form__head p { color: rgba(255,255,255,.7); font-size: .92rem; }
.stub-form__head b { color: #fff; font-weight: 600; }
.stamp {
  position: absolute; right: .85rem; top: .85rem; z-index: 1;
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 3.4rem; height: 3.4rem; border: 2px solid rgba(224,192,138,.75); border-radius: 50%;
  font-family: var(--mono) !important; font-size: .58rem !important; letter-spacing: .12em !important;
  color: var(--accent-bar) !important; margin: 0 !important; transform: rotate(12deg) scale(.6);
  opacity: 0;
}
.stub-form.reveal.is-in .stamp { animation: stampHit .55s var(--ease) .35s both; }
@keyframes stampHit {
  0% { opacity: 0; transform: rotate(12deg) scale(1.4); }
  70% { opacity: 1; transform: rotate(12deg) scale(.95); }
  100% { opacity: 1; transform: rotate(12deg) scale(1); }
}
.form {
  background: #f0e6d8; color: #1a1612; padding: 1.5rem 1.35rem 1.6rem; display: grid; gap: .85rem;
  border: 1px solid var(--line); border-top: 2px dashed rgba(26,22,18,.2);
}
.field { display: grid; gap: .3rem; }
.field label { font-size: .85rem; font-weight: 500; color: #5a4e42; }
.field input, .field select, .field textarea { padding: .75rem .9rem; border: 1px solid rgba(26,22,18,.18); background: #fff; color: #1a1612; }

.site-footer { background: #080706; color: rgba(255,255,255,.65); padding: 2rem 0; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.site-footer .brand { color: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .schedule { grid-template-columns: 1fr; }
  .night-grid { grid-template-columns: 1fr 1fr; }
  .night-shot--wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .ticket { grid-template-columns: 4.5rem 1fr; }
  .ticket__body { grid-template-columns: 1fr; }
  .night-grid { grid-template-columns: 1fr; }
  .night-shot--wide { grid-column: auto; }
  .hero__inner { text-align: left; margin-left: max(calc((100% - var(--max)) / 2), 1.25rem); margin-right: auto; }
  .btn-row { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__inner,
  .gold-dust, .punch, .slot__status.is-hot,
  .slot__status.is-open::before, .slot__status.is-hot::before,
  .stub-form.reveal.is-in .stamp,
  .ticket.reveal.is-in .ticket__stub::after { animation: none; }
  .stamp { opacity: 1; transform: rotate(12deg) scale(1); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticket.reveal { transform: none; }
}
