:root {
  --bg: #0a0a0a;
  --panel: #151515;
  --ivory: #f2efe8;
  --muted: #c9c4b8;
  --line: #3a3731;
  --line-strong: #6b665c;
  --accent: #ff6b6b;
  --accent-ink: #b3261e;
  --ink: #0a0a0a;
  --ink-soft: #4a463e;
  --serif: 'Bodoni Moda', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: #ff9c9c; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--ivory); color: var(--ink); padding: 10px 14px; }

.kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--accent); }
.fine { font-size: 13px; color: var(--muted); }
.center { text-align: center; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1; letter-spacing: -0.01em; margin-bottom: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 22px; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 800; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--ivory); color: var(--ink); }
.btn-primary:hover { background: #ffffff; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #262626; color: var(--ivory); }
.btn-ghost { min-height: 48px; background: transparent; color: var(--ivory); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ivory); color: var(--ivory); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- header ---------- */
.top { padding: 14px 0; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-row .kicker { letter-spacing: 0.16em; }
.top-link { flex: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line-strong); color: var(--ivory); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.top-link:hover { border-color: var(--ivory); color: var(--ivory); }

/* ---------- hero ---------- */
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 320px; object-fit: cover; object-position: 78% center; }
.hero-media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to bottom, rgba(10,10,10,0), var(--bg)); }
.hero-copy { position: relative; margin-top: -96px; display: flex; flex-direction: column; gap: 14px; padding-bottom: 44px; }
.title { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 19vw, 112px); line-height: 0.92; letter-spacing: -0.02em; }
.title em { display: block; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.3; }
.lede { color: var(--muted); max-width: 46ch; }
.facts { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts span { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts strong { text-align: right; }

.countdown { padding: 16px 14px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.countdown-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.countdown-head span { white-space: nowrap; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: center; }
.countdown-grid b { display: block; font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-grid span { display: block; margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- trailer ---------- */
.trailer { padding: 12px 0 48px; }
.trailer video { width: 100%; height: auto; background: #000; }

/* ---------- booking ---------- */
.book { background: var(--panel); padding: 48px 0 56px; scroll-margin-top: 8px; }
.resume { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 16px; margin-bottom: 20px; border: 1px solid var(--accent); }
.resume a { font-weight: 800; }
.closed { padding: 22px 18px; border: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 10px; }
.closed h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; }

.form { display: flex; flex-direction: column; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.step-head { display: flex; align-items: center; gap: 12px; margin: 34px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.form > .step-head:first-of-type { margin-top: 6px; }
.step-num { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); color: var(--ink); font-weight: 800; font-size: 15px; }
.step-head h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; }

.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend, .label { display: block; margin-bottom: 8px; padding: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.field input[type='text'], .field input[type='tel'], .field input[type='email'] {
  width: 100%; height: 56px; padding: 0 16px; border-radius: 0; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ivory); font-family: var(--sans); font-size: 17px; -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #8f897d; }
.field input:focus { outline: none; border-color: var(--ivory); box-shadow: 0 0 0 1px var(--ivory); }
.field.invalid input[type='text'], .field.invalid input[type='tel'], .field.invalid input[type='email'], .field.invalid .upload { border-color: var(--accent); }
.error { display: none; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.error.show { display: block; }
.error-box.show { padding: 12px 14px; border: 1px solid var(--accent); margin: 0 0 14px; }

/* pass preview */
.pass-holder { margin: 2px 0 22px; }
.pass { background: var(--ivory); color: var(--ink); border-radius: 14px; overflow: hidden; }
.pass-main { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.pass-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.pill { padding: 4px 10px; border-radius: 99px; background: var(--ink); color: var(--ivory); white-space: nowrap; }
.pass-film { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; }
.pass-label { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.pass-name { font-family: var(--serif); font-size: 32px; line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.pass-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pass-grid strong { display: block; font-weight: 800; font-size: 15px; }
.pass-cut { border-top: 2px dashed var(--ink); margin: 0 14px; }
.pass-stub { padding: 14px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pass-bars-wrap { flex: 1; min-width: 0; }
.pass-bars { height: 40px; background: repeating-linear-gradient(90deg, var(--ink) 0, var(--ink) 2px, transparent 2px, transparent 5px, var(--ink) 5px, var(--ink) 6px, transparent 6px, transparent 10px); }
.pass-code { margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; }
.pass-total { flex: none; text-align: right; }
.pass-amount { font-family: var(--serif); font-size: 34px; line-height: 1; }
.assure { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.assure li { padding-left: 22px; position: relative; }
.assure li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* tiers */
.tiers { display: grid; gap: 10px; }
.tier { display: block; position: relative; cursor: pointer; }
.tier input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tier-box { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 16px 50px; border: 2px solid var(--line); background: var(--bg); position: relative; transition: border-color 0.15s ease; }
.tier-box::before { content: ''; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); }
.tier input:checked + .tier-box { border-color: var(--ivory); }
.tier input:checked + .tier-box::before { border-color: var(--ivory); background: radial-gradient(circle, var(--ivory) 0 5px, transparent 6px); }
.tier input:focus-visible + .tier-box { outline: 3px solid var(--accent); outline-offset: 2px; }
.tier-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tier-name { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.tier-price { font-family: var(--serif); font-size: 30px; line-height: 1; }
.tier-desc { font-size: 15px; color: var(--muted); }
.tier-note { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tier-note.accent { color: var(--accent); }
.tier.sold { cursor: not-allowed; }
.tier.sold .tier-box { opacity: 0.45; }
.tier.sold input { cursor: not-allowed; }

/* guests */
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.qty-row .label { margin-bottom: 0; }
.stepper { display: flex; align-items: center; gap: 6px; flex: none; }
.stepper button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ivory); font-size: 24px; line-height: 1; cursor: pointer; }
.stepper button:hover { border-color: var(--ivory); }
.stepper button[disabled] { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 44px; text-align: center; font-family: var(--serif); font-size: 32px; line-height: 1; }

/* payment */
.amount { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; margin-bottom: 14px; border: 1px solid var(--line-strong); background: var(--bg); }
.amount .label { margin-bottom: 2px; }
.amount .hint { margin-top: 2px; white-space: nowrap; }
.amount .btn { flex: none; white-space: nowrap; padding: 0 14px; font-size: 12px; letter-spacing: 0.1em; }
.amount-big { font-family: var(--serif); font-size: 44px; line-height: 1; }
.toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ivory); margin-bottom: 12px; }
.toggle label { position: relative; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle span { display: grid; place-items: center; min-height: 52px; font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory); }
.toggle input:checked + span { background: var(--ivory); color: var(--ink); }
.toggle input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: -3px; }
.qr-card { padding: 16px; background: #ffffff; color: var(--ink); text-align: center; }
.qr-card img { width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
.qr-name { margin: 8px 0 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.how { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.how b { color: var(--ivory); }

.field > label.upload { display: block; position: relative; margin: 0; border: 2px dashed var(--line-strong); background: var(--bg); cursor: pointer; font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ivory); }
.upload:hover { border-color: var(--ivory); }
.upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.upload-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; text-align: center; }
.upload-empty b { font-size: 16px; }
.upload-empty span { font-size: 13px; color: var(--muted); }
.upload-done { display: flex; align-items: center; gap: 14px; padding: 12px; }
.upload-done img { width: 64px; height: 84px; object-fit: cover; flex: none; border: 1px solid var(--line-strong); }
.upload-done > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upload-done > span > span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-done u { font-size: 13px; color: var(--accent); }
.btn-submit { min-height: 64px; font-size: 15px; margin-bottom: 12px; }

/* ---------- evening ---------- */
.evening { padding: 56px 0; }
.evening-grid { display: grid; gap: 40px; }
.schedule { margin: 0; display: grid; gap: 16px; }
.schedule > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; }
.schedule dt { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent); }
.schedule dd { margin: 0; }
.schedule dd strong { display: block; }
.schedule dd span { font-size: 14px; color: var(--muted); }
.host { margin-top: 24px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.host img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center top; flex: none; }
.host div { display: flex; flex-direction: column; }
.host strong { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; }
.host div > span:last-child { font-size: 13px; color: var(--muted); }
.cast { margin: 8px 0 12px; font-family: var(--serif); font-size: 26px; line-height: 1.25; }
.stills { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stills img { width: 100%; height: 120px; object-fit: cover; }

/* ---------- faq ---------- */
.faq { padding: 8px 0 56px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative; font-weight: 800; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 26px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 24px 0 28px; font-size: 13px; color: var(--muted); }
.foot-row { display: flex; align-items: center; gap: 16px; }
.foot-row img { width: 72px; height: 72px; flex: none; border-radius: 10px; }
.foot p + p { margin-top: 4px; }

/* ---------- sticky bar (phones) ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  background: var(--ivory); color: var(--ink);
  transition: transform 0.2s ease;
}
.bar.hide { transform: translateY(110%); }
.bar-small { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.bar-total { font-family: var(--serif); font-size: 28px; line-height: 1; }
.bar .btn { min-height: 50px; }

/* ---------- larger screens ---------- */
@media (min-width: 700px) {
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tier-box { height: 100%; }
  .stills img { height: 160px; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .bar { display: none; }
  .wrap { padding: 0 32px; }
  .h2 { font-size: 48px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; max-width: 1280px; margin: 0 auto; }
  .hero-media { order: 2; min-height: 640px; }
  .hero-media img { position: absolute; inset: 0; height: 100%; }
  .hero-media::after { top: 0; height: auto; width: 45%; right: auto; background: linear-gradient(to right, var(--bg), rgba(10,10,10,0)); }
  .hero-copy { margin-top: 0; padding: 40px 32px 56px; justify-content: center; }
  .title { font-size: clamp(88px, 9vw, 128px); }
  .trailer { padding-top: 40px; }
  .trailer .wrap { max-width: 900px; }
  .form { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .form > * { grid-column: 2; }
  .form > .pass-holder { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: 24px; margin: 6px 0 0; }
  .tiers { grid-template-columns: 1fr; }
  .evening-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .bar, .tier-box { transition: none; }
}
