* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #f6f1e8;
  background:
    radial-gradient(circle at 20% 18%, rgba(198,154,88,0.10), transparent 24%),
    radial-gradient(circle at 78% 30%, rgba(233,208,154,0.07), transparent 18%),
    linear-gradient(180deg, #08111d 0%, #091321 100%);
}

body:not(.gate-open) {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
}

/* PASSWORD GATE */

#access-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(214,176,109,0.12), transparent 40%),
    linear-gradient(180deg, rgba(8,17,29,0.96), rgba(6,12,22,0.98));
}

.gate-box {
  width: 100%;
  max-width: 480px;
  padding: 42px 34px;
  text-align: center;
  border-radius: 22px;
  background: rgba(18,24,34,0.86);
  border: 1px solid rgba(214,176,109,0.22);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}

.gate-box h2 {
  margin: 0 0 18px;
  font-size: 2.35rem;
  letter-spacing: 0.08em;
  color: #f6f1e8;
}

.gate-kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e6c484;
}

.gate-small {
  margin: 0 0 22px;
  color: rgba(246,241,232,0.72);
}

.gate-password-row {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 10px;
  width: 100%;
}

.gate-password-row input,
.gate-show-btn,
#gate-submit {
  height: 48px;
  border-radius: 12px;
  font: inherit;
}

.gate-password-row input {
  width: 100%;
  padding: 0 15px;
  border: 1px solid rgba(214,176,109,0.28);
  background: rgba(255,255,255,0.94);
  color: #111;
  outline: none;
}

.gate-password-row input:focus {
  border-color: rgba(214,176,109,0.75);
  box-shadow: 0 0 0 3px rgba(214,176,109,0.18);
}

.gate-show-btn {
  border: 1px solid rgba(214,176,109,0.34);
  background: rgba(255,248,236,0.08);
  color: #f6f1e8;
  font-weight: 600;
  cursor: pointer;
}

#gate-submit {
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(214,176,109,0.46);
  background: rgba(214,176,109,0.18);
  color: #f6f1e8;
  font-weight: 700;
  cursor: pointer;
}

#gate-submit:hover,
.gate-show-btn:hover {
  background: rgba(214,176,109,0.26);
}

#gate-error {
  display: none;
  margin-top: 14px;
  color: #ffb2b2;
  font-size: 0.9rem;
}

/* PAGE */

.page-content {
  width: 100%;
}

.director-hero {
  padding: 78px 24px 50px;
  text-align: center;
  border-bottom: 1px solid rgba(214,176,109,0.18);
  background:
    radial-gradient(circle at 50% 18%, rgba(214,176,109,0.13), transparent 30%),
    linear-gradient(180deg, rgba(8,17,29,0.98), rgba(9,19,33,0.78));
}

.director-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.eyebrow,
.section-label,
.track-number {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e6c484;
}

.director-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
}

.director-hero h2 {
  margin: 22px 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.hero-intro {
  max-width: 840px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(246,241,232,0.84);
}

.director-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 46px 22px 80px;
}

.director-section {
  margin-bottom: 42px;
  padding: 32px;
  border-radius: 22px;
  background: rgba(18,24,34,0.62);
  border: 1px solid rgba(255,243,217,0.10);
  box-shadow: 0 18px 42px rgba(0,0,0,0.24);
}

.director-section h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.director-section p {
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(246,241,232,0.86);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.theme-card,
.track-card {
  border-radius: 18px;
  background: rgba(255,248,236,0.055);
  border: 1px solid rgba(214,176,109,0.15);
}

.theme-card {
  padding: 22px;
}

.theme-card h3 {
  margin: 0 0 10px;
  color: #f0d7a1;
}

.track-group {
  margin-top: 36px;
}

.track-group h3 {
  margin: 0 0 16px;
  font-size: 1.9rem;
  color: #f0d7a1;
}

.track-card {
  margin: 18px 0 28px;
  padding: 26px;
}

.track-card h4 {
  margin: 0 0 12px;
  font-size: 2.15rem;
}

.track-function,
.listen-for {
  color: rgba(246,241,232,0.94);
}

.track-card audio {
  display: block;
  width: 100%;
  margin-top: 18px;
}

.director-footer {
  padding: 28px 18px;
  text-align: center;
  border-top: 1px solid rgba(214,176,109,0.16);
  color: rgba(246,241,232,0.64);
}

/* MOBILE */

@media (max-width: 760px) {
  .gate-box {
    padding: 34px 22px;
  }

  .gate-password-row {
    grid-template-columns: 1fr 68px;
  }

  .director-hero {
    padding: 56px 18px 38px;
  }

  .director-section,
  .track-card {
    padding: 22px;
  }

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

/* =========================
   GOLD RIBBON LINES
========================= */

.director-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.director-hero-inner {
  position: relative;
  z-index: 3;
}

.hero-ribbons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.22;
  pointer-events: none;
}

.ribbon {
  mix-blend-mode: screen;
}

.ribbon-1 {
  animation: ribbonFloat1 18s ease-in-out infinite alternate;
}

.ribbon-2 {
  animation: ribbonFloat2 22s ease-in-out infinite alternate;
}

.ribbon-3 {
  animation: ribbonFloat3 20s ease-in-out infinite alternate;
}

@keyframes ribbonFloat1 {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes ribbonFloat2 {
  from { transform: translateY(0); }
  to { transform: translateY(12px); }
}

@keyframes ribbonFloat3 {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}