@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --paper: #f3f5f8;
  --card: #ffffff;
  --ink: #0f172a;
  --mute: #475569;
  --blue: #1d4ed8;
  --blue-2: #1e3a8a;
  --orange: #f97316;
  --line: #d7dee8;
  --chip: #e8eef9;
  --max: 1080px;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(#eef2f7 1px, transparent 1px) 0 0 / 100% 28px,
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 0.45em; line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
p { color: var(--mute); margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 80; }
[hidden] { display: none !important; }

.toolbar {
  position: sticky; top: 0; z-index: 40;
  background: #0f172a; color: #e2e8f0;
  border-bottom: 3px solid var(--orange);
}
.toolbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--mono); font-size: 0.82rem; font-weight: 700; }
.brand img { width: 32px; height: 32px; background: #fff; border-radius: 4px; }
nav.primary { display: flex; gap: 16px; font-size: 0.85rem; }
nav.primary a { text-decoration: none; color: #cbd5e1; }
nav.primary a:hover, nav.primary a[aria-current="page"] { color: #fff; }
.burger { display: none; width: 40px; height: 40px; background: transparent; border: 1px solid #334155; color: #fff; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--blue);
  background: var(--blue); color: #fff; text-decoration: none; font: inherit; font-weight: 700;
  cursor: pointer; font-size: 0.88rem;
}
.btn:hover { background: var(--blue-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-orange { background: var(--orange); border-color: var(--orange); color: #111; }

.hero { padding: 48px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.ticket {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 0.75rem; background: var(--chip); color: var(--blue-2);
  padding: 5px 10px; border-radius: 4px; margin-bottom: 12px; font-weight: 600;
}
.hero-art img {
  width: 100%; height: 420px; object-fit: cover; border: 1px solid var(--line);
  border-radius: 8px;
}
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.meta div { background: #fff; border: 1px solid var(--line); padding: 10px; border-radius: 6px; }
.meta strong { display: block; font-family: var(--mono); font-size: 1.1rem; }
.meta span { font-size: 0.75rem; color: var(--mute); }

.section { padding: 36px 0 56px; }
.eyebrow { font-family: var(--mono); font-size: 0.72rem; color: var(--blue); font-weight: 700; margin: 0 0 8px; }

.tickets {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.ticket-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  display: grid; grid-template-columns: 140px 1fr;
}
.ticket-card:hover { border-color: var(--blue); box-shadow: 0 8px 20px rgba(29, 78, 216, 0.08); }
.ticket-card img { width: 140px; height: 100%; min-height: 140px; object-fit: cover; }
.ticket-card .body { padding: 14px; }
.ticket-card h3 { font-size: 1.05rem; }
.status { font-family: var(--mono); font-size: 0.68rem; color: var(--blue); font-weight: 700; }

.console {
  background: #0f172a; color: #e2e8f0; border-radius: 8px; padding: 18px;
  display: grid; grid-template-columns: 180px 1fr auto; gap: 18px; align-items: center;
}
.console img { width: 180px; height: 130px; object-fit: contain; background: #020617; border-radius: 6px; padding: 8px; }
.console p { color: #94a3b8; margin: 0; }
.console h3 { color: #fff; font-family: var(--mono); font-size: 1rem; }

.cta-band {
  background: var(--blue); color: #fff; padding: 28px; border-radius: 8px; margin-bottom: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cta-band p { color: #dbeafe; margin: 0; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band .btn { background: #fff; color: var(--blue); border-color: #fff; }

.legal-page { padding: 40px 0 80px; }
.legal-page .prose { max-width: 46rem; background: #fff; border: 1px solid var(--line); padding: 28px; border-radius: 8px; }
.form { display: grid; gap: 10px; max-width: 28rem; }
.form label { display: grid; gap: 6px; font-size: 0.8rem; font-weight: 600; }
.form input, .form textarea { border: 1px solid var(--line); border-radius: 6px; min-height: 42px; padding: 8px 10px; font: inherit; }
.form textarea { min-height: 110px; }
.note-ok { background: var(--chip); padding: 10px; border-radius: 6px; color: var(--blue-2); font-family: var(--mono); font-size: 0.85rem; }

.site-foot { background: #0f172a; color: #94a3b8; padding: 36px 0 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; }
.foot-grid h4 { color: #fff; margin: 0 0 10px; font-family: var(--mono); font-size: 0.72rem; }
.foot-grid a { display: block; text-decoration: none; margin-bottom: 6px; font-size: 0.88rem; }
.foot-grid a:hover { color: #fff; }
.foot-brand { display: flex; gap: 8px; align-items: center; color: #fff; font-family: var(--mono); font-size: 0.8rem; margin-bottom: 8px; }
.foot-brand img { width: 26px; height: 26px; background: #fff; border-radius: 4px; }
.foot-bottom { margin-top: 22px; padding-top: 14px; border-top: 1px solid #1e293b; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 0.8rem; font-family: var(--mono); }
.age-chip { display: inline-flex; width: 30px; height: 30px; border: 1px solid #64748b; align-items: center; justify-content: center; margin-right: 8px; color: #fff; font-size: 0.7rem; }

.overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); display: none; align-items: flex-end; justify-content: center; z-index: 80; padding: 16px; }
.overlay.is-open { display: flex; }
.overlay.center { align-items: center; }
.sheet, .age-box { width: min(460px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.cookie-actions, .age-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

@media (max-width: 900px) {
  .hero-grid, .tickets, .console, .foot-grid, .ticket-card { grid-template-columns: 1fr; }
  .ticket-card img, .console img { width: 100%; height: 160px; }
  nav.primary { display: none; position: absolute; left: 0; right: 0; top: 56px; background: #0f172a; flex-direction: column; padding: 16px 6vw 20px; }
  nav.primary.is-open { display: flex; }
  .burger { display: inline-block; }
  .meta { grid-template-columns: 1fr; }
}
