/* Intro typo — scroll-driven flying words (ported from old site) */

.intro-typo {
  width: 100%;
  min-height: 100svh;
  overflow-x: clip;
}

.intro-typo .scroll-track {
  height: 500svh;
  position: relative;
  overflow-x: clip;
}

.intro-typo .sticky {
  background-color: var(--background);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  display: flex;
  position: sticky;
  top: 0;
  overflow-x: clip;
  width: 100%;
}

.intro-typo .text-wrap {
  justify-content: center;
  align-items: center;
  max-width: 86rem;
  width: 100%;
  font-family: var(--main-font);
  font-weight: 400;
  display: flex;
  position: relative;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  opacity: 0;
}

.intro-typo .slogan-final-wrap {
  justify-content: center;
  align-items: center;
  font-family: var(--accent-font);
  display: flex;
  position: absolute;
  inset: 0%;
  pointer-events: none;
}

.intro-typo .paragraph-text {
  text-align: center;
  margin-bottom: 0;
  font-family: var(--main-font);
  color: var(--heading);
  font-size: 4rem;
  line-height: 1;
}

.intro-typo .paragraph-text.bold-span {
  display: inline;
}

.intro-typo .bold-span {
  font-family: var(--accent-font);
  font-style: italic;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
  display: inline-block;
  position: relative;
  color: var(--heading);
  text-transform: none;
  white-space: nowrap;
}

.intro-typo .paragraph-text.bold-span.is-slogan {
  font-family: var(--accent-font);
  font-style: italic;
  font-weight: 400;
}

.intro-typo .paragraph-text.bold-span.is-slogan.is-punctuation {
  margin-right: 0.75rem;
}

.intro-typo .paragraph-text.bold-span.is-slogan.is-punctuation.nokta {
  margin-right: 0;
}

/* FOUC guard — animated slogan words hidden until JS positions them */
.intro-typo .is-slogan {
  visibility: hidden;
}

/* SplitType word wrappers */
.intro-typo .word {
  display: inline-block;
}

@media screen and (max-width: 991px) {
  .intro-typo .text-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .intro-typo .paragraph-text,
  .intro-typo .bold-span {
    font-size: 2.6rem;
  }
}

@media screen and (max-width: 479px) {
  .intro-typo {
    min-height: 100svh;
    display: block;
    position: static;
    inset: 0%;
    overflow-x: clip;
  }

  .intro-typo .scroll-track {
    height: 500svh;
  }

  .intro-typo .sticky {
    min-height: 100svh;
  }

  .intro-typo .text-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .intro-typo .paragraph-text {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .intro-typo .bold-span {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-typo .scroll-track {
    height: auto;
  }

  .intro-typo .sticky {
    position: relative;
    min-height: auto;
    padding: 4em 0;
  }

  .intro-typo .text-wrap {
    opacity: 1;
  }

  .intro-typo .slogan-final-wrap {
    display: none;
  }

  .intro-typo .is-slogan {
    visibility: hidden;
  }
}

/* Keep the teaser contact invitation close to the completed intro. */
.home-teaser .section-contact .contact {
  padding-top: 0;
  padding-bottom: clamp(48px, 8svh, 96px);
}
