:root {
  --wine: #2a0c1c;
  --wine-2: #431428;
  --raspberry: #c4174a;
  --raspberry-d: #8e1036;
  --cream: #fbf6f0;
  --cream-2: #f3e7dc;
  --paper: #fffdfb;
  --ink: #241018;
  --muted: #5e4550;
  --line: #ead9cc;
  --caramel: #e7a322;
  --mint: #0f7d72;
  --mint-s: #e5f6f3;
  --display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --ui: "Outfit", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --shadow: 0 18px 40px rgba(42, 12, 28, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -4%, #ffe4ec 0 140px, transparent 141px),
    radial-gradient(circle at 100% 0, #fff1cc 0 120px, transparent 121px),
    var(--cream);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--raspberry-d); }
a:hover { color: var(--raspberry); }
:focus-visible {
  outline: 3px solid var(--caramel);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--wine);
  color: white;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.cane {
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    #e23b5a 0 16px,
    #fff8f4 16px 26px,
    #12897c 26px 42px,
    #fff8f4 42px 52px
  );
}

.marquee {
  background: var(--wine);
  color: #f8e7ea;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-move {
  display: flex;
  width: max-content;
  animation: slip 46s linear infinite;
}
.marquee:hover .marquee-move,
.marquee:focus-within .marquee-move { animation-play-state: paused; }
.marquee p {
  margin: 0;
  padding: 0.55rem 1.5rem;
  font-family: var(--ui);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.marquee strong { color: #ffd27a; font-weight: 600; }
@keyframes slip { to { transform: translateX(-50%); } }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 246, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 18px 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--wine);
  min-width: max-content;
}
.brand img { width: 42px; height: 42px; }
.brand span {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
  line-height: 1;
}
.brand small {
  display: block;
  font-family: var(--ui);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 3px;
}
.rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail a {
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--wine);
  padding: 8px 10px;
  white-space: nowrap;
  border-radius: 999px;
}
.rail a:hover { background: #ffe8ee; }
.langs {
  display: flex;
  gap: 4px;
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
}
.langs a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 7px;
}
.langs a[aria-current="page"] {
  background: var(--wine);
  color: white;
  border-color: var(--wine);
}
.actions {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}
.btn-go {
  background: var(--raspberry);
  color: white;
  box-shadow: 0 8px 0 var(--raspberry-d);
}
.btn-go:hover { background: #d61e54; color: white; transform: translateY(1px); box-shadow: 0 7px 0 var(--raspberry-d); }
.btn-join {
  background: var(--wine);
  color: white;
}
.btn-join:hover { background: #3a1226; color: white; }
.btn-ghost {
  background: transparent;
  color: var(--wine);
  border-color: var(--wine);
}
.btn-ghost:hover { background: var(--wine); color: white; }
.btn-light {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-light:hover { background: white; color: var(--wine); }

.cta-band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px 12px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cta-band .btn { width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 28px;
  padding: 34px 0 10px;
  align-items: start;
}
.hero > * { min-width: 0; }
.kicker {
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--raspberry-d);
  margin: 0 0 8px;
}
h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
  font-size: clamp(2.35rem, 4.8vw, 4.2rem);
  margin: 0 0 14px;
  color: var(--wine);
}
h1 .brandline { display: inline; }
@media (max-width: 860px) {
  .top-row { flex-wrap: wrap; }
  .rail { flex: 1 0 100%; }
  h1 { font-size: clamp(1.7rem, 7.8vw, 2.5rem); }
  h1 { container-type: inline-size; }
  h1 .brandline {
    display: block;
    white-space: nowrap;
    font-size: min(2.65rem, calc(100cqi / 11.8));
  }
}
.lede {
  font-size: 1.22rem;
  margin: 0 0 18px;
  max-width: 40rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.meta-line {
  font-family: var(--ui);
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  font-family: var(--ui);
  font-size: 0.88rem;
}
.crumb a { text-decoration: none; }
.crumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b89aa4; }

.addr {
  background: var(--wine);
  color: #f8ece8;
  border-radius: 28px;
  padding: 22px 20px 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.addr::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 163, 34, 0.45), transparent 68%);
  right: -40px;
  top: -50px;
}
.addr h2 {
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 8px;
  position: relative;
}
.addr code {
  display: block;
  font-family: var(--mono);
  font-size: 0.92rem;
  color: #ffe1a8;
  word-break: break-all;
  position: relative;
  margin-bottom: 12px;
}
.addr .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.addr .row .btn { width: 100%; padding: 0 10px; font-size: 0.95rem; }
.stamp {
  margin-top: 16px;
  width: 88px;
  height: 88px;
  border: 2px dashed #ffb4c6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(8deg);
  color: #ffd0db;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  position: relative;
}

.panel {
  margin: 28px 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.panel-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1.05;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--ui);
  font-weight: 700;
  cursor: pointer;
}
.track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}
.slide {
  scroll-snap-align: start;
  flex: 0 0 min(100%, 340px);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.slide:nth-child(2) { background: #fff6ea; }
.slide:nth-child(3) { background: var(--mint-s); }
.slide p { margin: 0.4rem 0 0; }
.slide .tag {
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}
.slide h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: 6px 0 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.layout > * { min-width: 0; }
article.sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 26px 34px;
  box-shadow: var(--shadow);
}
article.sheet h2 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin: 1.6rem 0 0.6rem;
}
article.sheet h2:first-child { margin-top: 0; }
article.sheet h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 1.4rem 0 0.4rem;
}
article.sheet p { margin: 0.7rem 0; }
article.sheet ol, article.sheet ul { margin: 0.4rem 0 0.8rem; padding-left: 1.2rem; }
article.sheet li { margin: 0.35rem 0; }
.byline {
  font-family: var(--ui);
  font-size: 0.92rem;
  color: var(--muted);
}
.pull {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 5px solid var(--raspberry);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--wine);
}
.cover {
  border-radius: 18px;
  margin: 12px 0 4px;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}
.note {
  background: #fff7ea;
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid #f0ddc0;
  font-size: 1rem;
}
.note strong { font-family: var(--ui); display: block; margin-bottom: 4px; }
.note p { margin: 0; }

.steps { list-style: none; padding: 0; margin: 12px 0; }
.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  margin: 0 0 12px;
  align-items: start;
}
.num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--wine);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
}

.tickets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}
.ticket {
  background-color: #fffdfb;
  background-image: radial-gradient(circle, #e7d3c4 1.1px, transparent 1.2px);
  background-size: 9px 8px;
  background-repeat: repeat-x;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px 14px;
}
.ticket h3 { margin-top: 4px; font-size: 1.2rem; }
.ticket p { margin: 0.3rem 0 0; font-size: 1.02rem; }

.table-wrap { overflow-x: auto; margin: 12px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ui);
  font-size: 0.98rem;
  min-width: 520px;
}
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.games {
  margin: 28px 0;
  background: var(--wine);
  color: #f7ece8;
  border-radius: 32px;
  padding: 26px 22px 22px;
}
.games h2 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 8px;
  line-height: 1.05;
}
.games .panel-head h2 { color: white; }
.games p.intro { margin-top: 0; max-width: 46rem; color: #f0d5dc; }
.games .slide { color: var(--ink); }
.games .slide h3 { color: var(--wine); }

.score {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  background: #fff5f7;
  border-radius: 20px;
  padding: 16px;
  margin: 12px 0;
}
.score b {
  font-family: var(--display);
  font-size: 4rem;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: var(--raspberry);
  display: block;
}
.score span { font-family: var(--ui); color: var(--muted); }
.bars { display: grid; gap: 8px; }
.bar { font-family: var(--ui); font-size: 0.92rem; }
.bar i {
  display: block;
  height: 8px;
  background: #f0d5dc;
  border-radius: 99px;
  margin-top: 4px;
  font-style: normal;
}
.bar i::before {
  content: "";
  display: block;
  height: 8px;
  border-radius: 99px;
  background: var(--raspberry);
  width: var(--w);
}

.event {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  background: var(--mint-s);
  border-radius: 24px;
  padding: 18px;
  margin: 12px 0 4px;
}
.when {
  background: white;
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  font-family: var(--ui);
}
.when b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--mint);
  line-height: 1;
}

.faq { display: grid; gap: 8px; margin-top: 10px; }
details {
  background: var(--cream-2);
  border-radius: 16px;
  padding: 12px 14px;
}
summary {
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 650;
  font-weight: 600;
}
details p { margin: 8px 0 2px; }

.foot {
  margin-top: 20px;
  background: var(--wine);
  color: #f4e4e8;
  padding: 28px 0 34px;
}
.foot a { color: #ffd27a; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.foot h2 {
  font-family: var(--display);
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.foot p, .foot li { font-family: var(--ui); font-size: 0.95rem; line-height: 1.55; }
.foot ul { margin: 0; padding-left: 18px; }
.age {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #ffd27a;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  margin-bottom: 8px;
}

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(26, 8, 16, 0.96);
}
.dock .btn { width: 100%; }

@media (max-width: 860px) {
  html { scroll-padding-top: 250px; }
  .hero, .layout, .tickets, .score, .event, .foot-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .actions { display: none; }
  .cta-band { display: grid; }
  .dock { display: grid; }
  body { padding-bottom: 78px; }
  article.sheet { padding: 20px 16px 26px; }
  .top-row { padding-bottom: 4px; }
}
@media (max-width: 560px) {
  .langs { display: none; }
  .brand small { display: none; }
  .slide { flex-basis: 86%; }
  .addr .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-move { animation: none; }
  .track { scroll-behavior: auto; }
}
