@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Figtree:ital,wght@0,300..900;1,300..900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --void: #0a0714;
  --void-2: #120b26;
  --royal: #6C3BAA;
  --royal-deep: #2c1a63;
  --indigo: #560591;
  --violet-glow: #8b5cf6;
  --cyan-hair: #7dd3fc;
  --ink: #f1edfb;
  --muted: #a79bd1;
  --muted-dim: #8d80b3;
  --royal-text: #a879d9;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ============ PAGE-LOAD SEQUENCE ============ */
/* One orchestrated entrance, staggered top to bottom through the hero.
     Everything else on the page reveals on scroll with the same quiet motion. */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar,
.event-logo,
.lede,
.cta-row,
.stat-strip,
.users-row,
.card-stack {
  opacity: 0;
  animation: rise-in 0.9s var(--ease) forwards;
}

.navbar {
  animation-delay: 0.05s;
}

.event-logo {
  animation-delay: 0.22s;
}

.lede {
  animation-delay: 0.36s;
}

.cta-row {
  animation-delay: 0.5s;
}

.stat-strip {
  animation-delay: 0.64s;
}

.users-row {
  animation-delay: 0.76s;
}

.card-stack {
  animation-delay: 0.42s;
}

/* Below-the-fold sections fade up once, the first time they enter view. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .navbar,
  .event-logo,
  .lede,
  .cta-row,
  .stat-strip,
  .users-row,
  .card-stack {
    opacity: 1;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .partners-track {
    animation: none;
  }
}

  .enq-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}
.enq-modal[hidden] { display: none; }
.enq-modal-box {
    width: 100%;
    max-width: 420px;
    padding: 36px 28px 28px;
    text-align: center;
    border-radius: 16px;
    background: #14141c;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: enqPop 0.25s ease;
}
@keyframes enqPop {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}
.enq-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}
.enq-modal.is-success .enq-modal-icon { background: #2fcfb6; }
.enq-modal.is-error   .enq-modal-icon { background: #e5484d; }
.enq-modal.is-info    .enq-modal-icon { background: #f5a524; }
.enq-modal-title { margin: 0 0 8px; font-size: 22px; }
.enq-modal-text  { margin: 0 0 22px; font-size: 15px; line-height: 1.5; opacity: 0.85; }
.enq-modal-btn   { min-width: 120px; }

/* ============ NAVBAR ============ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80%;
  margin: 0 auto;
  padding: 24px 40px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.navbar.is-scrolled {
  max-width: 100%;
  padding: 16px 40px;
  background: rgba(10, 7, 20, 0.78);
  border-bottom: 1px solid rgba(241, 237, 251, 0.08);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.navbar-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.navbar-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s var(--ease);
}

.navbar-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--royal);
  transition: width 0.25s var(--ease);
}

.navbar-links a:hover {
  color: var(--ink);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar-actions .btn {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid rgba(241, 237, 251, 0.14);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.social-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.social-icon:hover {
  color: var(--void);
  background: var(--royal);
  border-color: var(--royal);
  transform: translateY(-2px);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 51;
}

.navbar-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

body.nav-open .navbar-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.nav-open .navbar-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .navbar-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 900px) {
  .navbar {
    max-width: 100%;
    padding: 18px 24px;
  }

  .navbar.is-scrolled {
    padding: 14px 24px;
  }

  .navbar-links {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: rgba(10, 7, 20, 0.97);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }

  .navbar-links a {
    font-size: 1.15rem;
  }

  body.nav-open .navbar-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    height: fit-content;
    padding: 2rem 0;
  }

  .navbar-actions {
    gap: 10px;
  }

  .navbar-actions .btn {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }
}

@media (max-width: 420px) {
  .social-icon:nth-child(3) {
    display: none;
  }
}

/* Anchor targets clear the fixed navbar when jumped to via nav links. */
#home,
#nextEventSection,
#events,
#overview,
#speakers,
#sponsors {
  scroll-margin-top: 90px;
}

/* ============ HERO ============ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-image: url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 20, 0.833), rgba(10, 7, 20, 0.855));
  z-index: 0;
  backdrop-filter: blur(4px);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 237, 251, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 237, 251, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 30% 30%, black, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 48px;
  max-width: 80%;
  width: 100%;
  margin: 0 auto;
  padding: 148px 40px 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.event-logo {
  width: clamp(180px, 34vw, 30rem);
  height: auto;
  margin-bottom: 22px;
}

.lede {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.cta-row {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--void);
  background: linear-gradient(135deg, var(--royal), var(--royal-deep));
  box-shadow: 0 10px 30px -10px rgba(108, 59, 170, 0.55);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(241, 237, 251, 0.18);
}

.btn-ghost:hover {
  border-color: rgba(108, 59, 170, 0.5);
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.video-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(108, 59, 170, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.video-dot::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--royal);
  margin-left: 2px;
}

.stat-strip {
  margin-top: 46px;
  display: flex;
  align-items: stretch;
  width: fit-content;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(108, 59, 170, 0.22);
  background: linear-gradient(180deg, rgba(86, 5, 145, 0.35), rgba(10, 7, 20, 0.2));
}

.stat {
  padding: 16px 26px;
  border-right: 1px solid rgba(241, 237, 251, 0.08);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}

.stat .num span {
  color: var(--royal-text);
}

.stat .label {
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--muted-dim);
}

.users-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--void);
  object-fit: cover;
  margin-left: -12px;
}

.avatars img:first-child {
  margin-left: 0;
}

.users-row .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.users-row .label {
  font-size: 0.8rem;
  color: var(--muted-dim);
}

/* ============ CARD STACK — GLASS POLAROIDS ============ */

.card-stack {
  position: relative;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45));
}

.polaroid {
  position: absolute;
  background: linear-gradient(160deg, rgba(241, 237, 251, 0.14), rgba(86, 5, 145, 0.28) 55%, rgba(10, 7, 20, 0.4));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(241, 237, 251, 0.16);
  border-radius: 10px;
  padding: 12px 12px 40px;
  box-shadow:
    0 24px 48px -18px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(241, 237, 251, 0.35),
    inset 0 0 0 1px rgba(10, 7, 20, 0.15);
  transition: transform 0.4s var(--ease);
}

.polaroid::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(241, 237, 251, 0.16) 0%, transparent 30%, transparent 70%, rgba(108, 59, 170, 0.08) 100%);
  pointer-events: none;
}

.polaroid .art {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(10, 7, 20, 0.25);
}

.polaroid .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid .caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.polaroid .caption .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.polaroid .caption .price {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--royal);
}

/* deliberate diagonal cascade — back to front, small to large */
.card-stack .polaroid:nth-child(1) {
  width: 54%;
  top: 2%;
  left: 6%;
  transform: rotate(-8deg);
  z-index: 1;
  animation: float-a 7s var(--ease) infinite;
}

.card-stack .polaroid:nth-child(2) {
  width: 50%;
  top: 8%;
  right: 4%;
  transform: rotate(6deg);
  z-index: 2;
  animation: float-b 8s var(--ease) infinite;
}

.card-stack .polaroid:nth-child(3) {
  width: 58%;
  bottom: 4%;
  left: 22%;
  transform: rotate(-2deg);
  z-index: 3;
  animation: float-c 9s var(--ease) infinite;
}

@keyframes float-a {

  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }

  50% {
    transform: rotate(-8deg) translateY(-8px);
  }
}

@keyframes float-b {

  0%,
  100% {
    transform: rotate(6deg) translateY(0);
  }

  50% {
    transform: rotate(6deg) translateY(-6px);
  }
}

@keyframes float-c {

  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }

  50% {
    transform: rotate(-2deg) translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .polaroid {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .card-stack {
    max-width: 320px;
  }
}

/* partner strip — continuous right-to-left marquee */
.partners {
  position: relative;
  border-top: 1px solid rgba(241, 237, 251, 0.08);
  background: linear-gradient(90deg, rgba(86, 5, 145, 0.5), rgba(108, 59, 170, 0.08));
  padding: 26px 0;
  overflow: hidden;
  width: 100%;
  z-index: 10;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee-rtl 26s linear infinite;
}

.partners span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(241, 237, 251, 0.85);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@keyframes marquee-rtl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 120px 24px 40px;
  }
}

@media (max-width: 480px) {
  .stat {
    padding: 12px 16px;
  }

  .stat .num {
    font-size: 1.1rem;
  }

  .cta-row {
    gap: 14px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

/* ============ NEXT EVENT FEATURE ============ */

.next-event-section {
  position: relative;
  background: var(--void);
  padding: 90px 40px 0;
}

.next-event-inner {
  max-width: 80%;
  margin: 0 auto;
}

.next-event-inner>.section-tag {
  margin-bottom: 18px;
}

.next-event-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
  border: 1px solid rgba(241, 237, 251, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: var(--void-2);
}

.next-event-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.next-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(35%) contrast(1.05);
}

.next-event-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, var(--void-2) 100%);
}

.next-event-info {
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.next-event-date {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(241, 237, 251, 0.1);
}

.next-event-date .day {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
}

.next-event-date .month-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted-dim);
  text-transform: uppercase;
}

.next-event-country {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal-text);
}

.next-event-name {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.next-event-place {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.next-event-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.next-event-cta .btn-primary {
  padding: 13px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(241, 237, 251, 0.22);
  box-shadow: none;
  border-radius: 10px;
}

.next-event-cta .btn-primary:hover {
  border-color: var(--royal);
  color: var(--royal);
}

.next-event-cta .btn-ghost {
  padding: 0;
  border: none;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(241, 237, 251, 0.25);
}

.next-event-cta .btn-ghost:hover {
  color: var(--ink);
  text-decoration-color: var(--royal);
  transform: none;
}

@media (max-width: 900px) {
  .next-event-inner {
    max-width: 100%;
  }

  .next-event-section {
    padding: 70px 20px 0;
  }

  .next-event-card {
    grid-template-columns: 1fr;
  }

  .next-event-media {
    min-height: 220px;
  }

  .next-event-info {
    padding: 36px 28px;
  }
}

/* ============ UPCOMING EVENTS CAROUSEL ============ */

.events-section {
  position: relative;
  background: var(--void);
  padding: 100px 40px 90px;
  overflow: hidden;
}

.events-inner {
  max-width: 80%;
  margin: 0 auto;
  overflow: hidden;
}

.events-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 24px;
}

.section-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal-text);
  margin-bottom: 10px;
}

.events-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(241, 237, 251, 0.09), rgba(86, 5, 145, 0.24) 55%, rgba(10, 7, 20, 0.4));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(241, 237, 251, 0.14);
  box-shadow:
    0 24px 50px -20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(241, 237, 251, 0.2);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* gradient-stroke border, whole card */
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(108, 59, 170, 0.5), transparent 45%, rgba(108, 59, 170, 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 59, 170, 0.4);
  box-shadow:
    0 30px 60px -18px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(241, 237, 251, 0.25);
}

.event-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.event-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 7, 20, 0.5) 100%);
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transition: transform 0.7s var(--ease);
}

.event-card:hover .event-media img {
  transform: scale(1.08);
}

.event-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 20px 26px;
}

.event-date-badge {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
}

.event-date-badge .day {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.event-date-badge .month {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--royal);
}

.event-date-badge .divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(241, 237, 251, 0.35);
}

.event-country {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal-text);
}

.event-place {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 22ch;
}

.event-visit-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(108, 59, 170, 0.35);
  background: rgba(108, 59, 170, 0.08);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.25s var(--ease), color 0.3s var(--ease);
}

.event-visit-btn svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease);
}

.event-visit-btn:hover {
  background: linear-gradient(135deg, var(--royal), var(--royal-deep));
  border-color: transparent;
  color: var(--void);
  transform: translateY(-2px);
}

.event-visit-btn:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 700px) {
  .events-inner {
    max-width: 100%;
  }

  .events-section {
    padding: 70px 20px 60px;
  }

  .events-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ OWL CAROUSEL — THEME OVERRIDES ============ */


.events-section .owl-carousel .owl-stage-outer {
  overflow: visible;
}

.events-section .owl-carousel .event-card {
  height: 100%;
}

.events-section .owl-nav {
  position: absolute;
  top: -84px;
  right: 0;
  display: flex;
  gap: 12px;
}

.events-section .owl-nav svg {
  width: 18px;
  height: 18px;
  display: block;
}

.events-section .owl-nav button.owl-prev,
.events-section .owl-nav button.owl-next {
  width: 46px;
  height: 46px;
  border-radius: 50% !important;
  border: 1px solid rgba(241, 237, 251, 0.16) !important;
  background: transparent !important;
  color: var(--ink) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.events-section .owl-nav button.owl-prev:hover,
.events-section .owl-nav button.owl-next:hover {
  border-color: var(--royal) !important;
  background: rgba(108, 59, 170, 0.1) !important;
  transform: translateY(-2px);
}

.events-section .owl-nav button.disabled {
  opacity: 0.35;
}

.events-section .owl-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.events-section .owl-dots .owl-dot span {
  width: 7px;
  height: 7px;
  margin: 0;
  border-radius: 50%;
  background: rgba(241, 237, 251, 0.2) !important;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
  display: block;
}

.events-section .owl-dots .owl-dot.active span {
  background: var(--royal) !important;
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  .events-section .owl-nav {
    position: static;
    margin-bottom: 20px;
    justify-content: flex-end;
  }
}

/* overview section */
.overview {
  padding: 70px 20px;
  text-align: center;
}

.overview h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.overview p {
  margin-top: 18px;
  max-width: 85ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ============ PAST SPEAKERS ============ */

.speakers-section {
  position: relative;
  background: black;
  padding: 100px 40px 110px;
}

.speakers-inner {
  max-width: 80%;
  margin: 0 auto;
}

.speakers-heading {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.speakers-heading .section-tag {
  justify-content: center;
  display: flex;
}

.speakers-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.speakers-heading h3 {
  font-family: var(--font-display);
  font-weight: 300;
  margin-top: 6px;
  font-size: clamp(1rem, 1vw, 1rem);
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.speakers-heading h3 em {
  display: block;
  margin-top: 4px;
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--royal);
  font-size: 0.92em;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.speaker-card {
  position: relative;
  aspect-ratio: 3 / 3.8;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(241, 237, 251, 0), rgba(86, 5, 145, 0.378) 55%, var(--royal) 100%);
  cursor: default;
}

.speaker-card.is-hidden-extra {
  display: none;
}

.speaker-media {
  position: absolute;
  inset: 0;
}

.speaker-media img {
  width: 100%;
  position: absolute;
  bottom: 0;
  display: block;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.speaker-media::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -1rem;
  background: linear-gradient(180deg, transparent 62%, rgba(10, 7, 20, 0.94) 100%);
}

.speaker-face {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.speaker-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.speaker-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal);
}

.speaker-bio {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(160deg, var(--void), rgba(44, 26, 99, 0.85));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.speaker-bio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 237, 251, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 237, 251, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(75% 60% at 25% 15%, black, transparent 75%);
  pointer-events: none;
}

.speaker-bio .speaker-name {
  position: relative;
  z-index: 1;
}

.speaker-bio .speaker-role {
  position: relative;
  z-index: 1;
}

.speaker-bio p {
  position: relative;
  z-index: 1;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.speaker-card:hover .speaker-media img {
  opacity: 0;
  transform: scale(1.06);
}

.speaker-card:hover .speaker-face {
  opacity: 0;
  transform: translateY(6px);
}

.speaker-card:hover .speaker-bio {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .speaker-card.is-active .speaker-media img {
    opacity: 0;
    transform: scale(1.06);
  }

  .speaker-card.is-active .speaker-face {
    opacity: 0;
    transform: translateY(6px);
  }

  .speaker-card.is-active .speaker-bio {
    opacity: 1;
    transform: translateY(0);
  }
}

.speakers-more {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.speakers-more.is-hidden {
  display: none;
}

@media (max-width: 900px) {
  .speakers-section {
    padding: 80px 20px 90px;
  }

  .speakers-inner {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .speaker-card {
    border-radius: 10px;
  }

  .speaker-face,
  .speaker-bio {
    padding: 14px;
  }
}

/* ============ PAST SPONSORS ============ */

.sponsors-section {
  position: relative;
  background: var(--void);
  padding: 100px 40px 110px;
}

.sponsors-inner {
  max-width: 80%;
  margin: 0 auto;
}

.sponsors-heading {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.sponsors-heading .section-tag {
  justify-content: center;
  display: flex;
}

.sponsors-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.sponsors-heading h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1rem, 1vw, 1rem);
  line-height: 1.28;
  margin-top: 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.sponsors-heading h3 em {
  display: block;
  margin-top: 4px;
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--royal);
  font-size: 0.92em;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 102px;
  border-radius: 12px;
  border: 1px solid rgba(241, 237, 251, 0.1);
  background: white;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

.sponsor-card:hover {
  border-color: rgba(108, 59, 170, 0.4);
  transform: translateY(-4px);
  background: white;
}

.sponsor-mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--void);
  background: linear-gradient(135deg, var(--royal), var(--royal-deep));
}

.sponsor-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .sponsors-section {
    padding: 80px 20px 90px;
  }

  .sponsors-inner {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sponsor-card {
    padding: 14px;
  }
}

/* ============ ENQUIRY PAGE ============ */

.enquiry-page {
  min-height: 100vh;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(86, 5, 145, 0.35), transparent 60%),
    radial-gradient(50% 40% at 100% 10%, rgba(108, 59, 170, 0.08), transparent 60%),
    var(--void);
}

.enquiry-wrap {
  display: flex;
  justify-content: center;
  padding: 150px 24px 90px;
}

.enquiry-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: linear-gradient(160deg, rgba(241, 237, 251, 0.06), rgba(86, 5, 145, 0.14));
  border: 1px solid rgba(241, 237, 251, 0.1);
  border-radius: 18px;
  padding: 48px 48px 40px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

.enquiry-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(241, 237, 251, 0.14);
  color: var(--muted);
  text-decoration: none;
  font-size: 1.3rem;
  line-height: 1;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.enquiry-close:hover {
  color: var(--void);
  background: var(--royal);
  border-color: var(--royal);
}

.enquiry-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.enquiry-sub {
  margin-top: 10px;
  max-width: 48ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.enquiry-form {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.field label span {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(241, 237, 251, 0.14);
  background: rgba(10, 7, 20, 0.4);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-dim);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236C3BAA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field select option {
  background: var(--void-2);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(108, 59, 170, 0.16);
}

.enquiry-submit {
  margin-top: 6px;
  width: 100%;
}

.enquiry-submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.enquiry-status {
  min-height: 1.2em;
  font-size: 0.88rem;
  color: var(--royal);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.enquiry-status.is-visible {
  opacity: 1;
}

.field input.is-invalid {
    border-color: #e5484d;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.16);
}
.enquiry-status.is-error { color: #ff6b70; }

@media (max-width: 640px) {
  .enquiry-wrap {
    padding: 130px 16px 60px;
  }

  .enquiry-card {
    padding: 34px 24px 30px;
    border-radius: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* media_partners */
.media {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #060606;
  justify-content: center;
  padding-bottom: 6vw;
}

.media_h {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  text-transform: titlecase;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.media_coverage {
  width: 60%;
  filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.236));
}

@media (max-width: 900px) {

  /* media */
  .media {
    width: 100%;
    height: auto;
    padding: 8vw 0vw;
  }

  .media_coverage {
    width: 90%;
  }
}

/* ---------------------------------------------
   Footer — simple, no boxes
--------------------------------------------- */
.site-footer {
  width: 100%;
  padding: 6rem 0 2.5rem;
  background: var(--void);
  border-top: 1px solid rgba(241, 237, 251, 0.08);
}

.footer-inner {
  width: 80%;
  margin: 0 auto;
}

/* --- top row: org + social --- */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-org {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-org-logo {
  height: 1.7rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-org-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.footer-social a {
  display: flex;
  color: var(--muted-dim);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer-social svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.footer-social a:hover {
  color: var(--royal);
  transform: translateY(-2px);
}

/* --- divider --- */
.footer-rule {
  height: 1px;
  margin: 3rem 0;
  background: rgba(241, 237, 251, 0.10);
}

/* --- contacts --- */
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-decoration: none;
}

.footer-contact-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  transition: color 0.3s var(--ease);
}

.footer-contact-mail {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  background-image: linear-gradient(var(--royal), var(--royal));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: color 0.3s var(--ease), background-size 0.35s var(--ease);
  padding-bottom: 0.15rem;
}

.footer-contact:hover .footer-contact-label {
  color: var(--royal-deep);
}

.footer-contact:hover .footer-contact-mail {
  color: var(--royal);
  background-size: 100% 1px;
}

/* --- legal --- */
.footer-legal {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted-dim);
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.footer-legal a:hover {
  color: var(--royal);
}

@media (max-width: 900px) {
  .footer-contacts {
    flex-direction: column;
    gap: 1.8rem;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 4.5rem 0 2rem;
  }

  .footer-inner {
    width: 88%;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-rule {
    margin: 2.2rem 0;
  }

  .footer-contact-mail {
    font-size: 1rem;
  }
}