/* =============================================================
   SPACY ISLAND — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens — dark cosmic. Mysterious through restraint and a
   quiet starfield, not through information density.
   ============================================================= */
:root {
  --bg:        #0A0A14;
  --bg-2:      #111120;
  --bg-3:      #17162A;
  --ink:       #F2F1F7;
  --ink-soft:  #D3D0E0;
  --ink-mute:  #8B87A3;
  --pink:      #FF3D8B;
  --pink-bright: #FF3D8B;
  --cyan:      #3DE2FF;
  --cyan-bright: #3DE2FF;
  --gold:      #C9A35B;
  --coral:     #E88A72;
  --wine:      #6E3B54;
  --line:      rgba(242,241,247,0.12);
  --line-soft: rgba(242,241,247,0.07);
  --bg-rgb:    10,10,20;

  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", "IBM Plex Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 80px;
  --container: 1200px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--font-display); font-weight: 500; }
em { font-style: italic; color: var(--gold); }
::selection { background: var(--pink); color: var(--bg); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.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;
}

.section-head { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); position: relative; z-index: 2; }
.section-title { font-size: clamp(1.8rem, 4.4vw, 2.9rem); margin-bottom: 1.1rem; max-width: 18ch; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.split-word { display: inline-block; opacity: 0; transform: translateY(60%); }
.is-visible .split-word { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9rem 1.6rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap;
  transition: transform .5s var(--ease-out), background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.btn-primary { background: var(--pink); color: #17040e; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255,61,139,.45); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-ghost { color: var(--ink-soft); padding-inline: .4rem; }
.btn-ghost:hover { color: var(--cyan); }

/* =============================================================
   Aurora + grain (global) — very subtle on a dark base
   ============================================================= */
.aurora {
  position: fixed; inset: -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 18%, rgba(255,61,139,.14), transparent 70%),
    radial-gradient(42% 36% at 85% 15%, rgba(61,226,255,.10), transparent 70%),
    radial-gradient(46% 40% at 50% 92%, rgba(201,163,91,.10), transparent 70%);
  filter: blur(90px) saturate(120%);
  animation: auroraDrift 46s ease-in-out infinite;
}
@keyframes auroraDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-2%, 2%, 0) scale(1.08); }
}
.grain {
  position: fixed; inset: 0; z-index: 1; opacity: .04; pointer-events: none; mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}

/* =============================================================
   Starfield — minimal, fixed, behind everything
   ============================================================= */
.starfield { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.stars-small, .stars-big {
  position: absolute; top: 0; left: 0; width: 1px; height: 1px; background: transparent; border-radius: 50%;
}
.stars-small {
  box-shadow: 1269px 197px #FFFFFF, 238px 731px #FFFFFF, 320px 367px #FFFFFF, 1376px 718px #FFFFFF, 329px 1065px #FFFFFF, 445px 360px #FFFFFF, 960px 448px #FFFFFF, 723px 364px #FFFFFF, 983px 49px #FFFFFF, 1546px 808px #FFFFFF, 755px 213px #FFFFFF, 171px 987px #FFFFFF, 1550px 755px #FFFFFF, 83px 995px #FFFFFF, 280px 1268px #FFFFFF, 1315px 722px #FFFFFF, 354px 58px #FFFFFF, 585px 816px #FFFFFF, 1560px 5px #FFFFFF, 1017px 1127px #FFFFFF, 1421px 538px #FFFFFF, 283px 36px #FFFFFF, 96px 1094px #FFFFFF, 1190px 161px #FFFFFF, 474px 1081px #FFFFFF, 550px 907px #FFFFFF, 272px 62px #FFFFFF, 1148px 722px #FFFFFF, 96px 588px #FFFFFF, 1342px 879px #FFFFFF, 415px 18px #FFFFFF, 693px 374px #FFFFFF, 130px 1005px #FFFFFF, 134px 649px #FFFFFF, 22px 1116px #FFFFFF, 834px 718px #FFFFFF, 949px 12px #FFFFFF, 1574px 18px #FFFFFF, 5px 89px #FFFFFF, 1242px 48px #FFFFFF, 1735px 1300px #FFFFFF, 876px 525px #FFFFFF, 1171px 62px #FFFFFF, 708px 198px #FFFFFF, 830px 1109px #FFFFFF, 1011px 560px #FFFFFF, 565px 1270px #FFFFFF, 1114px 1029px #FFFFFF, 36px 1234px #FFFFFF, 1819px 465px #FFFFFF, 1350px 227px #FFFFFF, 195px 633px #FFFFFF, 633px 1086px #FFFFFF, 282px 188px #FFFFFF, 409px 828px #FFFFFF, 974px 1381px #FFFFFF, 1455px 940px #FFFFFF, 1358px 405px #FFFFFF, 1048px 1385px #FFFFFF, 1236px 33px #FFFFFF, 656px 1300px #FFFFFF, 51px 307px #FFFFFF, 504px 53px #FFFFFF, 410px 829px #FFFFFF, 802px 131px #FFFFFF, 1887px 169px #FFFFFF, 201px 449px #FFFFFF, 615px 1051px #FFFFFF, 1569px 12px #FFFFFF, 79px 1176px #FFFFFF, 1702px 333px #FFFFFF, 1759px 1183px #FFFFFF, 530px 763px #FFFFFF, 1205px 875px #FFFFFF, 365px 416px #FFFFFF, 347px 41px #FFFFFF, 438px 1306px #FFFFFF, 1876px 1094px #FFFFFF, 256px 1236px #FFFFFF, 354px 412px #FFFFFF, 1063px 778px #FFFFFF, 1353px 170px #FFFFFF, 1136px 548px #FFFFFF, 1673px 622px #FFFFFF, 661px 1349px #FFFFFF, 880px 760px #FFFFFF, 1800px 1134px #FFFFFF, 243px 150px #FFFFFF, 5px 254px #FFFFFF, 1786px 1008px #FFFFFF, 767px 827px #FFFFFF, 760px 174px #FFFFFF, 1730px 1349px #FFFFFF, 1692px 241px #FFFFFF, 634px 759px #FFFFFF, 1170px 1319px #FFFFFF, 1562px 1046px #FFFFFF, 532px 475px #FFFFFF, 998px 1126px #FFFFFF, 469px 1243px #FFFFFF, 1262px 265px #FFFFFF, 526px 319px #FFFFFF, 1583px 896px #FFFFFF, 155px 588px #FFFFFF, 1529px 1232px #FFFFFF, 1479px 1334px #FFFFFF, 1791px 653px #FFFFFF, 1692px 1356px #FFFFFF, 296px 822px #FFFFFF, 401px 887px #FFFFFF, 951px 991px #FFFFFF, 210px 1128px #FFFFFF, 660px 729px #FFFFFF, 1369px 280px #FFFFFF, 1006px 1104px #FFFFFF, 1105px 277px #FFFFFF, 1776px 73px #FFFFFF, 105px 300px #FFFFFF, 595px 240px #FFFFFF, 553px 378px #FFFFFF, 1675px 658px #FFFFFF, 698px 635px #FFFFFF, 1450px 927px #FFFFFF, 1898px 498px #FFFFFF, 1627px 435px #FFFFFF, 348px 1313px #FFFFFF, 1126px 857px #FFFFFF, 735px 1338px #FFFFFF, 149px 659px #FFFFFF, 1673px 437px #FFFFFF, 1746px 1233px #FFFFFF, 1692px 23px #FFFFFF, 566px 812px #FFFFFF, 35px 1247px #FFFFFF, 780px 946px #FFFFFF, 1245px 1378px #FFFFFF, 562px 1316px #FFFFFF, 1429px 43px #FFFFFF, 647px 920px #FFFFFF, 80px 959px #FFFFFF;
  opacity: .55;
  animation: starsTwinkle 6s ease-in-out infinite;
}
.stars-big {
  box-shadow: 991px 510px #FFFFFF, 653px 305px #FFFFFF, 1149px 901px #FFFFFF, 1150px 450px #FFFFFF, 1263px 139px #FFFFFF, 258px 1179px #FFFFFF, 552px 1370px #FFFFFF, 667px 0px #FFFFFF, 1100px 491px #FFFFFF, 295px 256px #FFFFFF, 1223px 151px #FFFFFF, 1795px 252px #FFFFFF, 1246px 278px #FFFFFF, 1219px 913px #FFFFFF, 1635px 498px #FFFFFF, 1169px 589px #FFFFFF, 814px 273px #FFFFFF, 1501px 776px #FFFFFF, 1021px 941px #FFFFFF, 781px 916px #FFFFFF, 1852px 975px #FFFFFF, 428px 435px #FFFFFF, 1026px 1138px #FFFFFF, 1318px 444px #FFFFFF, 1119px 1052px #FFFFFF, 857px 1385px #FFFFFF, 953px 1203px #FFFFFF, 78px 578px #FFFFFF, 798px 229px #FFFFFF, 1069px 568px #FFFFFF, 3px 1334px #FFFFFF, 876px 432px #FFFFFF, 920px 1000px #FFFFFF, 786px 133px #FFFFFF, 357px 1115px #FFFFFF, 879px 1270px #FFFFFF, 1785px 701px #FFFFFF, 396px 1326px #FFFFFF, 1677px 886px #FFFFFF, 1215px 1179px #FFFFFF, 959px 454px #FFFFFF, 120px 152px #FFFFFF, 1718px 875px #FFFFFF, 1747px 796px #FFFFFF, 292px 528px #FFFFFF, 255px 523px #FFFFFF, 207px 7px #FFFFFF, 1240px 30px #FFFFFF, 447px 1283px #FFFFFF, 1571px 1156px #FFFFFF;
  width: 2px; height: 2px;
  opacity: .85;
  animation: starsTwinkle 4.5s ease-in-out infinite reverse;
}
@keyframes starsTwinkle { 0%, 100% { opacity: .35; } 50% { opacity: .95; } }

/* Shooting star: rotate() sets the travel angle once; only translateX animates,
   so the star moves along its own rotated axis. The tail (::before) is a plain
   bar pointing toward local -x (left of the dot) with NO extra rotation, so once
   the parent's rotate() is applied it always trails directly behind the motion. */
.shooting-star {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px 1px rgba(255,255,255,.85);
  opacity: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.shooting-star::before {
  content: ""; position: absolute; top: 50%; right: 0; width: 64px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.85), transparent);
  transform: translateY(-50%);
}
.shooting-star-1 { top: 12%; left: 14%; animation-name: shoot1; animation-duration: 14s; animation-delay: 1s; }
.shooting-star-2 { top: 22%; left: 68%; animation-name: shoot2; animation-duration: 19s; animation-delay: 6s; }
.shooting-star-3 { top: 58%; left: 38%; animation-name: shoot3; animation-duration: 23s; animation-delay: 3s; }
@keyframes shoot1 {
  0%, 91% { opacity: 0; transform: rotate(26deg) translateX(0); }
  92% { opacity: 1; }
  100% { opacity: 0; transform: rotate(26deg) translateX(170px); }
}
@keyframes shoot2 {
  0%, 91% { opacity: 0; transform: rotate(-18deg) translateX(0); }
  92% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-18deg) translateX(190px); }
}
@keyframes shoot3 {
  0%, 91% { opacity: 0; transform: rotate(38deg) translateX(0); }
  92% { opacity: 1; }
  100% { opacity: 0; transform: rotate(38deg) translateX(150px); }
}

/* Spaceship — small, slow, very occasional pass. Distinct from the meteors:
   no tail, gentle glow, longer/slower cycle. */
.spaceship {
  position: absolute; width: 13px; height: 5px; border-radius: 50% / 60%;
  background: linear-gradient(90deg, transparent, rgba(200,222,255,.55) 40%, rgba(255,255,255,.95));
  box-shadow: 0 0 5px 1px rgba(160,200,255,.55);
  opacity: 0;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.spaceship::after {
  content: ""; position: absolute; top: 50%; right: 2px; width: 2px; height: 2px;
  background: #cfe6ff; border-radius: 50%; transform: translateY(-50%);
}
.spaceship-1 { top: 30%; left: 8%; animation-name: ship1; animation-duration: 46s; animation-delay: 4s; }
.spaceship-2 { top: 68%; left: 72%; animation-name: ship2; animation-duration: 58s; animation-delay: 26s; }
@keyframes ship1 {
  0%, 95.5% { opacity: 0; transform: rotate(8deg) translateX(0); }
  96.5%, 98.5% { opacity: .85; }
  100% { opacity: 0; transform: rotate(8deg) translateX(230px); }
}
@keyframes ship2 {
  0%, 96% { opacity: 0; transform: rotate(-6deg) translateX(0); }
  97%, 98.7% { opacity: .8; }
  100% { opacity: 0; transform: rotate(-6deg) translateX(-210px); }
}
@media (prefers-reduced-motion: reduce) {
  .shooting-star, .spaceship { display: none; }
  .stars-small, .stars-big { animation: none; opacity: .6; }
}

/* =============================================================
   Side brand mark
   ============================================================= */
.side-brand {
  position: fixed; right: 1.4rem; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  z-index: 40; display: flex; align-items: center; gap: .6rem; pointer-events: none;
}
.side-brand-text { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; color: var(--ink-mute); white-space: nowrap; }
.side-brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: pulseDot 2.4s ease-in-out infinite; flex: none; }
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (max-width: 959px) { .side-brand { display: none; } }

/* =============================================================
   Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { text-align: center; }
.splash-logo {
  width: clamp(200px, 34vw, 340px); height: auto; margin: 0 auto;
  opacity: 0; transform: scale(.88); animation: splashLogoIn .9s var(--ease-out) .1s forwards;
  filter: drop-shadow(0 0 40px rgba(255,61,139,.25));
}
@keyframes splashLogoIn { to { opacity: 1; transform: scale(1); } }
.splash-sub { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-top: 1rem; opacity: 0; animation: fadeIn .8s var(--ease-out) .7s forwards; }
.splash-bar { width: 180px; height: 2px; background: var(--line); margin: 1.6rem auto 0; overflow: hidden; border-radius: 2px; }
.splash-bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--pink), var(--cyan)); animation: splashLoad 2.6s var(--ease-soft) .3s forwards; }
@keyframes splashLoad { to { width: 100%; } }
@keyframes fadeIn { to { opacity: 1; } }

/* =============================================================
   Nav — minimal
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(var(--bg-rgb),.94), rgba(var(--bg-rgb),0));
  transition: background .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-solid { background: rgba(var(--bg-rgb),.88); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line-soft); }
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links { display: none; align-items: center; gap: 1.7rem; font-size: .86rem; }
.nav-links a { display: flex; align-items: center; gap: .4em; color: var(--ink-soft); transition: color .3s var(--ease-out); position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--cyan); transition: width .35s var(--ease-out); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: none; align-items: center; gap: .8rem; }
.nav-burger { display: flex; flex-direction: column; gap: 5px; width: 26px; z-index: 110; }
.nav-burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; gap: 1.3rem; padding: 2rem clamp(1.25rem, 6vw, 3rem);
  transform: translateY(-100%); transition: transform .5s var(--ease-out); font-family: var(--font-display); font-size: 1.6rem;
}
.nav-mobile.is-open { transform: translateY(0); }
.nav-mobile a { padding-block: .3rem; }
.nav-mobile .btn { align-self: flex-start; margin-top: 1rem; font-family: var(--font-body); }

/* =============================================================
   6. Sections — Hero (minimal, banner-first)
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: clip; padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 5vw, 3rem) 3rem; text-align: center; }
.hero-kicker { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.6rem; }
.hero-banner { width: 100%; max-width: 980px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px -20px rgba(0,0,0,.6), 0 0 70px -14px rgba(255,61,139,.18); }
.hero-banner img { width: 100%; height: auto; display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.scroll-cue span:first-child { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.scroll-cue-line { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =============================================================
   Marquee
   ============================================================= */
.marquee { position: relative; overflow: hidden; display: flex; padding: 1rem 0; border-block: 1px solid var(--line-soft); background: var(--bg-2); z-index: 2; }
.marquee-track { display: flex; flex: none; gap: .8rem; align-items: center; white-space: nowrap; animation: marqueeScroll 34s linear infinite; padding-right: .8rem; }
.marquee-track span { font-family: var(--font-mono); font-size: .92rem; letter-spacing: .04em; }
.marquee-track span:nth-child(4n+1) { color: var(--pink); }
.marquee-track span:nth-child(4n+2) { color: var(--cyan); }
.marquee-track span:nth-child(4n+3) { color: var(--gold); }
@keyframes marqueeScroll { to { transform: translateX(-100%); } }

/* =============================================================
   About — hidden behind a disclosure (native <details>)
   ============================================================= */
.about { position: relative; padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 3rem); text-align: center; }
.about-toggle {
  max-width: var(--container); margin: 0 auto; position: relative; z-index: 2;
}
.about-toggle summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: .8em 1.6em;
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.about-toggle summary::-webkit-details-marker { display: none; }
.about-toggle summary:hover, .about-toggle[open] summary { border-color: var(--ink); color: var(--ink); }
.about-toggle summary .chevron { transition: transform .3s var(--ease-out); }
.about-toggle[open] summary .chevron { transform: rotate(180deg); }
.about-panel { max-width: 62ch; margin: 2rem auto 0; text-align: left; }
.about-panel .ribbon { display: inline-block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: .35em 1em; margin-bottom: 1.2rem; }
.about-panel p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-panel p:last-child { margin-bottom: 0; }

/* =============================================================
   Events — compact, banner de-emphasized
   ============================================================= */
.events { position: relative; padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 5vw, 3rem); }
.event-card { position: relative; max-width: var(--container); margin: 2.5rem auto 0; z-index: 2; }
.event-layout { display: grid; gap: 2rem; }
.event-info { display: flex; flex-direction: column; gap: 1rem; }
.event-status { display: inline-block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: .35em 1em; border-radius: 999px; width: fit-content; }
.event-status.is-upcoming { background: rgba(15,160,189,.12); color: var(--cyan); border: 1px solid rgba(15,160,189,.3); }
.event-status.is-announced { background: rgba(169,127,59,.12); color: var(--gold); border: 1px solid rgba(169,127,59,.3); }
.event-status.is-sold-out { background: rgba(226,58,120,.12); color: var(--pink); border: 1px solid rgba(226,58,120,.3); }
.event-status.is-past { background: rgba(117,109,130,.12); color: var(--ink-mute); border: 1px solid var(--line); }
.event-title { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.event-meta { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); letter-spacing: .04em; }
.event-lineup { font-size: .9rem; letter-spacing: .06em; color: var(--gold); }
.event-lineup-note { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-mute); margin-top: .2rem; }
.event-desc { color: var(--ink-soft); max-width: 60ch; }
.event-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.event-empty { text-align: center; padding: 3.5rem 1rem; color: var(--ink-soft); }
.event-empty p:first-child { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1rem; }

.event-video { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); aspect-ratio: 4/5; max-width: 340px; }
.event-video video { width: 100%; height: 100%; object-fit: cover; }

.event-banner-small { display: inline-block; margin-top: 1.2rem; }
.event-banner-small img { width: 180px; border-radius: 10px; border: 1px solid var(--line); opacity: .9; transition: opacity .3s var(--ease-out); }
.event-banner-small:hover img { opacity: 1; }

/* =============================================================
   Sound / Artists
   ============================================================= */
.sound { padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 5vw, 3rem); position: relative; }
.sound-text { color: var(--ink-soft); max-width: 60ch; margin-top: 1rem; }
.artist-list { max-width: var(--container); margin: 2.5rem auto 0; border-top: 1px solid var(--line-soft); position: relative; z-index: 2; }
.artist-row {
  display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 1rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line-soft); position: relative; overflow: visible;
}
.artist-row-index { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-mute); }
.artist-row-main { display: flex; flex-direction: column; }
.artist-name { font-family: var(--font-display); font-size: clamp(1.5rem, 3.6vw, 2.2rem); transition: color .3s var(--ease-out), transform .3s var(--ease-out); }
.artist-row:hover .artist-name { color: var(--cyan); transform: translateX(6px); }
.artist-detail { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-mute); letter-spacing: .05em; margin-top: .3rem; }
.artist-event { font-family: var(--font-mono); font-size: .7rem; color: var(--gold); text-align: right; }
.artist-thumb {
  position: absolute; right: 2vw; top: 50%; width: 120px; height: 150px; border-radius: 12px; overflow: hidden;
  transform: translateY(-50%) translateX(20px) scale(.92); opacity: 0; pointer-events: none; z-index: 3;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); box-shadow: 0 20px 40px -14px rgba(0,0,0,.55); border: 1px solid var(--line);
}
.artist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.artist-row:hover .artist-thumb { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }

.artist-video-wrap { max-width: var(--container); margin: 2.5rem auto 0; display: flex; justify-content: center; }
.artist-video { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); max-width: 280px; aspect-ratio: 4/5; background: var(--bg-3); }
.artist-video video { width: 100%; height: 100%; object-fit: cover; }
.artist-video-caption { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-mute); text-align: center; margin-top: .6rem; }

/* =============================================================
   Gallery
   ============================================================= */
.gallery { padding: clamp(4rem, 9vw, 6.5rem) 0; overflow: hidden; }
.gallery-lanes { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.2rem; }
.gallery-lane { display: flex; gap: 1rem; flex: none; }
.gallery-lane img { height: 210px; width: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); flex: none; }
.gallery-card { position: relative; flex: none; }
.gallery-tag {
  position: absolute; left: .6rem; bottom: .6rem; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em;
  text-transform: uppercase; background: rgba(28,24,38,.72); color: #F3EFE6; padding: .3em .7em; border-radius: 999px; border: 1px solid rgba(255,255,255,.12);
}
.gallery-lane-fast .gallery-track { animation: marqueeScroll 40s linear infinite; }
.gallery-lane-slow .gallery-track { animation: marqueeScrollReverse 60s linear infinite; }
.gallery-lane-mid .gallery-track { animation: marqueeScrollReverse 48s linear infinite; }
.gallery-track { display: flex; gap: 1rem; flex: none; }
@keyframes marqueeScrollReverse { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* =============================================================
   VIP
   ============================================================= */
.vip { padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 5vw, 3rem); position: relative; }
.vip-text { color: var(--ink-soft); max-width: 60ch; margin-top: 1rem; }
.vip-layout { max-width: var(--container); margin: 2.5rem auto 0; display: grid; gap: 2rem; position: relative; z-index: 2; }
.vip-photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; will-change: transform; }
.vip-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.vip-photo:hover img { transform: scale(1.04); }
.vip-options { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.vip-card { border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; background: var(--bg-3); transition: border-color .3s var(--ease-out), transform .3s var(--ease-out); }
.vip-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.vip-card h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.vip-price { font-family: var(--font-mono); font-size: .78rem; color: var(--gold); margin-bottom: .8rem; }
.vip-card ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; font-size: .82rem; color: var(--ink-soft); }
.vip-card li::before { content: "— "; color: var(--ink-mute); }
.vip-note { max-width: var(--container); margin: 2rem auto 0; padding: 0; font-size: .8rem; color: var(--ink-mute); position: relative; z-index: 2; }
.vip-main-cta { max-width: var(--container); margin: 1.6rem auto 0; display: flex; position: relative; z-index: 2; width: fit-content; }

/* =============================================================
   Contact
   ============================================================= */
.contact { padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 5vw, 3rem); position: relative; }
.contact-text { color: var(--ink-soft); max-width: 55ch; margin-top: 1rem; }
.contact-layout { max-width: var(--container); margin: 2.5rem auto 0; display: grid; gap: 3rem; position: relative; z-index: 2; }
.contact-info { display: flex; flex-direction: column; gap: .6rem; }
.contact-line { font-size: 1.05rem; padding-block: .2rem; width: fit-content; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease-out), color .3s var(--ease-out); }
a.contact-line:hover { border-color: var(--cyan); color: var(--cyan); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: .5rem; }
.form-row label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--ink-mute); display: flex; gap: .5em; }
.form-row label span { color: var(--pink); }
.form-row input, .form-row textarea {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; padding: .78rem 1rem;
  transition: border-color .3s var(--ease-out); resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--cyan); }
.contact-form .btn { align-self: flex-start; margin-top: .4rem; }
.contact-alt { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-mute); margin-top: .4rem; }
.contact-alt:hover { color: var(--cyan); }
.form-noscript { font-size: .82rem; color: var(--ink-soft); }
.form-success { color: var(--cyan); font-family: var(--font-mono); font-size: .84rem; margin-top: .6rem; }

/* =============================================================
   Page header — /events, /blog (non-home pages, no big hero banner)
   ============================================================= */
.page-hero { max-width: var(--container); margin: 0 auto; padding: clamp(6.5rem, 14vw, 9rem) clamp(1.25rem, 5vw, 3rem) clamp(2rem, 5vw, 3rem); position: relative; z-index: 2; }
.page-kicker { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: .9rem; }
.page-title { font-size: clamp(2.1rem, 5.4vw, 3.4rem); max-width: 20ch; margin-bottom: 1rem; }
.page-lede { color: var(--ink-soft); max-width: 60ch; font-size: 1.05rem; }
.page-breadcrumb { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.page-breadcrumb a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; }
.page-breadcrumb a:hover { color: var(--cyan); }

/* =============================================================
   Pre-registration — Pixel Paradise
   ============================================================= */
.preregister-page { position: relative; padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 5vw, 3rem) clamp(4rem, 9vw, 6.5rem); }
.preregister-shell { max-width: var(--container); margin: 0 auto; display: grid; gap: clamp(2.5rem, 6vw, 5rem); position: relative; z-index: 2; }
.preregister-intro { min-width: 0; }
.preregister-intro .page-title { margin-bottom: 1rem; }
.preregister-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.2rem; margin-top: 2rem; max-width: 620px; }
.preregister-details div { display: flex; flex-direction: column; gap: .25rem; padding-top: .75rem; border-top: 1px solid var(--line-soft); }
.preregister-details span { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.preregister-details strong { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.preregister-art-stack { position: relative; width: min(100%, 620px); margin-top: 2.4rem; min-height: 410px; }
.preregister-art-main { width: min(78%, 430px); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -28px rgba(0,0,0,.8), 0 0 45px -18px rgba(255,61,139,.38); }
.preregister-art-main img, .preregister-art-secondary img { width: 100%; height: auto; display: block; }
.preregister-art-secondary { position: absolute; right: 0; bottom: -1.2rem; width: min(34%, 190px); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transform: rotate(4deg); box-shadow: 0 24px 50px -20px rgba(0,0,0,.8); }
.preregister-form-card { align-self: start; background: rgba(17,17,32,.9); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 4vw, 2.2rem); box-shadow: 0 30px 90px -45px rgba(0,0,0,.9); }
.preregister-form-head { margin-bottom: 1.8rem; }
.preregister-form-head h2 { font-size: clamp(1.8rem, 4vw, 2.45rem); margin: .9rem 0 .7rem; }
.preregister-form-head p { color: var(--ink-soft); font-size: .92rem; max-width: 42ch; }
.preregister-form { display: flex; flex-direction: column; gap: 1.05rem; }
.preregister-form[hidden] { display: none; }
.preregister-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.preregister-form .form-row { gap: .45rem; }
.preregister-form .form-row label, .preregister-form .preregister-choice legend { font-size: .68rem; }
.preregister-form .form-row input:not([type="radio"]):not([type="checkbox"]), .preregister-form .form-row select {
  width: 100%; min-height: 49px; background: rgba(242,241,247,.055); border: 1px solid var(--line); border-radius: 10px; padding: .78rem .9rem;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.choice-option input[type="radio"] { width: 18px; height: 18px; min-height: 0; }
.preregister-form .form-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%), linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.preregister-form .form-row input:focus, .preregister-form .form-row select:focus { border-color: var(--cyan); background-color: rgba(61,226,255,.06); outline: none; }
.preregister-choice { border: 0; padding: 0; min-width: 0; }
.preregister-choice legend { width: 100%; font-family: var(--font-mono); letter-spacing: .08em; color: var(--ink-mute); display: flex; gap: .5em; margin-bottom: .5rem; }
.preregister-choice legend span { color: var(--pink); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.choice-option { display: flex; align-items: center; gap: .6rem; min-height: 49px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-soft); font-size: .82rem; cursor: pointer; transition: border-color .3s var(--ease-out), color .3s var(--ease-out), background .3s var(--ease-out); }
.choice-option:has(input:checked) { border-color: var(--pink); color: var(--ink); background: rgba(255,61,139,.08); }
.choice-option input { accent-color: var(--pink); flex: none; }
.marketing-consent { display: flex; align-items: flex-start; gap: .65rem; color: var(--ink-mute); font-size: .76rem; line-height: 1.45; cursor: pointer; }
.marketing-consent input { margin-top: .2rem; accent-color: var(--pink); flex: none; }
.preregister-submit { width: 100%; margin-top: .2rem; }
.form-note { color: var(--ink-mute); font-size: .72rem; line-height: 1.45; }
.form-status { color: var(--cyan); font-family: var(--font-mono); font-size: .78rem; line-height: 1.45; }
.form-status.is-error { color: #ff9dbd; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-response-frame { position: absolute; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }
.preregister-success { text-align: center; padding: 1.2rem .4rem .4rem; }
.success-mark { display: block; color: var(--pink); font-size: 2rem; line-height: 1; margin-bottom: .9rem; }
.preregister-success h2 { font-size: clamp(1.8rem, 4vw, 2.45rem); margin-bottom: .7rem; }
.preregister-success p { color: var(--ink-soft); max-width: 36ch; margin: 0 auto 1.5rem; font-size: .92rem; }

/* Reserve Tickets — promo note, live price preview, secondary payment option, confirmation summary */
.reserve-promo-note { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; color: var(--ink-soft); font-size: .78rem; }
.reserve-promo-note[hidden] { display: none; }
.reserve-promo-badge { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; color: #17040e; background: var(--gold); padding: .3em .7em; border-radius: 999px; flex: none; }
.reserve-promo-note s { color: var(--ink-mute); }

.reserve-price-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(61,226,255,.05); }
.reserve-price-summary[hidden] { display: none; }
.reserve-price-summary div { display: flex; flex-direction: column; gap: .2rem; }
.reserve-price-summary span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.reserve-price-summary strong { font-size: .92rem; color: var(--ink); }

.reserve-alt-payment { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }
.reserve-alt-title { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .4rem; }
.reserve-alt-payment .form-note { margin-bottom: .8rem; }
.reserve-alt-payment .btn { font-size: .78rem; padding: .7rem 1.3rem; }

.reserve-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; text-align: left; max-width: 420px; margin: 0 auto 1.3rem; }
.reserve-summary div { display: flex; flex-direction: column; gap: .2rem; padding-top: .6rem; border-top: 1px solid var(--line-soft); }
.reserve-summary span { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.reserve-summary strong { font-size: .84rem; color: var(--ink); word-break: break-word; }
.reserve-cupido-hours { color: var(--ink); font-size: .88rem; }

/* =============================================================
   Past experiences grid (/events)
   ============================================================= */
.past-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.past-card { border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; background: var(--bg-3); transition: border-color .3s var(--ease-out), transform .3s var(--ease-out); }
.past-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.past-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.past-card p { font-size: .82rem; color: var(--ink-mute); }

/* =============================================================
   Blog article (/blog/*)
   ============================================================= */
.article { max-width: 72ch; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem) clamp(4rem, 9vw, 6.5rem); position: relative; z-index: 2; }
.article p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.3rem; }
.article h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 2.4rem 0 1rem; }
.article a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--pink); }
.article-cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 2.2rem; }
.article figure { margin: 2.2rem 0; }
.article figure img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.article figure figcaption { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-mute); margin-top: .7rem; text-align: center; }

/* =============================================================
   Footer
   ============================================================= */
.footer { position: relative; padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3rem) 2rem; border-top: 1px solid var(--line-soft); overflow: hidden; }
.footer-display {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 5rem); color: transparent;
  -webkit-text-stroke: 1px var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2.6rem; user-select: none;
}
.footer-grid { display: grid; gap: 2.2rem; max-width: var(--container); margin: 0 auto; }
.footer-col h3 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; padding-block: .3rem; color: var(--ink-soft); font-size: .9rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { max-width: var(--container); margin: 2.6rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .78rem; color: var(--ink-mute); }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a:hover { color: var(--cyan); }

/* =============================================================
   Legacy ticket modal (kept for article pages that still use it)
   ============================================================= */
.tk-overlay {
  position: fixed; inset: 0; background: rgba(var(--bg-rgb), .78); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 1.2rem;
}
.tk-overlay[hidden] { display: none; }
.tk-modal {
  position: relative; width: 100%; max-width: 560px; background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 20px; padding: 2rem 1.6rem;
  font-family: inherit; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.tk-close {
  position: absolute; top: .7rem; right: 1rem; background: none; border: 0; color: var(--ink);
  font-size: 1.8rem; line-height: 1; cursor: pointer; opacity: .7; transition: opacity .2s var(--ease-out);
}
.tk-close:hover { opacity: 1; }
.tk-modal h3 { margin: .2rem 0 .1rem; font-size: 1.5rem; }
.tk-sub { margin: 0 0 1.3rem; color: var(--ink-mute); letter-spacing: .04em; font-size: .85rem; text-transform: uppercase; font-family: var(--font-mono); }
.tk-options { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 520px) { .tk-options { grid-template-columns: 1fr; } }
.tk-card {
  display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--ink);
  padding: 1.2rem 1rem; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(242,241,247,.03); position: relative; overflow: hidden;
  transition: transform .2s var(--ease-out), border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.tk-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF7A3D, var(--pink), #7A3DFF);
  opacity: 0; transition: opacity .2s var(--ease-out);
}
.tk-card:hover { transform: translateY(-3px); border-color: var(--pink); background: rgba(242,241,247,.06); }
.tk-card:hover::before { opacity: 1; }
.tk-emoji { font-size: 1.8rem; }
.tk-card strong { font-size: 1.05rem; }
.tk-card span { font-size: .9rem; color: var(--ink-soft); }
.tk-card small { font-size: .72rem; color: var(--ink-mute); line-height: 1.35; margin-top: .3rem; }
.tk-wa { display: inline-block; margin-top: 1.3rem; color: var(--ink-mute); font-size: .85rem; text-decoration: underline; }
.tk-wa:hover { color: var(--cyan); }

/* =============================================================
   Event countdown
   ============================================================= */
.spacy-countdown { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 1.3rem 0; flex-wrap: wrap; }
.spacy-countdown .cd-unit {
  display: flex; flex-direction: column; align-items: center; min-width: 62px; padding: .55rem .75rem;
  background: rgba(242,241,247,.06); border: 1px solid var(--line); border-radius: 12px;
}
.spacy-countdown .cd-unit span { font-size: 1.7rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.spacy-countdown .cd-unit small { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-mute); margin-top: .3rem; }
.spacy-countdown .cd-sep { font-size: 1.4rem; color: var(--ink-mute); opacity: .5; align-self: flex-start; margin-top: .45rem; }
.spacy-countdown.is-over { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 480px) {
  .spacy-countdown .cd-unit { min-width: 50px; padding: .45rem .5rem; }
  .spacy-countdown .cd-unit span { font-size: 1.3rem; }
}

/* =============================================================
   Pixel Paradise Tables
   ============================================================= */
.tables { position: relative; padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 5vw, 3rem); }
.tables-shell { max-width: var(--container); margin: 0 auto; position: relative; z-index: 2; }
.tables-lede { color: var(--ink-soft); max-width: 60ch; margin-top: 1rem; }

.tables-package {
  margin-top: 2.4rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(242,241,247,.03);
}
.tables-package-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.tables-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.tables-includes-label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin: 1.2rem 0 .6rem; }
.tables-includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .5rem 1.5rem; color: var(--ink-soft); font-size: .88rem; }
.tables-includes li { padding-left: 1.1rem; position: relative; }
.tables-includes li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

.tables-package-compact { max-width: 480px; margin-left: auto; margin-right: auto; }
.tables-package-compact .tables-includes { grid-template-columns: 1fr; gap: .5rem; }

.tables-map-card { margin-top: 2rem; }
.tables-map-card-compact { max-width: 480px; margin-left: auto; margin-right: auto; }
.tables-map { position: relative; width: 100%; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -28px rgba(0,0,0,.8); }
.tables-map img { width: 100%; height: auto; display: block; object-fit: contain; }

.table-marker {
  position: absolute; transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: .78rem; color: #17040e;
  border: 2px solid rgba(10,10,20,.55); box-shadow: 0 4px 12px rgba(0,0,0,.5); text-decoration: none;
  cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.table-marker:hover, .table-marker:focus-visible { transform: translate(-50%, -50%) scale(1.14); outline: none; }
.table-marker:focus-visible { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--cyan); }
.table-marker.is-available { background: var(--cyan); }
.table-marker.is-hold { background: var(--coral); cursor: not-allowed; color: #2a1108; }
.table-marker.is-sold { background: var(--wine); color: var(--ink-soft); opacity: .72; cursor: not-allowed; filter: saturate(.8); }
.table-marker:disabled { pointer-events: none; }
.table-marker.is-selected { transform: translate(-50%, -50%) scale(1.22); box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--pink), 0 6px 16px rgba(0,0,0,.55); }

.btn-table-cta { border-color: rgba(61,226,255,.45); color: var(--cyan); }
.btn-table-cta:hover { border-color: var(--cyan); background: rgba(61,226,255,.08); color: var(--cyan); }

.tables-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.1rem; font-size: .8rem; color: var(--ink-soft); }
.tables-legend li { display: flex; align-items: center; gap: .5rem; }
.legend-dot { width: 12px; height: 12px; border-radius: 999px; flex: none; }
.legend-dot.is-available { background: var(--cyan); }
.legend-dot.is-hold { background: var(--coral); }
.legend-dot.is-sold { background: var(--wine); }

.tables-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 2rem; }
.table-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; background: var(--bg-3);
  display: flex; flex-direction: column; gap: .7rem; transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.table-card.is-selected { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 12px 30px -16px rgba(255,61,139,.4); }
.table-card-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.table-card-head h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; }
.table-card-status {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .3em .8em; border-radius: 999px; white-space: nowrap;
}
.table-card.is-available .table-card-status { background: rgba(61,226,255,.14); color: var(--cyan); }
.table-card.is-hold .table-card-status { background: rgba(232,138,114,.16); color: var(--coral); }
.table-card.is-sold .table-card-status { background: rgba(110,59,84,.35); color: var(--ink-mute); }
.table-card.is-sold { opacity: .78; }
.table-card .btn { width: 100%; font-size: .8rem; padding: .75rem 1rem; }
.table-card-note { font-size: .8rem; color: var(--ink-mute); }

.tables-disclaimer { margin-top: 1.6rem; color: var(--ink-mute); font-size: .78rem; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .vip-layout { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .contact-layout { grid-template-columns: 1fr 1.1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .event-layout { grid-template-columns: 1fr auto; align-items: start; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-burger { display: none; }
  .preregister-shell { grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); align-items: start; }
  .preregister-form-card { margin-top: 4.4rem; }
}

@media (max-width: 540px) {
  .preregister-details, .preregister-form-grid, .choice-grid { grid-template-columns: 1fr; }
  .preregister-art-stack { min-height: 315px; }
  .preregister-art-main { width: 82%; }
  .preregister-art-secondary { width: 34%; }
  .table-marker { width: 24px; height: 24px; font-size: .68rem; border-width: 1.5px; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .aurora { animation: none; }
  .side-brand-dot { animation: none; }
  .scroll-cue-line { animation: none; }
  .splash-logo { animation-duration: .01s; opacity: 1; transform: none; }
  .splash-sub { animation: none; opacity: 1; }
  .splash-bar span { animation: none; width: 100%; }
  /* marquees keep moving — functional, not intrusive — only shortened via JS if needed */
}
