:root {
  --void: #001033;
  --deep: #00286b;
  --studio: #0066ff;
  --hot: #1c8cff;
  --ice: #d7ecff;
  --paper: #f4f8ff;
  --fur: #c9a57a;
  --visor: #0b1220;
  --glass: rgba(8, 28, 78, 0.46);
  --line: rgba(244, 248, 255, 0.16);
  --glow: 0 0 40px rgba(28, 140, 255, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--paper);
  font-family: Manrope, sans-serif;
  background: var(--void);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% 18%, #1a86ff 0%, transparent 58%),
    radial-gradient(900px 520px at 18% 82%, #0038b8 0%, transparent 62%),
    linear-gradient(180deg, #0a4dff 0%, #0050e0 38%, #00286b 72%, #001033 100%);
}

#motes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.18), transparent 18%),
    radial-gradient(circle at 30% 70%, rgba(80, 180, 255, 0.2), transparent 22%);
  animation: wash 18s var(--ease) infinite alternate;
}

.floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 42%;
  background:
    linear-gradient(180deg, transparent, rgba(0, 16, 51, 0.55) 28%, rgba(0, 24, 80, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, 0.03) 46px 47px);
  transform: perspective(700px) rotateX(58deg);
  transform-origin: bottom;
}

.mark-c {
  position: absolute;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  top: 6%;
  left: 50%;
  translate: -50% 0;
  border: 42px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 78% 78%, 100% 100%, 0 100%);
  animation: spin 48s linear infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
}

.orb-a {
  width: 280px;
  height: 280px;
  background: #7ec8ff;
  top: 12%;
  left: 8%;
  animation: drift 16s ease-in-out infinite;
}

.orb-b {
  width: 340px;
  height: 340px;
  background: #0046d6;
  right: 4%;
  bottom: 18%;
  animation: drift 22s ease-in-out infinite reverse;
}

.orb-c {
  width: 180px;
  height: 180px;
  background: #c9a57a;
  opacity: 0.18;
  top: 48%;
  left: 42%;
  animation: drift 12s ease-in-out infinite;
}

.grain,
.vignette,
.spot {
  position: absolute;
  inset: 0;
}

.grain {
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.vignette {
  background: radial-gradient(circle at 50% 40%, transparent 40%, rgba(0, 10, 32, 0.55) 100%);
}

.spot {
  background: radial-gradient(220px 220px at var(--x, 50%) var(--y, 30%), rgba(255, 255, 255, 0.14), transparent 55%);
  transition: background 0.2s linear;
}

header,
main,
footer,
.drawer {
  position: relative;
  z-index: 2;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4vw;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(0, 20, 70, 0.55), rgba(0, 20, 70, 0.08));
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.topbar.tight {
  border-bottom-color: var(--line);
  background: rgba(0, 18, 55, 0.72);
}

.brand,
.brand-copy,
.eyebrow,
.hero-row,
.meta-strip,
.top-actions,
.rail,
.facts li,
.trait-row,
.join-grid,
.foot,
.foot-glyphs,
.about-grid {
  display: flex;
}

.brand {
  align-items: center;
  gap: 12px;
}

.brand-lens {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--glow);
}

.brand-lens img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: Unbounded, sans-serif;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.brand-copy small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ice);
}

.rail {
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail a {
  position: relative;
}

.rail a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.rail a:hover::after {
  transform: scaleX(1);
}

.top-actions,
.foot-glyphs {
  align-items: center;
  gap: 10px;
}

.glyph,
.seat-icon,
.join-card img {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.glyph img,
.seat-icon img,
.join-card img,
.facts li img,
.btn img,
.eyebrow img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.glyph {
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.glyph:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 255, 255, 0.18);
}

.buy-chip,
.btn,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.buy-chip,
.btn.solid {
  padding: 10px 16px;
  background: linear-gradient(180deg, #f7fbff, #b8d4ff);
  color: #042056;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(183, 214, 255, 0.28);
}

.buy-chip:hover,
.btn.solid:hover,
.btn.ghost:hover,
.join-card:hover,
.seat:hover {
  transform: translateY(-3px);
}

.menu {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.menu span {
  width: 16px;
  height: 2px;
  background: var(--paper);
}

.drawer {
  position: sticky;
  top: 78px;
  z-index: 18;
  display: grid;
  gap: 12px;
  padding: 18px 4vw 22px;
  background: rgba(0, 18, 55, 0.92);
  border-bottom: 1px solid var(--line);
}

.drawer[hidden] {
  display: none;
}

.hero,
.about,
.howto,
.chart,
.join {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 88px 0 40px;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.kicker,
.meta-strip dt,
.seat-num,
.facts span,
figcaption {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
}

.eyebrow,
.kicker {
  font-size: 12px;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.chrome,
.chrome-sm {
  font-family: Unbounded, sans-serif;
  line-height: 0.88;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 0%, #dceaff 22%, #ffffff 46%, #8ec2ff 72%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 0 rgba(6, 40, 120, 0.35)) drop-shadow(0 18px 28px rgba(0, 30, 110, 0.35));
  animation: shine 7s linear infinite;
  background-size: 100% 220%;
}

.chrome {
  font-size: clamp(72px, 11vw, 132px);
  font-weight: 900;
  margin-bottom: 22px;
}

.chrome span {
  display: block;
}

.chrome-sm {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  max-width: 14ch;
}

.lede,
.about-copy p,
.trait p,
.seat p,
.join-card p,
.foot p {
  color: rgba(244, 248, 255, 0.82);
  line-height: 1.65;
}

.lede {
  max-width: 52ch;
  font-size: 17px;
  margin-bottom: 28px;
}

.hero-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  padding: 13px 18px;
  border: 1px solid var(--line);
}

.btn.ghost {
  background: var(--glass);
}

.btn img {
  filter: brightness(0) saturate(100%) invert(17%) sepia(62%) saturate(2844%) hue-rotate(207deg) brightness(92%) contrast(107%);
}

.btn.ghost img {
  filter: none;
}

.meta-strip {
  gap: 18px;
  flex-wrap: wrap;
}

.meta-strip div {
  min-width: 90px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.meta-strip dt {
  font-size: 10px;
  margin-bottom: 6px;
}

.meta-strip dd {
  font-weight: 800;
}

.aperture {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.aperture-halo,
.aperture-ring,
.aperture-shot {
  position: absolute;
}

.aperture-halo {
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 62%);
  animation: pulse 4.8s ease-in-out infinite;
}

.aperture-ring {
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  animation: spin 28s linear infinite;
}

.aperture-ring.slow {
  width: 102%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.12);
  animation-duration: 48s;
  animation-direction: reverse;
}

.aperture-shot {
  width: min(460px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 80px rgba(0, 20, 80, 0.45), inset 0 -40px 50px rgba(0, 30, 90, 0.2);
  animation: float 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.aperture:hover .aperture-shot {
  animation: none;
}

.aperture-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transform: scale(1.08);
}

.aperture-shade {
  position: absolute;
  bottom: 8%;
  display: flex;
  gap: 10px;
  align-items: center;
}

.aperture-shade span {
  width: 58px;
  height: 18px;
  border-radius: 5px;
  background:
    repeating-linear-gradient(90deg, #0b1220 0 7px, #f4f8ff 7px 13px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.shade-ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(4, 18, 56, 0.88);
}

.shade-ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, #0b1220 0 8px, #f4f8ff 8px 14px);
}

.shade-track {
  position: relative;
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  animation: ticker 28s linear infinite;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.section-head {
  margin-bottom: 36px;
}

.about-grid {
  gap: 36px;
  align-items: center;
}

.about-grid,
.hero {
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.portrait {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 16, 60, 0.4);
  transform: rotate(-2.5deg);
}

.portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.portrait figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(4, 18, 52, 0.7);
  backdrop-filter: blur(10px);
  font-size: 11px;
}

.portrait figcaption img {
  width: 42px;
  height: auto;
  aspect-ratio: auto;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.facts {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.facts li {
  list-style: none;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--line);
}

.facts strong {
  display: block;
  margin-bottom: 4px;
}

.facts span {
  font-size: 11px;
  letter-spacing: 0.06em;
}

.trait-row,
.join-grid {
  gap: 16px;
  margin-top: 28px;
}

.trait-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trait,
.seat,
.join-card,
.visor-frame {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}

.trait,
.seat,
.join-card {
  padding: 22px;
}

.trait h3,
.seat h3,
.join-card h3 {
  font-family: Unbounded, sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.guestlist {
  display: grid;
  gap: 14px;
  counter-reset: none;
}

.seat {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px;
  align-items: center;
  list-style: none;
  position: relative;
  overflow: hidden;
}

.seat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ffffff, #7eb6ff);
}

.seat-num {
  font-size: 20px;
  font-weight: 600;
}

.text-link {
  margin-top: 10px;
  color: #e8f3ff;
  border-bottom: 1px solid rgba(232, 243, 255, 0.4);
  border-radius: 0;
  padding-bottom: 2px;
}

.visor-frame {
  padding: 18px 18px 22px;
  box-shadow: var(--glow);
}

.visor-bezel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.visor-bezel .lens {
  width: 92px;
  height: 22px;
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, #0b1220 0 8px, #f4f8ff 8px 15px);
}

.visor-bezel .bridge {
  width: 28px;
  height: 6px;
  background: #0b1220;
}

.tape-embed {
  border-radius: 18px;
  overflow: hidden;
  min-height: 640px;
  border: 1px solid var(--line);
}

.tape-embed iframe {
  width: 100%;
  height: 640px;
  border: 0;
  background: #0b1220;
}

.billboard {
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 20, 80, 0.4);
}

.billboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: ken 18s ease-in-out infinite alternate;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.join-card {
  display: grid;
  gap: 10px;
  min-height: 180px;
}

.foot {
  width: min(1180px, 92vw);
  margin: 40px auto 0;
  padding: 28px 0 48px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.foot p {
  max-width: 42ch;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
}

.delay { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 30px -24px; }
}

@keyframes wash {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.05); }
}

@keyframes shine {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.08) translateX(-1.5%); }
}

@media (max-width: 980px) {
  .rail,
  .buy-chip {
    display: none;
  }

  .menu {
    display: grid;
  }

  .hero,
  .about-grid,
  .trait-row,
  .join-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .aperture {
    min-height: 420px;
    order: -1;
  }

  .chrome {
    font-size: clamp(56px, 18vw, 92px);
  }

  .tape-embed,
  .tape-embed iframe {
    min-height: 480px;
    height: 480px;
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .seat {
    grid-template-columns: auto 1fr;
  }

  .seat-icon {
    display: none;
  }
}

@media (max-width: 640px) {
  .billboard {
    aspect-ratio: 3 / 1;
    min-height: 140px;
  }

  .meta-strip div {
    flex: 1 1 40%;
  }
}
