:root {
  color-scheme: light;
  --coal: #1c211e;
  --coal-soft: #29312c;
  --paper: #f2ebdc;
  --paper-light: #fff8ec;
  --sand: #ddcfb5;
  --ink: #242721;
  --muted: #707266;
  --ember: #ef623d;
  --amber: #f3b64b;
  --sage: #a9b89b;
  --line: rgba(36, 39, 33, .18);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Franklin Gothic Medium", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
}
button, a { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
::selection { background: var(--amber); color: var(--coal); }

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  padding: .7rem 1rem;
  background: var(--paper-light);
  color: var(--coal);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 82px;
  padding: .9rem clamp(1.2rem, 5vw, 5rem);
  background: var(--coal);
  color: var(--paper);
  border-bottom: 1px solid rgba(242, 235, 220, .12);
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ember);
  border-radius: 50%;
  color: var(--amber);
}
.brand-mark svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.brand-name {
  font: 1.55rem/1 var(--display);
  letter-spacing: .1em;
}
.brand-tag {
  margin-left: .2rem;
  color: var(--amber);
  font: .57rem/1.2 var(--sans);
  letter-spacing: .16em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  font: .84rem var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.main-nav a, .back-top {
  color: #d9d1c0;
  text-decoration: none;
  transition: color .18s ease;
}
.main-nav a:hover, .back-top:hover { color: var(--amber); }
.nav-join {
  padding: .72rem 1rem;
  border: 1px solid rgba(243, 182, 75, .55);
  color: var(--amber);
  font: .75rem var(--sans);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease;
}
.nav-join:hover { background: var(--amber); color: var(--coal); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr);
  align-items: center;
  gap: 3rem;
  min-height: 690px;
  overflow: hidden;
  padding: 5.5rem clamp(1.2rem, 8vw, 8rem) 6rem;
  background:
    radial-gradient(ellipse at 83% 19%, rgba(239, 98, 61, .22), transparent 29%),
    radial-gradient(ellipse at 56% 83%, rgba(243, 182, 75, .1), transparent 31%),
    linear-gradient(128deg, #1b211d 8%, #242b26 56%, #302923);
  color: var(--paper);
}
.hero::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(117deg, transparent 0 64px, rgba(255,255,255,.018) 65px 66px),
    radial-gradient(circle at 70% 70%, rgba(243,182,75,.11) 0 1px, transparent 2px);
  background-size: auto, 31px 31px;
  content: "";
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  right: -9rem;
  bottom: -18rem;
  width: 52rem;
  height: 52rem;
  border: 1px solid rgba(243,182,75,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(243,182,75,.025), 0 0 0 7rem rgba(243,182,75,.02);
  pointer-events: none;
}
.hero-copy, .pit-ticket { position: relative; z-index: 1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.45rem;
  color: var(--amber);
  font: .68rem var(--sans);
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow-rule { width: 34px; height: 1px; background: currentColor; }
.hero h1 {
  max-width: 780px;
  margin: 0;
  font: clamp(4.1rem, 8.7vw, 8.8rem)/.84 var(--display);
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.hero h1 em {
  color: var(--ember);
  font-style: normal;
}
.hero-intro {
  max-width: 540px;
  margin: 1.7rem 0 0;
  color: #d4d3c8;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 48px;
  padding: .85rem 1.15rem;
  font: .76rem var(--sans);
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-hot { background: var(--ember); color: #211d19; }
.button-hot:hover { background: var(--amber); }
.button-quiet { border: 1px solid rgba(242,235,220,.32); color: var(--paper); }
.button-quiet:hover { background: rgba(255,255,255,.08); }
.hero-footnote {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 2.2rem;
  color: #a9ac9e;
  font: .73rem var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ember-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 15px rgba(239,98,61,.8);
}
.foot-separator { color: var(--amber); }

.pit-ticket {
  width: min(100%, 430px);
  justify-self: end;
  padding: 1.35rem 1.45rem 1.15rem;
  transform: rotate(1.5deg);
  border: 1px solid rgba(242,235,220,.48);
  background:
    linear-gradient(135deg, rgba(255,248,236,.98), rgba(221,207,181,.96)),
    var(--paper);
  color: var(--ink);
  box-shadow: 14px 18px 0 rgba(0,0,0,.16);
  animation: ticket-arrive .75s .12s both cubic-bezier(.2,.7,.2,1);
}
.ticket-top, .ticket-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: .62rem var(--sans);
  letter-spacing: .14em;
}
.ticket-kicker { color: var(--ember); }
.ticket-number { color: #777768; }
.ticket-status {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 2rem 0;
}
.live-lamp, .chat-lamp {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #9b9b8c;
}
.live-lamp.is-online, .chat-lamp.is-online {
  background: #7f9b62;
  box-shadow: 0 0 0 5px rgba(127,155,98,.15), 0 0 18px rgba(127,155,98,.45);
}
.ticket-label {
  margin: 0 0 .25rem;
  color: var(--muted);
  font: .6rem var(--sans);
  letter-spacing: .14em;
}
.ticket-value {
  margin: 0;
  font: 1.3rem var(--display);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.ticket-value small {
  color: var(--muted);
  font: .85rem var(--body);
}
.ticket-rule {
  height: 1px;
  margin: 1.3rem 0;
  background: var(--line);
}
.ticket-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ticket-small { font-size: 1rem; }
.ticket-bottom {
  margin-top: 1.7rem;
  padding-top: .85rem;
  border-top: 1px dashed rgba(36,39,33,.28);
  color: var(--muted);
}
.ticket-bottom strong { color: var(--ink); font-size: .8rem; }
.hero-stamp {
  position: absolute;
  right: clamp(1.3rem, 7vw, 7rem);
  bottom: 2.3rem;
  display: grid;
  width: 120px;
  height: 120px;
  place-content: center;
  gap: .2rem;
  transform: rotate(-10deg);
  border: 1px solid rgba(243,182,75,.6);
  border-radius: 50%;
  color: var(--amber);
  text-align: center;
}
.hero-stamp span { font: .49rem var(--sans); letter-spacing: .13em; }
.hero-stamp strong { font: 1.15rem/.9 var(--display); letter-spacing: .04em; }

.ticker {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  min-height: 58px;
  padding: .75rem clamp(1rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--ember);
  color: #221f19;
  font: .67rem var(--sans);
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
.ticker i { width: 7px; height: 7px; flex: 0 0 auto; transform: rotate(45deg); background: var(--coal); }

.pit-section {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 8% 12%, rgba(239,98,61,.07) 0 1px, transparent 2px),
    var(--paper);
  background-size: 25px 25px, auto;
}
.eyebrow-dark { color: #bd4c30; }
.section-heading h2, .chat-heading h2, .join-copy h2 {
  margin: 0;
  font: clamp(3.1rem, 5.8vw, 6rem)/.88 var(--display);
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.section-heading h2 em, .chat-heading h2 em, .join-copy h2 em {
  color: var(--ember);
  font-style: normal;
}
.section-lede {
  max-width: 340px;
  margin: 1.4rem 0 0;
  color: #62645b;
  font-size: 1.05rem;
}
.menu-list { border-top: 1px solid var(--line); }
.menu-item {
  display: grid;
  grid-template-columns: 42px 56px minmax(0,1fr) 25px;
  align-items: center;
  gap: 1.1rem;
  min-height: 142px;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-index { align-self: start; padding-top: .3rem; color: #9a9482; font: .7rem var(--sans); }
.menu-symbol { position: relative; width: 48px; height: 48px; border: 1px solid rgba(36,39,33,.24); }
.menu-symbol span { position: absolute; display: block; background: var(--ember); }
.symbol-build span:nth-child(1) { left: 10px; bottom: 10px; width: 12px; height: 12px; }
.symbol-build span:nth-child(2) { left: 24px; bottom: 10px; width: 12px; height: 22px; background: var(--sage); }
.symbol-build span:nth-child(3) { left: 10px; bottom: 24px; width: 12px; height: 8px; background: var(--amber); }
.symbol-event span:nth-child(1) { left: 21px; top: 8px; width: 6px; height: 32px; }
.symbol-event span:nth-child(2) { left: 9px; top: 21px; width: 30px; height: 6px; background: var(--sage); }
.symbol-event span:nth-child(3) { left: 15px; top: 15px; width: 18px; height: 18px; transform: rotate(45deg); background: transparent; border: 1px solid var(--amber); }
.symbol-gear span:nth-child(1) { left: 9px; top: 9px; width: 28px; height: 28px; border: 2px solid var(--ember); border-radius: 50%; background: transparent; }
.symbol-gear span:nth-child(2) { left: 18px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
.symbol-gear span:nth-child(3) { right: 5px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.menu-kicker { margin: 0 0 .4rem; color: #a14a33; font: .62rem var(--sans); letter-spacing: .14em; }
.menu-copy h3 { margin: 0; font: 1.6rem var(--display); letter-spacing: .02em; text-transform: uppercase; }
.menu-copy p:last-child { max-width: 430px; margin: .35rem 0 0; color: #696b61; font-size: .98rem; }
.menu-arrow { color: var(--ember); font: 1.25rem var(--sans); transition: transform .18s ease; }
.menu-item:hover .menu-arrow { transform: translateX(4px); }

.join-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(290px, .8fr);
  gap: clamp(2rem, 8vw, 8rem);
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.2rem, 8vw, 8rem);
  background:
    radial-gradient(ellipse at 90% 25%, rgba(243,182,75,.22), transparent 30%),
    linear-gradient(115deg, #b8432f, #d45436 56%, #bb492f);
  color: var(--paper-light);
}
.join-section::after {
  position: absolute;
  right: -8rem;
  bottom: -15rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(255,248,236,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(255,248,236,.04), 0 0 0 5rem rgba(255,248,236,.03);
  content: "";
  pointer-events: none;
}
.join-copy, .address-card { position: relative; z-index: 1; }
.join-copy .eyebrow { color: #ffe1a4; }
.join-copy h2 em { color: #ffd171; }
.join-copy > p:not(.eyebrow) { max-width: 360px; margin: 1.4rem 0 0; color: #ffe2cf; font-size: 1.08rem; }
.join-steps { display: grid; gap: 1rem; max-width: 460px; margin: 2rem 0 0; padding: 0; list-style: none; }
.join-steps li { display: flex; align-items: center; gap: .9rem; }
.join-steps li > span { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,248,236,.65); border-radius: 50%; font: .8rem var(--sans); }
.join-steps strong, .join-steps small { display: block; }
.join-steps strong { font: .95rem var(--sans); letter-spacing: .03em; }
.join-steps small { margin-top: .1rem; color: #f3cbbb; font-size: .83rem; }
.address-card {
  align-self: center;
  padding: 1.4rem;
  transform: rotate(-1deg);
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 13px 16px 0 rgba(66,24,18,.18);
}
.address-card-top { display: flex; justify-content: space-between; color: #858474; font: .62rem var(--sans); letter-spacing: .13em; }
.address-mark { color: #b34c33; }
.server-address { overflow-wrap: anywhere; margin: 1.65rem 0 1.25rem; font: clamp(1.65rem, 3vw, 2.5rem)/1 var(--display); letter-spacing: .025em; }
.copy-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  border: 0;
  background: var(--coal);
  color: var(--paper);
  font: .76rem var(--sans);
  letter-spacing: .11em;
  text-align: left;
  text-transform: uppercase;
}
.copy-button:hover { background: #333b35; }
.copy-button span:last-child { color: var(--amber); font-size: 1.15rem; }
.copy-note { min-height: 1rem; margin: .65rem 0 0; color: #76776c; font-size: .78rem; }
.address-decoration { position: absolute; right: 1rem; bottom: .65rem; width: 44px; height: 3px; background: var(--amber); }

.chat-section { padding: clamp(4rem, 7vw, 6.5rem) clamp(1.2rem, 8vw, 8rem); background: var(--paper-light); }
.chat-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.chat-heading h2 { font-size: clamp(2.7rem, 5vw, 4.7rem); }
.chat-connection { display: flex; align-items: center; gap: .55rem; margin: 0 0 .35rem; color: #77776d; font: .66rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.chat-lamp { width: 8px; height: 8px; }
.chat-panel {
  display: flex;
  min-height: 190px;
  max-height: 340px;
  flex-direction: column;
  gap: .55rem;
  overflow: auto;
  padding: 1.1rem;
  border: 1px solid rgba(36,39,33,.14);
  background: #e9e0ce;
}
.chat-empty { margin: auto; color: #828174; font-style: italic; text-align: center; }
.chat-line { display: grid; grid-template-columns: minmax(95px, 150px) 1fr; gap: .8rem; margin: 0; padding-bottom: .55rem; border-bottom: 1px solid rgba(36,39,33,.1); font-size: .92rem; }
.chat-line:last-child { border-bottom: 0; }
.chat-player { overflow: hidden; color: #aa492f; font: .76rem var(--sans); text-overflow: ellipsis; white-space: nowrap; }
.chat-message { overflow-wrap: anywhere; color: #35382f; }
.chat-footnote { margin: .7rem 0 0; color: #8b8a7c; font: .66rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.2rem, 5vw, 5rem);
  background: var(--coal);
  color: #bdb9a9;
}
.footer-brand { color: var(--paper); font: 1.25rem var(--display); letter-spacing: .1em; text-decoration: none; }
.footer-brand span { margin-left: .35rem; color: var(--amber); font: .65rem var(--sans); }
.site-footer p { margin: 0; font-size: .85rem; }
.back-top { font: .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  padding: .8rem 1rem;
  transform: translateY(1rem);
  opacity: 0;
  background: var(--coal);
  color: var(--paper);
  font: .78rem var(--sans);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }

@keyframes ticket-arrive {
  from { transform: translateY(14px) rotate(4deg); opacity: 0; }
  to { transform: translateY(0) rotate(1.5deg); opacity: 1; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .pit-ticket { justify-self: start; width: min(100%, 480px); }
  .hero-stamp { right: 2rem; bottom: 2rem; }
  .pit-section { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; gap: .9rem; padding: .85rem 1rem; }
  .brand-tag { display: none; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: .7rem; padding-top: .65rem; border-top: 1px solid rgba(242,235,220,.13); font-size: .68rem; }
  .nav-join { margin-left: auto; padding: .62rem .7rem; font-size: .65rem; }
  .hero { min-height: auto; padding: 4rem 1.2rem 6rem; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5.8rem); }
  .hero-intro { font-size: 1rem; }
  .hero-stamp { right: 1rem; bottom: 1rem; width: 86px; height: 86px; opacity: .75; }
  .hero-stamp strong { font-size: .85rem; }
  .hero-stamp span { font-size: .4rem; }
  .ticker { justify-content: flex-start; overflow-x: auto; white-space: nowrap; font-size: .58rem; }
  .pit-section, .join-section, .chat-section { padding: 3.6rem 1.2rem; }
  .section-heading h2 { font-size: 3.7rem; }
  .menu-item { grid-template-columns: 26px 42px minmax(0,1fr) 18px; gap: .65rem; min-height: 130px; }
  .menu-symbol { width: 40px; height: 40px; transform: scale(.84); transform-origin: left center; }
  .menu-copy h3 { font-size: 1.27rem; }
  .menu-copy p:last-child { font-size: .86rem; }
  .join-section { grid-template-columns: 1fr; gap: 2rem; }
  .chat-heading { align-items: start; flex-direction: column; }
  .chat-heading h2 { font-size: 3rem; }
  .chat-line { grid-template-columns: 82px 1fr; gap: .55rem; font-size: .84rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---- BabaQ+ ad insert ---- */
.sauce-section {
  padding: 4rem 1.5rem;
  background: var(--coal);
  display: flex;
  justify-content: center;
}
.sauce-ad {
  max-width: 56rem;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 3px dashed var(--ember);
  border-radius: 14px;
  padding: 2.8rem 2.4rem;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.sauce-kicker {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .28em;
  color: var(--ember);
  margin: 0 0 1rem;
}
.sauce-ad h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: .95;
  letter-spacing: .02em;
  margin: 0 0 1.1rem;
}
.sauce-ad h2 em { color: var(--ember); font-style: normal; }
.sauce-lede {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 40rem;
  margin: 0 auto 1.6rem;
}
.sauce-perks {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  text-align: left;
  font-family: var(--sans);
  font-size: .95rem;
}
.sauce-perks li {
  padding: .45rem 0 .45rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.sauce-perks li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .8rem;
  width: .55rem;
  height: .55rem;
  background: var(--ember);
  transform: rotate(45deg);
}
.sauce-testimonial {
  font-family: var(--body);
  font-style: italic;
  font-size: .98rem;
  color: var(--coal-soft);
  margin: 0 0 1.2rem;
}
.sauce-testimonial span {
  font-family: var(--sans);
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--muted);
}
.sauce-footnote {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0;
}
