/* PopUp F5 — static rebuild of the original Wix site */
:root {
  --pink: #fc1a5f;
  --cyan: #1afcef;
  --magenta: #ea05f2;
  --yellow: #fcef1a;
  --lilac: #f8a9fb;
  --blue: #2d6ca5;
  --bold: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Libre Baskerville", Baskerville, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0b0d12;
  color: #fff;
  font-family: var(--bold);
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: none; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

/* ---------- fixed video background ---------- */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #0b0d12 url(../assets/img/hero-poster.jpg) center / cover no-repeat;
}
.bg-video video { width: 100%; height: 100%; object-fit: cover; }
.bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../assets/img/bg-pattern.png) 0 0 / 6px 6px repeat;
}

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  top: 36px;
  right: 30px;
  z-index: 50;
  display: flex;
  gap: 30px;
  font-weight: 300;
  font-size: 17px;
}
.nav a { color: #fff; text-decoration: none; transition: color 0.3s; }
.nav a:hover, .nav a.active { color: rgba(0, 0, 0, 0.75); }
.nav-toggle { display: none; }

/* ---------- shared ---------- */
section { position: relative; }
.wrap { position: relative; width: 980px; margin: 0 auto; }
.rule { height: 6px; background: #fff; width: 100%; }
.deco { position: absolute; pointer-events: none; user-select: none; }
.display { font-size: 90px; line-height: 0.9; letter-spacing: -0.01em; }
.clip { overflow: hidden; }

/* ---------- entrance animations (same effects and timings the Wix site used) ---------- */
.js .anim:not(.in) { opacity: 0; }
.anim.in.a-fade { animation: fadeIn 1.2s cubic-bezier(0.445, 0.05, 0.55, 0.95) both; }
.anim.in.a-punch { animation: fadeIn 0.36s cubic-bezier(0.55, 0.055, 0.675, 0.19) both, punchIn 1.2s linear both; }
.anim.in.a-drop { animation: fadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both, dropIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }
.anim.in.a-float { animation: floatIn 1.2s cubic-bezier(0.445, 0.05, 0.55, 0.95) both; }
.anim.in.a-wipe { animation: wipeIn 1.2s cubic-bezier(0.645, 0.045, 0.355, 1) both; }
.anim.in.a-spin { animation: spinIn 1.2s cubic-bezier(0.445, 0.05, 0.55, 0.95) both; }
.a-corner { --punch-x: -55%; --punch-y: -55%; }
.hero-logo.anim.in { animation-delay: 0.4s; }
.speakers .title.anim.in { animation-duration: 1s; }
.speaker.right .bar { --wipe-from: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
.js .schedule .col:not(.in)::before { opacity: 0; }
.schedule .col.in::before { animation: wipeIn 1.2s cubic-bezier(0.645, 0.045, 0.355, 1) both; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: var(--o, 1); } }
@keyframes dropIn { from { scale: 2; } to { scale: 1; } }
@keyframes floatIn { from { opacity: 0; translate: 60px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes wipeIn {
  from { opacity: 1; clip-path: var(--wipe-from, polygon(0 0, 0 0, 0 100%, 0 100%)); }
  to { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes spinIn { from { opacity: 1; scale: 0; rotate: -720deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes punchIn {
  0% { scale: 0; translate: var(--punch-x, 0) var(--punch-y, 0); animation-timing-function: cubic-bezier(0.95, 0.05, 0.795, 0.035); }
  30% { scale: 0.3; translate: 0 0; animation-timing-function: linear; }
  45% { scale: 1.4; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
  62.65% { scale: 0.8; animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); }
  77.27% { scale: 1.1; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
  86.23% { scale: 0.94; animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); }
  91.73% { scale: 1.03; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
  95.11% { scale: 0.98; animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); }
  97.18% { scale: 1.01; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
  98.45% { scale: 0.99; animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); }
  100% { scale: 1; translate: 0 0; }
}

/* ---------- hero ---------- */
.hero { height: 1435px; overflow-x: clip; }
.hero-stage { position: relative; width: 1299px; height: 692px; margin: 0 auto; top: 99px; }
.hero-logo { width: 1299px; height: 692px; object-fit: cover; }
.hero-tag {
  position: absolute; top: 195px; left: 0; right: 0; text-align: center;
  font: 400 17px var(--serif); letter-spacing: 0.02em;
}
.hero-meta {
  position: absolute; top: 494px; left: 0; right: 0; text-align: center;
  font-weight: 300; font-size: 14px; line-height: 33px;
}
.btn-details {
  position: absolute; top: 609px; left: 50%; margin-left: -92px;
  width: 185px; height: 56px; border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink); color: #fff; text-decoration: none;
  font: 400 14px var(--serif);
  transition: background 0.3s, color 0.3s;
}
.btn-details:hover { background: #fff; color: var(--pink); }
.hero-share {
  position: absolute; top: 692px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 36px;
}
.hero-share a { display: block; width: 16px; height: 16px; opacity: 0.95; }
.hero-share svg { width: 16px; height: 16px; fill: #fff; }

/* ---------- about ---------- */
.about { background: var(--pink); height: 1183px; overflow: hidden; }
.about .rule { margin-top: 49px; position: absolute; top: 0; }
.about .copy { position: absolute; top: 74px; left: 19px; width: 844px; }
.about h2 { font-size: 50px; line-height: 1; margin: 46px 0 34px; }
.about h2:first-child { margin-top: 0; }
.about p { font-size: 21px; line-height: 1.22; margin-bottom: 25px; }
.about .building { left: -351px; top: 309px; width: 1502px; z-index: 0; }
.about .copy { z-index: 1; }

/* ---------- speakers ---------- */
.speakers { background: var(--cyan); padding-bottom: 520px; overflow: hidden; }
.speakers .rule { margin-top: 44px; }
.speakers .title { font-size: 88px; line-height: 0.9; margin: 72px 0 0 20px; }
.speakers .title span { display: block; }
.speaker { position: relative; z-index: 1; display: flex; align-items: flex-start; margin-left: 41px; margin-top: 110px; }
.speakers .title + .speaker { margin-top: 150px; }
.speaker .photo {
  flex: 0 0 385px; width: 385px; height: 385px; display: block;
  box-shadow: 0 16px 12px -8px rgba(0, 0, 0, 0.75);
}
.speaker .photo img { width: 100%; height: 100%; object-fit: cover; filter: url(#duo-pink); }
.speaker .info { position: relative; width: 305px; margin-left: 26px; padding-top: 14px; color: var(--pink); }
.speaker .name { font-size: 36px; line-height: 1; text-transform: none; }
.speaker .name a { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.speaker .bar {
  position: absolute; top: 58px; left: -72px; width: 407px; height: 7px;
  background: rgba(200, 200, 200, 0.92);
}
.speaker .role { margin-top: 28px; font: 700 15px/1.25 var(--serif); color: #fff; }
.speaker .role span { background: var(--pink); padding: 1px 2px; }
.speaker .social { display: flex; gap: 1px; margin-top: 12px; margin-left: -4px; }
.speaker .social img { width: 28px; height: 28px; }
.speaker .bio { margin-top: 14px; font-size: 15px; line-height: 1.2; text-align: justify; }
.speaker .bio p + p { margin-top: 1.2em; }
.speaker .bio p.tight { margin-top: 0; }
.speaker .bio a { text-decoration: underline; }
.speaker.no-role .social { margin-top: 26px; }

.speaker.right { flex-direction: row-reverse; justify-content: flex-end; margin-left: 0; margin-right: 0; padding-left: 190px; }
.speaker.right .info { width: 335px; margin: 0 28px 0 0; text-align: right; }
.speaker.right .bar { left: auto; right: -76px; }
.speaker.right .social { justify-content: flex-end; margin-right: -4px; }
.speakers .bridge { left: -418px; bottom: -505px; width: 1446px; }

/* ---------- schedule ---------- */
.schedule { background: var(--magenta); height: 1290px; overflow: hidden; }
.schedule .rule { position: absolute; top: 47px; }
.schedule h2 { position: absolute; top: 80px; left: 20px; color: var(--cyan); white-space: nowrap; }
.schedule .card {
  position: absolute; top: 237px; left: 6px; width: 967px; height: 929px;
  background: #fff; border-bottom: 6px solid var(--cyan); color: var(--cyan);
  display: grid; grid-template-columns: 1fr 1fr; padding: 128px 0 0 143px; column-gap: 0;
}
.schedule .col { width: 424px; }
.schedule .col::before { content: ""; display: block; width: 205px; height: 6px; background: var(--cyan); margin-bottom: 62px; }
.schedule .slot { height: 94px; }
.schedule .time { font-size: 36px; line-height: 1; }
.schedule .who { font: 400 14px var(--serif); margin-top: 5px; letter-spacing: 0.02em; }
.schedule .confetti { left: -338px; top: 73px; width: 1668px; z-index: 2; }

/* ---------- venue ---------- */
.venue { background: var(--cyan); height: 965px; overflow: hidden; }
.venue .wrap, .past .wrap { height: 100%; }
.venue .panel { position: absolute; top: 0; bottom: 0; left: -323px; width: 1626px; background: var(--yellow); }
.venue .rule { position: absolute; top: 51px; }
.venue h2 { position: absolute; top: 112px; left: 35px; color: var(--pink); z-index: 2; }
.venue h2 span { display: block; }
.venue address {
  position: absolute; top: 300px; left: 53px; z-index: 2;
  font-style: normal; font-size: 50px; line-height: 1.12; color: var(--cyan); white-space: nowrap; letter-spacing: -0.01em;
}
.venue .taxi { left: -161px; top: 147px; width: 1236px; z-index: 1; }

/* ---------- team ---------- */
.team { background: var(--lilac); height: 1621px; overflow: hidden; }
.team .confetti { left: -301px; top: 0; width: 1710px; }
.team .rule { position: absolute; top: 63px; }
.team h2 { position: absolute; top: 96px; left: 30px; color: #fff; white-space: nowrap; }
.team h2 span { display: block; }
.team .grid {
  position: absolute; top: 278px; left: 0; width: 980px;
  display: grid; grid-template-columns: 322px 330px 328px; row-gap: 0;
}
.member { height: 426px; text-align: center; color: #000; padding-left: 0; }
.member:nth-child(3n+1) { padding-left: 2px; }
.member .face {
  display: block; width: 214px; height: 217px; margin: 0 auto; border-radius: 50%; overflow: hidden;
}
.member .face img { width: 100%; height: 100%; object-fit: cover; filter: url(#duo-purple); }
.member h3 { font-size: 21px; margin-top: 30px; line-height: 1.2; }
.member .social { display: flex; justify-content: center; gap: 1px; margin-top: 18px; min-height: 28px; }
.member .social img { width: 28px; height: 28px; }
.member .role { display: block; margin-top: 14px; font-weight: 300; font-size: 13px; color: #000; text-decoration: none; }
.member a.role { text-decoration: underline; }

/* ---------- past ---------- */
.past { height: 897px; }
.past .panel { position: absolute; top: 0; bottom: 0; left: -352px; width: 1684px; background: var(--blue); }
.past .rule { position: absolute; top: 21px; z-index: 2; }
.past .video { position: absolute; top: 56px; left: 2px; width: 980px; height: 836px; background: #151515; }
.past .video iframe { width: 100%; height: 100%; border: 0; display: block; }
.past h2 { position: absolute; top: 72px; left: 45px; z-index: 3; white-space: nowrap; pointer-events: none; }

/* ---------- footer ---------- */
.footer { background: var(--cyan); }
.footer .wrap { background: var(--pink); min-height: 779px; padding: 62px 0 26px; text-align: center; }
.signup { width: 362px; margin: 0 auto; text-align: left; font-family: "Amaranth", var(--bold); font-weight: 400; }
.signup h2 { font-size: 26px; line-height: 1.45; font-weight: 400; }
.signup .social { display: flex; justify-content: flex-end; gap: 12px; margin: 8px 6px 14px 0; }
.signup .social img, .footer .social img { width: 28px; height: 28px; }
.signup label { display: block; font-size: 17px; font-weight: 700; margin: 18px 0 9px; }
.signup label i { color: #ff7a7a; font-style: normal; margin-right: 4px; }
.signup input[type="email"], .signup input[type="text"] {
  width: 100%; height: 33px; border: 1px solid #ddd; border-radius: 3px; padding: 0 10px;
  font: 400 16px "Amaranth", var(--bold); background: #fff; color: #222;
}
.signup .hp { position: absolute; left: -9999px; }
.signup button {
  display: block; margin: 44px auto 0; padding: 0 18px; height: 48px;
  background: #ff2a00; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 2px;
  font: 700 16px "Amaranth", var(--bold); text-transform: uppercase; cursor: pointer;
  transition: opacity 0.2s;
}
.signup button:hover { opacity: 0.85; }
.signup .msg { margin-top: 18px; text-align: center; font-size: 17px; min-height: 22px; }
.footer .copyright {
  display: inline-block; margin-top: 150px; font-weight: 300; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.footer .social.bottom { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }

/* ---------- event detail page ---------- */
.event-page { background: #fff; color: #000; }
.event-page .nav a { color: #000; }
.event-page .nav a:hover { color: var(--pink); }
.event-hero { padding: 190px 20px 90px; text-align: center; }
.event-hero .when { font: 400 16px var(--serif); }
.event-hero h1 { font-size: 60px; line-height: 1.1; margin: 26px 0 40px; }
.event-hero .closed { font: 400 16px var(--serif); margin-bottom: 26px; }
.event-hero .btn-details { position: static; margin: 0 auto; }
.event-body { width: 100%; max-width: 620px; margin: 0 auto; padding: 0 20px 110px; font-weight: 400; }
.event-body h2 { font-size: 26px; margin: 46px 0 18px; }
.event-body p { font: 400 16px/1.7 var(--serif); }
.event-body .share { display: flex; gap: 22px; }
.event-body .share svg { width: 20px; height: 20px; fill: #000; }

/* ---------- responsive ---------- */
@media (max-width: 1340px) and (min-width: 1021px) {
  .hero-stage { left: 50%; margin-left: -649.5px; transform: scale(0.8); transform-origin: top center; }
  .hero { height: 1200px; }
}

@media (max-width: 1020px) {
  .wrap { width: auto; margin: 0 22px; }
  .display { font-size: 13vw; }
  .nav-toggle {
    display: block; position: fixed; top: 16px; right: 16px; z-index: 60;
    width: 44px; height: 44px; border: 0; border-radius: 22px; background: var(--pink); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative;
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  .nav {
    top: 0; right: 0; left: 0; bottom: 0; flex-direction: column; align-items: center; justify-content: center;
    gap: 26px; font-size: 26px; background: rgba(252, 26, 95, 0.97);
    opacity: 0; pointer-events: none; transition: opacity 0.25s;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .event-page .nav a { color: #fff; }

  .hero { height: auto; min-height: 100vh; padding: 90px 0 120px; }
  .hero-stage { width: 100%; height: auto; top: 0; left: 0; margin: 0; transform: none; text-align: center; }
  .hero-logo { width: 130%; height: auto; margin-left: -15%; }
  .hero-tag { top: 19.6vw; font-size: 2.6vw; }
  .hero-meta, .btn-details, .hero-share { position: static; margin: 0 auto; }
  .hero-meta { font-size: 14px; line-height: 1.7; padding: 0 20px; margin-top: -17vw; }
  .btn-details { margin-top: 26px; }
  .hero-share { margin-top: 30px; }

  .about, .schedule, .venue, .team, .past { height: auto; }
  .about { padding-bottom: 60px; }
  .about .rule, .schedule .rule, .venue .rule, .team .rule, .past .rule { position: static; margin-top: 40px; }
  .about .copy { position: static; width: auto; padding-top: 30px; }
  .about h2 { font-size: 34px; margin: 36px 0 20px; }
  .about p { font-size: 17px; line-height: 1.35; }
  .about .building { --o: 0.22; opacity: 0.22; left: -60%; top: auto; bottom: -40px; width: 220%; }

  .speakers { padding-bottom: 66vw; }
  .speakers .title { font-size: 15vw; margin: 40px 0 0; }
  .speaker, .speaker.right { flex-direction: column; margin: 70px 0 0; padding: 0; }
  .speakers .title + .speaker { margin-top: 60px; }
  .speaker .photo { flex: none; width: 100%; height: auto; aspect-ratio: 1; }
  .speaker .info, .speaker.right .info { width: auto; margin: 0; padding-top: 30px; text-align: left; }
  .speaker .bar, .speaker.right .bar { left: -22px; right: auto; top: 74px; width: 80%; }
  .speaker.right .social { justify-content: flex-start; margin-right: 0; }
  .speaker .bio { font-size: 15px; line-height: 1.35; text-align: left; }
  .speakers .bridge { left: -20%; bottom: -66vw; width: 130%; }

  .schedule { padding-bottom: 60px; }
  .schedule h2, .venue h2, .team h2, .past h2 { position: relative; top: 0; left: 0; white-space: normal; margin-top: 30px; }
  .schedule .card { position: static; width: auto; height: auto; margin-top: 34px; padding: 40px 28px 20px; grid-template-columns: 1fr; }
  .schedule .col { width: auto; }
  .schedule .col::before { margin-bottom: 34px; }
  .schedule .col + .col::before { display: none; }
  .schedule .slot { height: auto; margin-bottom: 26px; }
  .schedule .confetti { left: -40%; width: 180%; top: 0; }

  .venue .wrap { padding: 1px 0 76vw; }
  .venue .panel { left: -22px; right: -22px; width: auto; }
  .venue address { position: relative; top: 0; left: 0; font-size: 6.4vw; white-space: normal; margin-top: 24px; }
  .venue h2 { position: relative; }
  .venue .taxi { left: 0; top: auto; bottom: 0; width: 300%; }

  .team { padding-bottom: 30px; }
  .team h2 { position: relative; }
  .team .confetti { left: -60%; width: 220%; }
  .team .grid { position: relative; top: 0; width: auto; margin-top: 50px; grid-template-columns: 1fr 1fr; }
  .member { height: auto; margin-bottom: 46px; padding: 0 6px !important; }
  .member .face { width: 36vw; height: 36vw; max-width: 214px; max-height: 214px; }
  .member h3 { font-size: 17px; margin-top: 18px; }

  .past .wrap { padding: 1px 0 30px; }
  .past .panel { left: -22px; right: -22px; width: auto; }
  .past h2 { position: relative; margin-bottom: 20px; }
  .past .rule { position: relative; top: 0; }
  .past .video { position: relative; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; }

  .footer .wrap { margin: 0; padding: 50px 22px 26px; min-height: 0; }
  .signup { width: auto; max-width: 362px; }
  .footer .copyright { margin-top: 70px; }

  .event-hero { padding-top: 120px; }
  .event-hero h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .anim, .js .anim:not(.in) { opacity: var(--o, 1); animation: none !important; }
  .js .schedule .col::before { opacity: 1 !important; animation: none !important; }
}
