@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Mono:wght@400;500&display=swap");

.ff-entry-screen {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  background: #010713;
  color: #f6f9ff;
  isolation: isolate;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.ff-entry-screen::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(1, 7, 19, .82) 0%, rgba(1, 7, 19, .08) 58%, rgba(1, 7, 19, .35) 100%);
  pointer-events: none;
}

.ff-entry-image {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  animation: ff-entry-image-settle 1.1s cubic-bezier(.2, .8, .2, 1) both;
}

.ff-entry-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100% - 40px, 1160px);
  align-content: end;
  justify-items: start;
  min-height: 100%;
  padding: clamp(32px, 7vw, 80px) 0;
  animation: ff-entry-reveal 760ms 140ms both;
}

.ff-entry-eyebrow {
  margin: 0 0 8px;
  color: rgba(222, 244, 255, .78);
  font-family: "DM Mono", monospace;
  font-size: clamp(.6rem, 1.2vw, .74rem);
  letter-spacing: .19em;
  text-transform: uppercase;
}

.ff-entry-content h1 {
  max-width: 8ch;
  margin: 0 0 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .82;
  text-transform: uppercase;
}

.ff-entry-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 17px 0 21px;
  border: 1px solid rgba(121, 223, 255, .67);
  border-radius: 2px;
  background: rgba(1, 20, 41, .8);
  box-shadow: 0 9px 32px rgba(0, 0, 0, .3);
  color: #f5fbff;
  cursor: pointer;
  font-family: "DM Mono", monospace;
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ff-entry-button:hover { background: rgba(9, 139, 188, .68); border-color: #e9fbff; transform: translateY(-2px); }
.ff-entry-button:active { transform: translateY(1px); }
.ff-entry-button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.ff-entry-button svg { width: 19px; height: 19px; stroke: currentColor; stroke-linecap: square; stroke-linejoin: miter; stroke-width: 1.5; }
.ff-entry-screen--leaving { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes ff-entry-image-settle { from { opacity: .35; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }
@keyframes ff-entry-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 720px) {
  .ff-entry-image { object-position: center 46%; }
  .ff-entry-content { width: min(100% - 12vw, 1320px); }
}

@media (max-width: 560px) {
  .ff-entry-screen::after { background: linear-gradient(180deg, rgba(1, 7, 19, .04) 40%, rgba(1, 7, 19, .81) 76%, rgba(1, 7, 19, .97) 100%); }
  .ff-entry-image { object-position: center center; }
  .ff-entry-content { padding-bottom: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .ff-entry-screen, .ff-entry-button, .ff-entry-image, .ff-entry-content { animation: none; transition: none; }
}
