:root {
  --ink: #10140f;
  --ink-2: #181d16;
  --ink-3: #22281e;
  --paper: #f3ead8;
  --paper-2: #e8dcc3;
  --brass: #c4a35a;
  --brass-2: #e4c67a;
  --signal: #d94b3d;
  --moss: #2f6b55;
  --line: rgba(243, 234, 216, 0.14);
  --soft: rgba(243, 234, 216, 0.62);
  --header: 72px;
  --dock: 76px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Karla", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(196, 163, 90, 0.14), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(47, 107, 85, 0.18), transparent 26%),
    radial-gradient(circle at 70% 90%, rgba(217, 75, 61, 0.08), transparent 24%);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--brass);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus { left: 8px; }

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ticker {
  position: relative;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 3px solid var(--brass);
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 9px 0;
  animation: marquee 28s linear infinite;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker b { color: var(--signal); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(16, 20, 15, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand-name {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.brand-name span { color: var(--brass); }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 14px;
  font-size: 13px;
}

.nav a {
  color: var(--soft);
  position: relative;
}

.nav a:hover,
.nav a:focus { color: var(--paper); }

.head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.langs {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.langs-in-nav { display: none; }

.langs button {
  min-width: 34px;
  height: 28px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--soft);
}

.langs button.is-on {
  background: var(--brass);
  color: var(--ink);
  font-weight: 700;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-login {
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(196, 163, 90, 0.7);
  animation: pulse 2.4s ease-in-out 0s 3;
}

.cta-join {
  border: 1px solid var(--brass);
  color: var(--brass-2);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 163, 90, 0.0); }
  50% { box-shadow: 0 0 0 10px rgba(196, 163, 90, 0.0), 0 0 24px rgba(196, 163, 90, 0.45); }
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  position: relative;
  margin: 0 auto;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

.hero {
  position: relative;
  z-index: 2;
  padding: 42px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}

h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

h1 em {
  font-style: normal;
  color: var(--brass);
}

.lead {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions .cta {
  min-height: 52px;
  padding: 0 22px;
  font-size: 16px;
}

.crumb {
  margin-top: 22px;
  font-size: 13px;
  color: var(--soft);
}

.crumb a { color: var(--brass-2); }

.ticket {
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 8px,
      rgba(35, 30, 20, 0.06) 8px,
      rgba(35, 30, 20, 0.06) 9px
    ),
    var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--ink);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.ticket::before { left: -11px; }
.ticket::after { right: -11px; }

.ticket-top {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d5646;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--signal);
  font-weight: 700;
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  animation: blink 1.2s infinite;
}

@keyframes blink {
  50% { opacity: 0.25; }
}

.ticket h2 {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  margin: 14px 0 8px;
  letter-spacing: -0.03em;
}

.addr {
  font-family: "IBM Plex Mono", monospace;
  background: #1a1f18;
  color: var(--brass-2);
  padding: 12px 14px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  word-break: break-all;
}

.copy {
  color: var(--paper);
  border: 1px solid rgba(243, 234, 216, 0.25);
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
}

.ticket p {
  margin: 12px 0 16px;
  font-family: "Newsreader", serif;
}

.ticket-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ticket .cta-login,
.ticket .cta-join { width: 100%; }

.ticket .cta-join {
  border-color: #2a261c;
  color: var(--ink);
}

.section {
  position: relative;
  z-index: 2;
  padding: 28px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

h2.sec {
  font-family: "Syne", sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.sec span { color: var(--brass); }

.slider-box {
  position: relative;
}

.slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.slider::-webkit-scrollbar { display: none; }

.slide {
  min-width: min(320px, 84vw);
  scroll-snap-align: start;
  background:
    linear-gradient(160deg, rgba(196, 163, 90, 0.16), transparent 42%),
    var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  min-height: 210px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.slide:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 163, 90, 0.45);
}

.slide strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 10px 0;
}

.slide p { color: var(--soft); }

.slide-no {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--brass);
}

.slider-nav {
  display: flex;
  gap: 8px;
}

.slider-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

article.paper {
  background: var(--paper);
  color: #231e14;
  border-radius: 22px;
  padding: 28px 28px 32px;
  margin: 22px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  box-shadow: var(--shadow);
}

.meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b624d;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.paper h2 {
  font-family: "Newsreader", serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.paper p {
  font-family: "Newsreader", serif;
  font-size: 18px;
  margin-bottom: 14px;
}

.paper h3 {
  font-family: "Syne", sans-serif;
  margin: 18px 0 8px;
  font-size: 22px;
}

.stamp {
  float: right;
  width: 92px;
  height: 92px;
  margin: 0 0 8px 12px;
  border: 3px solid var(--signal);
  color: var(--signal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(12deg);
}

.reviews {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 14px;
}

.score {
  background: var(--moss);
  border-radius: 18px;
  padding: 22px;
}

.score b {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 56px;
  line-height: 1;
}

.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.card .stars { color: var(--brass); letter-spacing: 2px; margin-bottom: 8px; }

.event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background:
    linear-gradient(120deg, rgba(217, 75, 61, 0.16), transparent 40%),
    var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.event time {
  font-family: "IBM Plex Mono", monospace;
  color: var(--brass);
}

.faq { display: grid; gap: 8px; }

.faq details {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.faq summary {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.faq p { margin-top: 8px; color: var(--soft); }

.footer {
  position: relative;
  z-index: 2;
  padding: 36px 0 110px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(16, 20, 15, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}

.dock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dock .cta { min-height: 48px; width: 100%; }

@media (max-width: 1180px) {
  .hero-grid,
  .reviews,
  .event,
  .foot-grid,
  article.paper { grid-template-columns: 1fr; }

  .meta {
    writing-mode: horizontal-tb;
    transform: none;
    height: auto;
    margin-bottom: 6px;
  }

  .nav { display: none; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #141910;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    z-index: 45;
  }

  .langs-in-nav { display: flex; margin-top: 8px; width: max-content; }

  .menu-btn { display: block; }
  .langs button { min-width: 28px; height: 26px; }
  .header .cta-join { display: none; }
  .dock { display: block; }
  .ticket { transform: none; }
  h1 { max-width: none; }
}

@media (max-width: 640px) {
  .header .cta-login { padding: 0 12px; }
  .brand-name { font-size: 17px; }
  article.paper { padding: 20px; }
  .paper p { font-size: 17px; }
  .hero { padding-top: 24px; }
  .header-row { padding: 8px 0; flex-wrap: nowrap; }
  .head-tools > .langs { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .ticker-track { transform: none; width: auto; flex-wrap: wrap; }
}
