/* Launch gate (XAJ 2026-10-03): the countdown to the doors opening, in the XAJ Trades look. Everything is scoped to .xl */
html.xl-on #landingRoot .landing-hero { display: none; }
html.xl-on #ctBuy, html.xl-on #ctSticky, html.xl-on .ct-hint { display: none !important; }
.xl {
  --bone: #e8e4dc; --ink: #050506; --mut: rgba(232, 228, 220, .6); --line: rgba(232, 228, 220, .16);
  --fd: "Bodoni Moda", "Didot", Georgia, serif; --fh: "Cinzel", "Trajan Pro", Georgia, serif; --fb: "Manrope", system-ui, sans-serif;
  position: relative; isolation: isolate; overflow: hidden; overflow: clip; box-sizing: border-box; min-height: 100vh; min-height: 100svh;
  padding: clamp(64px, 10vh, 120px) 16px 80px; background: var(--ink); color: var(--bone); font-family: var(--fb); text-align: center;
}
.xl *, .xl *::before, .xl *::after { box-sizing: border-box; }
.xl::before { content: ""; position: absolute; inset: 0; z-index: -4;
  background: radial-gradient(ellipse 70% 48% at 50% 26%, rgba(232, 228, 220, .1), transparent 70%),
    radial-gradient(ellipse 140% 70% at 50% 115%, #000 30%, transparent 70%), linear-gradient(#050506, #0b0b0d 55%, #050506); }
.xl::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 100% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, .75)); }
.xl-fog { position: absolute; inset: -25%; z-index: -3; pointer-events: none; filter: blur(14px);
  background: radial-gradient(ellipse 38% 22% at 18% 38%, rgba(210, 210, 220, .09), transparent 70%),
    radial-gradient(ellipse 34% 20% at 82% 58%, rgba(210, 210, 220, .08), transparent 70%),
    radial-gradient(ellipse 60% 18% at 50% 88%, rgba(225, 225, 232, .08), transparent 70%);
  animation: xlFog 38s ease-in-out infinite alternate; }
.xl-fog.f2 { animation-duration: 61s; animation-direction: alternate-reverse; opacity: .75; transform: scaleX(-1); }
@keyframes xlFog { from { transform: translate3d(-7%, 2%, 0) scale(1); } to { transform: translate3d(7%, -3%, 0) scale(1.14); } }
.xl-ash { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }

/* the altar: a burning ring of 60 seconds, a turning band of words, the sigil breathing in the middle */
.xl-altar { position: absolute; left: 50%; top: clamp(-30px, 1vh, 40px); width: min(820px, 135vw); aspect-ratio: 1; transform: translateX(-50%); z-index: -2; pointer-events: none; }
.xl-altar svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.xl-runes { animation: xlSpin 220s linear infinite; }
.xl-runes text { font-family: var(--fh); font-size: 10.5px; letter-spacing: 6px; fill: rgba(232, 228, 220, .2); }
.xl-ticks line { stroke: rgba(232, 228, 220, .12); stroke-width: 1.4; transition: stroke .5s, filter .5s; }
.xl-ticks line.big { stroke-width: 2.4; }
.xl-ticks line.on { stroke: rgba(245, 242, 235, .85); filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)); }
.xl-sigil { position: absolute; inset: 29%; background: url(/img/xaj-mark-white.png) center / contain no-repeat; opacity: .15;
  filter: drop-shadow(0 0 34px rgba(255, 255, 255, .3)); animation: xlBreath 8s ease-in-out infinite alternate; }
@keyframes xlSpin { to { transform: rotate(360deg); } }
@keyframes xlBreath { from { opacity: .09; transform: scale(.97); } to { opacity: .22; transform: scale(1.04); } }

.xl-in { position: relative; max-width: 1080px; margin: 0 auto; }
.xl-eyebrow { font-family: var(--fh); font-size: .72rem; letter-spacing: .44em; color: var(--mut); margin: 0 0 20px; padding-left: .44em; }
.xl-h { margin: 0; font-family: var(--fh); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; line-height: .98;
  font-size: clamp(2.5rem, 9vw, 6.4rem); color: var(--bone);
  background: linear-gradient(180deg, #fff 0%, #ebe6dc 42%, #8b8780 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, .16)); animation: xlRise 1.4s cubic-bezier(.2, .7, .2, 1) both; }
.xl-h em { display: block; font-style: normal; font-size: .42em; letter-spacing: .5em; margin-top: .35em; padding-left: .5em; }
@keyframes xlRise { from { opacity: 0; letter-spacing: .3em; filter: blur(8px); } to { opacity: 1; } }
.xl-when { margin: 22px 0 6px; font-family: var(--fh); font-weight: 600; font-size: clamp(.86rem, 2.5vw, 1.18rem); letter-spacing: .3em; padding-left: .3em; }
.xl-when i { font-style: normal; opacity: .45; margin: 0 .5em; }
.xl-local { margin: 0 0 14px; font-size: .8rem; color: rgba(232, 228, 220, .45); }
.xl-sub { max-width: 560px; margin: 0 auto; color: var(--mut); font-size: 1rem; line-height: 1.65; }

/* the clock: split-flap stone */
.xl-clock { display: flex; justify-content: center; align-items: flex-start; gap: clamp(6px, 1.6vw, 18px); margin: clamp(32px, 5vh, 52px) auto 0; }
.xl-u { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.xl-u small { font-family: var(--fh); font-size: .64rem; letter-spacing: .36em; padding-left: .36em; color: rgba(232, 228, 220, .5); }
.xl-colon { --fw: clamp(58px, 16vw, 150px); font-family: var(--fd); font-size: calc(var(--fw) * .5); line-height: calc(var(--fw) * 1.14); color: rgba(232, 228, 220, .3); animation: xlBlink 1s steps(2, start) infinite; }
@keyframes xlBlink { to { visibility: hidden; } }
.fl { --fw: clamp(62px, 17vw, 156px); --h: calc(var(--fw) * 1.14); position: relative; width: var(--fw); height: var(--h); perspective: 700px;
  font-family: var(--fd); font-weight: 700; font-size: calc(var(--h) * .58); color: #f3efe6; filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .8)); }
.fl > div { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; border: 1px solid var(--line); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.fl .t, .fl .ft { top: 0; border-bottom: 0; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, #1c1c20, #111114); }
.fl .b, .fl .fb { bottom: 0; border-top: 0; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #0c0c0e, #08080a); }
.fl span { position: absolute; left: 0; right: 0; height: var(--h); line-height: var(--h); text-align: center; font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 0 22px rgba(255, 255, 255, .22); }
.fl .t span, .fl .ft span { top: 0; }
.fl .b span, .fl .fb span { bottom: 0; color: #d8d3c9; }
.fl .ft { z-index: 2; transform-origin: 50% 100%; }
.fl .fb { z-index: 2; transform-origin: 50% 0; transform: rotateX(90deg); }
.fl.go .ft { animation: xlFlipT .3s ease-in forwards; }
.fl.go .fb { animation: xlFlipB .3s .28s ease-out forwards; }
@keyframes xlFlipT { to { transform: rotateX(-90deg); } }
@keyframes xlFlipB { to { transform: rotateX(0); } }
.fl::before { content: ""; position: absolute; inset: -1px; border-radius: 13px; z-index: -1; box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 0 40px rgba(255, 255, 255, .05); }
.fl::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 3px; margin-top: -1.5px; z-index: 3; background: #000; box-shadow: 0 1px 0 rgba(255, 255, 255, .05); }
.fl i { position: absolute; top: 50%; width: 6px; height: 14px; margin-top: -7px; z-index: 4; border-radius: 2px; background: linear-gradient(#3a3a40, #1a1a1e); }
.fl i:first-of-type { left: -4px; } .fl i:last-of-type { right: -4px; }
.xl.opening .fl span { color: #fff; text-shadow: 0 0 30px rgba(255, 255, 255, .7); }

/* the calendar: one sealed arch per night until the doors open */
.xl-calh { margin: clamp(44px, 7vh, 72px) 0 16px; font-family: var(--fh); font-size: .74rem; letter-spacing: .4em; padding-left: .4em; color: var(--mut); }
.xl-cal { display: grid; grid-template-columns: repeat(var(--n, 9), minmax(0, 1fr)); gap: clamp(6px, 1.1vw, 14px); max-width: 1000px; margin: 0 auto; padding: 6px 2px 10px; }
.xl-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; min-width: 0; aspect-ratio: 3 / 4.6;
  padding: 22% 4px 8px; border-radius: 50% 50% 10px 10px / 24% 24% 10px 10px; border: 1px solid var(--line); cursor: pointer; color: var(--bone); font: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01) 55%, rgba(0, 0, 0, .3)), #0c0c0e; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s, opacity .25s; animation: xlTile .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms + .4s); }
@keyframes xlTile { from { opacity: 0; transform: translateY(18px); } }
.xl-day:hover, .xl-day:focus-visible { transform: translateY(-4px); border-color: rgba(232, 228, 220, .45); outline: none; }
.xl-day .wd { font-family: var(--fh); font-size: .58rem; letter-spacing: .24em; padding-left: .24em; color: var(--mut); }
.xl-day .dn { font-family: var(--fd); font-weight: 700; font-size: clamp(1.3rem, 3.2vw, 2.4rem); line-height: 1.05; font-variant-numeric: lining-nums; }
.xl-day .mo { font-family: var(--fh); font-size: .54rem; letter-spacing: .24em; padding-left: .24em; color: rgba(232, 228, 220, .45); }
.xl-day .rn { margin-top: auto; font-family: var(--fh); font-size: .62rem; letter-spacing: .14em; color: rgba(232, 228, 220, .5); display: flex; align-items: center; gap: 4px; }
.xl-day .rn svg { width: 12px; height: 12px; }
.xl-day.sealed { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 7px), linear-gradient(180deg, #0e0e10, #070708); }
.xl-day.sealed .dn { color: rgba(232, 228, 220, .7); }
.xl-day.past { opacity: .62; }
.xl-day.past .x { position: absolute; inset: 14% 10% 10%; width: 80%; height: 76%; pointer-events: none; }
.xl-day.past .x path { fill: none; stroke: rgba(245, 242, 235, .78); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .55)); animation: xlSlash .45s ease-out forwards; }
.xl-day.past .x path + path { animation-delay: .32s; }
@keyframes xlSlash { to { stroke-dashoffset: 0; } }
.xl-day.today { border-color: rgba(245, 242, 235, .75); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 34px rgba(255, 255, 255, .16), inset 0 0 26px rgba(255, 255, 255, .07); animation: xlTile .7s cubic-bezier(.2, .7, .2, 1) both, xlCandle 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms + .4s), 1.4s; }
.xl-day.today .rn { color: #fff; }
@keyframes xlCandle { 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 0 54px rgba(255, 255, 255, .26), inset 0 0 34px rgba(255, 255, 255, .1); } }
.xl-day.door { border-color: rgba(245, 242, 235, .6); background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .14), transparent 62%), #0b0b0d; }
.xl-day.door::before { content: ""; position: absolute; inset: 14% 12% 22%; background: url(/img/xaj-mark-white.png) center / contain no-repeat; opacity: .2; animation: xlBreath 5s ease-in-out infinite alternate; }
.xl-day.door .dn, .xl-day.door .wd, .xl-day.door .mo, .xl-day.door .rn { position: relative; }
.xl-day.door .rn { color: #fff; letter-spacing: .3em; }
.xl-day.sel { border-color: #fff; transform: translateY(-4px); }
.xl-tease { max-width: 640px; min-height: 108px; margin: 18px auto 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); text-align: left; }
.xl-tease small { display: block; font-family: var(--fh); font-size: .66rem; letter-spacing: .3em; color: var(--mut); margin-bottom: 6px; }
.xl-tease b { display: block; font-family: var(--fh); font-size: 1.15rem; letter-spacing: .06em; margin-bottom: 4px; }
.xl-tease p { margin: 0; color: var(--mut); font-size: .93rem; line-height: 1.55; }
.xl-tease.lock b { color: rgba(232, 228, 220, .7); }
.xl-tease.anim { animation: xlFade .4s ease both; }
@keyframes xlFade { from { opacity: 0; transform: translateY(6px); } }

/* save your spot */
.xl-spot { max-width: 640px; margin: clamp(44px, 7vh, 70px) auto 0; padding: clamp(22px, 4vw, 34px); border-radius: 18px; text-align: left; position: relative;
  border: 1px solid rgba(232, 228, 220, .22); background: linear-gradient(180deg, rgba(20, 20, 23, .92), rgba(8, 8, 10, .92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); scroll-margin-top: 90px; }
.xl-spot::before { content: "\2726"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; line-height: 24px; text-align: center; border-radius: 50%; background: #0a0a0c; border: 1px solid rgba(232, 228, 220, .3); font-size: .7rem; color: var(--bone); }
.xl-spot h2 { margin: 0 0 6px; text-align: center; font-family: var(--fh); font-weight: 700; font-size: clamp(1.5rem, 4.6vw, 2.1rem); letter-spacing: .08em; text-transform: uppercase; color: var(--bone); }
.xl-spot > p { margin: 0 auto 20px; max-width: 470px; text-align: center; color: var(--mut); font-size: .94rem; line-height: 1.55; }
.xl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.xl-grid .w { grid-column: 1 / -1; }
.xl-grid label, .xl-plans legend { display: flex; flex-direction: column; gap: 7px; font-family: var(--fh); font-size: .68rem; letter-spacing: .2em; color: rgba(232, 228, 220, .7); text-transform: uppercase; }
.xl-grid input, .xl-grid select { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(232, 228, 220, .18); background: rgba(0, 0, 0, .45); color: var(--bone);
  font: 500 1rem var(--fb); letter-spacing: 0; text-transform: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.xl-grid select { background-image: linear-gradient(45deg, transparent 50%, rgba(232, 228, 220, .6) 50%), linear-gradient(135deg, rgba(232, 228, 220, .6) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.xl-grid select option { background: #111; color: var(--bone); }
.xl-grid input::placeholder { color: rgba(232, 228, 220, .3); }
.xl-grid input:focus, .xl-grid select:focus { outline: none; border-color: rgba(245, 242, 235, .7); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08), 0 0 22px rgba(255, 255, 255, .08); }
.xl-plans { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; min-width: 0; }
.xl-plans legend { margin-bottom: 8px; padding: 0; }
.xl-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.xl-chips label { position: relative; cursor: pointer; }
.xl-chips input { position: absolute; opacity: 0; pointer-events: none; }
.xl-chips span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 11px 6px; border-radius: 10px; border: 1px solid rgba(232, 228, 220, .18); background: rgba(0, 0, 0, .35); text-align: center; transition: border-color .2s, background .2s; }
.xl-chips b { font-family: var(--fh); font-size: .78rem; letter-spacing: .12em; color: var(--bone); }
.xl-chips em { font-style: normal; font-family: var(--fb); font-size: .74rem; letter-spacing: 0; text-transform: none; color: rgba(232, 228, 220, .5); }
.xl-chips input:checked + span { border-color: rgba(245, 242, 235, .8); background: rgba(255, 255, 255, .07); box-shadow: 0 0 18px rgba(255, 255, 255, .08); }
.xl-chips input:focus-visible + span { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: 2px; }
.xl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.xl-go { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 20px; padding: 17px 20px; border-radius: 12px;
  border: 1px solid #fff; background: var(--bone); color: #0a0a0b; cursor: pointer; font-family: var(--fh); font-weight: 700; font-size: 1.02rem; letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .06), 0 0 40px rgba(255, 255, 255, .12); transition: transform .15s, box-shadow .2s, background .2s; }
.xl-go::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); transform: skewX(-20deg); animation: xlSheen 3.8s ease-in-out infinite; }
@keyframes xlSheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.xl-go:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(255, 255, 255, .1), 0 0 56px rgba(255, 255, 255, .25); }
.xl-go:disabled { opacity: .6; cursor: wait; }
.xl-err { min-height: 1.2em; margin: 10px 0 0; text-align: center; color: #ff9b94; font-size: .9rem; }
.xl-fine { margin: 4px 0 0; text-align: center; color: rgba(232, 228, 220, .42); font-size: .8rem; }
.xl-count { margin: 18px 0 0; text-align: center; font-family: var(--fh); font-size: .76rem; letter-spacing: .26em; color: var(--mut); }
.xl-count b { color: var(--bone); font-family: var(--fd); font-size: 1.05rem; letter-spacing: 0; margin-right: .3em; }

/* sealed */
.xl-done { text-align: center; padding: 6px 0 2px; }
.xl-seal { position: relative; width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid rgba(245, 242, 235, .5);
  background: radial-gradient(circle, rgba(255, 255, 255, .12), rgba(0, 0, 0, .6) 70%); box-shadow: 0 0 0 8px rgba(255, 255, 255, .03), 0 0 60px rgba(255, 255, 255, .2); animation: xlStamp .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.xl-seal::before { content: ""; position: absolute; inset: 16%; background: url(/img/xaj-mark-white.png) center / contain no-repeat; filter: drop-shadow(0 0 12px rgba(255, 255, 255, .6)); }
.xl-seal::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(232, 228, 220, .25); animation: xlSpin 30s linear infinite; }
@keyframes xlStamp { 0% { opacity: 0; transform: scale(1.9) rotate(-14deg); filter: blur(6px); } 70% { opacity: 1; transform: scale(.94) rotate(2deg); filter: none; } 100% { transform: scale(1); } }
.xl-done h2 b { font-family: var(--fd); font-size: 1.25em; letter-spacing: 0; }
.xl-done p { margin: 0 auto 6px; max-width: 440px; color: var(--mut); line-height: 1.6; font-size: .95rem; }
.xl-done .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.xl-btn2 { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1px solid rgba(232, 228, 220, .3); background: transparent; color: var(--bone); cursor: pointer; text-decoration: none;
  font-family: var(--fh); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.xl-btn2:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .05); }
.xl-link { background: none; border: 0; padding: 0; color: rgba(232, 228, 220, .5); text-decoration: underline; cursor: pointer; font: inherit; font-size: .8rem; }
.xl-scroll { display: inline-flex; margin-top: 28px; color: rgba(232, 228, 220, .5); text-decoration: none; font-family: var(--fh); font-size: .66rem; letter-spacing: .34em; flex-direction: column; align-items: center; gap: 8px; }
.xl-scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(rgba(232, 228, 220, .6), transparent); animation: xlDrip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes xlDrip { 0% { transform: scaleY(0); opacity: 1; } 80% { transform: scaleY(1); opacity: .2; } 100% { opacity: 0; } }

@media (max-width: 760px) {
  .xl-cal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 6px 4px 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .xl-cal::-webkit-scrollbar { display: none; }
  .xl-day { flex: 0 0 74px; scroll-snap-align: center; }
  .xl-day .dn { font-size: 1.7rem; }
}
@media (max-width: 520px) {
  .xl-grid { grid-template-columns: 1fr; }
  .xl-clock { gap: 5px; }
  .xl-colon { display: none; }
  .fl { --fw: calc((100vw - 32px - 15px) / 4); }
  .xl-u small { font-size: .56rem; letter-spacing: .22em; padding-left: .22em; }
  .xl-chips em { font-size: .68rem; }
  .xl-eyebrow { letter-spacing: .3em; font-size: .62rem; }
  .xl-when { letter-spacing: .16em; padding-left: .16em; }
  .xl-when i { margin: 0 .25em; }
  .xl-altar { width: 118vw; top: 40px; opacity: .7; }
  .xl-sub { text-shadow: 0 0 10px #000, 0 0 18px #000; }
}
@media (prefers-reduced-motion: reduce) {
  .xl *, .xl *::before, .xl *::after { animation: none !important; transition: none !important; }
  .xl-day.past .x path { stroke-dashoffset: 0; }
  .fl .fb { transform: rotateX(90deg); }
}
