/* The original orbit composition with a quieter, wider frame. */
.hero {
  --paper: #eceae4;
  background: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 25px 2% 27px;
  z-index: 1;
  border: 1px solid rgba(25, 27, 30, 0.23);
  pointer-events: none;
}

.hero .portrait {
  z-index: 2;
}

.hero .portrait::before {
  background: var(--paper);
  mask-image: url('main-concept/assets/jan-cutout.png');
}

.back-word {
  left: 4%;
}

.nav {
  padding: 17px 0;
}

.scroll-cue {
  bottom: 37px;
}

.scroll-cue span {
  font-size: 22px;
}

@media (max-width: 1000px) {
  .back-word {
    left: 4.5%;
  }
}

@media (max-width: 800px) {
  .hero::before {
    inset: 13px 2% 15px;
  }

  .nav {
    padding: 13px 0;
  }

  .back-word {
    left: 5%;
  }

  .scroll-cue {
    bottom: 24px;
  }
}

/* Three typographic readings of Jan's conversational turn. */
.hero-headline .headline-turn {
  display: block;
  white-space: nowrap;
}

.headline-connector {
  display: inline-block;
  white-space: nowrap;
  vertical-align: baseline;
}

.hero-headline--note .headline-connector {
  margin-left: .8em;
  color: var(--deep);
  font: 600 clamp(11px, 1.1vw, 15px)/1.2 Manrope, sans-serif;
  letter-spacing: -.02em;
  transform: translateY(-.3em);
}

.hero-headline--serif .headline-connector {
  margin-left: .3em;
  color: var(--ink);
  font: italic 400 .48em/1 Lora, serif;
  letter-spacing: -.035em;
  transform: translateY(-.08em);
}

.hero-headline--marker .headline-connector {
  margin-left: 1em;
  padding: .45em .75em;
  border-radius: 2px;
  background: var(--bronze);
  color: var(--ink);
  font: 600 .2em/1.1 Manrope, sans-serif;
  letter-spacing: .015em;
  transform: translateY(-.38em);
}

/* The two work paths share a card silhouette. */
.coaching-section {
  border-radius: 16px;
}

.journey {
  width: 91%;
  max-width: 1400px;
  min-height: 520px;
  margin: 0 auto 90px;
  padding: 74px 7%;
  border-radius: 16px;
  scroll-margin-top: 25px;
}

@media (max-width: 800px) {
  .prototype {
    display: block;
  }

  .prototype > span {
    display: block;
    margin-bottom: 6px;
  }

  .prototype .preview-controls {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 10px;
  }

  .coaching-section {
    border-radius: 14px;
  }

  .journey {
    width: 90%;
    min-height: 560px;
    margin-bottom: 55px;
    padding: 55px 8%;
    border-radius: 14px;
  }

  .journey h2 {
    font-size: clamp(39px, 10vw, 47px);
  }
}

@media (max-width: 420px) {
  .hero-headline .headline-turn {
    font-size: .92em;
  }
}
