@import url('https://fonts.googleapis.com/css2?family=DM+Mono&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

:root {
  color-scheme: dark;
  font-family: "DM Sans", Arial, sans-serif;
  background: #111116;
  color: #f4f0e9;
}

* { box-sizing: border-box; }

body { margin: 0; }

.landing {
  align-items: center;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(255, 255, 255, .04), transparent 70%),
    #111116;
  display: flex;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.glow {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  filter: blur(.2px);
  height: min(68vw, 780px);
  opacity: .62;
  position: absolute;
  width: min(68vw, 780px);
}

.glow::after {
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: inherit;
  content: "";
  inset: 23px;
  position: absolute;
}

.glow--left { left: -39vw; top: -39vw; }
.glow--right { bottom: -41vw; right: -38vw; }

.content {
  max-width: 640px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.availability {
  color: #aaa49c;
  font: 10px "DM Mono", monospace;
  letter-spacing: .15em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(75px, 13vw, 150px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .82;
  margin: 0;
}

.description {
  color: #b6b0a9;
  font-size: 15px;
  line-height: 1.55;
  margin: 37px auto 31px;
  max-width: 370px;
}

.email-field {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  display: flex;
  gap: 8px;
  margin: auto;
  max-width: 510px;
  padding: 5px;
}

input {
  background: transparent;
  border: 0;
  color: #f4f0e9;
  flex: 1;
  font: 14px "DM Sans", sans-serif;
  min-width: 0;
  outline: 0;
  padding: 13px 16px;
}

input::placeholder { color: #88837e; }

button {
  border: 0;
  cursor: pointer;
  font: 500 13px "DM Sans", sans-serif;
}

.email-field button {
  background: #f0ece5;
  border-radius: 999px;
  color: #171719;
  padding: 13px 17px;
  transition: background .2s, transform .2s;
}

.email-field button:hover { background: #fff; transform: translateY(-1px); }
.email-field button:disabled { cursor: wait; opacity: .7; }
.email-field button span { font-size: 16px; margin-left: 8px; }

.message { font-size: 12px; margin: 12px 0 0; min-height: 18px; }
.message--error { color: #e9aba3; }

.confirmation > p {
  color: #d8d2c9;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.18;
  margin: 30px 0 12px;
}

.confirmation button {
  background: none;
  color: #928c84;
  padding: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.confirmation-actions { margin: 24px 0 13px; }
.details-invite, .details-copy { color: #b6b0a9; font-size: 14px; line-height: 1.5; margin: 0 auto 15px; max-width: 390px; }
.button { border-radius: 999px; padding: 13px 18px; }
.button--primary { background: #f0ece5; color: #171719; }
.button--primary:hover { background: #fff; }
.button--primary span { font-size: 16px; margin-left: 7px; }
.button--quiet { background: transparent; color: #928c84; text-decoration: underline; text-underline-offset: 3px; }
.details-form { margin: 27px auto 0; max-width: 510px; text-align: left; }
.details-form .availability { margin-bottom: 14px; text-align: center; }
.details-form h2 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(28px, 5vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; margin: 0 0 13px; text-align: center; }
.details-copy { text-align: center; }
.details-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 24px; }
.details-grid label { color: #b6b0a9; display: grid; font-size: 12px; gap: 7px; }
select { appearance: none; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; color: #f4f0e9; font: 14px "DM Sans", sans-serif; outline: 0; padding: 13px; width: 100%; }
select:focus { border-color: #f0ece5; }
select option { background: #222226; }
.details-actions { align-items: center; display: flex; gap: 10px; justify-content: center; margin-top: 21px; }

.footer {
  bottom: 25px;
  color: #77726c;
  font: 9px "DM Mono", monospace;
  left: 0;
  letter-spacing: .1em;
  margin: 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@media (max-width: 560px) {
  .landing { padding: 24px 20px; }
  .availability { margin-bottom: 23px; }
  h1 { font-size: clamp(67px, 21vw, 104px); }
  .description { font-size: 14px; margin: 29px auto 26px; max-width: 305px; }
  .email-field { align-items: stretch; border-radius: 19px; flex-direction: column; padding: 6px; }
  input { min-height: 47px; padding: 10px 14px; }
  .email-field button { min-height: 47px; }
  .details-grid { grid-template-columns: 1fr; }
  .footer { bottom: 19px; }
  .glow { height: 125vw; width: 125vw; }
  .glow--left { left: -82vw; top: -61vw; }
  .glow--right { bottom: -71vw; right: -79vw; }
}
