:root {
  --bg: #070707;
  --panel: rgba(19, 19, 19, .82);
  --panel-2: #111111;
  --text: #f6f4ef;
  --muted: #a3a3a3;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .2);
  --accent: #b887ff;
  --danger: #ff8aa8;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grain .22s steps(2) infinite;
}

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: .8;
}

/* Small geometric accents — no giant circles */
.ambient-one {
  width: 220px;
  height: 220px;
  top: 9%;
  right: 5%;
  background: linear-gradient(135deg, transparent 48%, rgba(184, 135, 255, .18) 49%, transparent 51%),
    linear-gradient(45deg, transparent 48%, rgba(184, 135, 255, .12) 49%, transparent 51%);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle, black 0 38%, transparent 72%);
  transform: rotate(14deg);
  animation: patternDrift 18s ease-in-out infinite;
}

.ambient-two {
  width: 190px;
  height: 190px;
  bottom: 7%;
  left: 3%;
  border: 1px solid rgba(184, 135, 255, .16);
  background: repeating-linear-gradient(90deg, transparent 0 15px, rgba(184, 135, 255, .08) 16px 17px),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(184, 135, 255, .08) 16px 17px);
  mask-image: radial-gradient(circle, black 0 32%, transparent 70%);
  transform: rotate(-18deg);
  animation: patternDriftReverse 21s ease-in-out infinite;
}

.aura {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.aura::before,
.aura::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 135, 255, .14);
  border-radius: 38% 62% 55% 45%;
  box-shadow: 0 0 35px rgba(145, 87, 255, .06);
}

.aura-a {
  width: 155px;
  height: 92px;
  top: 18%;
  left: 8%;
  transform: rotate(-24deg);
  opacity: .8;
  animation: orbitFloat 12s ease-in-out infinite;
}

.aura-a::after {
  inset: 18px -12px;
  border-color: rgba(232, 211, 255, .09);
  transform: rotate(28deg);
}

.aura-b {
  width: 125px;
  height: 75px;
  top: 61%;
  right: 9%;
  transform: rotate(32deg);
  opacity: .65;
  animation: orbitFloat 15s ease-in-out infinite reverse;
}

.aura-b::after {
  inset: -10px 18px;
  transform: rotate(-42deg);
}

.aura-c {
  width: 70px;
  height: 70px;
  top: 11%;
  right: 32%;
  opacity: .7;
  animation: microFloat 9s ease-in-out infinite;
}

.aura-c::before {
  border-radius: 50%;
  border-style: dashed;
  border-color: rgba(184, 135, 255, .22);
}

.aura-c::after {
  inset: 23px;
  border-radius: 50%;
  border-color: rgba(232, 211, 255, .18);
  box-shadow: 0 0 24px rgba(184, 135, 255, .12);
}

@keyframes patternDrift {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(14deg);
  }

  50% {
    transform: translate3d(-18px, 24px, 0) rotate(20deg);
  }
}

@keyframes patternDriftReverse {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-18deg);
  }

  50% {
    transform: translate3d(22px, -18px, 0) rotate(-10deg);
  }
}

@keyframes orbitFloat {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-24deg);
  }

  50% {
    transform: translate3d(24px, -12px, 0) rotate(-12deg);
  }
}

@keyframes microFloat {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }

  50% {
    transform: translate3d(-15px, 18px, 0) rotate(90deg);
  }
}

.topbar,
.footer {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  padding: 28px 0 20px;
  position: relative;
  z-index: 3;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: .15em;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
}

.top-meta {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(184, 135, 255, .8);
}

.page {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .75fr);
  align-items: center;
  gap: 7vw;
  padding: 7vh 0 8vh;
}

.hero-copy {
  padding: 4vh 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10px;
  margin-bottom: 30px;
}

.eyebrow i {
  width: 58px;
  height: 1px;
  background: var(--line-strong);
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(80px, 14vw, 220px);
  line-height: .78;
  letter-spacing: -.09em;
  font-weight: 700;
}

h1 span {
  display: block;
}

h1 span:last-child {
  padding-left: clamp(45px, 10vw, 180px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 244, 239, .6);
}

.hero-sub {
  max-width: 580px;
  margin: 46px 0 0;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.6;
  color: #c5c5c5;
}

.event-strip {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.event-strip>div {
  padding: 18px 16px 18px 0;
  border-right: 1px solid var(--line);
}

.event-strip>div:not(:first-child) {
  padding-left: 16px;
}

.event-strip>div:last-child {
  border-right: none;
}

.event-strip small,
.card-kicker,
.bottom-copy span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.event-strip strong {
  display: block;
  font-size: 12px;
  margin-top: 7px;
  font-weight: 600;
}

.scroll-note {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #787878;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.scroll-line {
  width: 35px;
  height: 1px;
  background: #555;
}

.register-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(27, 27, 27, .9), rgba(10, 10, 10, .78));
  box-shadow: 0 30px 100px rgba(0, 0, 0, .4);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.register-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(184, 135, 255, .12), transparent 67%);
  pointer-events: none;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.card-top h2 {
  margin: 9px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -.05em;
}

.count-badge {
  border: 1px solid var(--line-strong);
  padding: 10px 12px;
  font-size: 8px;
  line-height: 1.15;
  color: #858585;
  letter-spacing: .14em;
  text-align: right;
}

.count-badge b {
  color: var(--accent);
  font-weight: 600;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field>span {
  font-size: 10px;
  color: #8f8f8f;
  text-transform: uppercase;
  letter-spacing: .11em;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .028);
  color: var(--text);
  padding: 14px 14px;
  border-radius: 0;
  outline: none;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

input::placeholder {
  color: #4f4f4f;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

input:focus,
select:focus {
  border-color: rgba(184, 135, 255, .55);
  background: rgba(255, 255, 255, .05);
}

.field.invalid input,
.field.invalid select {
  border-color: rgba(255, 123, 123, .6);
}

.error {
  min-height: 13px;
  color: var(--danger);
  font-size: 10px;
  line-height: 1.25;
}

.consent {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 11px;
  margin-top: 4px;
  color: #7d7d7d;
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkmark {
  width: 15px;
  height: 15px;
  border: 1px solid var(--line-strong);
  flex: 0 0 auto;
  position: relative;
  margin-top: 1px;
}

.consent input:checked+.checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.consent input:checked+.checkmark::after {
  content: "";
  width: 6px;
  height: 3px;
  position: absolute;
  left: 4px;
  top: 4px;
  border-left: 1.5px solid #101010;
  border-bottom: 1.5px solid #101010;
  transform: rotate(-45deg);
}

.consent.invalid .checkmark {
  border-color: var(--danger);
}

.consent-error {
  padding-left: 26px;
}

.submit-btn,
.secondary-btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #090909;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 16px;
  margin-top: 19px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(184, 135, 255, .18);
}

.arrow {
  font-size: 19px;
  line-height: 1;
}

.fine-print {
  color: #4f4f4f;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
  margin: 13px 0 0;
}

.success-panel {
  display: none;
  padding: 40px 5px 12px;
  text-align: left;
}

.success-panel.show {
  display: block;
}

.success-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: #111;
  background: var(--accent);
  font-size: 21px;
  margin-bottom: 22px;
}

.success-panel>span {
  font-size: 9px;
  letter-spacing: .16em;
  color: #929292;
}

.success-panel h3 {
  font: 700 clamp(34px, 5vw, 58px)/.95 "Space Grotesk", sans-serif;
  letter-spacing: -.06em;
  margin: 12px 0 18px;
}

.success-panel p {
  max-width: 430px;
  color: #a3a3a3;
  line-height: 1.6;
  font-size: 14px;
}

.secondary-btn {
  width: auto;
  background: transparent;
  color: var(--accent);
  border-color: rgba(184, 135, 255, .45);
  margin-top: 26px;
}

.bottom-band {
  border-top: 1px solid var(--line);
  padding: 9vh 0 12vh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.bottom-heading {
  font: 600 clamp(43px, 7vw, 96px)/.9 "Space Grotesk", sans-serif;
  letter-spacing: -.07em;
}

.bottom-heading em {
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 244, 239, .55);
  font-style: normal;
}

.bottom-copy {
  max-width: 220px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.bottom-copy p {
  margin: 0;
  color: #858585;
  line-height: 1.5;
  font-size: 13px;
}

.footer {
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  color: #555;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s cubic-bezier(.2, .8, .2, 1) .08s forwards;
}

.reveal-delay {
  animation-delay: .18s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grain {
  0% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(2%, -1%, 0);
  }

  50% {
    transform: translate3d(-1%, 2%, 0);
  }

  75% {
    transform: translate3d(1%, 1%, 0);
  }

  100% {
    transform: translate3d(-2%, -1%, 0);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 5vh;
  }

  .register-card {
    max-width: 760px;
    width: 100%;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(84px, 18vw, 180px);
  }
}

@media (max-width: 700px) {

  .topbar,
  .footer,
  .page {
    width: min(calc(100% - 28px), var(--max));
  }

  .topbar {
    padding-top: 20px;
  }

  .top-meta span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 7vh 0 7vh;
  }

  .eyebrow {
    font-size: 8px;
    margin-bottom: 24px;
  }

  .eyebrow i {
    width: 34px;
  }

  h1 {
    font-size: clamp(69px, 24vw, 120px);
    letter-spacing: -.095em;
  }

  h1 span:last-child {
    padding-left: 16vw;
    -webkit-text-stroke-width: .8px;
  }

  .hero-sub {
    margin-top: 32px;
    font-size: 15px;
    line-height: 1.55;
  }

  .event-strip {
    grid-template-columns: 1fr;
  }

  .event-strip>div,
  .event-strip>div:not(:first-child) {
    padding: 13px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .event-strip>div:last-child {
    border-bottom: none;
  }

  .scroll-note {
    margin-top: 28px;
  }

  .register-card {
    padding: 22px 17px 20px;
  }

  .card-top {
    margin-bottom: 22px;
  }

  .card-kicker {
    font-size: 8px;
  }

  .card-top h2 {
    font-size: 31px;
  }

  .count-badge {
    display: none;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field-full {
    grid-column: auto;
  }

  input,
  select {
    padding: 14px 13px;
    font-size: 14px;
  }

  .submit-btn {
    margin-top: 15px;
    padding: 16px 14px;
  }

  .bottom-band {
    padding: 8vh 0 10vh;
    display: grid;
    gap: 28px;
  }

  .bottom-copy {
    max-width: none;
  }

  .footer {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 700px) {
  .ambient-one {
    width: 130px;
    height: 130px;
    top: 10%;
    right: -5%;
  }

  .ambient-two {
    width: 120px;
    height: 120px;
    bottom: 8%;
    left: -7%;
  }

  .aura-a {
    width: 105px;
    height: 62px;
    top: 16%;
    left: 2%;
  }

  .aura-b {
    width: 90px;
    height: 55px;
    right: 2%;
    top: 64%;
  }

  .aura-c {
    width: 52px;
    height: 52px;
    right: 18%;
    top: 29%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .aura-a,
  .aura-b,
  .aura-c {
    animation: none !important;
  }
}