/* ============================================================
   STATIC — Second Life Jungle Nightclub
   Static HTML/CSS/JS build (pre-Vue)
   Editorial jungle-noir aesthetic
   ============================================================ */

:root {
  /* Jungle blacks & greens */
  --black: #0a0d0a;
  --black-deep: #060806;
  --green-950: #0c1210;
  --green-900: #0e1612;
  --green-800: #142019;

  /* Cream / sage */
  --cream: #eef0e3;
  --cream-text: #12140f;
  --sage: #b7cda8;
  --sage-dim: rgba(183, 205, 168, 0.45);

  --text: #f1f2ec;
  --text-dim: #9aa79a;
  --text-faint: #6c766c;
  --line: rgba(241, 242, 236, 0.1);

  --font-display: "Fraunces", serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1540px;
  --radius: 3px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

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

/* ---------- Typography helpers ---------- */
.label-caps {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
}

.eyebrow-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.section-caption {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-dim);
  text-align: right;
  margin: 0;
}

.display-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--text);
}

.display-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
}

.body-copy {
  max-width: 460px;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.text-link .arrow {
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--sage);
  border-color: var(--sage-dim);
}

.text-link:hover .arrow {
  transform: translate(2px, -2px);
}

.arrow {
  display: inline-block;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.dot-sm {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  margin-right: 6px;
}

.pill {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-solid {
  background: var(--cream);
  color: var(--cream-text);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(10, 13, 10, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
}

.brand-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  margin-top: 4px;
}

.main-nav ul {
  display: flex;
  gap: 38px;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}

.nav-link:hover {
  color: var(--text);
}

.nav-cta {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.nav-cta:hover {
  background: var(--cream);
  color: var(--cream-text);
  border-color: var(--cream);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  width: 100%;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(100svh, 950px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 90px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.8) brightness(0.62);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 6, 0.75) 0%, rgba(6, 8, 6, 0.35) 55%, rgba(6, 8, 6, 0.55) 100%),
    linear-gradient(0deg, rgba(6, 8, 6, 0.75) 0%, transparent 35%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  flex: 0 0 min(100%, 700px);
  margin-left: max(40px, calc((100vw - var(--container)) / 2));
  margin-right: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.hero-eyebrow .dot {
  flex: none;
}

.hero-title {
  font-size: clamp(3.5rem, 6.4vw, 6.25rem);
  line-height: 0.98;
  margin: 0 0 28px;
}

.hero-emblem {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 72%;
  width: min(60vw, 900px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  text-align: right;
}

.hero-emblem img {
  width: 100%;
  mix-blend-mode: screen;
  opacity: 0.88;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 52%, rgba(0, 0, 0, 0.78) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 52%, rgba(0, 0, 0, 0.78) 72%, transparent 100%);
}

.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 420px;
  margin: 0 0 42px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-foot {
  position: absolute;
  left: 50%;
  width: min(100%, var(--container));
  transform: translateX(-50%);
  bottom: 36px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 40px;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
}

.scroll-cue-box {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.hero-foot-center {
  color: var(--text-faint);
  display: block;
}

.hero-foot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}

.hero-foot-right p {
  margin: 0;
  color: var(--text-faint);
  text-align: right;
  line-height: 1.6;
}

.atmosphere-toggle {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-dim);
  cursor: pointer;
}

.atmosphere-toggle:hover {
  color: var(--text);
}

.motion-paused * {
  animation-play-state: paused !important;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--green-950);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: marquee 32s linear infinite;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.marquee-track .dot {
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--sage);
  font-size: 0.8rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section {
  padding: 90px 0;
}

.section-black {
  background: var(--black);
}

.section-black-alt {
  background: var(--black-deep);
}

.section-green {
  background: var(--green-950);
}

.section-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 70px;
}

/* ============================================================
   ATMOSPHERE
   ============================================================ */
.atmosphere-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: start;
  margin-bottom: 90px;
}

.atmosphere-media {
  position: relative;
}

.atmosphere-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--green-900);
  cursor: zoom-in;
}

.atmosphere-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.6s var(--ease);
}

.atmosphere-open:hover img {
  transform: scale(1.04);
}

.media-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(6, 8, 6, 0.65);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
}

.media-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: var(--text-faint);
}

.media-caption .label-caps {
  color: var(--text-faint);
  font-weight: 500;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.feature-num {
  display: block;
  color: var(--sage);
  margin-bottom: 14px;
}

.feature-row h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--text);
}

.feature-row p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ============================================================
   MUSIC / SOUND
   ============================================================ */
.music-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.music-head-right {
  max-width: 340px;
  margin-bottom: 6px;
}

.music-panel {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border: 1px solid var(--line);
}

.genre-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.genre-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
  background: none;
  border-left: none;
  border-top: none;
  border-right: none;
  text-align: left;
  cursor: pointer;
  color: var(--text-faint);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.genre-row:last-child {
  border-bottom: none;
}

.genre-index {
  color: inherit;
  font-weight: 500;
}

.genre-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  flex: 1;
}

.genre-row .arrow {
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.genre-row:hover {
  background: rgba(241, 242, 236, 0.03);
  color: var(--text);
}

.genre-row.is-active {
  color: var(--text);
}

.genre-row.is-active .arrow {
  opacity: 1;
  color: var(--sage);
}

.genre-visual {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
}

.genre-visual-head {
  display: flex;
  justify-content: space-between;
  color: var(--text-faint);
  margin-bottom: 30px;
}

.genre-visual-head .label-caps {
  color: var(--text-faint);
}

.waveform {
  height: 110px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.waveform span {
  display: block;
  background: linear-gradient(#d9e7d6, #5b8261);
  width: 3px;
  height: var(--height);
  animation: pulse var(--speed) ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes pulse {
  from { transform: scaleY(0.45); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .waveform span {
    animation: none;
    transform: scaleY(1);
    opacity: 1;
  }
}

.genre-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--text);
}

.genre-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 0 30px;
}

.genre-visual-foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
}

.genre-visual-foot .label-caps {
  color: var(--text-faint);
  display: flex;
  align-items: center;
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-poster {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--green-900);
  overflow: hidden;
}

.event-poster-photo {
  background-size: cover;
  background-position: center;
}

.event-poster-photo .event-poster-title {
  text-transform: uppercase;
}

.event-poster-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 6, 0.35) 0%, rgba(6, 8, 6, 0.75) 100%);
}

.event-poster-gradient {
  background: linear-gradient(160deg, #1c2e20 0%, #0c1210 75%);
}

.event-poster-burst {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 220px;
  height: 220px;
  background:
    linear-gradient(var(--sage-dim), var(--sage-dim)) center / 100% 2px no-repeat,
    linear-gradient(var(--sage-dim), var(--sage-dim)) center / 2px 100% no-repeat,
    linear-gradient(45deg, var(--sage-dim), var(--sage-dim)) center / 100% 2px no-repeat,
    linear-gradient(-45deg, var(--sage-dim), var(--sage-dim)) center / 100% 2px no-repeat;
  opacity: 0.6;
}

.event-poster-stripes {
  background-color: var(--green-900);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(241, 242, 236, 0.035) 0px,
    rgba(241, 242, 236, 0.035) 2px,
    transparent 2px,
    transparent 16px
  );
}

.event-poster-top,
.event-poster-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.event-poster-bottom {
  align-items: flex-end;
}

.event-poster-bottom .label-caps {
  max-width: 70%;
  line-height: 1.4;
}

.event-poster-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
}

.event-poster-title-tight {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.event-meta {
  padding-top: 24px;
}

.event-meta > .label-caps {
  color: var(--text-faint);
  font-weight: 500;
}

.event-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.event-meta-row h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0;
  color: var(--text);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: 200px 0;
  overflow: hidden;
  text-align: center;
}

.final-cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.4);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta-inner .label-caps {
  color: var(--text-dim);
  margin-bottom: 24px;
}

.final-cta-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0 0 40px;
}

.final-cta-note {
  color: var(--text-faint);
  margin-top: 26px;
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black-deep);
  padding: 90px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.footer-nav {
  display: flex;
  gap: 34px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover {
  color: var(--sage);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0 0 50px;
}

.footer-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 26px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom .label-caps {
  color: var(--text-faint);
  font-weight: 500;
}

/* ============================================================
   OWNER PROFILE PAGE
   ============================================================ */
.owner-page {
  min-height: 100vh;
  background: var(--black);
}

.owner-main {
  padding: 166px 0 96px;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(45, 64, 50, 0.28), transparent 42%),
    var(--black);
}

.owner-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(44px, 7vw, 108px);
}

.owner-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--green-900);
  border: 1px solid var(--line);
}

.owner-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
}

.owner-portrait figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: var(--cream);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

.owner-copy .eyebrow-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.owner-title {
  margin-bottom: 28px;
  font-size: 4.6rem;
}

.owner-bio {
  max-width: 620px;
  color: var(--text-dim);
  font-size: 1.03rem;
  line-height: 1.85;
}

.owner-bio p {
  margin: 0 0 20px;
}

.owner-bio p:last-child {
  margin-bottom: 0;
}

.owner-story {
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(32px, 7vw, 108px);
  margin-top: 100px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.owner-story-label {
  margin: 12px 0 0;
}

.owner-story-copy h2 {
  margin-bottom: 22px;
  font-size: 3rem;
}

.owner-story-copy p {
  max-width: 780px;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.85;
}

.owner-footer {
  padding-top: 58px;
}

@media (max-width: 960px) {
  .owner-profile {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
  }

  .owner-title {
    font-size: 3.8rem;
  }
}

@media (max-width: 760px) {
  .owner-main {
    padding: 132px 0 70px;
  }

  .owner-profile,
  .owner-story {
    grid-template-columns: 1fr;
  }

  .owner-profile {
    gap: 34px;
  }

  .owner-portrait {
    max-width: 520px;
  }

  .owner-title {
    margin-bottom: 22px;
    font-size: 3rem;
  }

  .owner-story {
    gap: 18px;
    margin-top: 66px;
    padding-top: 30px;
  }

  .owner-story-copy h2 {
    font-size: 2.35rem;
  }
}

/* ============================================================
   APPLICATION PAGE
   ============================================================ */
.apply-page {
  min-height: 100vh;
  background: var(--black);
}

.apply-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 174px 0 112px;
}

.apply-main::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 680px;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 8, 6, 0.96) 0%, rgba(6, 8, 6, 0.76) 52%, rgba(6, 8, 6, 0.56) 100%),
    linear-gradient(0deg, var(--black) 0%, rgba(6, 8, 6, 0.05) 72%),
    url("../assets/img/club-06.png") center 42% / cover;
}

.apply-intro {
  max-width: 760px;
  margin-bottom: 58px;
}

.apply-intro .eyebrow-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.apply-title {
  margin-bottom: 20px;
  font-size: 4.4rem;
}

.apply-intro .body-copy {
  max-width: 540px;
  margin-bottom: 0;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.application-card {
  overflow: hidden;
  background: rgba(12, 18, 16, 0.94);
  border: 1px solid var(--line);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.application-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-dim);
}

.application-image {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: var(--green-900);
}

.application-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(6, 8, 6, 0.6), transparent 65%);
}

.application-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.application-card:hover .application-image img {
  transform: scale(1.035);
}

.application-image .label-caps {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  color: var(--cream);
}

.application-content {
  padding: 28px 30px 32px;
}

.application-content .eyebrow-label {
  color: var(--sage);
  font-size: 0.68rem;
}

.application-content h2 {
  margin: 9px 0 12px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
}

.application-content p {
  min-height: 54px;
  margin: 0 0 24px;
  color: var(--text-dim);
  font-size: 0.93rem;
}

.application-content .btn {
  min-height: 50px;
  padding: 13px 20px;
}

.application-status {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  margin: 0;
  padding: 13px 20px;
  border: 1px solid var(--sage-dim);
  color: var(--sage);
}

.apply-footer {
  padding-top: 54px;
}

@media (max-width: 960px) {
  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .apply-main {
    padding: 146px 0 76px;
  }

  .apply-intro {
    margin-bottom: 38px;
  }

  .apply-title {
    font-size: 2.8rem;
  }

  .application-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .application-image {
    height: 230px;
  }

  .application-content {
    padding: 24px 22px 26px;
  }

  .application-content p {
    min-height: 0;
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 8, 6, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 34px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  color: var(--sage);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .atmosphere-grid,
  .music-head,
  .section-head-row {
    grid-template-columns: 1fr;
  }

  .atmosphere-grid {
    gap: 50px;
  }

  .section-head-row,
  .music-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-caption {
    text-align: left;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .music-panel {
    grid-template-columns: 1fr;
  }

  .genre-list {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-foot-right {
    align-items: flex-start;
  }

  .hero-foot-right p {
    text-align: left;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 24px;
  }

  .music-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-list,
  .genre-visual {
    min-width: 0;
  }

  .genre-visual {
    padding: 24px 20px;
  }

  .waveform {
    gap: 3px;
    height: 100px;
  }

  .waveform span {
    width: 2px;
  }

  .hero-inner {
    width: 100%;
    flex-basis: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-emblem {
    display: none;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    padding: 15px 18px;
  }

  .hero-foot {
    left: 0;
    right: 0;
    width: auto;
    transform: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0 24px;
  }

  .hero-foot-center,
  .hero-foot-right p {
    display: none;
  }

  .hero-foot-right {
    gap: 0;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--black-deep);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    display: flex;
    align-items: center;
    z-index: 90;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 28px;
    padding: 0 40px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

}
