:root {
  --wine: #2a1218;
  --wine-2: #431c27;
  --crimson: #9d1c32;
  --crimson-d: #7a1526;
  --gold: #b8893d;
  --gold-2: #e4c48a;
  --paper: #f4efe6;
  --sheet: #fffaf3;
  --ink: #24181b;
  --muted: #5c4a4e;
  --line: rgba(36, 24, 27, 0.12);
  --serif: "Bodoni Moda", "Palatino Linotype", Palatino, Georgia, serif;
  --text: "Literata", Georgia, "Times New Roman", serif;
  --ui: "Outfit", "Segoe UI", sans-serif;
  --mast-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(184, 137, 61, 0.14), transparent 42%),
    var(--paper);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--crimson-d); }
::selection { background: var(--crimson); color: #fff; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold-2);
  color: var(--wine);
  padding: 8px 12px;
  z-index: 80;
  font-family: var(--ui);
}
.skip:focus { top: 8px; }

.wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }

.mast {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--wine);
  color: var(--paper);
  min-height: var(--mast-h);
}
.bar {
  min-height: var(--mast-h);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-name small {
  display: block;
  margin-top: 3px;
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.desk-nav { display: flex; gap: 16px; margin-left: 8px; }
.desk-nav a {
  color: #f3e7dc;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 500;
}
.desk-nav a:hover { color: var(--gold-2); }
.cta { margin-left: auto; display: flex; gap: 8px; flex: 0 0 auto; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  line-height: 1;
  white-space: nowrap;
}
.btn-enter { background: var(--gold-2); color: var(--wine); }
.btn-join { background: var(--crimson); color: #fff; }
.btn-enter:hover { background: #f3ddb0; }
.btn-join:hover { background: #b4233b; }
.btn-line {
  background: transparent;
  color: var(--wine);
  box-shadow: inset 0 0 0 1.5px rgba(42, 18, 24, 0.35);
}
.mast .btn-line { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(246, 240, 230, 0.45); }

.more { display: none; position: relative; }
.more summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 600;
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgba(246, 240, 230, 0.4);
}
.menu-mark { display: none; font-size: 1.35rem; line-height: 1; }
.more summary::-webkit-details-marker { display: none; }
.more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--wine-2);
  min-width: 210px;
  padding: 10px;
  border-radius: 14px;
  display: grid;
  gap: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.more-panel a {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--ui);
  padding: 8px 10px;
  border-radius: 8px;
}
.more-panel a:hover { background: rgba(255, 255, 255, 0.06); }

.crawl {
  overflow: hidden;
  max-width: 100%;
  background: var(--crimson);
  color: #fff8f4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.crawl-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: crawl 36s linear infinite;
}
.crawl:hover .crawl-track { animation-play-state: paused; }
.crawl span {
  font-family: var(--ui);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 9px 0;
  white-space: nowrap;
}
.crawl span::after { content: "  ·  "; color: var(--gold-2); }
@keyframes crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero { position: relative; padding: 34px 0 10px; overflow: hidden; }
.watermark {
  position: absolute;
  right: -2%;
  top: -18%;
  font-family: var(--serif);
  font-size: clamp(10rem, 28vw, 26rem);
  line-height: 0.8;
  color: rgba(42, 18, 24, 0.05);
  pointer-events: none;
  user-select: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.kicker {
  font-family: var(--ui);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--crimson);
  margin: 0 0 8px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; color: var(--wine); }
h2, h3, [id] { scroll-margin-top: calc(var(--mast-h) + 12px); }
h1 { font-size: clamp(2.15rem, 4vw, 3.6rem); margin: 0 0 12px; max-width: 12ch; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 10px; }
h3 { font-size: 1.45rem; margin: 0 0 8px; }
.lede { font-size: 1.16rem; margin: 0 0 18px; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { min-height: 52px; padding: 0 22px; font-size: 1.02rem; }
.meta-line {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 0.88rem;
}

.ticket {
  background: var(--wine);
  color: var(--paper);
  border-radius: 22px;
  padding: 22px 22px 18px;
  position: relative;
  box-shadow: 0 22px 50px rgba(42, 18, 24, 0.18);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  top: 46%;
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket .kicker { color: var(--gold-2); }
.ticket h2 { color: var(--paper); font-size: 1.7rem; }
.live-url {
  display: block;
  margin: 8px 0 14px;
  color: var(--gold-2);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.98rem;
  word-break: break-all;
  text-decoration: none;
}
.ticket p { margin: 0 0 12px; color: #f0e4d8; }
.ticket .row { display: flex; gap: 8px; flex-wrap: wrap; }
.seal-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #d45366, #7a1526 62%, #4c0d16);
  color: #fff;
  font-family: var(--ui);
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  flex: 0 0 auto;
}

.stage { padding: 22px 0 8px; }
.stage-frame {
  overflow: hidden;
  border-radius: 22px;
  background: var(--wine);
}
.stage-track { display: flex; transition: transform 0.55s ease; }
.stage-slide {
  flex: 0 0 100%;
  min-height: 210px;
  padding: 28px 28px 24px;
  display: grid;
  align-content: center;
}
.stage-slide:nth-child(1) { background: var(--wine); color: var(--paper); }
.stage-slide:nth-child(2) { background: #f7f1e6; color: var(--ink); }
.stage-slide:nth-child(3) { background: var(--crimson); color: #fff8f4; }
.stage-slide:nth-child(4) { background: #1d3a32; color: #f3eee4; }
.stage-slide h3 { color: inherit; font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 22ch; }
.stage-slide .kicker { color: var(--gold-2); }
.stage-slide:nth-child(2) .kicker { color: var(--crimson); }
.stage-slide p { margin: 0; max-width: 58ch; font-size: 1.05rem; }
.stage-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.dots { display: flex; gap: 6px; }
.dots button, .arrows button {
  font-family: var(--ui);
  border: 0;
  background: transparent;
  color: var(--wine);
}
.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(42, 18, 24, 0.25);
  padding: 0;
}
.dots button[aria-current="true"] { background: var(--crimson); width: 22px; border-radius: 99px; }
.arrows { display: flex; gap: 8px; }
.arrows button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600;
}

.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 0 6px;
}
.band article {
  background: var(--sheet);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.band strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--wine);
}
.band span { color: var(--muted); font-family: var(--ui); font-size: 0.9rem; }

.layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 18px 0 10px;
}
.rail {
  position: sticky;
  top: calc(var(--mast-h) + 14px);
  display: grid;
  gap: 12px;
}
.rail-card, .sheet, .ask, .side-card {
  background: var(--sheet);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.rail-card { padding: 16px; }
.rail-card ol { margin: 8px 0 0; padding-left: 18px; }
.rail-card a { text-decoration: none; font-family: var(--ui); font-weight: 600; }
.rail .btn { width: 100%; margin-top: 8px; }

.sheet { padding: 26px 26px 8px; margin-bottom: 16px; }
.sheet .deck { font-size: 1.12rem; color: #3a2a2e; margin-top: 0; }
.sheet p { margin: 0 0 14px; }
.drop::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.3rem;
  line-height: 0.8;
  padding-right: 8px;
  color: var(--crimson);
}
.steps { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  background: #f7f1e6;
  border-radius: 12px;
  padding: 10px 12px;
}
.steps b {
  font-family: var(--ui);
  color: var(--crimson);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}
.table-wrap { overflow-x: auto; margin: 0 0 16px; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--ui); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
figure { margin: 0 0 16px; }
figure img { border-radius: 14px; width: 100%; max-height: 360px; object-fit: cover; }
figcaption { color: var(--muted); font-family: var(--ui); font-size: 0.85rem; margin-top: 6px; }
.updated { font-family: var(--ui); font-size: 0.82rem; color: var(--muted); }

.reel { padding: 6px 0 18px; }
.reel-head, .split-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 10px;
}
.reel-window {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: 100%;
  padding-bottom: 8px;
}
.card {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
  background: var(--sheet);
  border-radius: 18px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px var(--line);
  min-height: 180px;
}
.card em { font-family: var(--ui); font-style: normal; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson); }

.duo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  padding-bottom: 18px;
}
.side-card { padding: 20px; }
.score { display: flex; align-items: baseline; gap: 10px; }
.score-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--wine); }
.score-cap { font-family: var(--ui); color: var(--muted); font-size: 0.88rem; }
.when { font-family: var(--ui); font-weight: 600; color: var(--crimson-d); }

.ask { padding: 8px 18px; margin-bottom: 18px; }
.ask details { border-bottom: 1px solid var(--line); }
.ask details:last-child { border-bottom: 0; }
.ask summary {
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}
.ask summary::-webkit-details-marker { display: none; }
.ask summary::after { content: "+"; float: right; color: var(--crimson); font-size: 1.2rem; }
.ask details[open] summary::after { content: "–"; }
.ask details p { margin: 0 0 14px; }

.crawl-late { background: var(--wine); }
.crawl-late span { font-family: var(--text); font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1rem; }

.foot {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}
.foot-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.langs { display: flex; gap: 10px; font-family: var(--ui); font-weight: 600; }
.langs a { text-decoration: none; }
.langs a[aria-current="page"] { color: var(--wine); }
.fine { max-width: 70ch; }

@media (max-width: 900px) {
  .hero-grid, .layout, .duo, .band { grid-template-columns: 1fr; }
  .desk-nav { display: none; }
  .more { display: block; }
  .rail { position: static; }
  .brand-name small { display: none; }
  .ticket { transform: none; }
}

@media (max-width: 640px) {
  :root { --mast-h: 64px; }
  .brand-name { display: none; }
  .brand img { width: 34px; height: 34px; }
  .menu-word { display: none; }
  .menu-mark { display: inline; }
  .btn { padding: 0 12px; font-size: 0.88rem; }
  .hero { padding-top: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .sheet { padding: 18px 16px 4px; }
  .stage-slide { padding: 20px 16px; min-height: 180px; }
  .watermark { display: none; }
}

@media (min-width: 901px) {
  .hero .ticket { transform: rotate(-0.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .crawl-track, .stage-track { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
