:root {
  --ice: #edf8ff;
  --blue: #78cbff;
  --deep: #061221;
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; }
body {
  min-height: 100vh;
  overflow: hidden;
  color: var(--ice);
  background: var(--deep);
  font-family: Inter, system-ui, sans-serif;
}

body,
body a,
body button,
body [role="button"] {
  cursor: none;
}

@media (pointer: coarse) {
  body,
  body a,
  body button,
  body [role="button"] {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}


.parallax-stage {
  position: fixed;
  inset: -4%;
  z-index: -4;
  will-change: transform;
  transition: transform .12s linear;
}
.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.shade {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 22% 42%, rgba(52, 149, 255, .08), transparent 34%),
    linear-gradient(90deg, rgba(1,8,17,.96) 0%, rgba(2,12,24,.79) 32%, rgba(4,15,29,.30) 62%, rgba(1,7,15,.58) 100%),
    linear-gradient(180deg, rgba(3,13,25,.06), rgba(0,5,12,.58));
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .14;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(142,215,255,.24) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 60%, rgba(142,215,255,.14) 0 1px, transparent 1.2px);
  background-size: 90px 90px, 120px 120px;
  animation: floatNoise 16s linear infinite;
}

.shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7vh 5vw 7vh 5vw;
  position: relative;
}
.hero {
  width: min(620px, 90vw);
  position: relative;
}
.topline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .27em;
  color: rgba(210,236,255,.62);
  margin-bottom: 42px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dd6ff;
  box-shadow: 0 0 16px #5bc3ff;
}
.divider { opacity: .3; }
.kicker {
  margin: 0 0 8px;
  font: 600 11px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .34em;
  color: #80c9f8;
}
h1 {
  margin: 0;
  padding-right: 14px;
  font: 700 clamp(72px, 10vw, 132px)/.94 "Space Grotesk", sans-serif;
  letter-spacing: -.05em;
  text-transform: none;
  font-style: normal;
  color: #eaf7ff;
  text-shadow:
    0 0 8px rgba(122, 207, 255, .22),
    0 0 22px rgba(72, 163, 255, .18),
    0 0 44px rgba(72, 163, 255, .10);
  position: relative;
  display: inline-block;
  animation: ghostFloat 4.4s ease-in-out infinite, ghostGlow 3.2s ease-in-out infinite;
}
.tagline {
  margin: 18px 0 46px;
  min-height: 22px;
  font-size: 15px;
  color: rgba(223,241,255,.60);
}
.typing-caret { color: var(--blue); animation: blink .8s steps(1) infinite; }

.socials {
  width: auto;
  display: grid;
  gap: 18px;
  justify-items: start;
}
.social-link {
  display: inline-grid;
  grid-template-columns: 58px auto 20px;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: transform .24s ease;
}
.social-link:hover { transform: translateX(10px); }
.logo-orbit {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: relative;
}
.logo-orbit::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(124,205,255,.28);
  box-shadow: inset 0 0 18px rgba(69,159,255,.10), 0 0 22px rgba(69,159,255,.08);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.logo-orbit::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  right: 1px;
  top: 8px;
  box-shadow: 0 0 10px var(--blue);
  transition: transform .45s ease;
}
.social-link:hover .logo-orbit::before {
  transform: scale(1.10);
  border-color: rgba(124,205,255,.58);
  box-shadow: inset 0 0 22px rgba(69,159,255,.14), 0 0 28px rgba(69,159,255,.16);
}
.social-link:hover .logo-orbit::after { transform: rotate(140deg) translate(-3px, 2px); }
.logo-orbit img { width: 29px; height: 29px; object-fit: contain; display: block; }
.social-link:nth-child(2) .logo-orbit img { width: 33px; height: 33px; border-radius: 50%; }
.social-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.social-text strong {
  font: 600 20px/1 "Space Grotesk", sans-serif;
  letter-spacing: -.02em;
}
.social-text small {
  font-size: 9px;
  letter-spacing: .24em;
  color: rgba(166,207,235,.42);
}
.social-link::after {
  content: none;
}
.arrow {
  font-size: 18px;
  color: var(--blue);
  transition: transform .25s ease;
  align-self: center;
}
.social-link:hover .arrow { transform: translate(3px,-3px); }

.viewline {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  letter-spacing: .25em;
  color: rgba(171,210,238,.36);
}
.viewline::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(120,203,255,.28);
}
.viewline strong {
  color: rgba(130,207,255,.78);
  font-size: 10px;
  letter-spacing: .08em;
}

.ambient-word {
  position: fixed;
  right: -1vw;
  bottom: -5vh;
  z-index: -1;
  font: 700 clamp(150px, 25vw, 420px)/.8 "Space Grotesk", sans-serif;
  letter-spacing: -.08em;
  color: rgba(125,200,255,.022);
  user-select: none;
  pointer-events: none;
}
.corner-sign {
  position: fixed;
  right: 26px;
  bottom: 22px;
  font: 600 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: .22em;
  color: rgba(205,231,250,.38);
  z-index: 5;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  background: #030b15;
  transition: opacity .7s ease, visibility .7s ease;
}
.intro-mark {
  font: 700 clamp(42px,8vw,92px)/1 "Space Grotesk", sans-serif;
  letter-spacing: .18em;
  color: #eef9ff;
  text-shadow: 0 0 35px rgba(89,184,255,.24);
  animation: introPulse 1.1s ease both;
}
.intro-line {
  width: min(280px,58vw);
  height: 1px;
  overflow: hidden;
  background: rgba(122,205,255,.14);
}
.intro-line span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg,transparent,#72caff,transparent);
  transform: translateX(-100%);
  animation: introScan 1.15s ease forwards;
}
body.loaded .intro { opacity: 0; visibility: hidden; pointer-events: none; }
body.is-loading .shell, body.is-loading .corner-sign { opacity: 0; transform: translateY(12px); }
.shell, .corner-sign { transition: opacity .75s ease .12s, transform .75s ease .12s; }
body.loaded .shell, body.loaded .corner-sign { opacity: 1; transform: translateY(0); }

.cursor-dot, .cursor-ring {
  position: fixed;
  left: -100px;
  top: -100px;
  z-index: 10000;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.cursor-dot { width: 5px; height: 5px; background: #83d3ff; box-shadow: 0 0 13px #66c7ff; }
.cursor-ring { width: 30px; height: 30px; border: 1px solid rgba(119,204,255,.48); transition: width .2s ease,height .2s ease,border-color .2s ease,background .2s ease; }
body.cursor-hover .cursor-ring { width: 46px; height: 46px; border-color: rgba(119,204,255,.75); background: rgba(79,172,255,.07); }
body.cursor-hover .cursor-dot { transform: translate(-50%,-50%) scale(.7); }

@keyframes blink { 50% { opacity: 0; } }
@keyframes floatNoise { to { transform: translateY(-90px); } }
@keyframes introScan { to { transform: translateX(100%); } }
@keyframes introPulse { from { opacity: 0; transform: scale(.94); filter: blur(8px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }

@media (pointer:coarse) { .cursor-dot,.cursor-ring { display:none; } }
@media (max-width:760px) {
  body { overflow-y:auto; }
  .shell { min-height:100svh; padding:64px 22px 82px; align-items:flex-end; }
  h1 { font-size:clamp(68px,22vw,100px); }
  .tagline { margin:18px 0 34px; }
  .social-link { grid-template-columns:52px auto 1fr 22px; gap:11px; }
  .logo-orbit { width:48px; height:48px; }
  .social-text strong { font-size:16px; }
  .social-text small { display:none; }
  .corner-sign { right:16px; bottom:14px; }
  .background-video { object-position:38% center; }
}


@media (max-width: 700px) {
  .shell {
    padding: 7vh 4vw 7vh 4vw;
  }

  .hero {
    width: min(560px, 92vw);
  }

  h1 {
    padding-right: 8px;
    font-size: clamp(62px, 17vw, 96px);
    line-height: .96;
  }

  .social-link {
    grid-template-columns: 54px auto 18px;
    gap: 12px;
  }

  .social-text strong {
    font-size: 18px;
  }
}


.intro {
  border: 0;
  padding: 0;
  width: 100%;
  color: inherit;
  cursor: none;
}

.intro-enter {
  margin-top: -4px;
  font: 600 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: .34em;
  color: rgba(176, 220, 248, .52);
  animation: enterPulse 1.5s ease-in-out infinite;
}

.intro:hover .intro-mark {
  text-shadow:
    0 0 18px rgba(89,184,255,.38),
    0 0 54px rgba(89,184,255,.16);
  transform: scale(1.025);
}

.intro-mark {
  transition: transform .25s ease, text-shadow .25s ease;
}

.music-toggle {
  position: fixed;
  right: 26px;
  top: 24px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(123, 202, 255, .20);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 18, 33, .28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(225, 243, 255, .78);
  cursor: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.music-toggle:hover {
  transform: scale(1.08);
  border-color: rgba(123, 202, 255, .52);
  background: rgba(10, 31, 54, .48);
}

.music-toggle.is-muted .music-icon {
  opacity: .34;
}

.music-icon {
  font-size: 16px;
  line-height: 1;
}

.music-credit {
  position: fixed;
  left: 22px;
  bottom: 18px;
  z-index: 5;
  font: 500 7px/1.2 Inter, sans-serif;
  letter-spacing: .08em;
  color: rgba(196, 222, 240, .23);
  pointer-events: none;
}

@keyframes enterPulse {
  0%,100% { opacity: .42; }
  50% { opacity: .88; }
}

@media (pointer: coarse) {
  .intro,
  .music-toggle {
    cursor: pointer;
  }
}







.intro-mark {
  color: #eef9ff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow:
    0 0 10px rgba(98, 192, 255, .22),
    0 0 28px rgba(98, 192, 255, .18);
  animation: introGlow 2.8s ease-in-out infinite;
}

.intro-mark::after {
  content: none;
}

@keyframes ghostFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes ghostGlow {
  0%, 100% {
    text-shadow:
      0 0 8px rgba(122, 207, 255, .18),
      0 0 22px rgba(72, 163, 255, .14),
      0 0 44px rgba(72, 163, 255, .08);
  }
  50% {
    text-shadow:
      0 0 12px rgba(156, 224, 255, .34),
      0 0 30px rgba(79, 174, 255, .24),
      0 0 58px rgba(79, 174, 255, .14);
  }
}

@keyframes ghostUnderline {
  0%, 100% { transform: scaleX(.42); opacity: .28; }
  50% { transform: scaleX(.78); opacity: .62; }
}

@keyframes introGlow {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(98, 192, 255, .18),
      0 0 28px rgba(98, 192, 255, .14);
  }
  50% {
    text-shadow:
      0 0 16px rgba(130, 211, 255, .34),
      0 0 42px rgba(98, 192, 255, .22);
  }
}











.corner-sign {
  text-decoration: none;
  cursor: none;
  transition: color .2s ease, opacity .2s ease, text-shadow .2s ease, transform .2s ease;
}

.corner-sign:hover {
  color: rgba(220, 243, 255, .82);
  text-shadow: 0 0 12px rgba(115, 205, 255, .28);
  transform: translateY(-1px);
}

@media (pointer: coarse) {
  .corner-sign {
    cursor: pointer;
  }
}














/* TRUE RGB glitch for the main Ghost title */
.name-block h1 {
  position: relative;
  isolation: isolate;
  color: #f3fbff;
  text-shadow:
    0 0 10px rgba(145, 228, 255, .26),
    0 0 26px rgba(66, 156, 255, .18),
    0 0 54px rgba(66, 156, 255, .10);
  animation:
    ghostFloat 4.4s ease-in-out infinite,
    ghostGlow 3.2s ease-in-out infinite,
    rgbBaseGlitch .95s steps(1, end) infinite;
  will-change: transform, text-shadow, filter;
}

.name-block h1::before,
.name-block h1::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .95;
}

.name-block h1::before {
  color: rgba(0, 255, 255, .92);
  text-shadow:
    -2px 0 rgba(0,255,255,.95),
    0 0 16px rgba(0,255,255,.38);
  animation:
    rgbSliceCyan .48s steps(1, end) infinite,
    rgbFlicker .22s steps(1, end) infinite;
}

.name-block h1::after {
  color: rgba(255, 48, 160, .88);
  text-shadow:
    2px 0 rgba(255,48,160,.95),
    0 0 16px rgba(255,48,160,.34);
  animation:
    rgbSliceMagenta .43s steps(1, end) infinite,
    rgbFlicker .18s steps(1, end) infinite reverse;
}

@keyframes rgbBaseGlitch {
  0% {
    transform: translate(0, 0) skewX(0);
    text-shadow:
      0 0 10px rgba(145, 228, 255, .26),
      0 0 26px rgba(66, 156, 255, .18),
      0 0 54px rgba(66, 156, 255, .10);
    filter: none;
  }
  10% {
    transform: translate(-2px, 0) skewX(-2deg);
    text-shadow:
      -4px 0 rgba(0,255,255,.95),
       4px 0 rgba(255,48,160,.82),
       0 0 26px rgba(111, 198, 255, .28);
    filter: brightness(1.1) saturate(1.2);
  }
  20% {
    transform: translate(3px, -1px) skewX(3deg);
    text-shadow:
       5px 0 rgba(255,48,160,.85),
      -5px 0 rgba(0,255,255,.95),
       0 0 30px rgba(111, 198, 255, .32);
    filter: brightness(1.16) saturate(1.28);
  }
  30% {
    transform: translate(-4px, 1px) skewX(-4deg);
    text-shadow:
      -7px 0 rgba(0,255,255,.98),
       6px 0 rgba(255,48,160,.88),
       0 0 32px rgba(111, 198, 255, .34);
    filter: brightness(1.2) saturate(1.34);
  }
  40% {
    transform: translate(4px, -1px) skewX(4deg);
    text-shadow:
       7px 0 rgba(255,48,160,.9),
      -6px 0 rgba(0,255,255,.98),
       0 0 34px rgba(111, 198, 255, .36);
    filter: brightness(1.22) saturate(1.36);
  }
  50% {
    transform: translate(-6px, 0) skewX(-6deg);
    text-shadow:
      -9px 0 rgba(0,255,255,1),
       8px 0 rgba(255,48,160,.94),
       0 0 36px rgba(111, 198, 255, .4);
    filter: brightness(1.28) saturate(1.42);
  }
  60% {
    transform: translate(6px, 1px) skewX(6deg);
    text-shadow:
       9px 0 rgba(255,48,160,.96),
      -8px 0 rgba(0,255,255,1),
       0 0 38px rgba(111, 198, 255, .42);
    filter: brightness(1.3) saturate(1.45);
  }
  70% {
    transform: translate(-5px, -1px) skewX(-5deg);
    text-shadow:
      -8px 0 rgba(0,255,255,1),
       7px 0 rgba(255,48,160,.92),
       0 0 34px rgba(111, 198, 255, .38);
    filter: brightness(1.22) saturate(1.34);
  }
  80% {
    transform: translate(4px, 1px) skewX(4deg);
    text-shadow:
       7px 0 rgba(255,48,160,.9),
      -6px 0 rgba(0,255,255,.98),
       0 0 30px rgba(111, 198, 255, .32);
    filter: brightness(1.18) saturate(1.3);
  }
  90% {
    transform: translate(-2px, 0) skewX(-2deg);
    text-shadow:
      -4px 0 rgba(0,255,255,.95),
       4px 0 rgba(255,48,160,.82),
       0 0 26px rgba(111, 198, 255, .28);
    filter: brightness(1.1) saturate(1.2);
  }
  100% {
    transform: translate(0, 0) skewX(0);
    text-shadow:
      0 0 10px rgba(145, 228, 255, .26),
      0 0 26px rgba(66, 156, 255, .18),
      0 0 54px rgba(66, 156, 255, .10);
    filter: none;
  }
}

@keyframes rgbSliceCyan {
  0%   { transform: translate(0,0); clip-path: inset(0 0 0 0); }
  10%  { transform: translate(-8px,-1px); clip-path: inset(2% 0 76% 0); }
  20%  { transform: translate(6px,0); clip-path: inset(34% 0 41% 0); }
  30%  { transform: translate(-10px,1px); clip-path: inset(58% 0 12% 0); }
  40%  { transform: translate(8px,-1px); clip-path: inset(10% 0 62% 0); }
  50%  { transform: translate(-12px,0); clip-path: inset(44% 0 26% 0); }
  60%  { transform: translate(10px,1px); clip-path: inset(72% 0 4% 0); }
  70%  { transform: translate(-7px,-1px); clip-path: inset(22% 0 52% 0); }
  80%  { transform: translate(9px,0); clip-path: inset(50% 0 18% 0); }
  90%  { transform: translate(-6px,1px); clip-path: inset(8% 0 78% 0); }
  100% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
}

@keyframes rgbSliceMagenta {
  0%   { transform: translate(0,0); clip-path: inset(0 0 0 0); }
  10%  { transform: translate(8px,1px); clip-path: inset(14% 0 64% 0); }
  20%  { transform: translate(-7px,0); clip-path: inset(48% 0 24% 0); }
  30%  { transform: translate(10px,-1px); clip-path: inset(68% 0 6% 0); }
  40%  { transform: translate(-9px,1px); clip-path: inset(28% 0 48% 0); }
  50%  { transform: translate(12px,0); clip-path: inset(4% 0 80% 0); }
  60%  { transform: translate(-11px,-1px); clip-path: inset(54% 0 16% 0); }
  70%  { transform: translate(8px,1px); clip-path: inset(18% 0 58% 0); }
  80%  { transform: translate(-9px,0); clip-path: inset(40% 0 32% 0); }
  90%  { transform: translate(7px,-1px); clip-path: inset(76% 0 2% 0); }
  100% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
}

@keyframes rgbFlicker {
  0%, 100% { opacity: .92; }
  50% { opacity: .58; }
}
