/* ============================================================
   Splash / coming-soon page
   Standalone stylesheet — does not depend on style.css
   ============================================================ */

:root{
  --void:#04050C;
  --ink:#0A0C1A;
  --blue:#2F5BFF;
  --violet:#7B2BFF;
  --magenta:#FF2E63;
  --ember:#FF5A3D;
  --bone:#EFE9DE;

  --display:"Neue Machina","PP Neue Machina","NeueMachina","Space Grotesk",system-ui,sans-serif;
  --gutter:clamp(20px,5vw,72px);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--void);
  color:var(--bone);
  font-family:var(--display);
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  overflow-y:auto;
}

.stage{
  position:relative;
  min-height:100svh;
  display:grid;
  grid-template-rows:auto 1fr auto;
  isolation:isolate;
}

/* ---------- portrait ---------- */
.portrait{
  position:fixed;
  inset:0;
  z-index:-3;
  overflow:hidden;
}
.portrait img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:72% 32%;
  filter:saturate(1.12) contrast(1.05);
  transform:scale(1.04);
  animation:breathe 18s ease-in-out infinite alternate;
}
.portrait::after{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(100deg, var(--void) 6%, rgba(4,5,12,.92) 26%, rgba(4,5,12,.45) 48%, rgba(4,5,12,0) 70%),
    radial-gradient(120% 90% at 50% 40%, rgba(4,5,12,0) 40%, rgba(4,5,12,.85) 100%);
}
@keyframes breathe{from{transform:scale(1.04)}to{transform:scale(1.10)}}

/* ---------- pulsating blur auras (the strobe) ---------- */
.aura{
  position:fixed;
  z-index:-2;
  border-radius:50%;
  filter:blur(90px);
  mix-blend-mode:screen;
  pointer-events:none;
  will-change:transform,opacity;
}
.aura--blue{
  width:62vmax;height:62vmax;
  left:-22vmax;top:-16vmax;
  background:radial-gradient(circle at 50% 50%, rgba(47,91,255,.62), rgba(123,43,255,.22) 45%, transparent 70%);
  animation:pulseA 9s ease-in-out infinite;
}
.aura--magenta{
  width:52vmax;height:52vmax;
  right:-18vmax;bottom:-20vmax;
  background:radial-gradient(circle at 50% 50%, rgba(255,46,99,.55), rgba(255,90,61,.18) 48%, transparent 72%);
  animation:pulseB 11s ease-in-out infinite;
}
@keyframes pulseA{
  0%,100%{transform:translate3d(0,0,0) scale(1);opacity:.75}
  50%{transform:translate3d(4vw,3vh,0) scale(1.18);opacity:1}
}
@keyframes pulseB{
  0%,100%{transform:translate3d(0,0,0) scale(1.1);opacity:.6}
  45%{transform:translate3d(-5vw,-4vh,0) scale(.92);opacity:.95}
}

/* ---------- waves ---------- */
.waves{
  position:fixed;
  left:0;right:0;bottom:0;
  height:min(46vh,420px);
  z-index:-1;
  pointer-events:none;
  overflow:hidden;
  mix-blend-mode:screen;
}
.waves svg{width:200%;height:100%;display:block}
.wave-back{filter:blur(26px);opacity:.85;animation:slide 26s linear infinite}
.wave-mid{filter:blur(8px);opacity:.9;animation:slide 18s linear infinite reverse}
.wave-front{opacity:.55;animation:slide 34s linear infinite}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- chrome ---------- */
.topbar,.footer{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:clamp(18px,3.4vh,34px) var(--gutter);
  font-size:.68rem;letter-spacing:.28em;text-transform:uppercase;
  color:rgba(239,233,222,.5);
}
.mark{
  font-weight:800;letter-spacing:.02em;font-size:.95rem;
  color:var(--bone);
}
.status{display:inline-flex;align-items:center;gap:.6em}
.dot{
  width:6px;height:6px;border-radius:50%;background:var(--magenta);
  box-shadow:0 0 0 0 rgba(255,46,99,.6);
  animation:blip 2.4s ease-out infinite;
}
@keyframes blip{
  0%{box-shadow:0 0 0 0 rgba(255,46,99,.55)}
  70%{box-shadow:0 0 0 12px rgba(255,46,99,0)}
  100%{box-shadow:0 0 0 0 rgba(255,46,99,0)}
}

/* ---------- content ---------- */
.content{
  padding:clamp(16px,3vh,32px) var(--gutter);
  display:flex;flex-direction:column;justify-content:center;
  max-width:760px;
}
.eyebrow{
  margin:0 0 clamp(18px,3vh,30px);
  font-size:.68rem;font-weight:400;
  letter-spacing:.42em;text-transform:uppercase;
  color:rgba(239,233,222,.62);
}
.eyebrow span{color:var(--magenta)}

/* the signature: type as a multiple exposure */
.name{
  position:relative;
  margin:0;
  font-weight:800;
  font-size:clamp(3rem,10.5vw,8.6rem);
  line-height:.84;
  letter-spacing:-.045em;
  text-transform:uppercase;
}
.name .line{display:block;position:relative}
.name .line:nth-child(2){padding-left:.14em}
.name .exp{
  position:absolute;inset:0;
  mix-blend-mode:screen;
  pointer-events:none;
  will-change:transform,opacity;
}
.name .exp--blue{color:var(--blue);animation:expA 7s ease-in-out infinite}
.name .exp--mag{color:var(--magenta);animation:expB 9s ease-in-out infinite}
@keyframes expA{
  0%,100%{transform:translate3d(-10px,2px,0);opacity:.55;filter:blur(2px)}
  50%{transform:translate3d(-3px,-4px,0);opacity:.95;filter:blur(0px)}
}
@keyframes expB{
  0%,100%{transform:translate3d(12px,-3px,0);opacity:.5;filter:blur(3px)}
  55%{transform:translate3d(4px,4px,0);opacity:.85;filter:blur(1px)}
}

/* ---------- role line: neon DJ / Producer ---------- */
.role{
  margin:clamp(16px,2.8vh,26px) 0 0;
  font-size:clamp(.72rem,1.15vw,.92rem);
  font-weight:800;
  letter-spacing:.42em;
  text-transform:uppercase;
  color:#FFFDF8;
  /* stacked shadows: tight white core, then blue -> violet -> magenta bloom */
  text-shadow:
    0 0 6px  rgba(255,253,248,.55),
    0 0 16px rgba(47,91,255,.7),
    0 0 34px rgba(123,43,255,.5),
    0 0 60px rgba(255,46,99,.32);
  animation:roleGlow 5.5s ease-in-out infinite;
}
.role .slash{
  color:var(--magenta);
  margin:0 .12em 0 .02em;
  text-shadow:
    0 0 8px  rgba(255,46,99,.9),
    0 0 24px rgba(255,46,99,.55),
    0 0 48px rgba(255,90,61,.35);
}
/* the bloom breathes rather than blinks — same slow pulse as the auras */
@keyframes roleGlow{
  0%,100%{
    text-shadow:
      0 0 5px  rgba(255,253,248,.42),
      0 0 13px rgba(47,91,255,.55),
      0 0 26px rgba(123,43,255,.36),
      0 0 46px rgba(255,46,99,.22);
  }
  50%{
    text-shadow:
      0 0 8px  rgba(255,253,248,.8),
      0 0 22px rgba(47,91,255,.9),
      0 0 46px rgba(123,43,255,.68),
      0 0 78px rgba(255,46,99,.45);
  }
}

/* ---------- EN <-> ES pixel dissolve (tagline + status line) ---------- */
.lang-swap{position:relative}
.lang-swap .swap{
  transition:color .2s linear, filter .2s linear, text-shadow .2s linear;
}
/* mid-swap: chromatic split + soften, so the block glyphs read as broken pixels */
.lang-swap.is-shifting .swap{
  color:rgba(239,233,222,.92);
  filter:blur(.35px);
  text-shadow:
    -2px 0 rgba(47,91,255,.75),
     2px 0 rgba(255,46,99,.7);
}
/* a real pixel grid laid over the line while it dissolves */
.lang-swap::after{
  content:"";
  position:absolute;inset:-6px -4px;
  pointer-events:none;
  opacity:0;
  transition:opacity .22s linear;
  background:
    repeating-linear-gradient(90deg, rgba(4,5,12,.55) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg,  rgba(4,5,12,.55) 0 1px, transparent 1px 4px);
}
.lang-swap.is-shifting::after{opacity:.55}

/* the role line now sits between the name and the tagline, so close the gap */
.role + .tagline{margin-top:clamp(14px,2.4vh,24px)}

.tagline{
  margin:clamp(22px,4vh,38px) 0 0;
  max-width:42ch;
  min-height:4.65em;            /* holds the box steady across both languages */
  font-size:clamp(.95rem,1.5vw,1.12rem);
  line-height:1.55;
  color:rgba(239,233,222,.74);
}

/* status line sits at the right end of the topbar, so its width can breathe */
.status .lang-swap{display:inline-block}
.status .lang-swap::after{inset:-4px -2px}

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

/* ---------- social icons ---------- */
.socials{
  display:flex;align-items:center;gap:clamp(10px,1.6vw,16px);
}
.socials a{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;
  border:1px solid rgba(239,233,222,.18);
  border-radius:50%;
  color:rgba(239,233,222,.62);
  font-size:1rem;
  text-decoration:none;
  background:rgba(239,233,222,.04);
  transition:color .25s ease, border-color .25s ease, background .25s ease,
             transform .25s ease, box-shadow .3s ease;
}
.socials a:hover{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(100deg,var(--blue),var(--violet) 45%,var(--magenta));
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(123,43,255,.4);
}
.footer .copy{white-space:nowrap}

/* ---------- grain ---------- */
.grain{
  position:fixed;inset:0;z-index:5;pointer-events:none;
  opacity:.16;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* ---------- responsive ---------- */
@media (max-width:860px){
  .portrait img{object-position:62% 22%}
  .portrait::after{
    background:
      linear-gradient(180deg, rgba(4,5,12,.55) 0%, rgba(4,5,12,.35) 30%, rgba(4,5,12,.92) 62%, var(--void) 88%),
      radial-gradient(120% 80% at 50% 30%, rgba(4,5,12,0) 30%, rgba(4,5,12,.7) 100%);
  }
  .stage{grid-template-rows:auto 1fr auto}
  .content{justify-content:flex-end}
  .topbar,.footer{font-size:.6rem;letter-spacing:.2em}
  .footer{flex-direction:column;align-items:flex-start;gap:16px}
  .socials a{width:38px;height:38px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .portrait img{transform:scale(1.04)}
  .name .exp--blue{transform:translate3d(-7px,0,0);opacity:.55}
  .name .exp--mag{transform:translate3d(8px,0,0);opacity:.5}
}
