/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--header-h);
  background: transparent;
  pointer-events: none;
}

.site-header__clip {
  overflow: hidden;
  height: 100%;
}

.site-header__inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 40px;
  margin-top: 20px;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  top: -30px;
  opacity: 0;
}

.site-header.is-in .site-header__inner {
  top: 0;
  opacity: 1;
  transition:
    top 0.65s var(--ease-spring),
    opacity 0.65s var(--ease-spring);
}

.site-header__name,
.site-header__nav a,
.site-header__year,
.site-header__meet {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.13px;
  line-height: 16px;
  text-transform: uppercase;
  color: var(--white);
}

.site-header__name {
  justify-self: start;
}

.site-header__nav {
  display: flex;
  gap: 24px;
  justify-self: center;
}

.site-header__year {
  justify-self: end;
  font-weight: 400;
}

.site-header__meet {
  display: none;
  justify-self: end;
}

@media (max-width: 1199px) {
  .site-header__inner {
    display: flex;
    justify-content: space-between;
    height: 40px;
    margin-top: 10px;
  }

  .site-header__nav,
  .site-header__year {
    display: none;
  }

  .site-header__meet {
    display: block;
  }
}

body.is-404 .site-header {
  display: none;
}

/* Splash — gray → white wordmark wipe */
.splash {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #000;
  pointer-events: none;
}

.splash__mark {
  position: absolute;
  left: calc(50% - 496px);
  top: 379px;
  width: 993px;
}

.splash__layer {
  display: block;
  width: 100%;
  height: auto;
}

.splash__layer--gray {
  filter: brightness(0) invert(0.14);
}

.splash__layer--white {
  position: absolute;
  left: 0;
  top: 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 72%,
    transparent 100%
  );
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-size: 250% 100%;
  mask-size: 250% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation: splash-wipe 1.45s cubic-bezier(0.4, 0, 0.2, 1) 0.12s forwards;
}

@keyframes splash-wipe {
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

.splash.is-out {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.splash.is-gone {
  display: none;
}

@media (max-width: 1199px) {
  .splash__mark {
    left: 50%;
    top: 50%;
    width: min(993px, 92vw);
    transform: translate(-50%, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash__layer--white {
    animation: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Footer CTA + bar */
.lets-talk {
  display: block;
  font-size: 80px;
  font-weight: 500;
  letter-spacing: -2.4px;
  line-height: 72px;
  color: var(--white);
  white-space: nowrap;
  text-align: center;
  padding: 80px var(--gutter) 40px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  transform-origin: center center;
  transition:
    transform 0.45s var(--ease-bounce),
    opacity 0.45s var(--ease-bounce);
}

.lets-talk:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.site-footer {
  padding: 0 var(--gutter) 48px;
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 24px;
}

.site-footer__left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__left a,
.site-footer__left p,
.site-footer__connect {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.13px;
  text-transform: uppercase;
}

.site-footer__left p {
  font-weight: 400;
  text-transform: uppercase;
}

.site-footer__connect {
  background: var(--white);
  color: var(--black);
  border-radius: 50px;
  padding: 10px 16px;
  text-transform: none;
  font-weight: 500;
}

.site-footer--404 .lets-talk {
  display: none;
}

@media (max-width: 1199px) {
  .lets-talk {
    font-size: 48px;
    letter-spacing: -1.4px;
    line-height: 1;
    padding: 64px var(--gutter) 32px;
    white-space: normal;
  }

}

@media (max-width: 809px) {
  .lets-talk {
    font-size: 40px;
    letter-spacing: -1.2px;
  }
}

.site-cursor {
  display: none;
}

@media (min-width: 1200px) {
  .site-cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    margin-top: 0;
    pointer-events: none;
    z-index: 13;
    mix-blend-mode: difference;
    opacity: 0;
    border-radius: 50%;
    background: #fff;
  }

  .site-cursor.is-on {
    opacity: 1;
  }
}
