:root {
  --ink: #100d0a;
  --ink-2: #1a1510;
  --panel: #221b14;
  --line: rgba(212, 160, 23, 0.28);
  --brass: #d4a017;
  --brass-2: #f0c45a;
  --cream: #f3ead7;
  --paper: #efe3c8;
  --mute: #b7aa94;
  --good: #7dcc8a;
  --warn: #e2b36a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --head: "Source Serif 4", "Times New Roman", serif;
  --ui: "Source Sans 3", "Segoe UI", sans-serif;
  --read: "Literata", Georgia, serif;
  --mark: "Cinzel", serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 0, "dlig" 0, "swsh" 0;
  font-kerning: normal;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  padding-bottom: 86px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brass-2);
  text-decoration: none;
}

a:hover {
  color: #fff4cf;
}

.grain,
.grain::after {
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(212, 160, 23, 0.16), transparent 58%),
    radial-gradient(720px 420px at 100% 8%, rgba(46, 90, 92, 0.2), transparent 60%),
    linear-gradient(180deg, #16110c 0%, #0e0b08 100%);
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.wicket {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(16, 13, 10, 0.82);
  border-bottom: 1px solid var(--line);
}

.wicket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.plaque {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}

.plaque b {
  font-family: var(--mark);
  letter-spacing: 0.14em;
  font-size: 1.02rem;
}

.plaque span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--brass);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--mark);
  color: var(--brass);
  font-size: 0.78rem;
}

.desk-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.desk-nav a {
  color: var(--paper);
  font-size: 0.92rem;
}

.pass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pass:hover {
  transform: translateY(-1px);
  color: inherit;
}

.pass-in:hover {
  color: #20170b;
}

.pass-in {
  background: linear-gradient(180deg, #f0c45a, #d4a017);
  color: #20170b;
  box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.55);
  animation: pulse 2.4s ease-in-out infinite;
}

.pass-up {
  background: transparent;
  border-color: var(--brass);
  color: var(--brass-2);
}

.pass-row {
  display: flex;
  gap: 10px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(212, 160, 23, 0);
  }
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  border-radius: 10px;
  cursor: pointer;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 42px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brass-2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 6px rgba(125, 204, 138, 0.14);
}

h1,
h2,
h3 {
  font-family: var(--head);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  font-size: 1.08rem;
  color: #ddd2bb;
  max-width: 58ch;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: var(--mute);
}

.stub {
  background: #fff4d6;
  border: 1px solid #d4a017;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
  color: #20170b;
}

.stub h2,
.stub p {
  color: #20170b;
}

.stub h2 {
  font-size: 1.55rem;
}

.stub small {
  color: #7a5a12;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.stub::before,
.stub::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--ink);
  border-radius: 50%;
  top: 58%;
}

.stub::before {
  left: -11px;
}

.stub::after {
  right: -11px;
}

.addr {
  margin: 12px 0 18px;
  padding: 14px;
  background: #120e0a;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.92rem;
  word-break: break-all;
  color: var(--brass-2);
}

.hero-photo {
  margin-top: 28px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: min(360px, 48vw);
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  padding: 6px 10px;
  background: rgba(16, 13, 10, 0.72);
  border-radius: 999px;
  font-size: 0.78rem;
}

.tote {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #18130e;
  margin: 28px 0;
}

.tote-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 12px 0;
  animation: tote 28s linear infinite;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--brass-2);
}

@keyframes tote {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.stage {
  position: relative;
  z-index: 1;
  padding: 10px 0 40px;
}

.rail {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.slides {
  display: flex;
  transition: transform 0.55s ease;
}

.slide {
  min-width: 100%;
  min-height: 280px;
  padding: 36px;
  background:
    linear-gradient(130deg, rgba(16, 13, 10, 0.2), rgba(16, 13, 10, 0.55)),
    repeating-linear-gradient(-18deg, transparent, transparent 12px, rgba(212, 160, 23, 0.04) 12px, rgba(212, 160, 23, 0.04) 13px),
    var(--slide, #2a2118);
}

.slide p {
  max-width: 48ch;
  color: #e7dcc6;
}

.rail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.dots {
  display: flex;
  gap: 8px;
}

.dots button,
.arrow {
  border: 0;
  background: #2a2219;
  color: var(--cream);
  border-radius: 999px;
}

.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
}

.dots .on {
  background: var(--brass);
}

.arrow {
  width: 42px;
  height: 42px;
}

.section {
  position: relative;
  z-index: 1;
  padding: 54px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 28px;
}

.idx {
  font-family: var(--mono);
  color: var(--brass);
  font-size: 0.8rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ticket {
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 18px;
}

.ticket strong {
  display: block;
  margin-bottom: 8px;
}

.status {
  color: var(--good);
  font-size: 0.8rem;
}

.article {
  background: rgba(34, 27, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 42px);
}

.article .read {
  font-family: var(--read);
  font-size: 1.06rem;
  color: #efe6d4;
}

.article p,
.article li {
  margin: 0 0 16px;
}

.article ul {
  padding-left: 1.1em;
}

.pull {
  font-family: var(--head);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--brass-2);
  border-left: 3px solid var(--brass);
  padding-left: 16px;
  margin: 22px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.note {
  background: #18130e;
  border-radius: 16px;
  padding: 16px;
}

.stars {
  color: var(--brass-2);
  letter-spacing: 2px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review {
  padding: 18px;
  background: var(--panel);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.event {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(212, 160, 23, 0.08), transparent),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}

.event time {
  display: block;
  font-family: var(--mono);
  color: var(--brass-2);
  margin-bottom: 8px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.crumb {
  color: var(--mute);
  font-size: 0.86rem;
  margin-bottom: 18px;
}

.crumb a {
  color: var(--mute);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16, 13, 10, 0.94);
  border-top: 1px solid var(--line);
}

.dock .pass {
  flex: 1;
}

.foot {
  position: relative;
  z-index: 1;
  padding: 40px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.92rem;
}

.langs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-on {
  color: var(--brass-2);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .cards,
  .reviews,
  .event {
    grid-template-columns: 1fr;
  }

  .desk-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    background: #1b1611;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .desk-nav.open {
    display: flex;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .wicket .pass {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .dock {
    display: flex;
  }

  h1 {
    max-width: none;
  }

  .slide {
    min-height: 240px;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .plaque > span:last-child span {
    display: none;
  }

  .wicket-row {
    gap: 8px;
    min-height: 68px;
  }

  .hero {
    padding-top: 20px;
  }

  h1 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .crumb {
    display: none;
  }

  .stub {
    padding: 16px;
  }

  .stub .pass-row,
  .hero .pass-row {
    flex-wrap: wrap;
  }

  .stub .pass,
  .hero .pass {
    flex: 1 1 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
