*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

.portal-page {
  min-height: 100vh;

  font-family: "Montserrat", sans-serif;

  color: #ffffff;

  background:
    linear-gradient(
      90deg,
      rgba(16, 38, 31, 0.94) 0%,
      rgba(54, 68, 41, 0.8) 48%,
      rgba(173, 126, 62, 0.42) 100%
    ),
    url("../images/ny-skyview.jpg") center / cover no-repeat;
}

.portal-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  min-height: 88px;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-decoration: none;
}

.portal-back {
  padding-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.portal-entry {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 9rem 5rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.7fr);
  gap: 6rem;
  align-items: center;
}

.portal-introduction {
  max-width: 760px;
}

.portal-eyebrow {
  margin: 0 0 1.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.portal-introduction h1 {
  max-width: 720px;
  margin: 0 0 2rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.4rem, 6vw, 6.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.portal-description {
  max-width: 650px;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

.portal-benefits {
  max-width: 670px;
  margin-top: 3.5rem;
  display: grid;
  gap: 1rem;
}

.portal-benefit {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.portal-benefit span {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}

.portal-benefit p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.portal-access-card {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  padding: 3.4rem;
  color: #222222;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.portal-card-label {
  margin: 0 0 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #777777;
}

.portal-access-card h2 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: #151515;
}

.portal-card-intro {
  margin: 0 0 2.2rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #666666;
}

.portal-login-form {
  display: grid;
}

.portal-login-form label {
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #333333;
}

.portal-login-form input {
  width: 100%;
  margin-bottom: 1.3rem;
  padding: 0.95rem 0;
  font-family: inherit;
  font-size: 0.92rem;
  color: #222222;
  background: transparent;
  border: none;
  border-bottom: 1px solid #bcbcbc;
  border-radius: 0;
  outline: none;
}

.portal-login-form input:focus {
  border-bottom-color: #111111;
}

.portal-primary-button,
.portal-secondary-button,
.portal-preview-button {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;

  cursor: pointer;
}

/* SIGN IN */

.portal-primary-button {
  margin-top: 0.8rem;

  color: #ffffff;
  background-color: #151515;
  border: 1px solid #151515;
}

.portal-primary-button:hover {
  color: #151515;
  background-color: transparent;
}

/* DIVIDER */

.portal-divider {
  margin: 1.8rem 0;

  display: flex;
  align-items: center;
  gap: 1rem;

  color: #999999;

  font-size: 0.72rem;
}

.portal-divider::before,
.portal-divider::after {
  content: "";

  height: 1px;
  flex: 1;

  background-color: #dddddd;
}

/* REQUEST MEMBERSHIP */

.portal-secondary-button {
  color: #151515;
  background-color: transparent;
  border: 1px solid #151515;
}

.portal-secondary-button:hover {
  color: #ffffff;
  background-color: #151515;
}

/* PREVIEW */

.portal-preview-button {
  min-height: 44px;
  margin-top: 0.8rem;

  font-size: 0.66rem;

  color: #706b65;
  background-color: #f5f3ef;
  border: 1px solid #d4cec6;
}

.portal-preview-button:hover {
  color: #151515;
  border-color: #151515;
}

/* DISCLAIMER */

.portal-disclaimer {
  margin: 1.2rem 0 0;

  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;

  color: #888888;
}

@media (max-width: 600px) {
  .portal-header {
    min-height: 72px;
    padding: 0 1.25rem;
  }

  .portal-back {
    font-size: 0.62rem;
  }

  .portal-entry {
    padding: 7rem 1.25rem 2rem;
  }

  .portal-introduction h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .portal-benefits {
    margin-top: 2.5rem;
  }

  .portal-access-card {
    padding: 2.2rem 1.5rem;
  }
}