/* ── RESET & ROOT ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #2e2e2e;
  --white: #f5f3ef;
}

html { scroll-behavior: smooth; }

body {
  background: var(--charcoal);
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  overflow-x: hidden;
}

/* ── ALL SECTIONS ────────────────────────────── */
section {
  background: var(--charcoal);
}

/* ── SECTION LABELS ──────────────────────────── */
.section-label {
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.5);
  margin-bottom: 1.5rem;
}

/* ── HERO ────────────────────────────────────── */
.hero {
  height: 200vh;
  position: relative;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8vh;
}

.hero-graphic {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 3;
  width: 90vw;
  max-width: 900px;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 40px));
  transition: opacity 1s ease-out, transform 1s ease-out;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 90%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 90%);
}

.hero-graphic.is-loaded {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.hero-graphic img {
  width: 100%;
  height: auto;
  display: block;
}

.video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.video-bg video {
  position: absolute;
  top: 50%; left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(46,46,46,0.2) 0%,
    rgba(46,46,46,0.1) 40%,
    rgba(46,46,46,0.55) 75%,
    rgba(46,46,46,1) 100%
  );
}

.hero-text {
  position: relative;
  z-index: 4;
  text-align: center;
  animation: textFloatUp 2s 0.15s ease-out forwards;
}

.hero-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--white);
  padding-right: 0.5em;
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(1.2rem, 7.5vw, 2rem);
    letter-spacing: 0.12em;
    padding-right: 0.12em;
    padding-bottom: 80px;
  }
}

/* ── DEFINITION ──────────────────────────────── */
.definition {
  padding: clamp(5rem, 10vw, 9rem) clamp(2rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.def-term {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.def-phonetic {
  font-family: 'Gentium Plus', serif;
  font-size: 1.05rem;
  color: rgba(245,243,239,0.45);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.def-body {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.85;
  color: rgba(245,243,239,0.75);
  max-width: 38ch;
}

.network-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  width: 100%;
}

.network-wrap img {
  width: min(100%, 420px);
  height: auto;
  display: block;
  animation: networkFloat 8s ease-in-out infinite;
  outline: 1px solid rgba(245, 243, 239, 0.25);
  outline-offset: 10px;
}

/* ── ABOUT ───────────────────────────────────── */
.about {
  padding: clamp(5rem, 10vw, 9rem) clamp(2rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-header {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
}

.about-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.9;
  color: rgba(245,243,239,0.82);
}

.quote {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.35);
  margin-top: 2.5rem;
  border-left: 1px solid rgba(245,243,239,0.18);
  padding-left: 1.2rem;
}

.performers-circle {
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(245,243,239,0.12);
  justify-self: center;
  transition: transform 0.6s ease;
}

.performers-circle:hover { transform: scale(1.02); }

.performers-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── GALLERY ─────────────────────────────────── */
.gallery {
  padding: clamp(5rem, 10vw, 9rem) clamp(2rem, 6vw, 6rem);
}

.gallery-header {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
  text-align: center;
}

.gallery-sub {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.35);
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-right: 0.4em;
}

@media (max-width: 480px) {
  .gallery-sub {
    letter-spacing: 0.15em;
    padding-right: 0.15em;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

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

.gallery-circle {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(245,243,239,0.1);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s ease;
}

.gallery-circle:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.gallery-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-circle:hover img { transform: scale(1.06); }

/* ── ARTISTS ─────────────────────────────────── */
.artists {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.artist-name {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.artist-links {
  justify-content: center;
}

.artist-divider {
  color: rgba(255, 255, 255, 0.25);
  opacity: 0.1;
  font-size: 0.5rem;
  letter-spacing: 0;
  padding: 1.5rem 0;
}

.link-pill {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.5);
  text-decoration: none;
  border: 1px solid rgba(245,243,239,0.2);
  padding: 0.6rem 1.4rem;
  transition: all 0.3s ease;
}

.link-pill:hover {
  color: var(--white);
  border-color: rgba(245,243,239,0.6);
  background: rgba(245,243,239,0.06);
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: #1e1e1e;
  padding: 3rem clamp(2rem, 8vw, 8rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.25);
}

.footer-tag {
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.18);
}

footer a {
  text-decoration: none;
  color: inherit;
}

footer a:visited {
  color: inherit;
}

/* ── MUTE BUTTON ─────────────────────────────── */
.mute-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: opacity 0.3s ease;
  isolation: isolate;
}

.mute-btn:hover {
  background: rgba(255,255,255,0.25);
}

.mute-btn svg {
  width: 1rem;
  height: 1rem;
}

.mute-btn .icon-muted                { display: none; }
.mute-btn.is-unmuted .icon-unmuted   { display: none; }
.mute-btn.is-unmuted .icon-muted     { display: block; }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes floatUp {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 80px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes textFloatUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes networkFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(0.5deg); }
}

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 2s cubic-bezier(0.16,1,0.3,1),
              transform 2s cubic-bezier(0.16,1,0.3,1);
}

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

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .definition, .about, .artists {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .network-wrap { order: -1; }
  .performers-circle { width: 80vw; max-width: 320px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; max-width: 100%; margin: 0 auto; }
}
