:root {
  --ink: #fff8e8;
  --muted: rgba(255, 248, 232, 0.74);
  --dim: rgba(255, 248, 232, 0.48);
  --gold: #e0b55d;
  --gold-deep: #8c6424;
  --steel: #a8c6d8;
  --danger: #ff6b56;
  --success: #78e0a7;
  --black: #040506;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

button,
input {
  font: inherit;
}

.coming-soon-shell {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.vault-video,
.video-shade,
.scanline {
  position: absolute;
  inset: 0;
}

.vault-video {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.08) brightness(0.82);
}

.video-shade {
  z-index: -3;
  background:
    radial-gradient(circle at 50% 47%, transparent 0 24%, rgba(4, 5, 6, 0.2) 58%, rgba(4, 5, 6, 0.62) 100%),
    linear-gradient(90deg, rgba(4, 5, 6, 0.76) 0%, rgba(4, 5, 6, 0.2) 32%, rgba(4, 5, 6, 0.08) 58%, rgba(4, 5, 6, 0.7) 100%),
    linear-gradient(180deg, rgba(4, 5, 6, 0.54) 0%, rgba(4, 5, 6, 0.02) 42%, rgba(4, 5, 6, 0.78) 100%);
}

.scanline {
  z-index: -2;
  opacity: 0.18;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 181, 93, 0.1) 1px, transparent 1px);
  background-size: 100% 4px, 64px 100%;
  mix-blend-mode: screen;
}

.launch-stage {
  display: grid;
  grid-template-columns: minmax(260px, 410px) minmax(0, 1fr) minmax(310px, 390px);
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: clamp(16px, 3vw, 42px);
  width: min(1540px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: clamp(16px, 2.4vw, 34px);
}

.launch-brand {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.launch-brand img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 14px rgba(224, 181, 93, 0.36));
}

.launch-copy {
  align-self: end;
  justify-self: center;
  grid-column: 2;
  max-width: 560px;
  padding-bottom: clamp(6px, 2vh, 22px);
  text-align: center;
}

.launch-kicker,
.panel-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.launch-copy h1 {
  margin: 0;
  max-width: 560px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(224, 181, 93, 0.18),
    0 16px 44px rgba(0, 0, 0, 0.84);
}

.launch-lede {
  max-width: 430px;
  margin: clamp(14px, 2vh, 20px) 0 0;
  margin-inline: auto;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.35vw, 1.22rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.launch-subline {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
  font-style: italic;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.launch-actions {
  align-self: end;
  grid-column: 3;
  display: grid;
  gap: 10px;
  width: 100%;
  padding-bottom: clamp(6px, 2vh, 22px);
}

.access-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 248, 232, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(7, 8, 10, 0.72), rgba(7, 8, 10, 0.42)),
    rgba(7, 8, 10, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.rsvp-panel {
  position: relative;
  isolation: isolate;
  border-color: rgba(224, 181, 93, 0.52);
  box-shadow:
    0 0 0 1px rgba(224, 181, 93, 0.18),
    0 0 42px rgba(224, 181, 93, 0.28),
    0 20px 80px rgba(224, 181, 93, 0.22),
    0 28px 80px rgba(0, 0, 0, 0.44);
}

.rsvp-panel::before {
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(224, 181, 93, 0.58), rgba(255, 248, 232, 0.08), rgba(168, 198, 216, 0.22)),
    radial-gradient(circle at 50% 0%, rgba(224, 181, 93, 0.5), transparent 58%);
  content: "";
  opacity: 0.78;
  filter: blur(12px);
}

.team-access-inline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 4px 0 0;
}

.team-access-label,
.team-password-field span {
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-access-label {
  align-self: center;
  color: var(--steel);
  white-space: nowrap;
}

.team-password-field {
  display: grid;
  gap: 6px;
}

.team-password-field input {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(255, 248, 232, 0.36);
  outline: none;
  background: rgba(4, 5, 6, 0.18);
  color: var(--ink);
  font-weight: 800;
}

.team-password-field input:focus {
  border-color: rgba(168, 198, 216, 0.9);
  box-shadow: 0 12px 26px rgba(168, 198, 216, 0.12);
}

.team-unlock-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(168, 198, 216, 0.48);
  border-radius: 6px;
  background: rgba(168, 198, 216, 0.1);
  color: var(--ink);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.team-unlock-button:hover,
.team-unlock-button:focus-visible {
  border-color: rgba(168, 198, 216, 0.88);
  box-shadow: 0 0 24px rgba(168, 198, 216, 0.18);
}

.team-unlock-button[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.team-access-inline .form-message {
  grid-column: 1 / -1;
  text-align: right;
}

.access-panel h2 {
  margin: 0;
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  line-height: 1.08;
}

.field-shell {
  display: grid;
  gap: 7px;
}

.field-shell span {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field-shell input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 248, 232, 0.22);
  border-radius: 6px;
  outline: none;
  background: rgba(255, 248, 232, 0.08);
  color: var(--ink);
  font-weight: 800;
}

.field-shell input:focus {
  border-color: rgba(224, 181, 93, 0.8);
  box-shadow: 0 0 0 3px rgba(224, 181, 93, 0.16);
}

.panel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), #f8dc98 48%, var(--gold-deep));
  color: #16100a;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(224, 181, 93, 0.22);
}

.panel-button:hover,
.panel-button:focus-visible {
  transform: translateY(-1px);
}

.panel-button[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.form-message {
  min-height: 1.1rem;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.form-message.is-success {
  color: var(--success);
}

.form-message.is-error {
  color: var(--danger);
}

@media (max-width: 880px) {
  .launch-stage {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
  }

  .launch-copy {
    align-self: end;
    grid-column: 1;
    justify-self: center;
    padding-bottom: 0;
  }

  .launch-copy h1 {
    max-width: 540px;
    font-size: clamp(3.2rem, 15vw, 5.8rem);
  }

  .launch-actions {
    align-self: end;
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 0;
  }

  .team-access-inline {
    grid-template-columns: 1fr auto;
  }

  .team-access-label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .coming-soon-shell {
    height: 100svh;
  }

  .launch-stage {
    padding: 14px;
  }

  .launch-brand {
    gap: 9px;
    letter-spacing: 0.12em;
  }

  .launch-brand img {
    width: 34px;
    height: 34px;
  }

  .launch-lede {
    font-size: 0.98rem;
  }

  .launch-subline {
    font-size: 1.24rem;
  }

  .launch-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rsvp-panel {
    gap: 10px;
    padding: 12px;
  }

  .team-access-inline {
    grid-template-columns: 1fr;
  }

  .team-access-inline .form-message {
    text-align: left;
  }

  .field-shell input,
  .panel-button {
    min-height: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel-button:hover,
  .panel-button:focus-visible {
    transform: none;
  }
}
