/* ── DurianX Launch · brand stylesheet ─────────────────────────────────────
   The launch deck, extended into a page: near-black ground with a violet cast,
   a serif voice for the thesis, JetBrains Mono for everything that is a number
   (tickers, the seat ledger, the countdown), lavender as the highlight and one
   restrained gold reserved for digital gold and the OJK sandbox line.
   Signature: the giant translucent X, and a seat ledger that reads like a
   market strip because the 100-seat cap is the event's actual mechanic. */

:root {
  --x-ink: #0A0312;
  --x-deep: #23093E;
  --x-deep-2: #2E0C52;
  --x-vivid: #7C3AED;
  --x-vivid-2: #5B21B6;
  --x-lav: #B9A6F2;
  --x-gold: #E3C57E;
  --x-white: #F7F4FF;
  --x-mute: rgba(233, 226, 255, .64);
  --x-faint: rgba(233, 226, 255, .40);
  --x-line: rgba(185, 166, 242, .16);
  --x-panel: rgba(255, 255, 255, .035);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.xsite {
  margin: 0;
  font: 400 16px/1.65 var(--sans);
  color: var(--x-white);
  background-color: var(--x-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The violet atmosphere as a fixed layer of its own: background-attachment:
   fixed forces a full repaint every scroll frame (and iOS ignores it); a fixed
   pseudo-element scrolls for free. */
body.xsite::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1100px 760px at 10% -6%, #38125F 0%, rgba(56, 18, 95, 0) 55%),
    radial-gradient(900px 700px at 92% 110%, #270B49 0%, rgba(39, 11, 73, 0) 55%),
    linear-gradient(115deg, #1C0733 0%, #0A0312 58%, #06010D 100%);
}

::selection { background: var(--x-vivid); color: #fff; }

a { color: var(--x-lav); text-underline-offset: 3px; }
a:hover { color: var(--x-white); }

:focus-visible {
  outline: 2px solid var(--x-lav);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── The X watermark ─────────────────────────────────────────────────────── */
.x-watermark {
  position: fixed;
  top: -6vh;
  right: -5vw;
  z-index: 0;
  font: italic 700 min(92vh, 64vw) / 1 var(--serif);
  color: transparent;
  background: linear-gradient(160deg, rgba(185, 166, 242, .085) 8%, rgba(185, 166, 242, .015) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

/* ── Chrome ──────────────────────────────────────────────────────────────── */
.x-top {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 24px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.x-wordmark {
  font: 600 27px/1 var(--sans);
  letter-spacing: .01em;
  color: var(--x-white);
  text-decoration: none;
}

.x-mark { font: italic 700 1.08em/1 var(--serif); }

.x-builtby {
  margin: 0;
  font: 500 10.5px/1.6 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--x-faint);
  text-align: right;
}
.x-builtby strong { color: var(--x-mute); font-weight: 600; }

.x-page { position: relative; z-index: 1; }
.x-page--narrow { max-width: 660px; margin: 0 auto; padding: 0 24px 64px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.x-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(64px, 11vh, 120px) 24px clamp(48px, 7vh, 72px);
  text-align: center;
}
.x-hero--kv { max-width: 1040px; padding-top: clamp(30px, 5vh, 54px); }
.x-kv--hero { margin: 0 auto 32px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.x-eyebrow {
  margin: 0 0 22px;
  font: 500 11px/1.6 var(--mono);
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--x-lav);
}

.x-headline {
  margin: 0 0 26px;
  font: 600 clamp(33px, 5.2vw, 57px) / 1.18 var(--serif);
  letter-spacing: -.012em;
  text-wrap: balance;
}
.x-headline .mk { color: var(--x-lav); white-space: nowrap; }
.x-headline--sm { font-size: clamp(29px, 4.4vw, 42px); }

.x-eventline {
  margin: 0 0 30px;
  font-size: 14.5px;
  color: var(--x-mute);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
}
.x-eventline i { color: var(--x-lav); margin-right: 6px; }
.x-dotsep { color: var(--x-faint); }

.x-lede { margin: 0 0 8px; font-size: 16px; color: var(--x-mute); }
.x-lede b { color: var(--x-white); font-weight: 600; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.x-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
}

.x-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease,
              border-color .18s ease, color .18s ease;
}
.x-btn--primary {
  background: linear-gradient(120deg, var(--x-vivid), var(--x-vivid-2));
  color: #fff;
  box-shadow: 0 10px 34px rgba(124, 58, 237, .35);
}
.x-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 40px rgba(124, 58, 237, .5); color: #fff; }
.x-btn--ghost { border-color: var(--x-line); color: var(--x-lav); background: transparent; }
.x-btn--ghost:hover { border-color: var(--x-lav); color: var(--x-white); }
.x-btn--big { padding: 17px 36px; font-size: 16px; }
.x-btn--full { width: 100%; justify-content: center; }

.x-full-note {
  margin: 0;
  font: 600 15px/1.5 var(--sans);
  color: var(--x-gold);
}
.x-full-note i { margin-right: 8px; }

/* ── Seat ledger ─────────────────────────────────────────────────────────── */
.x-ledger { max-width: 560px; margin: 0 auto 34px; }
.x-ledger--tight { margin: 26px auto 0; max-width: 440px; }

.x-ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .16em;
  color: var(--x-faint);
}
.x-ledger-cell b { color: var(--x-white); font-weight: 600; font-size: 13px; margin-left: 6px; }
.x-ledger-cell--live b { color: var(--x-lav); }

.x-ledger-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.x-ledger-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--x-vivid), var(--x-lav));
  transition: width .6s cubic-bezier(.16, 1, .3, 1);
}

/* ── Countdown ───────────────────────────────────────────────────────────── */
.x-countdown {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 40px);
}
.x-cd {
  min-width: 62px;
  padding-top: 12px;
  border-top: 1px solid var(--x-line);
  text-align: center;
}
.x-cd b { display: block; font: 600 27px/1.1 var(--mono); color: var(--x-white); font-variant-numeric: tabular-nums; }
.x-cd b.is-tick { animation: xtick 1s ease-out; }
@keyframes xtick { 0% { color: var(--x-lav); } 100% { color: var(--x-white); } }
.x-cd i { display: block; margin-top: 5px; font: 500 9.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--x-faint); font-style: normal; }
.x-live { margin: 0; font: 500 13px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--x-lav); }

.x-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--x-lav);
  animation: xpulse 2s ease-in-out infinite;
}
@keyframes xpulse { 50% { opacity: .35; } }

/* ── The key visual: the deck slide, framed ──────────────────────────────── */
.x-kvband { max-width: 980px; margin: 0 auto; padding: 0 24px clamp(56px, 9vh, 92px); }
.x-kv {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--x-line);
  box-shadow: 0 34px 100px rgba(124, 58, 237, .28), 0 12px 34px rgba(0, 0, 0, .55);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}
.x-kv:hover { transform: translateY(-4px) scale(1.005); box-shadow: 0 44px 120px rgba(124, 58, 237, .38), 0 16px 40px rgba(0, 0, 0, .6); }
.x-kv img { display: block; width: 100%; height: auto; }
.x-kv-hint {
  position: absolute;
  right: 14px; bottom: 14px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--x-white);
  background: rgba(10, 3, 18, .65);
  border: 1px solid var(--x-line);
  border-radius: 999px;
  padding: 8px 14px;
  opacity: 0;
  transition: opacity .25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.x-kv:hover .x-kv-hint, .x-kv:focus-visible .x-kv-hint { opacity: 1; }
.x-kv-hint i { margin-right: 6px; }

/* ── Bands (centred, the way the deck is set) ────────────────────────────── */
.x-band {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 92px) 24px;
  border-top: 1px solid var(--x-line);
  text-align: center;
}
.x-band--soft { background: linear-gradient(180deg, rgba(255, 255, 255, .022), rgba(255, 255, 255, 0)); }

.x-kicker {
  margin: 0 0 20px;
  font: 500 11px/1.6 var(--mono);
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--x-lav);
}

.x-h2 {
  margin: 0 auto 30px;
  font: 600 clamp(24px, 3.2vw, 34px) / 1.3 var(--serif);
  letter-spacing: -.008em;
  max-width: 760px;
  text-wrap: balance;
}

.x-muted { color: var(--x-mute); }
.x-fineprint { font-size: 12.5px; color: var(--x-faint); margin: 22px 0 0; }
.x-fineprint--center { text-align: center; }
.x-fineprint a { color: var(--x-faint); text-decoration: none; }
.x-fineprint a:hover { color: var(--x-lav); }

/* ── Assets (the deck's three columns) ───────────────────────────────────── */
.x-assets { display: grid; grid-template-columns: repeat(3, 1fr); }
.x-asset { padding: 10px 32px; border-left: 1px solid var(--x-line); text-align: center; }
.x-asset:first-child { border-left: 0; }

.x-asset-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(185, 166, 242, .35);
  background: rgba(185, 166, 242, .07);
  color: var(--x-lav);
  font-size: 19px;
  margin-bottom: 15px;
}

.x-asset-label {
  margin: 0 0 6px;
  font: 700 13px/1.5 var(--sans);
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--x-white);
}
.x-asset-desc { margin: 0 0 16px; font-size: 15px; color: var(--x-mute); }

.x-tickers { margin: 0; display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.x-ticker {
  font: 600 11.5px/1 var(--mono);
  letter-spacing: .08em;
  padding: 6px 11px;
  border-radius: 7px;
  border: 1px solid rgba(185, 166, 242, .38);
  color: var(--x-lav);
  transition: transform .18s ease, box-shadow .18s ease;
}
.x-ticker:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(124, 58, 237, .25); }
.x-ticker--gold { border-color: rgba(227, 197, 126, .5); color: var(--x-gold); }

/* ── Built for ───────────────────────────────────────────────────────────── */
.x-chips { margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.x-chip i { color: var(--x-lav); margin-right: 8px; font-size: 13px; }
.x-chip {
  font: 500 14px/1 var(--sans);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--x-line);
  background: var(--x-panel);
  color: var(--x-white);
  transition: transform .18s ease, border-color .18s ease;
}
.x-chip:hover { transform: translateY(-2px); border-color: var(--x-lav); }
.x-chips.is-in .x-chip { animation: chipin .55s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes chipin { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
.x-builtfor-tail {
  margin: 0 auto;
  font: italic 500 19px/1.6 var(--serif);
  color: var(--x-mute);
  max-width: 680px;
}

/* ── The evening teaser ──────────────────────────────────────────────────── */
.x-evening { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.x-evening-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(26px, 5vw, 56px); }
.x-fact b { display: block; font: 600 24px/1.1 var(--mono); color: var(--x-white); }
.x-fact i { display: block; margin-top: 5px; font: 500 9.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--x-faint); font-style: normal; }

/* ── Agenda (inside the rundown drawer) ──────────────────────────────────── */
.x-agenda-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 6px 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--x-line);
}
.x-agenda-row:last-child { border-bottom: 0; }
.x-agenda-time { font: 500 11.5px/1.9 var(--mono); letter-spacing: .05em; color: var(--x-lav); white-space: nowrap; }
.x-agenda-title { display: block; font: 600 15px/1.5 var(--sans); color: var(--x-white); }
.x-agenda-desc { display: block; margin-top: 3px; font-size: 13.5px; color: var(--x-mute); }
.x-agenda-row.is-break { opacity: .55; }
.x-agenda-row.is-break .x-agenda-title { font-weight: 500; }

/* ── The rundown drawer ──────────────────────────────────────────────────── */
.x-drawer { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.x-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 1, 13, .62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .4s ease;
}
.x-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(470px, 94vw);
  background: linear-gradient(170deg, #1A0930 0%, #0E0420 100%);
  border-left: 1px solid var(--x-line);
  box-shadow: -30px 0 90px rgba(0, 0, 0, .6);
  transform: translateX(103%);
  transition: transform .52s cubic-bezier(.16, 1, .3, 1);
  overflow-y: auto;
  padding: 30px 30px 34px;
  outline: none;
}
.x-drawer.is-open { pointer-events: auto; }
.x-drawer.is-open .x-drawer-backdrop { opacity: 1; }
.x-drawer.is-open .x-drawer-panel { transform: none; }

.x-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.x-drawer-head .x-kicker { margin-bottom: 10px; }
.x-drawer-title { margin: 0; font: 600 26px/1.2 var(--serif); color: var(--x-white); }
.x-drawer-x {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--x-line);
  background: transparent;
  color: var(--x-mute);
  font-size: 15px;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.x-drawer-x:hover { color: var(--x-white); border-color: var(--x-lav); transform: rotate(90deg); }
.x-drawer-body .x-fineprint { margin: 18px 0 22px; }

.x-drawer.is-open .x-agenda-row {
  animation: rowin .55s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms + 200ms);
}
@keyframes rowin { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }

/* ── Rails ───────────────────────────────────────────────────────────────── */
.x-rails { max-width: 820px; margin: 0 auto; }
.x-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--x-line);
}
.x-rail-state {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--x-faint);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.x-rail-state::after { content: "—"; color: var(--x-faint); margin-left: 8px; }
.x-rail-state--live { color: var(--x-lav); }
.x-exchange { font: 600 18px/1 var(--sans); color: var(--x-white); }
.x-rail:last-child .x-exchange { color: var(--x-mute); font-weight: 500; }

.x-sandbox {
  margin: 26px 0 0;
  font: 500 13.5px/1.7 var(--sans);
  color: var(--x-gold);
}
.x-sandbox i { margin-right: 8px; }

/* ── Venue ───────────────────────────────────────────────────────────────── */
.x-map {
  margin: 0 auto 34px;
  max-width: 860px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--x-line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
  background: #14061F;
}
.x-map iframe { display: block; width: 100%; height: 380px; border: 0; }

.x-venue { max-width: 720px; margin: 0 auto; }
.x-venue-line { margin: 0 0 13px; font-size: 15px; color: var(--x-mute); }
.x-venue-line i { color: var(--x-lav); margin-right: 10px; }
.x-venue-line a { white-space: nowrap; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.x-faq { max-width: 720px; margin: 0 auto; text-align: left; }
.x-faq-item { border-bottom: 1px solid var(--x-line); }
.x-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  font: 600 15.5px/1.5 var(--sans);
  color: var(--x-white);
  cursor: pointer;
}
.x-faq-item summary::-webkit-details-marker { display: none; }
.x-faq-item summary i { color: var(--x-lav); transition: transform .25s ease; flex-shrink: 0; }
.x-faq-item[open] summary i { transform: rotate(45deg); }
.x-faq-item p { margin: 0; padding: 0 0 18px; font-size: 14.5px; color: var(--x-mute); max-width: 640px; }

/* ── Closing ─────────────────────────────────────────────────────────────── */
.x-close {
  max-width: none;
  margin: 0 auto;
  padding: clamp(64px, 11vh, 110px) 24px;
  border-top: 1px solid var(--x-line);
  text-align: center;
}
.x-close--photo {
  background:
    linear-gradient(180deg, rgba(10, 3, 18, .90) 0%, rgba(20, 6, 31, .82) 50%, rgba(10, 3, 18, .94) 100%),
    url("/static/brands/durianx/img/toast.jpg") center 30% / cover no-repeat;
}
.x-close-head {
  margin: 0 0 30px;
  font: 600 clamp(27px, 4vw, 44px) / 1.25 var(--serif);
  letter-spacing: -.01em;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.x-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--x-line);
  padding: 46px 24px 90px;
  text-align: center;
}
.x-footer-reg { margin-bottom: 30px; }
.x-sandbox-chip {
  display: inline-block;
  font: 500 11px/1.7 var(--mono);
  letter-spacing: .08em;
  color: var(--x-gold);
  border: 1px solid rgba(227, 197, 126, .35);
  border-radius: 999px;
  padding: 7px 16px;
}
.x-sandbox-chip i { margin-right: 7px; }
.x-footer-note { margin: 12px 0 0; font-size: 12.5px; color: var(--x-faint); }
.x-footer .foot-meta { margin-top: 14px; font-size: 12px; color: var(--x-faint); }
.x-footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
}
.x-footer-logos a { display: block; opacity: .5; transition: opacity .18s ease, transform .18s ease; }
.x-footer-logos a:hover { opacity: 1; transform: translateY(-1px); }
.x-footer-logos img { display: block; height: 16px; width: auto; }
.x-logo-sep { color: var(--x-faint); }

/* ── WhatsApp float ──────────────────────────────────────────────────────── */
.x-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .18s ease, bottom .3s cubic-bezier(.16, 1, .3, 1);
}
.x-wa:hover { transform: translateY(-2px); color: #fff; }
body.has-sticky .x-wa { bottom: 94px; }

/* ── Sticky CTA ──────────────────────────────────────────────────────────── */
.x-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: rgba(12, 4, 22, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--x-line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .45s;
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom, 0px));
}
.x-sticky.is-on { transform: none; visibility: visible; transition-delay: 0s; }
.x-sticky-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.x-sticky-ledger {
  font: 500 10.5px/1.5 var(--mono);
  letter-spacing: .18em;
  color: var(--x-faint);
  white-space: nowrap;
}
.x-sticky-ledger b { color: var(--x-lav); font-size: 14px; font-weight: 600; margin: 0 2px; }
.x-sticky .x-btn { padding: 12px 24px; font-size: 14px; }

/* ── Form ────────────────────────────────────────────────────────────────── */
.x-formhead { text-align: center; padding: clamp(40px, 7vh, 64px) 0 34px; }

.x-panel {
  background: var(--x-panel);
  border: 1px solid var(--x-line);
  border-radius: 22px;
  padding: clamp(24px, 4.5vw, 40px);
}
.x-panel--center { text-align: center; display: grid; gap: 16px; justify-items: center; }

.x-field { margin-bottom: 20px; border: 0; padding: 0; }
.x-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.x-label {
  display: block;
  margin: 0 0 8px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--x-lav);
}

.x-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(185, 166, 242, .25);
  background: rgba(10, 3, 18, .55);
  color: var(--x-white);
  font: 400 15px/1.5 var(--sans);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.x-input:focus {
  outline: none;
  border-color: var(--x-lav);
  box-shadow: 0 0 0 3px rgba(185, 166, 242, .16);
}
.x-input::placeholder { color: var(--x-faint); }

.x-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23B9A6F2' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.x-select:invalid { color: var(--x-faint); }
.x-select option { background: #14061F; color: var(--x-white); }

.x-hint { margin: 7px 0 0; font-size: 12px; color: var(--x-faint); }

.x-seg { display: flex; gap: 8px; }
.x-seg-opt { position: relative; }
.x-seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.x-seg-opt span {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--x-line);
  color: var(--x-mute);
  font: 500 14px/1 var(--sans);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.x-seg-opt input:checked + span { background: var(--x-vivid); border-color: var(--x-vivid); color: #fff; }
.x-seg-opt input:focus-visible + span { outline: 2px solid var(--x-lav); outline-offset: 3px; }

.x-form .x-btn { margin-top: 8px; }

.x-alert {
  margin: 0 0 20px;
  padding: 13px 18px;
  border-radius: 12px;
  border-left: 3px solid var(--x-gold);
  background: rgba(227, 197, 126, .09);
  font-size: 14px;
  color: var(--x-white);
}
.x-alert i { color: var(--x-gold); margin-right: 8px; }
.x-alert--info { border-left-color: var(--x-lav); background: rgba(185, 166, 242, .10); }
.x-alert--info i { color: var(--x-lav); }

/* ── Badge / ticket card ─────────────────────────────────────────────────── */
.x-ticket {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  color: #14061F;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
}
.x-ticket-top {
  background: linear-gradient(120deg, var(--x-deep-2), #0F0420);
  color: #fff;
  text-align: center;
  padding: 24px 24px 20px;
}
.x-ticket-wordmark { display: block; font: 600 23px/1 var(--sans); }
.x-ticket-wordmark .x-mark { font: italic 700 1.08em/1 var(--serif); }
.x-ticket-eyebrow {
  display: block;
  margin-top: 9px;
  font: 500 9.5px/1 var(--mono);
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--x-lav);
}
.x-ticket-event { display: block; margin-top: 5px; font: 600 15px/1.4 var(--sans); }

.x-ticket-body { padding: 26px 26px 22px; text-align: center; }
.x-ticket-name { margin: 0; font: 600 22px/1.3 var(--serif); }
.x-ticket-org { margin: 4px 0 0; font-size: 13px; color: #6E6488; }

.x-ticket-qr {
  display: block;
  width: 216px;
  max-width: 80%;
  margin: 16px auto 10px;
  border: 1px solid #EFEAF7;
  border-radius: 14px;
  padding: 8px;
  background: #fff;
}
.x-ticket-code { margin: 0; font: 600 15px/1 var(--mono); letter-spacing: .30em; color: var(--x-vivid-2); }

.x-ticket-info {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #D9D2E9;
  text-align: left;
}
.x-ticket-info p { display: flex; gap: 11px; margin: 0 0 11px; font-size: 13px; line-height: 1.55; color: #38304A; }
.x-ticket-info i { color: var(--x-vivid); flex-shrink: 0; margin-top: 1px; }
.x-ticket-info b { color: #14061F; }
.x-ticket-info a { color: var(--x-vivid-2); }

.x-ticket-note {
  margin: 14px 0 0;
  font: 500 10.5px/1.7 var(--mono);
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #6E6488;
  text-align: center;
}
.x-ticket-note i { margin-right: 6px; }

.x-ticket-actions { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }

.x-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--x-line);
  font: 500 13px/1.4 var(--sans);
  color: var(--x-mute);
}
.x-status--in { border-color: rgba(227, 197, 126, .5); color: var(--x-gold); }

.x-nextsteps { max-width: 520px; margin: 40px auto 0; text-align: center; }
.x-steps { margin: 0; padding: 0 0 0 20px; text-align: left; color: var(--x-mute); font-size: 14.5px; }
.x-steps li { margin: 10px 0; }
.x-steps li::marker { color: var(--x-lav); font-weight: 600; }
.x-steps b { color: var(--x-white); }

/* ── Reveal motion ───────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .72s cubic-bezier(.16, 1, .3, 1), transform .72s cubic-bezier(.16, 1, .3, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.x-hero [data-reveal]:nth-child(2) { transition-delay: .07s; }
.x-hero [data-reveal]:nth-child(3) { transition-delay: .14s; }
.x-hero [data-reveal]:nth-child(4) { transition-delay: .21s; }
.x-hero [data-reveal]:nth-child(5) { transition-delay: .28s; }
.x-hero [data-reveal]:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .x-dot { animation: none; }
  .x-btn, .x-wa, .x-chip, .x-ticker, .x-drawer-x, .x-kv { transition: none; }
  .x-watermark { display: none; }
  .x-chips.is-in .x-chip, .x-drawer.is-open .x-agenda-row { animation: none; }
  .x-cd b.is-tick { animation: none; }
  .x-drawer-backdrop, .x-drawer-panel, .x-ledger-bar span { transition: none; }
  .x-sticky { transition: none; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .x-assets { grid-template-columns: 1fr; }
  .x-asset { padding: 26px 0; border-left: 0; border-top: 1px solid var(--x-line); }
  .x-asset:first-child { border-top: 0; padding-top: 0; }
}

@media (max-width: 720px) {
  .x-builtby-rest { display: none; }
  .x-agenda-row { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; text-align: left; }
  .x-grid2 { grid-template-columns: 1fr; gap: 0; }
  .x-ledger-row { letter-spacing: .10em; }
  .x-ticket-actions { flex-direction: column; align-items: stretch; }
  .x-ticket-actions .x-btn { justify-content: center; }
}

/* ── Print: the badge only, on white ─────────────────────────────────────── */
@media print {
  body.xsite { background: #fff !important; color: #000; }
  .x-watermark, .x-top, .x-footer, .x-wa, .demopod, .no-print, .x-formhead,
  .x-sticky { display: none !important; }
  .x-page--narrow { padding: 0; max-width: none; }
  .x-ticket { box-shadow: none; border: 1px solid #ccc; }
}
