.v3-waitlist {
  display: grid;
  grid-template-columns: clamp(420px, 43vw, 600px) minmax(0, 1fr);
  min-height: 100svh;
  background: #f4f0e6;
}

.v3-waitlist__content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(52px, 5vw, 84px) clamp(40px, 5vw, 88px);
}

.v3-waitlist__content-wrap {
  width: min(100%, 720px);
}

.v3-waitlist__logo {
  width: clamp(128px, 9.2vw, 148px);
  margin-bottom: clamp(24px, 2.8vw, 32px);
}

.v3-waitlist__title {
  margin: 0;
  color: #0c424b;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
  font-size: clamp(4.1rem, 5.9vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.84;
  text-align: center;
}

.v3-waitlist__title-lead {
  display: block;
  color: #112126;
  font-family: "Avenir Next Condensed", "Avenir Next", Avenir, "Arial Narrow",
    "Segoe UI", sans-serif;
  font-size: 0.335em;
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1;
  text-transform: uppercase;
}

.v3-waitlist__title em {
  position: relative;
  isolation: isolate;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0.05em auto 0;
  color: #0c424b;
  font-style: italic;
  font-weight: 400;
  line-height: 0.94;
}

.v3-waitlist__title em::after {
  position: absolute;
  z-index: -1;
  right: -0.02em;
  bottom: -0.008em;
  left: 0.02em;
  height: 0.056em;
  background: #55c8df;
  clip-path: polygon(
    0 46%,
    7% 29%,
    18% 39%,
    31% 20%,
    46% 34%,
    60% 21%,
    73% 35%,
    87% 17%,
    100% 43%,
    98% 78%,
    84% 66%,
    70% 84%,
    55% 68%,
    40% 88%,
    23% 70%,
    8% 83%,
    1% 67%
  );
  content: "";
  transform: rotate(-0.6deg);
}

.v3-waitlist__copy {
  display: flex;
  flex-direction: column;
  gap: 0.82em;
  max-width: 34em;
  margin: clamp(22px, 2.4vw, 30px) auto 0;
  color: #3f5155;
  font-size: clamp(1rem, 1.02vw, 1.08rem);
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
  text-wrap: pretty;
}

.v3-waitlist__copy p {
  margin: 0;
}

.v3-waitlist__copy p:first-child,
.v3-waitlist__copy strong {
  color: #112126;
}

.v3-waitlist__form-card {
  max-width: 34em;
  margin: clamp(24px, 2.8vw, 32px) auto 0;
  padding: clamp(18px, 1.5vw, 22px);
  background: #fffdf8;
  border: 1px solid rgba(12, 66, 75, 0.18);
  border-radius: 16px;
  box-shadow: 0 16px 38px -28px rgba(12, 66, 75, 0.5);
}

.v3-waitlist__invitation {
  margin: 0 0 14px;
  color: #112126;
  font-size: 1.05rem;
  font-weight: 560;
  line-height: 1.4;
  text-align: center;
}

.v3-waitlist__form {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
}

.v3-waitlist__form input,
.v3-waitlist__form button {
  min-height: 58px;
  border-radius: 11px;
}

.v3-waitlist__form input {
  padding: 0 18px;
  background: #fff;
}

.v3-waitlist__form button {
  padding: 0 26px;
  white-space: nowrap;
}

.v3-waitlist__form-card .privacy-note,
.v3-waitlist__form-card .form-status {
  width: 100%;
  font-size: 0.78rem;
  text-align: center;
}

.v3-waitlist__portrait {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: clamp(24px, 3.4vw, 52px) 0 clamp(24px, 3.4vw, 52px)
    clamp(24px, 3.4vw, 52px);
}

.v3-waitlist__portrait-frame {
  position: sticky;
  top: clamp(24px, 3.4vw, 52px);
  height: calc(100svh - clamp(48px, 6.8vw, 104px));
  min-height: 600px;
  overflow: hidden;
  background: #8ed3df;
  border-radius: 18px;
  box-shadow: 0 22px 46px -28px rgba(12, 66, 75, 0.5);
}

.v3-waitlist__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

@media (max-width: 940px) {
  .v3-waitlist {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .v3-waitlist__content,
  .v3-waitlist__portrait {
    grid-column: 1;
  }

  .v3-waitlist__content {
    grid-row: 1;
    padding: 56px 40px 40px;
  }

  .v3-waitlist__content-wrap {
    width: min(100%, 720px);
  }

  .v3-waitlist__portrait {
    grid-row: 2;
    padding: 0 24px 24px;
  }

  .v3-waitlist__portrait-frame {
    position: relative;
    top: auto;
    height: clamp(440px, 56vw, 600px);
    min-height: 0;
    border-radius: 16px;
    box-shadow: 0 16px 34px -26px rgba(12, 66, 75, 0.45);
  }

  .v3-waitlist__portrait img {
    object-position: 50% 44%;
  }
}

@media (max-width: 620px) {
  .v3-waitlist__content {
    padding: max(42px, env(safe-area-inset-top))
      max(22px, env(safe-area-inset-right)) 30px
      max(22px, env(safe-area-inset-left));
  }

  .v3-waitlist__logo {
    width: 128px;
    margin-bottom: 24px;
  }

  .v3-waitlist__title {
    font-size: clamp(3.4rem, 15.2vw, 4.9rem);
  }

  .v3-waitlist__title-lead {
    font-size: 0.375em;
  }

  .v3-waitlist__copy {
    gap: 0.8em;
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.48;
    text-align: left;
  }

  .v3-waitlist__form-card {
    margin-top: 22px;
    padding: 18px;
  }

  .v3-waitlist__invitation {
    font-size: 1rem;
  }

  .v3-waitlist__form {
    grid-template-columns: 1fr;
  }

  .v3-waitlist__form input,
  .v3-waitlist__form button {
    min-height: 56px;
  }

  .v3-waitlist__form input {
    text-align: left;
  }

  .v3-waitlist__portrait {
    padding: 0 14px max(16px, env(safe-area-inset-bottom));
  }

  .v3-waitlist__portrait-frame {
    height: clamp(360px, 72vw, 480px);
  }

  .v3-waitlist__portrait img {
    object-position: 50% 41%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v3-waitlist *,
  .v3-waitlist *::before,
  .v3-waitlist *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .v3-waitlist__title em::after {
    display: none;
  }
}
