:root {
  --color-bg: #05070d;
  --color-bg-alt: #0b1020;
  --color-bg-warm: #080b15;
  --color-bg-darker: #02040a;
  --color-text: #f4f7ff;
  --color-text-muted: rgba(244, 247, 255, 0.68);
  --color-gold: #9eacd9;
  --color-gold-dim: rgba(158, 172, 217, 0.22);
  --color-blue: #8fa3e8;
  --color-blue-strong: #c9d4ff;
  --color-panel: rgba(13, 18, 34, 0.72);
  --color-border: rgba(201, 212, 255, 0.14);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Inter', sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(143, 163, 232, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #05070d 0%, #070a13 42%, #05070d 100%);
}

/* ── Film Grain ── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.title-italic {
  font-family: var(--font-accent);
  font-style: normal;
  text-transform: none;
  color: var(--color-blue-strong);
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 600;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
  background-color: rgba(5, 7, 13, 0.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
}

.logo-img {
  height: 58px;
  width: 58px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.4));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-img {
  opacity: 1;
  transform: translateY(-1px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-text);
}

.btn-submit {
  color: var(--color-blue-strong);
  border: 1px solid var(--color-border);
  padding: 0.7rem 1.4rem;
  background: rgba(143, 163, 232, 0.08);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.btn-submit:hover {
  border-color: var(--color-blue-strong);
  color: var(--color-text);
  background: rgba(143, 163, 232, 0.16);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: brightness(0.42) contrast(1.12) saturate(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.78) 0%, rgba(5, 7, 13, 0.35) 48%, rgba(5, 7, 13, 0.86) 100%),
    linear-gradient(to bottom, rgba(5, 7, 13, 0.2) 0%, rgba(5, 7, 13, 0.72) 68%, var(--color-bg) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 10;
  padding: 0 2rem;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-logo {
  width: clamp(96px, 14vw, 164px);
  height: clamp(96px, 14vw, 164px);
  object-fit: contain;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.52));
}

.hero-date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  color: var(--color-blue-strong);
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(3.25rem, 9.5vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: 0;
  margin-bottom: 2rem;
  color: var(--color-text);
  text-wrap: balance;
}

.line-wrap {
  display: block;
  overflow: hidden;
}

.line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  max-width: 680px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-family: var(--font-accent);
  font-style: normal;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 880px;
  margin: 3rem auto 0;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.hero-facts div {
  background: rgba(5, 7, 13, 0.78);
  padding: 1rem 1.1rem;
  text-align: left;
}

.hero-facts span {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.hero-facts strong {
  display: block;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ── Sections ── */
.section {
  padding: 9rem 0;
}

/* Alternating warm backgrounds to break visual monotony */
.section.program,
.section.awards {
  background-color: var(--color-bg-warm);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section.submit {
  background-color: var(--color-bg-alt);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: var(--color-blue-strong);
  margin-bottom: 3.5rem;
  text-align: center;
  letter-spacing: 0;
}

/* ── Manifesto ── */
.manifesto-text p {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.8;
  text-align: left;
  font-family: var(--font-accent);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ── Text + Visual Split Layout ── */
.text-visual-split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 5rem;
  align-items: start;
}

.text-visual-split.reverse {
  direction: rtl;
}

.text-visual-split.reverse>* {
  direction: ltr;
}

.text-visual-split .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.visual-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  filter: brightness(0.88) contrast(1.08) saturate(0.78);
}

@media (max-width: 900px) {
  .text-visual-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .text-visual-split.reverse {
    direction: ltr;
  }

  .text-visual-split .section-title {
    text-align: center;
  }

  .manifesto-text p {
    text-align: center;
  }

  .visual-img {
    max-height: 350px;
    aspect-ratio: 16/10;
  }
}

/* ── Dates ── */
.dates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--color-border);
  padding: 0;
  background: var(--color-border);
}

@media (max-width: 768px) {
  .dates-grid {
    grid-template-columns: 1fr;
  }
}

.date-item h4 {
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

.date-item p {
  color: var(--color-text);
  font-size: 1.4rem;
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 600;
}

.date-item {
  background: var(--color-panel);
  padding: 2rem 1.5rem;
}

/* ── Rules ── */
.rules-list {
  list-style: none;
  padding: 0;
}

.rules-list li {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}

.rules-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background-color: var(--color-blue);
  border-radius: 50%;
}

/* ── Program Cards ── */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

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

.program-card {
  position: relative;
  overflow: hidden;
  height: 430px;
  display: flex;
  align-items: flex-end;
  background: var(--color-panel);
  transition: transform 0.5s var(--ease-out);
}

.program-card:hover {
  transform: translateY(-4px);
}

.card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.62;
  transition: opacity 0.6s ease, transform 0.8s var(--ease-out);
  z-index: 0;
  filter: brightness(0.72) saturate(0.62) contrast(1.08);
}

.card-image.bg-1 {
  background-image: url('../img/gallery_silhouette_1772230291741.webp');
}

.card-image.bg-2 {
  background-image: url('../img/gallery_light_leak_1772230279129.webp');
}

.card-image.bg-3 {
  background-image: url('../img/gallery_velvet_texture_1772230265512.webp');
}

.program-card:hover .card-image {
  opacity: 0.85;
  transform: scale(1.03);
}

.card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  width: 100%;
  background: linear-gradient(transparent 0%, rgba(5, 7, 13, 0.94) 100%);
}

.card-content h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.card-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 400;
}

/* ── Awards ── */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--color-border);
}

@media (max-width: 1024px) {
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }
}

.award-card {
  background-color: rgba(5, 7, 13, 0.78);
  padding: 2.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  transition: background-color 0.4s ease;
}

.award-card:hover {
  background-color: rgba(143, 163, 232, 0.11);
}

.award-icon {
  font-size: 1.6rem;
  color: var(--color-blue-strong);
  margin-bottom: 0.5rem;
}

.award-card h3 {
  font-size: 1.1rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.award-card p {
  color: var(--color-text-muted);
  font-family: var(--font-accent);
  font-style: normal;
  font-size: 0.85rem;
}

/* ── Tickets ── */
.ticket-info {
  max-width: 700px;
  margin: 0 auto 3rem;
  border: 1px solid var(--color-border);
  padding: 3rem 2rem;
  background: var(--color-panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.event-format {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.dress-code {
  font-size: 1.25rem;
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 600;
  margin-bottom: 2rem;
}

.gold-text {
  color: var(--color-blue-strong);
}

.venue-info {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.venue-info strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 0.3rem;
}

/* ── Placeholder ── */
.placeholder-box {
  max-width: 360px;
  margin: 2rem auto 0;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--color-border);
  background: rgba(143, 163, 232, 0.08);
  text-align: center;
}

.locked-text {
  font-family: var(--font-heading);
  color: var(--color-blue-strong);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

/* ── Gallery ── */
.visual-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) {
  .visual-gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
  transition: filter 0.5s ease, transform 0.6s var(--ease-out);
}

.gallery-img:hover {
  filter: saturate(1) brightness(1);
  transform: scale(1.015);
}

/* ── Submit CTA ── */
.submit {
  position: relative;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 163, 232, 0.18), transparent 28rem),
    var(--color-bg-alt);
}

.huge-title {
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  margin-bottom: 1rem;
  color: var(--color-text);
  letter-spacing: 0;
}

.submit-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 1.6rem;
  background-color: var(--color-blue-strong);
  color: #05070d;
  text-transform: uppercase;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.35s ease;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-blue-strong);
  border-color: var(--color-blue-strong);
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 1.6rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.35s ease;
}

.btn-secondary:hover {
  color: var(--color-blue-strong);
  border-color: var(--color-blue-strong);
  background: rgba(143, 163, 232, 0.1);
}

/* ── Contact ── */
.email-link {
  display: inline-block;
  font-size: clamp(1.35rem, 4vw, 2.8rem);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: var(--color-blue-strong);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
  margin-top: 0;
  background: #03050b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  height: 58px;
  width: 58px;
  object-fit: contain;
  opacity: 0.7;
}

.footer p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-blue-strong);
}

.footer-links p {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Reveal Utilities ── */
.reveal-text {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* ══════════════════════════════════════════
   MOBILE RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
  .header-inner {
    padding: 1rem 1.2rem;
    align-items: flex-start;
  }

  .logo-img {
    height: 44px;
    width: 44px;
  }

  .nav {
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: calc(100% - 60px);
  }

  .nav-link {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .btn-submit {
    padding: 0.45rem 0.65rem;
    font-size: 0.58rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 13vw, 5rem);
    margin-bottom: 1.5rem;
  }

  .hero-date {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-actions {
    margin-top: 1.6rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 2rem;
  }

  .program-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .program-card {
    height: 300px;
  }

  .card-content {
    padding: 1.5rem;
  }

  .card-content h3 {
    font-size: 1.3rem;
  }

  .dates-grid {
    grid-template-columns: 1fr;
    gap: 1px;
    padding: 0;
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .award-card {
    padding: 1.5rem 1rem;
  }

  .award-icon {
    font-size: 1.5rem;
  }

  .award-card h3 {
    font-size: 0.85rem;
  }

  .award-card p {
    font-size: 0.75rem;
  }

  .ticket-info {
    padding: 2rem 1.2rem;
    margin-bottom: 2rem;
  }

  .dress-code {
    font-size: 1.2rem;
  }

  .huge-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .submit-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .btn-primary {
    padding: 1rem 1.2rem;
    font-size: 0.72rem;
  }

  .email-link {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-logo {
    height: 48px;
    width: 48px;
  }
}

@media (max-width: 480px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 0.6rem;
  }

  .nav-link {
    font-size: 0.55rem;
  }
}
