/*** UI Functions ***/
/*** UI Functions ***/
section.promo-section .about-link .link-title:before {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
@function ui-color($color-name, $color-theme: light){
  $color-theme: map_get($ui-colors, $color-theme);
  $color: map_get($color-theme, $color-name);

  @return $color;
}
*/
#page {
  will-change: background-color;
}

#page.affirmations-color {
  background-color: #323B4B;
}

#page.sourcing-vision-color {
  background-color: #3661EB;
}

#page.sting-tv-color {
  background-color: #9774E6;
}

section.hero {
  position: relative;
  height: 92vh;
}

section.hero h1 {
  margin: auto;
  letter-spacing: -0.0333em;
}

section.hero h1 span {
	font-size: 18px;
	display: block;
	line-height: 1;
	letter-spacing: -0.02em;
	font-weight: 500;
  padding-bottom: 32px;
  transition-property: color;
  transition-duration: 0.3s;
  color: #606060;
}

.dark section.hero h1 span {
  color: #9C9C9C;
}

section.project {
  padding-top: 84px;
  padding-bottom: 84px;
  min-height: 100vh;
  height: fit-content;
  text-align: center;
  display: flex;
}

section.project > * {
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}

.heading-box .project-title {
  font-size: 40px;
  transition-property: color;
  transition-duration: 0.3s;
  color: #0C0C0C;
}

.dark .heading-box .project-title {
  color: white;
}

.media-box {
  margin: auto;
  width: 100%;
  z-index: 1;
}

.media-box .media {
  position: relative;
}

.media-box .media .mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 0;
  box-shadow: 0 8px 252px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  will-change: transform;
  aspect-ratio: 4/3;
  backface-visibility: hidden;
}

.media-box .media .mockup .mob-mockup, .media-box .media .mockup .desk-mockup {
  width: 100%;
  height: auto;
}

.media-box .media .mockup .mob-mockup {
  display: block;
}

.media-box .media .mockup .desk-mockup {
  display: none;
}

.media-box .media .mockup-part {
  position: absolute;
  filter: drop-shadow(0px -4px 32px rgba(0, 0, 0, 0.25));
}

.media-box a {
  overflow: hidden;
  position: relative;
}

.tags-box {
  column-gap: 12px;
  row-gap: 15px;
  padding-top: 6vh;
}

.tags-box .tag {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.2px;
  padding: 8px 16px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  white-space: nowrap;
  max-width: fit-content;
  height: fit-content;
  will-change: transform;
}

.button-box {
  width: 100%;
}

.button-box .button {
  margin-top: 52px;
}

.cursor-button {
  display: none;
}

section.sourcing-vision h2.project-title {
  color: #fff;
}

section.sourcing-vision .sv-counter {
  width: 42vw;
  left: -6px;
  bottom: -24px;
  z-index: 2;
}

section.sourcing-vision .sv-stats {
  display: none;
  z-index: 0;
}

section.affirmations .mockup-part {
  width: 14vw;
  z-index: 2;
}

section.affirmations .af-card {
  top: 42px;
  left: -12px;
  width: 24%;
}

section.affirmations .af-user {
  width: 36%;
  right: -14px;
  bottom: -20px;
}

section.sting-tv .media-box .media .desk-mockup {
  width: calc(100% + 1px);
}

section.sting-tv .st-streamer {
  right: -12px;
  width: 28vw;
  bottom: -8%;
  z-index: 2;
}

section.instagram-feed {
  display: none !important;
}

section.instagram-feed .ig-mobile {
  left: -12px;
  width: 20%;
  bottom: -8%;
}

section.instagram-feed .ig-link {
  right: -12px;
  width: 32%;
  top: 26%;
}

section.parents-talk .pt-logo {
  left: -12px;
  top: -10%;
  width: 30%;
}

section.parents-talk .pt-screen {
  right: -12px;
  width: 42%;
  bottom: -20%;
}

section.yes-plus .yp-card {
  right: -12px;
  width: 18%;
  top: 36%;
}

section.yes-plus .yp-streamer {
  right: -12px;
  width: 24%;
}

section.yes-plus .yp-tab {
  left: -12px;
  width: 18%;
}

section.yes .ys-tablet {
  left: -12px;
  width: 40%;
}

section.promo-section {
  text-align: right;
  position: relative;
  height: 100vh;
}

section.promo-section .about-link {
  width: fit-content;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.promo-section .about-link .link-title {
  position: relative;
  transform: translateY(-100%);
  padding-bottom: 8px;
  display: inline-block;
}

@media (max-width: 679px) {
  section.promo-section .about-link .link-title {
    font: 700 64px/114% "silka", sans-serif;
  }
}

section.promo-section .about-link .link-title:before {
  content: attr(data-text);
	white-space: nowrap;
  letter-spacing: inherit;
  font-weight: inherit;
  top: auto;
  color: #006EFF;
  bottom: auto;
  transition-property: width;
  transition-duration: 0.6s;
  overflow: hidden;
  width: 0;
  position: absolute;
  transition-timing-function: cubic-bezier(0.2, 1, 0.8, 1);
  transform-origin: left;
}

section.promo-section .about-link .link-text {
  position: relative;
  letter-spacing: 0.4px;
  font-weight: 600;
}

section.promo-section .about-link .link-text span {
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-80%);
  transition-property:;
  transition-duration: 0.3s;
  color: #606060;
  transition-property: transform, color;
  transition-duration: 0.5s, 0.3s;
  transition-delay: 0.1s, 0s;
}

.dark section.promo-section .about-link .link-text span {
  color: #9C9C9C;
}

section.promo-section .about-link .link-text:after, section.promo-section .about-link .link-text:before {
  display: inline-block;
  content: '';
  width: 30px;
  display: inline-block;
  vertical-align: middle;
  height: 1px;
  transition-property:;
  transition-duration: 0.3s;
  background-color: #0C0C0C;
  transform-origin: left;
  transition-property: transform, color;
  transition-duration: 0.4s, 0.3s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.8, 1);
}

.dark section.promo-section .about-link .link-text:after, .dark section.promo-section .about-link .link-text:before {
  background-color: white;
}

section.promo-section .about-link .link-text:after {
  margin-left: 6px;
  transition-delay: 0.2s, 0s;
  transform-origin: right;
}

section.promo-section .about-link .link-text:before {
  position: absolute;
  width: 100%;
  top: 1px;
  left: 0;
  bottom: 0;
  margin: auto;
  transform: scaleX(0);
  transform-origin: left;
}

section.promo-section .about-link:hover .link-title:before {
  width: 100%;
  transition-timing-function: cubic-bezier(0.7, 0, 0.2, 1);
}

section.promo-section .about-link:hover .link-text span, section.promo-section .about-link:hover .link-text:after, section.promo-section .about-link:hover .link-text:before {
  transition-timing-function: cubic-bezier(0.7, 0, 0.2, 1);
}

section.promo-section .about-link:hover .link-text span {
  transform: translateX(-50%);
}

section.promo-section .about-link:hover .link-text:after {
  transform: scaleX(0);
  transition-delay: 0s;
}

section.promo-section .about-link:hover .link-text:before {
  transform: scaleX(1);
  transition-delay: 0.2s;
}

section.promo-section .logo-visual {
  min-width: 576px;
  max-width: 840px;
  width: 150%;
  aspect-ratio: 1/1;
  height: auto;
  position: absolute;
  left: -25%;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  z-index: 0;
  backface-visibility: hidden;
  transform: rotateZ(-12deg);
  transform-origin: center center;
  display: inline-block;
  will-change: transform;
}

section.promo-section .logo-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  max-width: 100%;
  translate: 0 2.5% 0;
  transition: opacity 0.3s;
  will-change: opacity;
}

section.promo-section .logo-visual img.logo-dark {
  opacity: 0;
}

.dark section.promo-section .logo-visual img.logo-dark {
  opacity: 1;
}

.dark section.promo-section .logo-visual img.logo-light {
  opacity: 0;
}

@media (min-width: 414px) {
  .heading-box .project-title {
    font-size: 48px;
  }
}

@media (min-width: 680px) {
  section.hero {
    height: 100vh;
  }
  section.hero .hero-content {
    padding-left: 0;
    padding-right: 0;
  }
  section.hero h1 {
    text-align: center;
  }
  section.hero .scroll-indicator {
    flex-direction: column;
    row-gap: 8px;
    margin: 0 auto;
  }
  section.hero .scroll-indicator .indicator-wrapper {
    margin: auto;
    height: 24px;
  }
  .heading-box .project-title {
    font-size: 52px;
  }
  .media-box {
    width: 75%;
    margin-top: -20px;
    margin-bottom: -20px;
  }
  .media-box .media .mockup {
    aspect-ratio: 16/9;
  }
  .media-box .media .mockup .mob-mockup {
    display: none;
  }
  .media-box .media .mockup .desk-mockup {
    display: block;
  }
  .tags-box {
    gap: 20px;
    padding-top: 8vh;
  }
  .tags-box .tag {
    padding: 12px 16px;
  }
  section.affirmations .af-card {
    left: -10%;
    top: 15%;
  }
  section.affirmations .af-user {
    width: 26%;
    right: -12%;
    bottom: 15%;
  }
  section.sourcing-vision .mockup-part {
    width: 22vw;
  }
  section.sourcing-vision .sv-counter {
    left: -48px;
    bottom: 48px;
  }
  section.sourcing-vision .sv-stats {
    display: block;
    right: -8vw;
    top: 84px;
  }
  section.sting-tv .st-streamer {
    right: -10%;
    width: 36%;
  }
  section.instagram-feed .ig-mobile {
    left: -10%;
    width: 20%;
  }
  section.instagram-feed .ig-link {
    right: -15%;
    width: 28%;
    top: 24%;
  }
  section.parents-talk .pt-logo {
    left: -12px;
    top: -10%;
    width: 30%;
  }
  section.parents-talk .pt-screen {
    right: -12px;
    width: 42%;
    bottom: -20%;
  }
  section.yes-plus .yp-card {
    right: -12px;
    width: 18%;
    top: 36%;
  }
  section.yes-plus .yp-streamer {
    right: -12px;
    width: 24%;
  }
  section.yes-plus .yp-tab {
    left: -12px;
    width: 18%;
  }
  section.yes .ys-tablet {
    left: -12px;
    width: 40%;
  }
  section.promo-section .title {
    padding-bottom: 8px;
    transform: translate(0, -100%);
  }
  section.promo-section .logo-visual {
    width: 41.6666666667%;
    left: 0;
    transform: rotateZ(-20deg);
  }
  section.promo-section .logo-visual img {
    transform: translate(-25%, 5%);
  }
}

@media (min-width: 1200px) {
  .heading-box {
    width: 100%;
    z-index: 0;
  }
  .heading-box .project-title {
    font-size: 64px;
  }
  .media-box {
    width: 50%;
  }
  .button-box {
    display: none;
  }
  .cursor-button {
    position: fixed;
    display: flex;
    width: 110px;
    height: 110px;
    padding: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    pointer-events: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    background-color: #000;
    color: white;
    border-radius: 900px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  section.sourcing-vision .mockup-part {
    width: 17vw;
  }
  section.sourcing-vision .sv-counter {
    left: -68px;
    bottom: 48px;
    z-index: 2;
  }
  section.sourcing-vision .sv-stats {
    z-index: 0;
    right: -108px;
    top: 84px;
  }
  section.affirmations .af-card {
    width: 10.5vw;
    top: 42px;
  }
  section.affirmations .af-user {
    width: 10.5vw;
    right: -10%;
    bottom: 42px;
  }
  section.sting-tv .st-streamer {
    width: 16.5vw;
    right: -14%;
  }
  section.parents-talk .pt-logo {
    width: 10vw;
    left: -10%;
    top: 14%;
  }
  section.parents-talk .pt-screen {
    width: 17vw;
    right: -18%;
    bottom: -14%;
  }
  section.instagram-feed .ig-link {
    width: 16vw;
    top: 42%;
    right: -24%;
  }
  section.instagram-feed .ig-mobile {
    width: 10.5vw;
    bottom: -22%;
    left: -16%;
  }
  section.yes-plus .yp-card {
    width: 10vw;
    top: 50%;
    right: -14.5%;
  }
  section.yes-plus .yp-tab {
    width: 7.66vw;
    left: -6.75%;
    top: 12%;
  }
  section.yes-plus .yp-streamer {
    width: 11vw;
    left: -14.5%;
    bottom: -21%;
  }
  section.yes .ys-tablet {
    width: 21vw;
    left: -22%;
    bottom: -21%;
  }
}
