.member-landing {
  --cover-inset: 34px;
  --cover-min-height: 480px;
  min-height: 100vh;
  min-height: 100svh;
  display: flow-root;
  position: relative;
  isolation: isolate;
  background: #53634c;
}

.member-landscape {
  position: fixed;
  z-index: -1;
  top: var(--cover-inset);
  left: 0;
  width: 100%;
  height: max(var(--cover-min-height), calc(100svh - var(--cover-inset)));
  overflow: hidden;
  pointer-events: none;
}

.member-scroll-track {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  min-width: 100vw;
  aspect-ratio: 5 / 1;
  background: url("/hero.jpg") left center / cover no-repeat;
  transform: translateX(calc(-100% + 100vw));
}

.member-scroll-veil {
  position: absolute;
  inset: 0;
}

.member-landing .site-header {
  background: #f5efdef5;
  border-bottom-color: #cab991;
}

.member-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  column-gap: 1rem;
}

.member-cover-pause {
  min-height: 40px;
  padding: 0 6px;
  font: inherit;
  font-size: .85rem;
  color: var(--green);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.member-landing .member-page {
  width: min(calc(100% - 40px), 450px);
  max-width: none;
  margin: clamp(38px, 16svh, 168px) auto clamp(32px, 6svh, 72px);
  padding: clamp(23px, 3vw, 34px);
  border: 1px solid #dfcfa9;
  border-radius: 16px;
  background: #fbf7edf7;
  box-shadow: 0 16px 44px #10251e38, inset 0 0 0 4px #fffdf34d;
}

.member-landing .member-page h1 {
  margin-bottom: .38em;
  font-size: clamp(30px, 3vw, 39px);
  line-height: 1.16;
}

.member-page #login-intro,
.member-page .membership-note {
  margin: 0;
  font-size: .875rem;
  line-height: 1.55;
}

.member-page #login-form {
  margin-block: 16px 12px;
  gap: 7px;
}

.member-page #login-form label {
  font-size: .875rem;
}

.member-page #login-form label[for="code"] {
  margin-top: 3px;
}

.member-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.member-page #send {
  font-size: .875rem;
}

.member-page #login-form button[type="submit"] {
  margin-top: 3px;
}

.member-landing #feedback:empty {
  display: none;
}

@media (min-width: 601px) and (min-height: 741px) {
  .member-landing {
    display: grid;
    grid-template-rows: auto 1fr;
  }

  .member-landing .member-page {
    align-self: end;
    margin-block: 28px clamp(60px, 15svh, 200px);
  }
}

@media (max-width: 600px) {
  .member-landing {
    --cover-inset: 42px;
    --cover-min-height: 510px;
  }

  .member-header-actions {
    column-gap: .45rem;
  }

  .member-landing .member-page {
    margin-block: clamp(34px, 12svh, 105px) 46px;
  }
}

@media (max-height: 610px) {
  .member-landing .member-page {
    margin-block: clamp(28px, 8svh, 58px) 32px;
  }
}
