/* ==========================================================
   AFTER THE SUN — CLEAN REBUILD (2025-10)
   ========================================================== */

/* Hide gate by default; JS will re-show it if needed */
#access-gate {
  display: none;
}


/* === GLOBAL === */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #ddd;
  background: #0d0e11;
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  letter-spacing: 1px;
}
a {
  color: #ff6a00;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: #00b3ff; }

/* === UNIVERSAL CONTAINER === */
.container.narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

/* === HEADER === */
.rock-header {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 20px rgba(255,106,0,0.2);
}
.rock-header .logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: #ff6a00;
  letter-spacing: 3px;
}
.rock-header nav a {
  color: #fff;
  margin-left: 1.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.rock-header nav a:hover {
  color: #00b3ff;
  text-shadow: 0 0 10px rgba(0,179,255,0.7);
}

/* === HERO === */
.hero-sunrise {
  height: 80vh;
  background: radial-gradient(circle at 50% 100%, #ff6a00 0%, #0d0e11 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-center {
  position: relative;
  z-index: 2;
}
.main-title {
  font-size: 4.2rem;
  color: #fff;
  letter-spacing: 4px;
  text-shadow: 0 0 30px rgba(255,106,0,0.4);
  margin-bottom: 0.6rem; /* ↓ reduce gap below the title */
}

.tagline {
  font-size: 1.2rem;
  color: #ddd;
  margin: 0.6rem auto 2rem; /* ↓ reduce top space before and keep bottom as is */
  max-width: 720px;
}


/* === SECTION BASE === */
section {
  padding: 3.5rem 2rem; /* was 7rem — reduced by 50% */
  position: relative;
  text-align: center;
}

/* === SECTION SPACING === */
section + section {
  margin-top: 3rem; /* was 6rem — reduced by 50% */
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 3rem; /* was 6rem — reduced by 50% */
}

/* === FIX: tighten spacing between major sections === */

/* 1️⃣ Story → Characters */
.story-section + .characters-section {
  margin-top: 0 !important;
  padding-top: 1.5rem !important;  /* small breathing space only */
  border-top: none !important;     /* removes the faint divider line */
}

/* 2️⃣ Characters → Sound */
.characters-section + .sound-section {
  margin-top: 0 !important;
  padding-top: 1.5rem !important;
  border-top: none !important;
}

/* 3️⃣ Sound → Production */
.sound-section + .production-section {
  margin-top: 0 !important;
  padding-top: 1.5rem !important;  /* matches spacing above */
  border-top: none !important;     /* removes divider line if present */
}


/* === SECTION HEADERS === */
.section-title {
  font-size: 2.3rem;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 1rem; /* slightly tighter */
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff6a00, #ffbf61);
  margin: 0.5rem auto;
  border-radius: 2px;
}

.section-tagline {
  color: #ff6a00;
  font-style: italic;
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2rem; /* was 3rem — tighter look */
}


/* === STORY SECTION === */
.story-section {
  background: #0d0e11;
  color: #ccc;
}
.story-text {
  max-width: 760px;
  margin: 3rem auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: center;
}
.story-text em { color: #fff; font-style: normal; font-weight: 600; }
.story-text strong { color: #ff6a00; font-weight: 600; }

/* === SECTION IMAGES (fixed aspect + fade automation) === */
.section-image {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 1.2rem auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.section-image img {
  width: 100%;
  aspect-ratio: 16 / 9;       /* 🔧 keeps cinematic widescreen */
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 1.5s ease, transform 1.2s ease;
}

.section-image img.active {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.02);
}

/* === CHARACTER & STORY IMAGES (same fade style) === */
.char-photo,
.story-photo img {
  filter: grayscale(100%) contrast(1.1);
  transition: filter 1.5s ease, transform 1.2s ease;
}

.char-photo.active,
.story-photo img.active {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.02);
}


/* === STORY IMAGES (cinematic single layout) === */
.story-photo {
  width: 100%;
  max-width: 900px;                /* ⬅ same width as other section images */
  margin: 2rem auto 3rem auto;     /* ⬅ centered and evenly spaced */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  transition: transform 0.5s ease;
}

.story-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;            /* ⬅ keeps consistent cinematic shape */
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 1.5s ease, transform 1.2s ease;
}

.story-photo img.active {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.02);
}

.story-photo:hover {
  transform: translateY(-4px);
}

/* === OPTIONAL: wider LED image emphasis === */
.story-photo:nth-of-type(2) {
  max-width: 1000px;               /* ⬅ makes the middle “LED” photo feel grander */
}

/* Responsive handling */
@media (max-width: 768px) {
  .story-photo {
    max-width: 100%;
    margin: 1.5rem auto;
  }
}


/* === CHARACTERS SECTION === */
.characters-section {
  background: #0d0e11;
  color: #eee;
  padding-top: 6rem;
  padding-bottom: 2rem; /* was 6rem — reduced to close space before next section */
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 2.5rem 2rem;
  justify-items: center;
  align-items: start;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.char-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  width: 100%;
  max-width: 340px;
  box-shadow: inset 0 0 10px rgba(255,106,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.char-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px rgba(255,106,0,0.45);
}

.char-card h3 {
  color: #ff6a00;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.char-card:nth-child(7) {
  grid-column: 2 / 3;
  justify-self: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .char-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .char-card:nth-child(7) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .char-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}


/* === SOUND SECTION === */
.sound-section {
  background: #0d0e11;
  color: #eee;
  padding-top: 4rem;   /* was 6rem — reduced to tighten top gap */
  padding-bottom: 6rem;
}

/* Reduce gap between demo intro and player grid */
.sound-section p {
  margin-bottom: 1.5rem !important;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  max-width: 1100px;
  margin: 2rem auto 0; /* reduced from 3rem for closer spacing */
}

.track {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  text-align: left;
  box-shadow: inset 0 0 10px rgba(255,106,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(255,106,0,0.4);
}

.track h3 {
  color: #ff6a00;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.track p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.track audio {
  width: 100%;
  border-radius: 8px;
  margin-top: 0.5rem;
}

@media (max-width: 800px) {
  .track-grid { grid-template-columns: 1fr; }
}


/* === CTA BUTTONS === */
.cta-button {
  display: inline-block;
  border: 2px solid #ff6a00;
  color: #ff6a00;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 4rem;
}
.cta-button:hover {
  background: linear-gradient(135deg, #ff6a00, #00b3ff);
  color: #fff;
  box-shadow: 0 0 25px rgba(255,106,0,0.7), 0 0 25px rgba(0,179,255,0.4);
  transform: scale(1.05);
}

/* === FOOTER === */
.site-footer {
  background: #0d0e11;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ==== DEBUG FIX: Overlap isolation ==== */
.story-section, .characters-section, .sound-section {
  position: relative !important;
  display: block !important;
  overflow: visible !important;
  transform: none !important;
  z-index: auto !important;
}

.char-grid, .track-grid {
  position: relative !important;
  display: grid !important;
  place-items: start center;
  overflow: visible !important;
}

.char-card, .track {
  position: relative !important;
  z-index: 10 !important;
  transform: none !important;
  overflow: visible !important;
  margin: 0 !important;
}

body {
  overflow-x: hidden !important;
}
/* === FINAL FIX: remove rogue vertical dividers === */
.characters-section .divider,
.char-grid .divider,
.char-card .divider,
.sound-section .divider,
.track-grid .divider,
.track .divider {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: static !important;
  overflow: hidden !important;
}
/* ===== CHARACTERS: HARD RESET (no overlays, no overlap) ===== */

/* 0) Section spacing (remove the big gap before Characters) */
.story-section { margin-bottom: 3rem !important; padding-bottom: 3rem !important; }
.characters-section { margin-top: 0 !important; padding-top: 5rem !important; padding-bottom: 6rem !important; }

/* 1) Clean 3x2 grid + centred 7th card */
.characters-section .char-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  column-gap: 2rem !important;
  row-gap: 2.5rem !important;
  justify-items: center !important;
  align-items: start !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* 2) Cards: remove animations/offsets and contain any effects */
.characters-section .char-card {
  position: relative !important;
  transform: none !important;
  opacity: 1 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 340px !important;
  overflow: hidden !important;      /* prevents glows spilling into next row */
  z-index: 1 !important;
}

/* 3) Kill any decorative pseudo-elements that draw vertical bars */
.characters-section .char-card::before,
.characters-section .char-card::after {
  content: none !important;
  display: none !important;
}

/* 4) Kill any divider/separator elements that may exist in the markup */
.characters-section .char-grid > .divider,
.characters-section .char-grid [class*="divider"],
.characters-section .char-grid [class*="Divider"],
.characters-section .char-grid [class*="separator"],
.characters-section .char-grid [class*="Separator"],
.characters-section .char-grid [class*="bar"],
.characters-section .char-grid [class*="Bar"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: static !important;
  overflow: hidden !important;
}

/* 5) Centre the 7th card */
.characters-section .char-card:nth-of-type(7) {
  grid-column: 2 / 3 !important;
  justify-self: center !important;
}

/* 6) Responsive fallbacks */
@media (max-width: 1024px) {
  .characters-section .char-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)) !important; }
  .characters-section .char-card:nth-of-type(7) { grid-column: 1 / -1 !important; }
}
@media (max-width: 640px) {
  .characters-section .char-grid { grid-template-columns: 1fr !important; row-gap: 2rem !important; }
}

/* ===== SOUND: keep tidy 2-up grid (no overlap) ===== */
.track-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  gap: 2.5rem !important;
  max-width: 1100px !important;
  margin: 3rem auto 5rem auto !important; /* ⬅ adds extra space below the demos */
  align-items: start !important;
  justify-items: center !important;
}

.track {
  width: 100% !important;
  overflow: hidden !important;
}

@media (max-width: 800px) {
  .track-grid {
    grid-template-columns: 1fr !important;
    margin: 2rem auto 4rem auto !important; /* ⬅ also spaced nicely on mobile */
  }
}

/* ===== Remove any section overlays completely (belt & braces) ===== */
.story-section::before,
.characters-section::before,
.sound-section::before {
  content: none !important;
  display: none !important;
}


/* ==== ANTI-OVERLAP SAFETY NET (drop at end of stylesheet) ==== */

/* 1) Each major section creates its own stacking context */
.hero-sunrise,
.concept-section,
.story-section,
.characters-section,
.sound-section,
.team-section,
.showcase-section,
.contact-section {
  position: relative;        /* establish context */
  isolation: isolate;        /* child z-index can't leak out */
  z-index: 0;                /* baseline */
}

/* 2) Any section overlays live BEHIND their own content only */
.hero-sunrise .flare,
.hero-sunrise .overlay,
.concept-section .overlay,
.story-section .overlay,
.characters-section .overlay,
.sound-section .overlay,
.team-section .overlay,
.showcase-section .overlay,
.contact-section .overlay {
  position: absolute;
  inset: 0;
  z-index: -1;               /* behind text within the section */
  pointer-events: none;      /* overlays don’t block clicks */
}

/* 3) Guard against rogue fixed/absolute elements in panels */
.showcase-section .panel,
.sound-section .panel,
.team-section .panel {
  position: static;
  z-index: auto;
}

/* 4) Common parallax culprit: background-attachment: fixed; */
.hero-sunrise,
.showcase-section,
.sound-section {
  background-attachment: scroll !important;  /* disable parallax for now */
  background-position: center;
  background-size: cover;
}

/* 5) Header + anchor jump protection (if header is fixed/sticky) */
.rock-header {
  position: sticky;          /* or fixed if you prefer */
  top: 0;
  z-index: 1000;             /* above sections, below modals */
}
html { scroll-padding-top: 60px; } /* match your header height */

/* 6) Audio players sometimes affect flow; make them block-level */
audio { display: block; max-width: 100%; margin-top: 0.5rem; }

/* === CHARACTER CARDS WITH IMAGES === */

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.char-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.char-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.char-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.35);
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.char-card:hover .char-photo {
  filter: grayscale(0);
  transform: scale(1.02);
}

.char-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* === CHARACTERS: CENTERED OUTRO TEXT === */
.characters-section .characters-outro {
  max-width: 760px;
  margin: 2.5rem auto 0;
  text-align: center;
  line-height: 1.6;
  color: #ccc;
}


/* === FIX: Align numbered song list properly === */
.song-list {
  text-align: left;
  margin: 0 auto;
  max-width: 700px;
  padding-left: 2rem; /* adds indentation for numbers */
  list-style-position: outside;
}

.songlist-heading {
  text-align: center;
  color: #ff6a00;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.song-list ol,
.songlist {
  margin: 0;
  padding-left: 2.2rem;
}

.songlist li {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #ddd;
  font-size: 0.95rem;
  text-align: left;
}

/* === CREATIVE TEAM (Aligned Layout) === */

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

.team-member {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  flex-wrap: nowrap;
}


.team-photo {
  flex: 0 0 220px;
  width: 220px;
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(255,106,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 0.35rem; /* aligns photo top with name/title block */
}

.team-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,106,0,0.6);
}

.team-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.team-header {
  display: flex;
  flex-direction: column;   /* stack name + title */
  align-items: flex-start;
  margin-bottom: 0.6rem;
  align-items: flex-start !important;
  text-align: left !important;
}

.team-header h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
  letter-spacing: 0.5px;
  text-align: left !important;
}

.team-role {
  color: #ff6a00;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 500;
  margin-top: 0.2rem;
  letter-spacing: 0.3px;
  text-shadow: 0 0 8px rgba(255,106,0,0.3);
  text-align: left !important;
}


.team-info p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

/* Responsive fix */
@media (max-width: 700px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-header {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .team-role {
    margin-bottom: 0.5rem;
  }

  .team-photo {
    margin-bottom: 1rem;
  }
}


/* === FIX: FORCE SITE ORANGE FOR TEAM TITLES === */
.team-header .team-role {
  color: #ff6a00 !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-shadow: 0 0 8px rgba(255,106,0,0.3);
}


.sound-section .section-title,
.sound-section .section-tagline,
.characters-section .section-title,
.characters-section .section-tagline {
  text-align: center; /* keep headers centered */
}

/* === FIX: Contain and align text at the end of the Characters section === */
.characters-section p {
  max-width: 760px;
  margin: 1.5rem auto;
  text-align: left;
  line-height: 1.6;
  color: #ccc;
}

/* Keep section heading centered while paragraphs align left */
.characters-section .section-title,
.characters-section .section-tagline {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* === PRODUCTION SECTION WIDTH FIX === */
.showcase-section p,
.production-section p,
.partnerships-section p {
  max-width: 800px !important;   /* expands readable width */
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;  /* keeps balance under headings */
  line-height: 1.7;               /* improves readability */
}

/* === FINAL WIDTH FIX: Production / Partnerships Section === */
.container.narrow p {
  max-width: 1000px !important;   /* wider readable line */
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.8;
}

.container.narrow h3 {
  margin-top: 2.5rem;
}


/* === FORCE LEFT-JUSTIFIED BIO TEXT === */
.team-info p {
  text-align: left;
}

/* Mobile: keep bios left, headers centered */
@media (max-width: 700px) {
  .team-info p {
    text-align: left;
  }
}
/* ================================
   ACCESS GATE — AFTER THE SUN
================================ */

#access-gate {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(255,106,0,0.35), transparent 60%),
    #0d0e11;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-box {
  max-width: 460px;
  padding: 3rem 2.8rem;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

.gate-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 0 25px rgba(255,106,0,0.6);
}

.gate-note {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 2rem;
}

#gate-password {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.gate-button {
  width: 100%;
  padding: 0.9rem;
  border-radius: 40px;
  border: 2px solid #ff6a00;
  background: transparent;
  color: #ff6a00;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

#gate-error {
  display: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ff6a00;
}

.gate-show {
  display: block;
  margin: 0.6rem 0 1.2rem;
  font-size: 0.85rem;
  color: #aaa;
  cursor: pointer;
  user-select: none;
}

.gate-show input {
  margin-right: 0.4rem;
}


/* === HARD OVERRIDE: TEAM TITLES + NAMES LEFT ON DESKTOP === */
/* Paste at the very end of the stylesheet */

section.team-section .team-member,
section.team-section .team-info,
section.team-section .team-header,
section.team-section .team-header h3,
section.team-section .team-header .team-role {
  text-align: left !important;
}

section.team-section .team-header .team-role {
  display: block;       /* ensure it behaves like a proper subtitle line */
  width: 100%;          /* prevents any centering based on shrink-to-fit */
}

/* Keep your mobile centering behaviour */
@media (max-width: 700px) {
  section.team-section .team-member,
  section.team-section .team-info,
  section.team-section .team-header,
  section.team-section .team-header h3,
  section.team-section .team-header .team-role {
    text-align: center !important;
  }
}
/* ================================
   SOUND SECTION — FINAL ALIGNMENT FIX
================================ */

/* Centre all intro-style text */
.sound-section .section-title,
.sound-section .section-tagline,
.sound-section .section-intro,
.sound-section .demo-intro,
.sound-section .demo-intro p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

/* Centre the block, but left-align the bullet text */
.sound-section .format-list {
  max-width: 900px;
  margin: 2.5rem auto;
  padding-left: 1.5rem;
  text-align: left;
}

.sound-section .format-list li {
  text-align: left;
  line-height: 1.7;
}

/* Song list intro: centred text */
.songlist-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

/* Song list items: left-aligned */
.songlist,
.songlist li {
  text-align: left;
}
/* ================================
   SCALE & FORMAT — ALIGN PARAGRAPH WITH BULLETS
================================ */

/* Centre the block, but left-align all content inside */
.showcase-section .production-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Keep the section heading centred */
.showcase-section .section-title,
.showcase-section .section-tagline,
.showcase-section h3 {
  text-align: center;
}

/* Intro paragraph aligns with bullets */
.showcase-section .production-text p {
  text-align: left;
  max-width: none; /* inherit from container */
}

/* Bullet list already left-aligned, just ensure consistency */
.showcase-section .format-list,
.showcase-section .format-list li {
  text-align: left;
}

/* === FORCE CTA BUTTON CONTAINERS TO CENTER === */
.button-container {
  text-align: center !important;
  margin-top: 3rem;
}

.button-container .cta-button {
  display: inline-block;
}

/* === ORANGE HIGHLIGHT UTILITY === */
.orange {
  color: #ff6a00;
  font-weight: 600;
  letter-spacing: 0.2px;
}
/* === PRODUCTION: FINAL ALIGNMENT OVERRIDE (paste at END) === */
section.production-section .container.narrow{
  text-align: center; /* keep the section title / overall layout centered */
}

section.production-section .production-text{
  max-width: 900px;
  margin: 0 auto;
  text-align: left;  /* left-align the actual content block */
}

/* Override earlier "center !important" rules */
section.production-section .production-text p,
section.production-section .production-text ul,
section.production-section .production-text li{
  text-align: left !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Make bullet indentation consistent */
section.production-section .production-text .format-list{
  margin: 1.6rem 0 0;
  padding-left: 1.35rem; /* tweak to match your preferred indent */
}

/* === PRODUCTION: SECTION HEADER PROMOTION === */
.production-section h3:first-of-type {
  font-size: 2.3rem;        /* match other section titles */
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

/* === MODAL OVERLAY === */
.modal-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.70);
  z-index: 9999;
}

.modal-overlay.is-open{
  display: flex;
}

.modal-card{
  width: min(720px, 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(12,12,14,0.92);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: 0 18px 70px rgba(0,0,0,0.55);
}

.modal-close{
  position: absolute;
  transform: translateY(-6px);
  right: calc(50% - min(720px, 100%)/2 + 14px);
  /* fallback if the above feels weird on your layout: comment it out and use the rule below */
  /* right: 1.2rem; */

  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: .8;
}

.modal-close:hover{
  opacity: 1;
}

/* Conf checkbox (re-use your earlier style if you already added it) */
.confidentiality-label{
  font-size: 0.95rem;
  color: var(--slate);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.confidentiality-label input{
  margin-top: 0.15rem;
}

/* Disabled button feel */
a.cta-button[aria-disabled="true"]{
  opacity: .45;
  pointer-events: none;
}

/* ==========================================================
   INVESTOR LOGIN PAGE  — POLISHED
   ========================================================== */

.investors-gate {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.investors-gate h2 {
  text-align: center;
  margin-bottom: 1.2rem;
}

.investors-gate .muted {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1rem;
}

/* Card stays centred, but a touch wider + cleaner padding */
.gate-card {
  margin: 2.4rem auto 0;
  max-width: 680px;                 /* was 520 */
  padding: 2.1rem 2.2rem 2rem;      /* was 1.6/1.8/1.9 */
  border-radius: 20px;
  background: rgba(15, 15, 18, 0.78);  /* slightly less heavy */
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}

/* Put form elements on a consistent inner column */
.gate-label,
.gate-input,
.investors-gate .cta-button,
.pw-row {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Label styling */
.gate-label {
  display: block;
  margin: 0.2rem auto 0.55rem;
  font-weight: 600;
  text-align: center;
  opacity: 0.9;
}

/* Input styling */
.gate-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: #eee;
  margin-bottom: 1.2rem;
}

/* Checkbox row: centered block, readable left text */
.confidentiality-label {
  font-size: 0.95rem;
  color: var(--slate);
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 0.8rem;
  align-items: start;
  max-width: 520px;
  margin: 0 auto 1.25rem;          /* centers the whole row */
  text-align: left;
  line-height: 1.45;
}

.confidentiality-label input {
  margin-top: 0.2rem;
}

/* If you’re using the optional pw-row with a toggle */
.pw-row{
  display:flex;
  gap:0.6rem;
  align-items:center;
}

.pw-row .gate-input{
  margin-bottom: 0;
  flex: 1;
}

.pw-toggle{
  white-space:nowrap;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.30);
  color: #eee;
  cursor: pointer;
}

/* Button: matches input width, nicer disabled state */
.investors-gate .cta-button {
  width: 100%;
  margin-top: 0.6rem;
}


.investors-gate .cta-button:disabled,
.investors-gate button.cta-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: saturate(0.7);
}

/* Error message centred on the same column */
.gate-msg {
  margin: 0.85rem auto 0;
  max-width: 520px;
  font-size: 0.95rem;
  color: #ffb3b3;
  text-align: center;
}

/* Shared column for input + button */
.gate-column {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}


/* ================================
   ACCESS GATE — AFTER THE SUN
================================ */

#access-gate {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(255,106,0,0.35), transparent 60%),
    #0d0e11;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-box{
  width: min(560px, 92vw);     /* slightly narrower, responsive */
  margin: 0 auto;
  padding: 2.4rem 2.2rem;      /* reduce side padding so it feels centered */
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

.gate-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 0 25px rgba(255,106,0,0.6);
}

.gate-note {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Make input + button feel like the same "system" */
#gate-password,
.gate-button{
  display: block;
  width: 100%;
  max-width: 460px;            /* keeps both at same width inside the card */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Password input */
#gate-password{
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

/* Button */
.gate-button{
  padding: 0.95rem 1rem;
  border-radius: 40px;
  border: 2px solid #ff6a00;
  background: transparent;
  color: #ff6a00;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

#gate-error {
  display: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ff6a00;
}

.gate-show {
  display: block;
  margin: 0.6rem 0 1.2rem;
  font-size: 0.85rem;
  color: #aaa;
  cursor: pointer;
  user-select: none;
}

.gate-show input {
  margin-right: 0.4rem;
}

/* ==========================================================
   INVESTOR LOGIN PAGE — WIDTH FIX (drop at END)
   Ensures password input + Enter button match perfectly
   ========================================================== */

.investors-gate .gate-card{
  max-width: 680px;
}

/* The ONE column that controls width for input + button */
.investors-gate .gate-column{
  width: min(520px, 100%);
  margin: 0 auto;
}

/* Make label, input, and button all obey the same column width */
.investors-gate .gate-column .gate-label,
.investors-gate .gate-column .gate-input,
.investors-gate .gate-column .cta-button{
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: block;
  box-sizing: border-box;
}

/* Optional: keep the label centred */
.investors-gate .gate-column .gate-label{
  text-align: center;
}

/* Keep checkbox row aligned nicely and not affecting layout */
.investors-gate .confidentiality-label{
  width: min(520px, 100%);
  margin: 0 auto 1.25rem;
}

/* Error message aligns with column width */
.investors-gate .gate-msg{
  width: min(520px, 100%);
  margin: 0.85rem auto 0;
  text-align: center;
}

/* ==========================================================
   DIGITAL SCOPE — SUBTLE DOWNLOAD BUTTON
   ========================================================== */

.button-container.small {
  text-align: left;
}

/* Subtle variant of CTA button */
.cta-button.subtle {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: var(--orange);

  transition: all 0.25s ease;
}

.cta-button.subtle:hover {
  background: rgba(255,106,0,0.12);
  border-color: var(--orange);
  transform: translateY(-1px);
}
