:root {
  --navy: #071d3b;
  --blue: #0967bd;
  --rose: #d98591;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--white);
  background: #081524;
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.portal {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.portal-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 14px 5vw;
  background: rgba(4, 16, 31, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
}

.portal-header img {
  width: 154px;
  height: 58px;
  padding: 4px 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, .96);
  border-radius: 6px;
}

.portal-header p {
  max-width: 480px;
  margin: 0;
  color: #d9e6f4;
  font-size: .9rem;
  font-weight: 700;
  text-align: right;
}

.portal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: calc(100vh - 48px);
}

.portal-option {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
}

.portal-option > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.portal-tech > img {
  object-position: 58% center;
}

.portal-gifts > img {
  object-position: center 64%;
}

.portal-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(to top, rgba(3, 16, 32, .96) 5%, rgba(3, 16, 32, .3) 72%, rgba(3, 16, 32, .62));
}

.portal-gifts .portal-overlay {
  background: linear-gradient(to top, rgba(47, 24, 36, .97) 5%, rgba(71, 36, 51, .22) 70%, rgba(40, 21, 31, .6));
}

.portal-content {
  width: min(100%, 720px);
  padding: 150px 6vw 72px;
}

.portal-label {
  display: block;
  margin-bottom: 16px;
  color: #8ed7ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portal-gifts .portal-label {
  color: #ffc2cc;
}

.portal-content h1,
.portal-content h2 {
  max-width: 650px;
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.5rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.portal-content p {
  max-width: 580px;
  margin: 0 0 28px;
  color: #eef5fb;
  font-size: 1.05rem;
  line-height: 1.6;
}

.portal-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  background: var(--blue);
  border-radius: 6px;
  font-weight: 800;
}

.portal-gifts .portal-link {
  color: #40202d;
  background: #ffc3cd;
}

.portal-option:hover > img,
.portal-option:focus-visible > img {
  transform: scale(1.035);
}

.portal-option:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -3px;
}

.portal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 0 5vw;
  color: #b8c7d8;
  background: #04101f;
  font-size: .82rem;
  font-weight: 700;
}

.portal-footer a:hover {
  color: var(--white);
}

@media (max-width: 800px) {
  .portal-header {
    position: relative;
    min-height: 82px;
  }

  .portal-header p {
    display: none;
  }

  .portal-options {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .portal-option {
    min-height: 560px;
  }

  .portal-content {
    padding: 96px 24px 44px;
  }

  .portal-content h1,
  .portal-content h2 {
    font-size: 2.6rem;
  }
}

@media (max-width: 520px) {
  .portal-header {
    justify-content: center;
  }

  .portal-option {
    min-height: 500px;
  }

  .portal-content h1,
  .portal-content h2 {
    font-size: 2.2rem;
  }

  .portal-content p {
    font-size: .96rem;
  }

  .portal-link {
    width: 100%;
    justify-content: space-between;
  }

  .portal-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}
