:root {
  --rib-h: clamp(3.6rem, 6.2vw, 5.4rem);
  --pt-black: #0b0b0f;
  --pt-white: #f0f0f0;
  --pt-purple: #8b66e8;
  --pt-purple-2: #6f52d6;
  --pt-navy: #1c2166;
  --pt-sky: #7db6e6;
  --pt-coral: #d9786a;
  --font-display: "Helvetica Neue", Helvetica, Arial, "Arimo", sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  color: var(--pt-black);
  background: #dfe9f2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../img/bg.webp") center / 100% 100% no-repeat;
}
img { max-width: 100%; height: auto; }
main { overflow-x: clip; }
a { color: inherit; }
::selection { background: var(--pt-purple); color: #fff; }

.skip { position: fixed; top: 8px; left: 8px; z-index: 2000; background: #000; color: #fff; padding: .5rem 1rem; border-radius: 99px; }

.grain {
  position: fixed;
  inset: -50%;
  z-index: 1500;
  pointer-events: none;
  opacity: .14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.btn-pill {
  --bg: var(--pt-black);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .7em 1.35em;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease-out), transform .25s var(--ease-out);
  will-change: transform;
}
.btn-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pt-purple);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.btn-pill:hover::before, .btn-pill:focus-visible::before { transform: translateY(0); }
.btn-pill:hover, .btn-pill:focus-visible { color: #fff; }
.btn-pill--xl { font-size: clamp(1.1rem, 3.4vw, 2.4rem); padding: .6em 1.1em .6em 1.3em; }
.btn-pill--lg { font-size: clamp(1.05rem, 1.7vw, 1.75rem); padding: .75em 1.2em .75em 1.4em; }
.btn-pill--lg svg { width: 1em; height: 1em; transition: transform .4s var(--ease-out); }
.btn-pill--lg:hover svg { transform: translate(4px, -4px) rotate(45deg); }
.hero__cta { margin-top: clamp(1.4rem, 3vh, 2.2rem); }
.btn-pill--xl svg { width: 1em; height: 1em; transition: transform .4s var(--ease-out); }
.btn-pill--xl:hover svg { transform: translate(4px, -4px) rotate(45deg); }
@media (max-width: 400px) { .btn-pill--xl { font-size: 1.05rem; } }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.site-header > nav { height: 100%; }
.site-header.is-scrolled {
  background: rgba(240, 240, 240, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__brand { opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s linear .45s; }
.site-header.is-scrolled .site-header__brand { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s; }
.site-header__brand img { width: 118px; transition: transform .4s var(--ease-out); }
.site-header > nav { justify-content: space-between; }
.site-header__brand:hover img { transform: rotate(-4deg) scale(1.05); }
.site-header__menu { gap: 2.2rem; font-weight: 700; }
.site-header__menu[hidden] { display: none !important; }
.site-header__menu a { position: relative; text-decoration: none; }
.site-header__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.site-header__menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-header .btn-pill { font-size: .95rem; }
@media (max-width: 575.98px) {
  :root { --header-h: 64px; }
  .site-header__brand img { width: 92px; }
  .site-header .btn-pill { font-size: .85rem; padding: .6em 1.1em; }
}

.layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0);
  will-change: transform;
}
.el { position: absolute; display: block; user-select: none; -webkit-user-drag: none; }

.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 9s ease-in-out infinite; }
.float-c { animation: floatC 11s ease-in-out infinite; }
.float-slow { animation: breathe 12s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(0, -26px, 0) rotate(.6deg); } }
@keyframes floatB { 0%,100% { transform: translate3d(0, -10px, 0); } 50% { transform: translate3d(0, 22px, 0); } }
@keyframes floatC { 0%,100% { transform: translate3d(0, 0, 0) rotate(-2deg); } 50% { transform: translate3d(-14px, -34px, 0) rotate(3deg); } }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  perspective: 1200px;

  clip-path: polygon(0 0, 100% 0,
    100% calc(100% - var(--rib-h) * .25 - 2vw),
    0 calc(100% - var(--rib-h) * .25 + 2vw));
}
.scene { position: absolute; inset: 0; z-index: 0; }

.el--circle  { left: 3.5vw; top: 17vh; width: min(35vw, 660px); }
.el--floor   { right: -4vw; bottom: -2vh; width: 82vw; transform-origin: right bottom; animation: floorSway 14s ease-in-out infinite; }
.el--corner  { right: -3.5vw; top: -3.5vw; width: min(18vw, 360px); }
.el--far     { right: 40vw; top: 58vh; width: 4.2vw; filter: blur(2.5px); opacity: .7; }
.el--prism-s { right: 23.5vw; top: 9vh; width: 11vw; }
.el--prism-l { right: 8vw; top: 19vh; width: 18vw; filter: drop-shadow(-30px 40px 40px rgba(28, 33, 102, .25)); }
.el--near    { right: -2.5vw; bottom: -14vh; width: 11vw; filter: blur(7px); opacity: .9; }
@keyframes floorSway { 0%,100% { transform: skewX(0) scaleY(1); } 50% { transform: skewX(-4deg) scaleY(1.08); } }

.scene .el { opacity: 0; transition: opacity 1.4s ease; }
.is-loaded .scene .el { opacity: 1; }
.is-loaded .scene .el--far { opacity: .7; }
.scene .layer { transition: translate 1.6s var(--ease-out); translate: 0 60px; }
.is-loaded .scene .layer { translate: 0 0; }

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4.5rem;
}
.tilt {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
  margin-left: 1.5vw;
}
.hero__title {
  font-weight: 700;
  font-size: clamp(3.3rem, 9.4vw, 11rem);
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: lowercase;
  margin: 0 0 .25em;
}
.hero__date {
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 3.6rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 0;
  transform: translateZ(40px);
}

.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .ch {
  display: inline-block;
  transform: translate3d(0, 110%, 0) rotate(8deg);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 35ms + var(--base, .15s));
}
.split .sp { display: inline-block; width: .26em; }
.split.is-in .ch { transform: translate3d(0, 0, 0) rotate(0); }
.split .ch:hover { color: var(--pt-purple); transition: color .2s, transform .3s; transform: translateY(-.06em); }

.reveal-up { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1s ease, transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-up.is-in { opacity: 1; transform: none; }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 2rem;
  position: relative;
}
.hero__maca { display: block; width: clamp(220px, 28vw, 520px); margin-left: 1.5vw; }
.hero__maca img { width: 100%; }
.hero__sticker { position: relative; inset: auto; width: clamp(150px, 17vw, 300px); pointer-events: auto;

  margin-bottom: calc(2.4vw + 1.6rem); }
.sticker { width: 100%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .18)); }
.wobble { animation: wobble 6s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes wobble {
  0%,100% { transform: rotate(-3deg) scale(1); }
  25% { transform: rotate(2deg) scale(1.03); }
  50% { transform: rotate(-1deg) scale(.99); }
  75% { transform: rotate(4deg) scale(1.02); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: calc(var(--rib-h) * .75 + 1.2rem); translate: -50% 0;
  width: 28px; height: 46px; border: 2px solid var(--pt-black); border-radius: 99px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px;
  border-radius: 4px; background: var(--pt-black); animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 991.98px) {
  .el--circle  { left: -12vw; top: 14vh; width: 78vw; }
  .el--prism-s { right: 30vw; top: auto; bottom: 26vh; width: 20vw; }
  .el--prism-l { right: 4vw; top: auto; bottom: 14vh; width: 30vw; }
  .el--corner  { width: 38vw; right: -9vw; top: -9vw; }
  .el--far     { right: 62vw; top: auto; bottom: 16vh; width: 8vw; }
  .el--near    { right: -6vw; bottom: -8vh; width: 20vw; }
  .el--floor   { width: 150vw; right: -30vw; }
  .hero__content { justify-content: flex-start; padding-top: calc(var(--header-h) + 9vh); }
  .scroll-cue { display: none; }
}
@media (max-width: 575.98px) {
  .hero__title { font-size: clamp(3rem, 17.5vw, 5.5rem); }
  .hero__date { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .el--circle  { left: -22vw; top: 11vh; width: 105vw; }
  .el--prism-s { right: 44vw; bottom: 22vh; width: 25vw; }
  .el--prism-l { right: 6vw; bottom: 13vh; width: 40vw; }
  .el--corner  { width: 50vw; right: -12vw; top: -12vw; }
  .el--near    { width: 22vw; bottom: 24vh; right: auto; left: -8vw; }
  .el--far     { right: 74vw; bottom: 38vh; width: 11vw; }
  .hero__bottom { flex-direction: row; align-items: flex-end; }
  .hero__maca { width: 52vw; margin-left: 0; }
  .hero__sticker { width: 36vw; }
  .tilt { margin-left: 0; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero__content { padding-top: calc(var(--header-h) + 1rem); }
  .hero__title { font-size: 12vh; }
  .hero__date { font-size: 7vh; }
}

.marquee {
  position: relative;
  z-index: 3;
  background: var(--pt-black);
  color: #fff;
  transform: rotate(-2.2deg) scale(1.04);
  height: var(--rib-h);
  display: flex;
  align-items: center;
  margin: calc(var(--rib-h) * -.75) 0 0;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(28, 33, 102, .25);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.8rem);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee__track b { background: #fff; color: var(--pt-black); padding: 0 .25em; border-radius: 4px; }
.marquee__track i { width: .55em; height: .55em; background: var(--pt-purple); transform: rotate(45deg) skew(10deg, 10deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.about {
  position: relative;
  padding: clamp(6rem, 14vw, 12rem) 0 clamp(5rem, 10vw, 9rem);

}
.about__deco { position: absolute; inset: 0; }
.el--about-a { right: 4vw; top: 8%; width: min(16vw, 280px); }
.el--about-circle { right: -10vw; top: 42%; width: min(46vw, 720px); opacity: .9; }
@media (max-width: 991.98px) {
  .el--about-a { width: 24vw; right: -6vw; top: 2%; opacity: .45; }
  .el--about-circle { width: 90vw; right: -40vw; top: 55%; }
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  background: var(--pt-black);
  color: #fff;
  padding: .35em .75em;
  border-radius: 4px;
  margin-bottom: 1.6rem;
}
.about__text {
  font-weight: 700;
  font-size: clamp(1.45rem, 3.1vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 clamp(3rem, 7vw, 6rem);
}
.words .w { opacity: .14; transition: opacity .35s linear, color .35s; }
.words .w.on { opacity: 1; }

.facts { position: relative; z-index: 1; }
.fact {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .55rem;
  min-height: 190px;
  padding: 1.6rem 1.4rem;
  border-radius: 22px;
  background: rgba(245, 245, 245, .6);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 30px 60px -30px rgba(28, 33, 102, .35);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.fact:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 40px 70px -30px rgba(28, 33, 102, .45); }
.fact__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--pt-purple-2); }
.fact__value { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1; letter-spacing: -.03em; }
.fact__sub { font-size: .95rem; opacity: .75; }
.fact__logo { display: block; width: 100%; max-width: 280px; margin: .1rem auto 0; }
.fact--venue .fact__sub { opacity: 1; font-weight: 700; font-size: .9rem; }
@media (max-width: 767.98px) { .fact { min-height: 150px; } }
.countdown { display: flex; justify-content: center; gap: .55em; font-variant-numeric: tabular-nums; }
.countdown em { font-style: normal; }
.countdown span { display: inline-flex; align-items: baseline; }
.countdown span::after { content: ""; }

.sponsors {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(6rem, 12vw, 10rem) 0;
}
.sponsors__deco { position: absolute; inset: 0; }
.el--sp-a { left: 6vw; top: 6%; width: min(9vw, 160px); }
.el--sp-b { right: 6vw; bottom: -12%; width: min(22vw, 400px); }
.el--sp-floor { left: -10vw; bottom: -90px; width: 90vw; transform: scaleX(-1); }
@media (max-width: 991.98px) {
  .el--sp-a { width: 18vw; left: auto; right: 8vw; top: 4%; }
  .el--sp-b { width: 42vw; right: -8vw; bottom: -6%; }
  .el--sp-floor { width: 180vw; left: -40vw; bottom: -60px; }
}
.sponsors__title {
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 11.5rem);
  line-height: .9;
  letter-spacing: -.045em;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  position: relative;
}
.sponsors__title .line:nth-child(2) { padding-left: clamp(0rem, 8vw, 10rem); }
@media (max-width: 575.98px) {
  .sponsors__title { font-size: clamp(2.4rem, 11.4vw, 4rem); }
  .sponsors__title .line:nth-child(2) { padding-left: 0; }
}
.sponsors__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.sponsors__label { font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.4rem); }

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--pt-purple);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-radius: 28px 28px 0 0;
}
.site-footer__logo { width: clamp(180px, 22vw, 300px); filter: drop-shadow(0 12px 20px rgba(28, 33, 102, .35)); }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 50%;
  text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.social a:hover { background: var(--pt-black); border-color: var(--pt-black); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.legal-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); transition: color .3s, text-decoration-color .3s; }
.legal-link:hover { color: #fff; text-decoration-color: #fff; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .35);
  font-size: .85rem; color: rgba(255, 255, 255, .9);
}
.to-top { text-decoration: none; font-weight: 700; color: #fff; }
.to-top:hover { color: var(--pt-black); }
@media (max-width: 575.98px) {
  .social { flex-wrap: wrap; }
}

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor .cursor {
    display: block;
    position: fixed;
    left: 0; top: 0;
    z-index: 3000;
    pointer-events: none;
    transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0);
    will-change: transform;
  }
  .cursor__diamond {
    display: block;
    width: 18px; height: 18px;
    margin: -9px 0 0 -9px;
    background: var(--pt-purple);
    box-shadow: 0 4px 14px rgba(28, 33, 102, .35);
    transform: rotate(calc(45deg + var(--cr, 0deg))) skew(10deg, 10deg) scale(var(--cs, 1));
    transition: background .3s, opacity .3s, box-shadow .3s;
  }

  .cursor.is-hover .cursor__diamond { background: rgba(255, 255, 255, .35); box-shadow: 0 0 0 1.5px var(--pt-black); }
  .cursor.is-out .cursor__diamond { opacity: 0; }
}
