:root {
  --bg: #050507;
  --bg-2: #0b0b10;
  --ink: #f2f2f5;
  --muted: #9a9aa8;
  --chrome-1: #ffffff;
  --chrome-2: #c8c8d2;
  --chrome-3: #7a7a88;
  --chrome-4: #e8e8f0;
  --line: rgba(255, 255, 255, 0.1);
  --glow: rgba(255, 255, 255, 0.55);
  --card: rgba(18, 18, 24, 0.72);
  --radius: 18px;
  --max: 1080px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(700px 420px at 50% 38%, rgba(180,180,200,0.06), transparent 55%),
    linear-gradient(180deg, #07070a 0%, var(--bg) 40%, #030305 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

/* ===== page smoke ===== */
.smoke-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.wisp {
  position: absolute;
  width: 42vw;
  max-width: 520px;
  height: 42vw;
  max-height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 40%, transparent 70%);
  filter: blur(28px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite;
  will-change: transform;
}
.w1 { left: -8%; top: 18%; animation-duration: 26s; }
.w2 { right: -10%; top: 8%; animation-duration: 30s; animation-delay: -6s; }
.w3 { left: 20%; bottom: 4%; width: 55vw; height: 40vw; animation-duration: 34s; animation-delay: -12s; }
.w4 { right: 12%; bottom: 22%; animation-duration: 28s; animation-delay: -3s; opacity: 0.35; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(3%, -4%, 0) scale(1.06); }
  66% { transform: translate3d(-4%, 3%, 0) scale(0.96); }
}

.top, main, .foot { position: relative; z-index: 1; }

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--chrome-2);
}
.mark-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #aaa 55%, #555 100%);
  box-shadow: 0 0 12px rgba(255,255,255,0.55);
  animation: markPulse 3.2s ease-in-out infinite;
}
@keyframes markPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255,255,255,0.35); }
  50% { box-shadow: 0 0 16px rgba(255,255,255,0.7); }
}

.top-cta {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--chrome-4);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.top-cta:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 18px rgba(255,255,255,0.08);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px 10px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  position: relative;
}

/* ===== animated stage ===== */
.stage {
  position: relative;
  width: min(92vw, 540px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  isolation: isolate;
  margin-top: 4px;
}

.stage-glow {
  position: absolute;
  inset: 8% 10% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(200,200,220,0.06) 40%, transparent 70%);
  filter: blur(18px);
  z-index: 0;
  animation: glowBreath 4.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowBreath {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

/* Halo rings aligned to the art's ring (upper half of square) */
.halo {
  position: absolute;
  left: 50%;
  top: 38%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  border-style: solid;
  border-color: rgba(255,255,255,0.55);
}
.halo-outer {
  width: 78%;
  height: 78%;
  border-width: 1px;
  opacity: 0.35;
  box-shadow:
    0 0 24px rgba(255,255,255,0.2),
    0 0 60px rgba(255,255,255,0.1);
  animation: haloSpin 18s linear infinite, haloPulse 5.5s ease-in-out infinite;
}
.halo-mid {
  width: 68%;
  height: 68%;
  border-width: 1.5px;
  opacity: 0.55;
  box-shadow:
    0 0 18px rgba(255,255,255,0.35),
    inset 0 0 24px rgba(255,255,255,0.08);
  animation: haloPulse 4.2s ease-in-out infinite 0.4s;
}
.halo-core {
  width: 58%;
  height: 58%;
  border-width: 2px;
  border-color: rgba(255,255,255,0.75);
  opacity: 0.7;
  box-shadow:
    0 0 12px rgba(255,255,255,0.55),
    0 0 40px rgba(255,255,255,0.22),
    inset 0 0 18px rgba(255,255,255,0.12);
  animation: haloPulse 3.4s ease-in-out infinite 0.8s;
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.35; filter: brightness(0.9); }
  50% { opacity: 0.95; filter: brightness(1.25); }
}
@keyframes haloSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.mascot-wrap {
  position: relative;
  width: 100%;
  z-index: 2;
  border-radius: 18px;
  overflow: hidden;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.65));
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: translate3d(0, 0, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  animation: floaty 6.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1); }
  50% { transform: translate3d(0, -12px, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.012); }
}

.mascot {
  width: 100%;
  border-radius: 18px;
  position: relative;
  z-index: 1;
  animation: breathe 5.5s ease-in-out infinite;
  will-change: filter;
}
@keyframes breathe {
  0%, 100% { filter: brightness(0.98) contrast(1.02); }
  50% { filter: brightness(1.06) contrast(1.05); }
}

/* chrome shine sweep */
.shine {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255,255,255,0.0) 40%,
    rgba(255,255,255,0.18) 48%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.14) 52%,
    transparent 60%
  );
  mix-blend-mode: soft-light;
  transform: translateX(-130%) skewX(-12deg);
  animation: shineSweep 7.5s cubic-bezier(.4,.0,.2,1) infinite;
}
@keyframes shineSweep {
  0%, 55% { transform: translateX(-130%) skewX(-12deg); opacity: 0; }
  60% { opacity: 1; }
  78% { transform: translateX(130%) skewX(-12deg); opacity: 0.85; }
  82%, 100% { transform: translateX(130%) skewX(-12deg); opacity: 0; }
}

/* local smoke plumes around figure */
.smoke-back, .smoke-front {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.smoke-back { z-index: 0; }
.smoke-front { z-index: 5; }
.plume {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 35%, transparent 70%);
  filter: blur(16px);
  opacity: 0.55;
  animation: plumeDrift 9s ease-in-out infinite;
  will-change: transform, opacity;
}
.p1 { width: 48%; height: 38%; left: -8%; bottom: 18%; animation-duration: 11s; }
.p2 { width: 42%; height: 34%; right: -6%; bottom: 28%; animation-duration: 13s; animation-delay: -3s; }
.p3 { width: 55%; height: 30%; left: 22%; top: 6%; opacity: 0.35; animation-duration: 15s; animation-delay: -6s; }
.p4 { width: 36%; height: 28%; left: 4%; bottom: 8%; opacity: 0.4; animation-duration: 10s; animation-delay: -2s; }
.p5 { width: 34%; height: 26%; right: 2%; bottom: 14%; opacity: 0.38; animation-duration: 12s; animation-delay: -5s; }
@keyframes plumeDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.25; }
  40% { transform: translate3d(4%, -10%, 0) scale(1.12); opacity: 0.6; }
  70% { transform: translate3d(-5%, -16%, 0) scale(1.05); opacity: 0.4; }
}

/* sunglasses + flask glints — positioned over art focal points */
.glint {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
  mix-blend-mode: screen;
}
.glint-shades {
  /* approx sunglasses center on the square art */
  width: 18%;
  height: 6%;
  left: 41%;
  top: 28.5%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.15) 40%, transparent 70%);
  filter: blur(2px);
  animation: shadesGlint 4.8s ease-in-out infinite;
}
.glint-flask {
  /* flask pendant roughly mid-chest */
  width: 14%;
  height: 14%;
  left: 43%;
  top: 48%;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(200,220,255,0.25) 35%, transparent 70%);
  filter: blur(3px);
  animation: flaskPulse 3.6s ease-in-out infinite;
}
@keyframes shadesGlint {
  0%, 70%, 100% { opacity: 0.15; transform: scaleX(1); }
  78% { opacity: 0.95; transform: scaleX(1.15); }
  86% { opacity: 0.25; transform: scaleX(1); }
}
@keyframes flaskPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.9); }
  50% { opacity: 0.85; transform: scale(1.15); }
}

/* sparkle glints */
.sparks {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}
.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(255,255,255,0.85), 0 0 18px rgba(255,255,255,0.45);
  opacity: 0;
  animation: sparkle 5.5s ease-in-out infinite;
}
.spark::after {
  content: "";
  position: absolute;
  inset: -4px -1px;
  background: linear-gradient(180deg, transparent, #fff, transparent);
  opacity: 0.7;
}
.spark::before {
  content: "";
  position: absolute;
  inset: -1px -4px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  opacity: 0.7;
}
.s1 { left: 18%; top: 22%; animation-delay: 0s; }
.s2 { left: 78%; top: 26%; animation-delay: 1.1s; }
.s3 { left: 30%; top: 58%; animation-delay: 2.2s; }
.s4 { left: 70%; top: 48%; animation-delay: 0.6s; }
.s5 { left: 52%; top: 16%; animation-delay: 3.1s; width: 4px; height: 4px; }
.s6 { left: 12%; top: 44%; animation-delay: 4s; }
.s7 { left: 86%; top: 40%; animation-delay: 2.7s; width: 5px; height: 5px; }
.s8 { left: 60%; top: 72%; animation-delay: 1.7s; }
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  8% { opacity: 1; transform: scale(1); }
  18% { opacity: 0; transform: scale(0.3); }
  100% { opacity: 0; }
}

.tagline {
  margin: 8px 0 8px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.8vw, 1.25rem);
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #0a0a0c;
  background: linear-gradient(180deg, #ffffff 0%, #cfcfd8 48%, #9d9daa 100%);
  box-shadow: 0 8px 28px rgba(255,255,255,0.12), inset 0 1px 0 rgba(255,255,255,0.85);
}
.btn-primary:hover {
  box-shadow: 0 10px 34px rgba(255,255,255,0.2), inset 0 1px 0 rgba(255,255,255,0.9);
}

.btn-ghost {
  color: var(--chrome-4);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

.pillars {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 0 20px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
}

.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  box-shadow: 0 10px 40px rgba(0,0,0,0.28);
}
.pillar-icon {
  color: var(--chrome-2);
  font-size: 1.15rem;
  margin-bottom: 10px;
  text-shadow: 0 0 14px rgba(255,255,255,0.35);
}
.pillar h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #fff, #a8a8b4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.join {
  max-width: var(--max);
  margin: 42px auto 0;
  padding: 0 20px 10px;
}
.join-card {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(180deg, rgba(22,22,28,0.9), rgba(10,10,14,0.92));
  padding: 34px 22px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--chrome-3);
  font-weight: 700;
}
.chrome-sub {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  font-weight: 800;
  background: linear-gradient(180deg, #fff 0%, #bdbdc8 55%, #ececf2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.join-copy {
  margin: 0 auto 22px;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.5;
}
.join-form {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .join-form {
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }
}
.join-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: var(--ink);
  padding: 0 18px;
  font-size: 1rem;
  outline: none;
}
.join-form input[type="email"]::placeholder { color: #6e6e7a; }
.join-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}
.join-alt {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.join-alt a {
  color: var(--chrome-4);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 28px 20px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: var(--muted);
}
.brand-line {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--chrome-2);
}
.ruo {
  margin: 0 0 10px;
  font-size: 0.86rem;
  line-height: 1.4;
}
.copy {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.75;
}

/* Mobile: lighter effects */
@media (max-width: 720px) {
  .halo-outer { animation: haloPulse 5.5s ease-in-out infinite; } /* drop spin */
  .spark { width: 4px; height: 4px; }
  .s5, .s6, .s7, .s8 { display: none; } /* fewer sparks */
  .shine { animation-duration: 9s; }
  .plume { filter: blur(14px); }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-wrap, .mascot, .halo, .wisp, .plume, .shine, .spark,
  .glint, .stage-glow, .mark-dot {
    animation: none !important;
  }
  .mascot-wrap { transform: none !important; }
  .shine { display: none; }
}

.mascot-wrap{position:relative}
.mascot-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.shine{z-index:2}.smoke-front{z-index:3}
@media (prefers-reduced-motion: reduce){.mascot-video{display:none}}
