/* The landing page is the Calgary cold open, narrowed to one self-contained scene. */

.event-link,
.apply-link {
  position: fixed;
  z-index: 53;
  color: var(--white);
  font-family: var(--mono);
  text-decoration: none;
  text-transform: uppercase;
}

.event-link {
  top: clamp(24px, 7vh, 72px);
  right: clamp(24px, 5vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-size: clamp(11px, 0.9vw, 14px);
}

.event-link span:first-child {
  font-family: var(--display);
  font-size: clamp(18px, 1.7vw, 29px);
  font-weight: 800;
}

.event-link span:last-child {
  color: var(--soft);
}

.apply-link {
  right: clamp(24px, 5vw, 96px);
  bottom: clamp(24px, 7vh, 72px);
  min-height: 42px;
  padding: 12px 0 0;
  border-top: 1px solid var(--white);
  font-size: clamp(11px, 0.9vw, 14px);
}

.event-link:hover,
.event-link:focus-visible,
.apply-link:hover,
.apply-link:focus-visible {
  color: var(--pan-orange);
}

.title__h {
  font-size: clamp(52px, 5.6vw, 104px);
}

.title__line {
  width: fit-content;
}

.title__primary {
  position: relative;
  display: block;
}

.title__sub {
  display: block;
  width: 100%;
  margin-top: 0.42em;
  color: var(--soft);
  font-family: var(--display);
  font-size: 0.23em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.brandmark {
  bottom: clamp(6vh, 6.5vh, 68px);
  gap: 24px;
  height: 76px;
}

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

.brand-wrap {
  height: auto;
}

.brand-wrap--aisf {
  max-width: 250px;
}

.brandmark__aisf {
  display: block;
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 25px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.brandmark__aisf span {
  display: block;
  margin-bottom: 5px;
  color: var(--pan-orange);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}

.brand-wrap--pan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.brandmark__sponsor {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.brandmark:not(.brandmark--clean) .brandmark__logo--pan,
.brandmark__logo--pan {
  height: clamp(38px, 3.8vw, 56px);
}

.brandmark__sep {
  height: 48px;
}

.s-status {
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
}

.s-status__label {
  margin: 0 0 24px;
  color: var(--soft);
  font-size: clamp(11px, 0.9vw, 15px);
  text-transform: uppercase;
  opacity: 0;
  animation: status-line-in 500ms ease forwards;
}

.s-status__row {
  display: flex;
  min-height: clamp(62px, 8vh, 90px);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--hair);
  color: var(--white);
  font-size: clamp(15px, 1.35vw, 23px);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  animation: status-line-in 620ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.s-status__row:nth-child(2) {
  animation-delay: 300ms;
}

.s-status__row:nth-child(3) {
  animation-delay: 900ms;
}

.s-status__row:nth-child(4) {
  animation-delay: 1500ms;
}

.s-status__row:nth-child(5) {
  animation-delay: 2100ms;
}

.s-status__row strong {
  color: var(--white);
  font-size: 0.78em;
  font-weight: 500;
}

.s-status__row--last strong {
  color: var(--red);
  animation: status-trust-shift 700ms ease 3200ms forwards;
}

@keyframes status-line-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes status-trust-shift {
  to {
    color: var(--white);
  }
}

@media (min-width: 761px) {
  .s-punch {
    top: 19vh;
  }
}

@media (max-width: 760px) {
  .title {
    top: 27%;
    width: calc(100% - 48px);
  }

  .title__h {
    font-size: clamp(46px, 14vw, 72px);
  }

  .act {
    top: 44%;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .act__frame {
    padding: 6vh 24px 16vh;
  }

  .scene {
    right: 24px;
    left: 24px;
  }

  .brandmark {
    right: 24px;
    bottom: 5.5vh;
    left: 24px;
    gap: 14px;
    height: 58px;
  }

  .brand-wrap--aisf {
    max-width: 150px;
  }

  .brandmark__aisf {
    font-size: 15px;
  }

  .brandmark:not(.brandmark--clean) .brandmark__logo--pan,
  .brandmark__logo--pan {
    height: 32px;
  }

  .brandmark__sep {
    height: 36px;
  }

  .event-link {
    top: 22px;
    right: 22px;
  }

  .event-link span:first-child {
    font-size: 15px;
  }

  .event-link span:last-child {
    font-size: 9px;
  }

  .apply-link {
    right: 22px;
    bottom: 18px;
    min-height: 30px;
    padding-top: 8px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grain,
  .title__h .word--glitch::before,
  .title__h .word--glitch::after {
    animation: none !important;
  }
}
