@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #131313;
  --raised: #1b1b1b;
  --line: #2c2c2c;
  --text: #f5f5f3;
  --muted: #a1a1a1;
  --faint: #6e6e6e;
  --mint: #81e4ca;
  --grad: linear-gradient(90deg, #ff3d7f, #ff8a3d 60%, #ffc53d);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ui: "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 8px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 50;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: #111;
  font: 600 16px/1 var(--ui);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgb(255 255 255 / 0.08);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button:active {
  transform: scale(0.98);
}
.button.outline {
  background: transparent;
  color: var(--text);
}
.button.soft,
.button.ghost {
  background: #262626;
  border-color: #262626;
  color: #d6d6d6;
  box-shadow: none;
}
.button.soft:hover,
.button.ghost:hover {
  background: #2f2f2f;
}
.button.full {
  width: 100%;
}
.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  color: var(--text);
}
.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

/* Header */
.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px;
}
.mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}
.mark svg {
  width: 28px;
  height: 23px;
  fill: none;
  stroke: var(--text);
  stroke-width: 42;
  stroke-miterlimit: 10;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #262626;
  color: #e6e6e6;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.pill:hover {
  background: #303030;
}

/* Hero */
.hero {
  position: relative;
  min-height: max(100svh, 780px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 100% - 2 * var(--gutter));
  text-align: center;
  padding-block: 120px;
}
.wordmark {
  font: 600 32px/1 var(--display);
  color: #bdbdbd;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(64px, 7vw, 100px);
  margin-bottom: 24px;
}
.hero h1 .grad {
  display: block;
  padding-bottom: 0.06em;
}
.hero .sub {
  max-width: 30em;
  margin-inline: auto;
}

/* Floating event cards */
.cards {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.card {
  position: absolute;
  width: var(--w);
  left: var(--x);
  top: var(--y);
  will-change: translate;
}
.card-in {
  position: relative;
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 20px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  box-shadow:
    0 24px 50px rgb(0 0 0 / 0.55),
    inset 0 1px 0 rgb(255 255 255 / 0.06);
  container-type: inline-size;
  animation:
    pop 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.15) var(--delay, 0s) both,
    drift var(--float, 8s) ease-in-out calc(var(--delay, 0s) + 0.9s) infinite
      alternate;
}
.card-in img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  background: #222;
}
.card-in::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 14px;
  pointer-events: none;
}
.t-bottom::after {
  background: linear-gradient(to top, rgb(0 0 0 / 0.66), transparent 58%);
}
.t-top::after {
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.6), transparent 58%);
}
.card-title,
.card-meta {
  position: absolute;
  z-index: 1;
  left: 11%;
  right: 9%;
}
.card-title {
  font: 700 15cqi/0.9 var(--display);
  letter-spacing: -0.01em;
}
.card-meta {
  font: 700 6cqi/1.1 var(--ui);
  opacity: 0.92;
}
.t-bottom .card-title {
  bottom: 19%;
}
.t-bottom .card-meta {
  bottom: 10%;
}
.t-top .card-title {
  top: 19%;
}
.t-top .card-meta {
  top: 10%;
}
.k-white {
  color: #fff;
}
.k-yellow {
  color: #ffe14d;
}
.k-pink {
  color: #ff8cc0;
}
.k-mint {
  color: var(--mint);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(calc(var(--r, 0deg) * 3));
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(var(--r, 0deg));
  }
}
@keyframes drift {
  from {
    transform: translate(0, 0) rotate(var(--r, 0deg));
  }
  to {
    transform: translate(var(--dx, 6px), var(--dy, -14px))
      rotate(calc(var(--r, 0deg) * -1));
  }
}

/* Desktop: a loose ring of events around the headline. */
.c1 {
  --x: 7%;
  --y: 6%;
  --w: 150px;
  --r: -2deg;
  --delay: 0.05s;
  --float: 7s;
}
.c2 {
  --x: 18.5%;
  --y: 12%;
  --w: 165px;
  --r: 2deg;
  --delay: 0.15s;
  --float: 9s;
  --dy: 12px;
}
.c3 {
  --x: 37%;
  --y: -10%;
  --w: 205px;
  --r: -1deg;
  --delay: 0.1s;
  --float: 8s;
}
.c4 {
  --x: 57%;
  --y: -9%;
  --w: 175px;
  --r: 1.5deg;
  --delay: 0.25s;
  --float: 10s;
  --dy: 10px;
}
.c5 {
  --x: 73%;
  --y: 6%;
  --w: 180px;
  --r: 2deg;
  --delay: 0.2s;
  --float: 8.5s;
}
.c6 {
  --x: 5%;
  --y: 31%;
  --w: 128px;
  --r: -3deg;
  --delay: 0.3s;
  --float: 7.5s;
  --dx: -6px;
}
.c7 {
  --x: 9.5%;
  --y: 49%;
  --w: 205px;
  --r: 1deg;
  --delay: 0.35s;
  --float: 9.5s;
}
.c8 {
  --x: 87%;
  --y: 28%;
  --w: 158px;
  --r: -2deg;
  --delay: 0.3s;
  --float: 8s;
  --dy: 12px;
}
.c9 {
  --x: 74%;
  --y: 47%;
  --w: 150px;
  --r: 2.5deg;
  --delay: 0.45s;
  --float: 7s;
}
.c10 {
  --x: 91%;
  --y: 51%;
  --w: 145px;
  --r: -1.5deg;
  --delay: 0.4s;
  --float: 9s;
}
.c11 {
  --x: 79%;
  --y: 67%;
  --w: 172px;
  --r: 1deg;
  --delay: 0.5s;
  --float: 8s;
  --dy: 12px;
}
.c12 {
  --x: -1.5%;
  --y: 75%;
  --w: 140px;
  --r: -2deg;
  --delay: 0.55s;
  --float: 10s;
}
.c13 {
  --x: 15%;
  --y: 86%;
  --w: 152px;
  --r: 2deg;
  --delay: 0.6s;
  --float: 7.5s;
}
.c14 {
  --x: 26.5%;
  --y: 78%;
  --w: 185px;
  --r: -1deg;
  --delay: 0.5s;
  --float: 9s;
  --dy: 10px;
}
.c15 {
  --x: 42%;
  --y: 89%;
  --w: 195px;
  --r: 1.5deg;
  --delay: 0.65s;
  --float: 8s;
}
.c16 {
  --x: 57%;
  --y: 84%;
  --w: 245px;
  --r: -1deg;
  --delay: 0.6s;
  --float: 10s;
}
@media (max-width: 1180px) and (min-width: 761px) {
  .card {
    --w: 128px !important;
  }
  .c3,
  .c16 {
    --w: 170px !important;
  }
}

/* Mobile: headline first, a smaller cluster of cards right below it. */
@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-bottom: 24px;
  }
  .hero-copy {
    padding: 104px 0 8px;
  }
  .wordmark {
    font-size: 26px;
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(54px, 16vw, 76px);
  }
  .cards {
    position: relative;
    inset: auto;
    width: 100%;
    height: 420px;
    margin-top: 12px;
  }
  .c8,
  .c9,
  .c10,
  .c11,
  .c12,
  .c13,
  .c14,
  .c15,
  .c16 {
    display: none;
  }
  .c1 {
    --x: 4%;
    --y: 4%;
    --w: 34vw;
  }
  .c2 {
    --x: 40%;
    --y: 0%;
    --w: 27vw;
  }
  .c3 {
    --x: 69%;
    --y: 7%;
    --w: 31vw;
  }
  .c4 {
    --x: -6%;
    --y: 43%;
    --w: 27vw;
  }
  .c5 {
    --x: 24%;
    --y: 34%;
    --w: 41vw;
  }
  .c6 {
    --x: 68%;
    --y: 46%;
    --w: 29vw;
  }
  .c7 {
    --x: 44%;
    --y: 72%;
    --w: 26vw;
  }
  .card-in {
    padding: 4px;
    border-radius: 16px;
  }
  .card-in img,
  .card-in::after {
    border-radius: 12px;
  }
  .card-in::after {
    inset: 4px;
  }
}

/* Join */
.join {
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}
.join-inner {
  width: min(640px, 100%);
  margin-inline: auto;
  text-align: center;
}
.join h2 {
  font-size: clamp(48px, 7vw, 76px);
  margin-bottom: 14px;
}
form {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--raised);
  text-align: left;
}
.row {
  display: grid;
  gap: 18px;
}
@media (min-width: 620px) {
  .row {
    grid-template-columns: 1fr 1fr;
  }
}
label,
legend {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #d6d6d6;
}
input:not([type="checkbox"], [type="radio"]),
select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #353535;
  border-radius: 14px;
  background: #141414;
  color: var(--text);
  font: 500 16px var(--ui);
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
input:focus,
select:focus {
  border-color: #8a8a8a;
  outline: none;
}
[aria-invalid="true"] {
  border-color: #ff7b7b !important;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
legend {
  margin-bottom: 10px;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  position: relative;
  display: inline-flex;
  font-weight: 500;
}
.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #353535;
  border-radius: 999px;
  color: #d6d6d6;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.choice input:checked + span {
  background: var(--text);
  border-color: var(--text);
  color: #111;
  font-weight: 700;
}
.choice input:focus-visible + span {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.consent input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--text);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgb(255 123 123 / 0.12);
  color: #ffb4b4;
}
.success {
  margin-top: 36px;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--raised);
}
.success h3 {
  font-size: 52px;
  margin-bottom: 12px;
}
.success h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: var(--grad);
}
.success p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Outro over an animated dot matrix */
.outro {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 96px var(--gutter);
  overflow: hidden;
  text-align: center;
}
.dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.outro-copy {
  position: relative;
  z-index: 1;
}
.outro h2 {
  font-size: clamp(48px, 7vw, 84px);
  max-width: 11em;
  margin-inline: auto;
}
.outro .actions {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

/* Footer */
.foot {
  padding: 0 var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.foot-inner {
  width: min(940px, 100%);
  margin-inline: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.foot-main,
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
}
.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.foot a:hover {
  color: var(--text);
}
.foot .foot-brand {
  font: 600 24px/1 var(--display);
  color: #d6d6d6;
  margin-right: 6px;
}
.foot-legal {
  margin-top: 6px;
  color: var(--faint);
  font-size: 14px;
}
.foot-legal a {
  font-size: 14px;
  color: var(--faint);
}

/* Scroll reveal: hidden only once JS confirms it can reveal it. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card-in {
    animation: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Plain document pages: privacy, thanks, 404 */
.doc {
  width: min(680px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 120px 0 80px;
}
.doc h1 {
  font-size: clamp(48px, 10vw, 84px);
  margin-bottom: 28px;
}
.doc h2 {
  font-size: 30px;
  margin: 40px 0 12px;
}
.doc p {
  color: #d4d4d1;
}
.doc p + p {
  margin-top: 14px;
}
.doc .lead {
  color: var(--muted);
  font-size: 19px;
}
.doc .button {
  margin-top: 32px;
}
@media (max-height: 860px) and (min-width: 761px) {
  .c3 {
    --y: -17%;
  }
  .c4 {
    --y: -15%;
  }
}
