:root {
  --void: #050608;
  --void-2: #0a0d11;
  --ink: #e8ece8;
  --dim: #6f7a78;
  --dimmer: #3a423f;
  --phos: #7fffd4;
  /* aquamarine phosphor accent */
  --phos-deep: #2fae8e;
  --line: rgba(127, 255, 212, 0.14);
  --grid: rgba(232, 236, 232, 0.04);
  --mono: 'Geist Mono', ui-monospace, monospace;
  --display: 'Major Mono Display', 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 300;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* layered atmospheric background */
#stars,
#pirain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#pirain {
  opacity: 0.5;
  mix-blend-mode: screen;
}

/* vignette + grain + horizon glow */
.atmos {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 118%, rgba(127, 255, 212, 0.10), transparent 55%),
    radial-gradient(140% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainshift 7s steps(6) infinite;
}

@keyframes grainshift {
  0% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(-3%, 2%)
  }

  100% {
    transform: translate(2%, -2%)
  }
}

main,
nav,
footer {
  position: relative;
  z-index: 3;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 64px);
  backdrop-filter: blur(6px);
  /* background: linear-gradient(180deg, rgba(5, 6, 8, 0.85), rgba(5, 6, 8, 0)); */
  border-bottom: 1px solid var(--grid);

}

.brand {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0px;
}

.brand b {
  color: var(--phos);
  font-weight: 400;
}

.navlinks {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  align-items: center;
  justify-content: center;
}

.navlinks a:not(.cybr-btn) {
  color: var(--dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .25s, text-shadow .25s;
  position: relative;
}

.navlinks a:not(.cybr-btn):hover {
  color: var(--phos);
  text-shadow: 0 0 12px rgba(127, 255, 212, 0.6);
}

@media (max-width: 680px) {
  nav {
    padding: 14px 16px;
  }

  .brand {
    font-size: 13px;
  }

  .navlinks a:not(.cybr-btn) {
    display: none;
  }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px clamp(18px, 5vw, 64px) 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--phos);
  margin-bottom: 26px;
  opacity: 0;
  animation: rise .9s .1s forwards;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--line);
}

.title {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -1px;
  font-size: clamp(40px, 11vw, 132px);
  color: var(--ink);
  text-shadow: 0 0 38px rgba(127, 255, 212, 0.18);
  opacity: 0;
  animation: rise 1s .25s forwards;
  position: relative;
  z-index: 2;
}

.title .pi {
  color: var(--phos);
  text-shadow: 0 0 28px rgba(127, 255, 212, 0.55);
  /* margin-left: -18px; */
}

.subtitle {
  margin-top: 22px;
  font-size: clamp(13px, 1.6vw, 16px);
  color: var(--dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 1s .5s forwards;
  position: relative;
  z-index: 2;
}

.subtitle b {
  color: var(--ink);
  font-weight: 400;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: rise 1s .7s forwards;
  position: relative;
  z-index: 2;
}

/* ---------- ANGULAR BUTTONS ---------- */
.cybr-btn {
  --primary: hsl(170, 26%, 10%);
  /* dark phosphor face */
  --txt: var(--phos);
  --font-size: 14px;
  font-family: var(--mono);
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--txt);
  background: var(--primary);
  font-size: var(--font-size);
  padding: 16px 34px;
  border: 0;
  outline: transparent;
  cursor: pointer;
  clip-path: polygon(-10% -10%, 110% -10%, 110% 110%, 10% 110%, -10% 40%);
  box-shadow: -2px 0 0 0 inset var(--phos);
}

/* solid variant — bright phosphor face for the primary action */
.cybr-btn--solid {
  --primary: var(--phos);
  --txt: var(--void);
}

/* compact nav variant */
.cybr-btn--sm {
  --font-size: 11px;
  padding: 9px 18px;
}

/* decorative orbiting dots behind the hero content */
.orbits {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--dimmer);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.orbit.two {
  width: 540px;
  height: 540px;
  border-color: rgba(127, 255, 212, 0.12);
  animation-duration: 40s;
  animation-direction: reverse;
}

.orbit .dot {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  /*
  background: #FF3DB1;      
  box-shadow: 0 0 14px #FF3DB1;
  */

  background: var(--phos);
  box-shadow: 0 0 14px var(--phos);
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.scrollcue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--dim);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  /* dedicated keyframe keeps translateX(-50%) so the cue stays centered after the rise */
  animation: risecue 1s 1s forwards;
}

@keyframes risecue {
  from {
    opacity: 0;
    transform: translate(-50%, 22px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.scrollcue .ln {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--phos), transparent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: .3
  }

  50% {
    opacity: 1
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- SECTIONS ---------- */
section {
  padding: clamp(70px, 11vw, 150px) clamp(18px, 6vw, 80px);
  position: relative;
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 44px;
}

.sec-num {
  font-family: var(--display);
  font-size: 13px;
  color: var(--phos);
  letter-spacing: 1px;
}

.sec-title {
  font-family: var(--display);
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: -0.5px;
}

.rule {
  flex: 1;
  height: 1px;
  background: var(--grid);
  align-self: center;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s, transform .8s;
}



.reveal.in {
  opacity: 1;
  transform: none;
}

/* PROJECT */
.project {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .project {
    grid-template-columns: 1fr;
  }
}

.lede {
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
}

.lede em {
  font-style: normal;
  color: var(--phos);
}

.body-copy {
  margin-top: 22px;
  color: var(--dim);
  font-size: 15px;
  max-width: 56ch;
}

.pi-readout {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dimmer);
  line-height: 1.9;
  border-left: 1px solid var(--line);
  padding: 18px 0 18px 22px;
  word-break: break-all;
  backdrop-filter: blur(6px);
}

.pi-readout .k {
  color: var(--phos);
}

/* text-based unix loading spinner ( | / - \ ) */
.spinner::after {
  content: "|";
  display: inline-block;
  animation: unix-spin .8s steps(1) infinite;
}

@keyframes unix-spin {
  0% {
    content: "|";
  }

  25% {
    content: "/";
  }

  50% {
    content: "-";
  }

  75% {
    content: "\\";
  }
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat .n {
  font-family: var(--display);
  font-size: 30px;
  color: var(--ink);
}

.stat .l {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
}

/* SINGLE */
.single {
  max-width: 1100px;
  margin: 0 auto;
}

.single-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

@media (max-width: 860px) {
  .single-grid {
    grid-template-columns: 1fr;
  }
}

.cover {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(127, 255, 212, 0.06), transparent 60%), var(--void-2);
}

.cover svg {
  width: 76%;
  height: 76%;
}

.cover .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--phos);
}

.cover .tr {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
}

.release-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  /* backdrop-filter: blur(6px); */
}

.release-meta .row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--grid);
  padding: 9px 0;
  font-size: 13px;
}

.release-meta .row span:first-child {
  color: var(--dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
}

.release-meta .row span:last-child {
  color: var(--ink);
}

.single h3 {
  font-family: var(--display);
  font-size: clamp(30px, 6vw, 56px);
  margin-bottom: 6px;
  font-weight: 400;
}

.single .now {
  color: var(--phos);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.single .now .blink {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--phos);
  box-shadow: 0 0 10px var(--phos);
  animation: pulse 1.4s infinite;
}

.player {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

/* LISTEN */
.listen {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

@media (max-width: 620px) {
  .platforms {
    grid-template-columns: 1fr;
  }
}

.plat {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: border-color .3s, transform .3s, background .3s;
  border-radius: 3px;
  text-align: left;
  backdrop-filter: blur(6px);
}

.plat:hover {
  border-color: var(--phos);
  transform: translateY(-4px);
  background: rgba(127, 255, 212, 0.03);
}

.plat .label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
}

.plat .name {
  /* font-family: var(--display); */
  font-family: var(--mono);
  font-size: 20px;
  margin-top: 4px;
  text-transform: uppercase;
}

.plat .arr {
  color: var(--phos);
  font-size: 22px;
  transition: transform .3s;
}

.plat:hover .arr {
  transform: translateX(6px);
}

/* CONTACT */
.contact {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.contact .big {
  font-family: var(--display);
  font-size: clamp(22px, 5vw, 52px);
  letter-spacing: -1px;
  margin: 18px 0 30px;
  font-weight: 400;
}

/* framed artist portrait */
.artist-photo {
  width: clamp(170px, 30vw, 250px);
  margin: 40px auto 34px;
}

.artist-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--void), 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 26px rgba(127, 255, 212, 0.08);
  transition: border-color .35s, box-shadow .35s, transform .35s;
}

.artist-photo:hover img {
  border-color: var(--phos);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--void), 0 22px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(127, 255, 212, 0.28);
}

.artist-photo figcaption {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dim);
}

.mail {
  color: var(--phos);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: text-shadow .3s;
}

.mail:hover {
  text-shadow: 0 0 14px rgba(127, 255, 212, 0.6);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--grid);
  padding: 40px clamp(18px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--dim);
  backdrop-filter: blur(6px);

}

footer .fbrand {
  font-family: var(--display);
  color: var(--ink);
}

footer a {
  color: var(--dim);
  text-decoration: none;
}

footer a:hover {
  color: var(--phos);
}

.footpi {
  font-family: var(--mono);
  color: var(--dimmer);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
