@font-face {
  font-family: "Headliner";
  src: url("../fonts%20/HeadlinerNo.45%20DEMO.ttf") format("truetype");
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap");

:root {
  --yellow: #f6ea00;
  --copy: #eef4ff;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Headliner", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  background: #060035;
  overflow: hidden;
}

.poster {
  height: 100dvh;
  padding: clamp(1rem, 2.2vh, 2.2rem) clamp(1.2rem, 3vw, 3.6rem) clamp(0.8rem, 1.5vh, 1.5rem);
  background: url("../background.png") center center / 100% 100% no-repeat;
  overflow: hidden;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
}

.logo-link {
  display: block;
}

.logo-mark {
  width: min(100%, 300px);
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2.25rem);
  text-align: center;
}

.main-nav a,
.register-button,
.media-link {
  color: var(--yellow);
  font-size: clamp(0.95rem, 1.85vw, 1.9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.main-nav a:hover,
.register-button:hover,
.logo-link:hover,
.media-link:hover,
.social-link:hover {
  opacity: 0.85;
}

.main-nav .is-active {
  color: #ffffff;
}

.register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.35rem 1rem 0.2rem;
  background: var(--yellow);
  color: #060035;
}

.profile-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 2.4vw, 3rem);
  align-items: start;
  height: calc(100dvh - clamp(8rem, 13vh, 10rem));
}

.profile-visual {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.profile-image {
  max-height: 100%;
  width: min(100%, 700px);
  object-fit: contain;
  object-position: left bottom;
  display: block;
}

.profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: start;
  min-height: 0;
  height: 100%;
  padding: clamp(0.25rem, 0.8vh, 0.75rem) 0 clamp(0.2rem, 0.6vh, 0.4rem);
}

.profile-heading {
  margin: 0 0 0.85rem;
  color: var(--yellow);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.3vw, 3.4rem);
  font-weight: 700;
  line-height: 0.95;
}

.profile-body {
  color: var(--copy);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(0.88rem, 1.1vw, 1.22rem);
  font-weight: 500;
  line-height: 1.08;
}

.profile-body p {
  margin: 0 0 0.9rem;
}

.profile-body p:last-child {
  margin-bottom: 0;
}

.profile-readmore {
  display: inline-block;
  margin: 0.2rem 0 0.8rem;
  color: var(--yellow);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(0.9rem, 1.05vw, 1.15rem);
  font-weight: 700;
  text-decoration: none;
}

.profile-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--yellow);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(0.9rem, 1.05vw, 1.1rem);
  font-weight: 700;
  text-decoration: none;
}

.social-link img {
  width: clamp(1.15rem, 1.8vw, 1.7rem);
  height: clamp(1.15rem, 1.8vw, 1.7rem);
  object-fit: contain;
}

.media-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
}

@media (max-width: 1300px) {
  body {
    overflow: auto;
  }

  .poster {
    height: auto;
    min-height: 100vh;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .profile-stage {
    grid-template-columns: 1fr;
    height: auto;
    align-items: start;
  }

  .profile-visual {
    min-height: 42vh;
    justify-content: center;
  }

  .profile-image {
    width: min(100%, 520px);
    max-height: 55vh;
  }
}

@media (max-width: 640px) {
  .poster {
    padding: 1rem 1rem 1.25rem;
    background: url("../background.png") center center / cover no-repeat;
  }

  .logo-mark {
    width: min(100%, 240px);
  }

  .main-nav a,
  .register-button,
  .media-link {
    font-size: 1.1rem;
  }

  .register-button {
    min-height: 2.6rem;
    padding: 0.25rem 0.8rem 0.15rem;
  }

  .profile-stage {
    gap: 1rem;
    margin-top: 0.75rem;
  }

  .profile-heading {
    font-size: 2rem;
    margin-bottom: 0.9rem;
  }

  .profile-body {
    font-size: 1rem;
    line-height: 1.18;
  }

  .profile-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
