:root {
  --ink: #16130f;
  --ink-2: #2a231c;
  --paper: #f6f0e6;
  --paper-2: #efe6d6;
  --cream: #f3eadc;
  --muted: #5c5348;
  --stamp: #e23d2b;
  --stamp-d: #c43222;
  --gold: #d9a441;
  --pine: #1e6b52;
  --line: rgba(28, 22, 18, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --text: "Literata", Georgia, "Times New Roman", serif;
  --ui: "Sora", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }

body {
  margin: 0;
  color: var(--cream);
  font-family: var(--text);
  font-size: 1.075rem;
  line-height: 1.75;
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse at 12% -10%, rgba(226, 61, 43, 0.18), transparent 42%),
    repeating-linear-gradient(-16deg, transparent, transparent 26px, rgba(255, 255, 255, 0.015) 26px, rgba(255, 255, 255, 0.015) 27px);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
  font-family: var(--ui);
}
.skip:focus { top: 12px; }

.wrap { width: min(1120px, calc(100% - 32px)); max-width: calc(100% - 32px); margin-inline: auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 19, 15, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243, 234, 220, 0.08);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--ui);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand small {
  display: block;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold);
  font-size: 0.72rem;
}

.menu {
  display: flex;
  gap: 16px;
  margin-left: auto;
  font-family: var(--ui);
  font-size: 0.92rem;
}
.menu a { text-decoration: none; color: rgba(243, 234, 220, 0.82); }
.menu a:hover { color: white; }

.cta { display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-stamp {
  background: linear-gradient(100deg, #e23d2b 0%, #f06a48 42%, #e23d2b 80%);
  background-size: 200% 100%;
  color: white;
  animation: sheen 4.8s ease infinite;
}
.btn-stamp:hover { background: var(--stamp-d); animation: none; }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(243, 234, 220, 0.45); }
.btn-ghost:hover { border-color: white; }
.hero-actions .btn { min-width: 148px; min-height: 52px; }

.ticker {
  overflow: hidden;
  max-width: 100%;
  contain: inline-size;
  background: var(--stamp);
  color: white;
  font-family: var(--ui);
  font-size: 0.86rem;
}
.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 9px 0;
  animation: marquee 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes sheen {
  0% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

.hero { padding: 34px 0 22px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--ui);
  font-size: 0.84rem;
  color: rgba(243, 234, 220, 0.72);
}
.crumbs a { color: var(--gold); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}
.kicker {
  font-family: var(--ui);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0 0 8px;
}
h1, h2, h3, p, code { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.16; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.7rem); font-weight: 700; margin: 0 0 14px; }
.lede { font-size: 1.16rem; color: rgba(243, 234, 220, 0.9); margin: 0 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.jump { display: none; margin: 0 0 14px; font-family: var(--ui); font-size: 0.9rem; }
.jump a { color: var(--gold); margin-right: 12px; }
.pulse { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ui); font-size: 0.84rem; color: rgba(243, 234, 220, 0.8); }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3dbe86;
  box-shadow: 0 0 0 0 rgba(61, 190, 134, 0.7);
  animation: blink 1.8s infinite;
}
@keyframes blink {
  70% { box-shadow: 0 0 0 8px rgba(61, 190, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 190, 134, 0); }
}

.ticket {
  background: var(--paper);
  color: var(--ink);
  border-radius: 26px 26px 26px 10px;
  box-shadow: var(--shadow);
  padding: 22px 22px 18px 26px;
  position: relative;
  min-height: 280px;
}
.ticket::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: 16px;
  border-left: 2px dashed rgba(226, 61, 43, 0.75);
}
.slide { display: none; }
.slide.is-on { display: block; animation: rise 0.45s ease; }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.slide-title { font-family: var(--serif); font-size: 1.65rem; line-height: 1.15; margin: 6px 0 0; }
.slide p { margin: 8px 0 0; color: var(--muted); }
.slider-nav { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.slider-nav button {
  font-family: var(--ui);
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  min-width: 42px;
  min-height: 42px;
  cursor: pointer;
}
.dots { display: flex; gap: 6px; margin-right: auto; }
.dots button[aria-current="true"] { background: var(--stamp); color: white; border-color: var(--stamp); }

.addr {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  background: var(--ink-2);
  border: 1px solid rgba(217, 164, 65, 0.4);
  border-radius: 16px;
  padding: 12px;
}
.addr strong {
  display: block;
  font-family: var(--ui);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.addr code { font-family: var(--ui); font-size: 1rem; color: white; word-break: break-all; }

.band { background: var(--paper); color: var(--ink); padding: 64px 0; }
.band + .band { border-top: 1px solid var(--line); }
.band-ink { background: transparent; color: var(--cream); padding: 56px 0; }
.section-no { font-family: var(--serif); font-style: italic; color: var(--stamp); margin: 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); margin: 4px 0 12px; }
.prose { max-width: 74ch; }
.prose p { margin: 0 0 14px; }
.prose a { color: var(--stamp-d); }
.band-ink .prose a { color: var(--gold); }
.split { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 28px; align-items: start; }
.note {
  background: var(--paper-2);
  border-radius: 18px;
  padding: 16px 16px 8px;
  font-family: var(--ui);
  font-size: 0.95rem;
  line-height: 1.55;
}
.band-ink .note { background: var(--ink-2); color: var(--cream); }
.note ol, .steps { margin: 8px 0 12px; padding-left: 18px; }
.note li, .steps li { margin: 0 0 8px; }
.cards, .games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.card, .game {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.card, .game { color: var(--ink); }
.card h3, .game h3 { margin: 0 0 8px; font-size: 1.28rem; color: var(--ink); }
.card p, .game p { margin: 0; color: var(--muted); }
.tag {
  display: inline-block;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stamp);
  margin-bottom: 6px;
}
figure { margin: 8px 0 18px; }
figure img { width: 100%; border-radius: 16px; }
figcaption { font-family: var(--ui); font-size: 0.84rem; color: var(--muted); margin-top: 6px; }
.score {
  display: flex;
  gap: 18px;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 16px 18px;
  margin: 8px 0 18px;
}
.score b { font-family: var(--serif); font-size: 3rem; line-height: 0.9; color: var(--stamp); }
.stars { color: #c48a12; letter-spacing: 2px; font-size: 1.15rem; }
.score span { display: block; font-family: var(--ui); font-size: 0.88rem; color: var(--muted); }
.event {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 22px;
  padding: 18px;
}
.event time { font-family: var(--ui); color: var(--gold); }
.faq { display: grid; gap: 8px; }
.faq details { background: white; border-radius: 14px; padding: 12px 14px; }
.faq summary { cursor: pointer; font-family: var(--ui); font-weight: 600; }
.faq p { margin: 8px 0 0; }
.foot { padding: 28px 0 48px; color: rgba(243, 234, 220, 0.75); font-family: var(--ui); font-size: 0.9rem; }
.foot a { color: var(--gold); }
.lang { display: flex; gap: 12px; list-style: none; padding: 0; margin: 10px 0 0; flex-wrap: wrap; }
section, article { scroll-margin-top: 130px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 980px) {
  .menu { display: none; }
  .jump { display: block; }
  .hero-grid, .split, .cards, .games, .event, .addr { grid-template-columns: 1fr; }
  .hero-grid > *, .split > *, .top-row > *, .cards > *, .games > * { min-width: 0; }
  .top-row { flex-wrap: wrap; padding: 10px 0 12px; }
  .cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .cta .btn, .hero-actions .btn {
    min-width: 0;
    width: 100%;
    padding-inline: 10px;
  }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero { padding-top: 18px; }
  .addr .btn { width: 100%; }
  .band, .band-ink { padding: 42px 0; }
  h1 { font-size: 2rem; }
  .ticket { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
