:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #edf2f6;
  background: #080a0d;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #b3dbff; outline-offset: 5px; }
.skip-link {
  position: fixed;
  z-index: 5;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  color: #080a0d;
  background: #edf2f6;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

.portal {
  --gutter: clamp(20px, 5vw, 84px);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 100px;
  overflow: clip;
}

.portal::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/media/chrome/dust.webp") center / cover no-repeat;
  opacity: .48;
  mask-image: linear-gradient(transparent 2%, #000 35%, #000 64%, transparent 100%);
}

.portal-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
}

.portal-header img { display: block; object-fit: contain; }
.portal-header nav, .portal-footer div { display: flex; align-items: center; gap: clamp(16px, 2.8vw, 40px); }
.portal-header a, .portal-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #b6c3ce;
  font-size: .875rem;
  font-weight: 550;
}
.portal-header a:hover, .portal-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

.portal-lockup { width: min(92vw, 1064px); text-align: center; }
.portal-title {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 7.15;
  margin: 0;
}
.portal-title img {
  position: absolute;
  z-index: -1;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent);
  mask-composite: intersect;
  color: #edf2f6;
  font-size: clamp(1.7rem, 7vw, 5rem);
}

.portal-tagline {
  position: relative;
  margin: clamp(14px, 2vw, 26px) 16px 0;
  color: #d1dbe3;
  text-transform: uppercase;
  font-size: clamp(.68rem, 1.05vw, .88rem);
  font-weight: 630;
  letter-spacing: .18em;
  line-height: 1.6;
}
.portal-tagline span { margin-inline: .35em; color: #88a5be; }
.portal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 20px 0; }
.portal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 184px;
  min-height: 50px;
  padding: 12px 17px;
  background: #131c26;
  color: #f0f4f8;
  border: 1px solid #435366;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 660;
  transition: background-color 160ms, border-color 160ms;
}
.portal-button:hover { background: #213245; border-color: #809bb6; }
.portal-button-primary { background: #e2ebf4; border-color: #e2ebf4; color: #111923; }
.portal-button-primary:hover { background: #fff; border-color: #fff; }

.portal-still {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 1;
  object-fit: cover;
  object-position: center 37%;
}
.portal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding: 20px clamp(20px, 5vw, 84px);
}
.portal-footer img { display: block; object-fit: contain; }

@media (max-width: 550px) {
  .portal {
    min-height: 88vh;
    min-height: 88svh;
    padding-block: 96px 56px;
  }
  .portal-lockup { width: 98%; }
  .portal-tagline { letter-spacing: .14em; }
  .portal-actions { flex-direction: column; align-items: stretch; max-width: 265px; margin: 25px auto 0; }
  .portal-still { aspect-ratio: 3 / 1; }
}

@media (prefers-reduced-motion: reduce) { .portal-button { transition: none; } }
