/* ===================================================
   AKASHA MUSIC — Esoteric About Page (V4)
   Cosmic scroll journey — no text overlap, instant show/hide
   =================================================== */

/* --- Fonts --- */
@font-face {
  font-family: 'Area Normal Black';
  src: url('../fonts/fonnts.com-Area_Normal_Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Area Normal Black';
  src: url('../fonts/fonnts.com-Area_Normal_Black_Italic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

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

:root {
  --black: #0a0a0a;
  --cream: #F5F0EB;
  --red: #8B1A2B;
  --white: #ffffff;
  --warm-grey: #a09890;
  --font-display: 'Special Gothic Expanded One', 'Arial Black', 'Impact', sans-serif;
  --font-body: 'Area Normal Black', 'Helvetica Neue', 'Arial', sans-serif;
  --page-pad: 3rem;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: #000;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }


/* ===================================================
   NAV
   =================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem var(--page-pad);
  transition: background 0.4s, padding 0.4s;
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 28px; width: auto; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.nav__link:hover,
.nav__link--active { opacity: 1; }

.nav__link--pill {
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  padding: 0.45rem 1.25rem;
  transition: background 0.3s, border-color 0.3s;
}

.nav__link--pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}


/* ===================================================
   S1 — THE VOID
   =================================================== */
.void {
  --void-progress: 0;
  position: relative;
  min-height: 200vh;
  background: radial-gradient(circle at 50% 40%,
    #FFFBE6 calc(var(--void-progress) * 5%),
    #FFD700 calc(var(--void-progress) * 15%),
    #FF85A2 calc(var(--void-progress) * 25%),
    #C77DBA calc(var(--void-progress) * 40%),
    #5B9BD5 calc(var(--void-progress) * 60%),
    #2E1A6B calc(var(--void-progress) * 80%),
    #000 calc(0.4% + var(--void-progress) * 99.6%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: background;
}

.void::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30vh;
  background: linear-gradient(to bottom, transparent, #000000);
  z-index: 2;
  pointer-events: none;
}


.void__content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.void__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--white);
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.void__subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-top: 1.25rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 150ms ease-out;
}


/* ===================================================
   S2 — THE DESCENT (4 items → 500vh)
   =================================================== */
.descent {
  position: relative;
  min-height: 500vh;
  background-color: #000000;
}

.descent__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.descent__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  max-width: 800px;
  padding: 0 2rem;
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.descent__text--hero {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--white);
}

.descent__text--body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--white);
}

.descent__text--mid {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.7;
  color: var(--white);
}


/* ===================================================
   S3 — THE ORB / MISSION
   =================================================== */
.orb-section {
  position: relative;
  min-height: 150vh;
  background: var(--cream);
}

.orb-section__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.orb-track {
  position: absolute;
  will-change: transform;
  z-index: 0;
}

.orb {
  width: clamp(300px, 40vw, 500px);
  height: clamp(300px, 40vw, 500px);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 215, 0, 0.5) 0%,
    rgba(255, 133, 162, 0.4) 30%,
    rgba(91, 155, 213, 0.2) 50%,
    transparent 100%);
  filter: blur(40px);
  animation: orbPulse 4s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.orb-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 750px;
  padding: 0 2rem;
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.orb-section__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
}

.orb-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #2A2A2A;
}


/* ===================================================
   S4 — SERVICES / ORBITING ELEMENTS
   =================================================== */
.orbit-section {
  position: relative;
  min-height: 300vh;
  background: #0F1B3D;
}

.orbit-section__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.orbit-section__header {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.orbit-section__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.orbit-section__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
}

.orbit {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 0;
  height: 0;
}

.orbit__card {
  position: absolute;
  width: clamp(220px, 22vw, 280px);
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  opacity: 0;
  will-change: transform, opacity, filter;
}

/* Rainbow color sphere behind each card */
.orbit__card::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #9B59B6);
  filter: blur(60px);
  z-index: -1;
  opacity: 0.4;
  animation: colorShift 8s ease-in-out infinite;
  will-change: filter;
}

@keyframes colorShift {
  0% { filter: blur(60px) hue-rotate(0deg); }
  100% { filter: blur(60px) hue-rotate(360deg); }
}

.orbit__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.orbit__name {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--white);
}

.orbit__desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--white);
}


/* ===================================================
   S5 — OUR PRINCIPLES
   =================================================== */
.principles-section {
  position: relative;
  min-height: 400vh;
  background: #F5F0EB;
}

.principles-section__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.principles__label {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  z-index: 3;
}

.principle {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 700px;
  width: 75%;
  z-index: 2;
  opacity: 0;
  transition: opacity 150ms ease-out, transform 150ms ease-out;
}

/* Positioning variants from about.html */
.principle--left {
  left: 8%;
  transform: translateY(-50%) translateX(-80px);
}

.principle--left.is-active {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}

.principle--center {
  left: 50%;
  transform: translate(-50%, -50%) translateY(50px);
}

.principle--center.is-active {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.principle--right {
  right: 8%;
  left: auto;
  transform: translateY(-50%) translateX(80px);
}

.principle--right.is-active {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}

.principle__num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7.5rem);
  color: #8B1A2B;
  line-height: 0.85;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.principle__content {
  padding-top: 0.5rem;
}

.principle__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
  color: #1A1A1A;
}

.principle__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #1A1A1A;
}


/* ===================================================
   S6 — THE ARCH / PHILOSOPHY (5 items → 600vh)
   =================================================== */
.arch-section {
  position: relative;
  min-height: 600vh;
  background: #1A1A4E;
}

.arch-section__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch {
  --arch-hue: 0deg;
  --arch-glow: 0;
  position: relative;
  width: clamp(320px, 40vw, 500px);
  height: clamp(450px, 55vw, 700px);
  border-radius: clamp(160px, 20vw, 250px) clamp(160px, 20vw, 250px) 0 0;
  background: #1A1A4E;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 calc(var(--arch-glow) * 60px) calc(var(--arch-glow) * 20px) rgba(232, 200, 122, 0.2);
  will-change: box-shadow;
}

.arch::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(clamp(160px, 20vw, 250px) + 2px) calc(clamp(160px, 20vw, 250px) + 2px) 0 0;
  background: linear-gradient(180deg, #E8C87A, #D4A0B0, #9B6B9E, #3A5BA0);
  z-index: -1;
  opacity: 0.8;
  filter: blur(6px) hue-rotate(var(--arch-hue));
  will-change: filter;
}

.arch__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  opacity: 0;
  width: 90%;
  max-width: 90%;
  transition: opacity 150ms ease-out;
}

.arch__text--warm {
  color: #FFFFFF;
}

.arch__text--largest {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
}

.arch__text--small {
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
}


/* ===================================================
   S7 — RETURN TO EARTH (3 items → 400vh)
   =================================================== */
.return-section {
  position: relative;
  min-height: 400vh;
}

.return-section__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.return__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  max-width: 700px;
  padding: 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.return__text--bold {
  font-weight: 700;
}

.return__text--large {
  /* same size as base — no overrides */
}


/* ===================================================
   S8 — REVERSE VOID (portal closes)
   =================================================== */
.reverse-void {
  --reverse-void-progress: 1;
  position: relative;
  min-height: 150vh;
  background-color: #2E1A6B;
  background-image: radial-gradient(circle at 50% 50%,
    #FFFBE6 calc(var(--reverse-void-progress) * 5%),
    #FFD700 calc(var(--reverse-void-progress) * 15%),
    #FF85A2 calc(var(--reverse-void-progress) * 25%),
    #C77DBA calc(var(--reverse-void-progress) * 40%),
    #5B9BD5 calc(var(--reverse-void-progress) * 60%),
    #2E1A6B calc(var(--reverse-void-progress) * 80%),
    #000 calc(0.4% + var(--reverse-void-progress) * 99.6%)
  );
  will-change: background;
}

.reverse-void::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30vh;
  background: linear-gradient(to top, transparent, #2E1A6B);
  z-index: 2;
  pointer-events: none;
}

.reverse-void::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30vh;
  background: linear-gradient(to bottom, transparent, #000000);
  z-index: 2;
  pointer-events: none;
}


/* ===================================================
   FOOTER
   =================================================== */
.article-bottom {
  background: var(--cream);
  color: #0a0a0a;
}

.article-bottom__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem var(--page-pad) 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-bottom__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.article-bottom__talk {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transition: opacity 0.3s;
}

.article-bottom__talk:hover { opacity: 0.6; }

.article-bottom__artists {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.article-bottom__artists-col { flex: 1; }

.article-bottom__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.article-bottom__artist-list {
  display: flex;
  flex-direction: column;
}

.article-bottom__artist-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
  color: #0a0a0a;
}

.article-bottom__artist-name:hover { opacity: 0.5; }

.article-bottom__cta-col {
  display: flex;
  align-items: flex-end;
}

.article-bottom__pill {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 100px;
  padding: 0.5rem 1.5rem;
  transition: background 0.3s, border-color 0.3s;
  color: #0a0a0a;
}

.article-bottom__pill:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.6);
}

.footer {
  padding: 2rem var(--page-pad);
  text-align: center;
  background: var(--cream);
}

.footer p {
  font-size: 0.65rem;
  color: var(--red);
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* Dark footer variant (after reverse void) */
.article-bottom--dark {
  background: #000;
  color: var(--cream);
}

.article-bottom--dark .article-bottom__inner {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.article-bottom--dark .article-bottom__artist-name {
  color: var(--cream);
}

.article-bottom--dark .article-bottom__pill {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.3);
}

.article-bottom--dark .article-bottom__pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.6);
}

.footer--dark {
  background: #000;
}

.footer--dark p {
  color: rgba(245, 240, 235, 0.5);
}


/* ===================================================
   REDUCED MOTION
   =================================================== */
@media (prefers-reduced-motion: reduce) {
  .void {
    --void-progress: 1;
    background: #1A1A4E;
  }

  .void__content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .void__title,
  .void__subtitle {
    opacity: 1;
  }

  .orb { animation: none; opacity: 0.7; }

  .descent__sticky,
  .orb-section__sticky,
  .orbit-section__sticky,
  .principles-section__sticky,
  .arch-section__sticky,
  .return-section__sticky {
    position: relative;
    height: auto;
    min-height: 100vh;
  }

  .descent__text,
  .arch__text,
  .return__text {
    position: relative;
    opacity: 1;
    transform: none;
    margin-bottom: 3rem;
    top: auto;
    left: auto;
    width: 100%;
  }

  .descent__text--hero,
  .descent__text--mid { color: var(--white); }
  .descent__text--body { color: var(--white); }

  .descent { background: #2B4B8C; }
  .return-section { background: #8a8878; }
  .return__text { color: var(--white); }

  .orbit__card {
    position: relative;
    opacity: 1;
    filter: none;
    transform: none;
    width: 100%;
    max-width: 400px;
    margin: 1rem auto;
  }

  .orbit__card::before {
    display: none;
  }

  .orbit {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .principle {
    position: relative;
    opacity: 1;
    margin-bottom: 2rem;
  }

  .arch {
    box-shadow: 0 0 30px 10px rgba(232, 200, 122, 0.2);
  }

  .arch__text {
    position: relative;
    opacity: 1;
    margin-bottom: 2rem;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
  }

  .arch::before {
    filter: blur(4px);
  }
}


/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
  :root { --page-pad: 1.5rem; }

  .nav {
    padding: 1.25rem var(--page-pad);
  }

  .nav--scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .nav__right { gap: 1rem; }
  .nav__link { font-size: 0.6rem; }
  .nav__link--pill { padding: 0.35rem 0.9rem; }

  .orbit__card {
    width: 80vw;
    max-width: 340px;
  }

  .principle {
    width: 90%;
    max-width: none;
    left: 5% !important;
    right: auto !important;
    padding: 2rem;
  }

  .principle--left,
  .principle--center,
  .principle--right {
    transform: translateY(-50%) !important;
  }

  .principle--left.is-active,
  .principle--center.is-active,
  .principle--right.is-active {
    transform: translateY(-50%) !important;
  }

  .principle__num {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .arch {
    width: 90vw;
    max-width: none;
    height: calc(90vw * 1.4);
    border-radius: 45vw 45vw 0 0;
  }

  .arch::before {
    border-radius: calc(45vw + 2px) calc(45vw + 2px) 0 0;
  }

  .arch__text {
    padding: 1.5rem;
  }

  .article-bottom__talk {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .article-bottom__artist-name {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .article-bottom__artists {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .nav__right { gap: 0.75rem; }

  .nav__link:not(.nav__link--pill) {
    display: none;
  }

  .void__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .descent__text--hero {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .arch__text {
    font-size: clamp(1rem, 5vw, 1.4rem);
  }

  .arch__text--largest {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }
}
