:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray: #9b9b9b;
  --color-gray-lighter: #d5d5d5;
  --color-gray-light: #b4b4b4;
  --color-gray-darker: #3f3f3f;

  --error: #ff6f71;

  --purple-darkest: #3b1a7a;
  --purple-darker: #5c28be;
  --purple: #7131e8;
  --purple-light: #8c6fff;
  --purple-lightest: #a292fc;

  --blue-dark: #3b50b2;
  --blue: #494cff;
  --blue-light: #3f90e5;
}

@media (min-width: 576px) {
  .container-sm,
  .container {
    max-width: 670px;
  }
}
@media (min-width: 768px) {
  .container-md,
  .container-sm,
  .container {
    max-width: 800px;
  }
}

@media (min-width: 992px) {
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1080px;
  }
}

@media (min-width: 1200px) {
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1180px;
  }
}

@media (min-width: 1400px) {
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1860px;
  }
}

textarea {
  resize: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: articulat-cf, sans-serif;
  background: var(--color-black);
  overflow-x: hidden;
}

.bg-purple {
  background: var(--purple);
}

.bg-darkest-purple {
  background: var(--purple-darkest);
}

.secondary-button {
  background: var(--purple-lightest);
  padding: 13px 22px;
  font-size: 14px;
  font-weight: bold;
  color: var(--color-white);
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.2s ease-in-out;
}

.secondary-button:hover {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--purple-lightest);
  color: var(--purple-lightest);
}

.primary-button-no-hover {
  background: var(--purple);
  padding: 16px 35px;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-white);
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.2s ease-in-out;
}

.primary-button {
  background: var(--purple);
  padding: 16px 35px;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-white);
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.2s ease-in-out;
}

.primary-button:hover {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--purple);
  color: var(--purple);
}

.primary-button-outline-italic {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--purple-light);
  padding: 12px 36px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-gray-lighter);
  text-decoration: none;
  font-style: italic;
  border-radius: 15px;
  transition: all 0.2s ease-in-out;
}

.primary-button-outline-italic:hover {
  background: var(--purple-light);
  box-shadow: none;
  color: var(--color-gray-lighter);
}

.primary-button-outline {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--purple);
  padding: 16px 35px;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-gray-lighter);
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.2s ease-in-out;
}

.primary-button-outline:hover {
  background: var(--purple);
  box-shadow: none;
  color: var(--color-gray-lighter);
}

[data-animate] > span {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}
[data-animate] > span > span {
  display: none;
  animation: 2s cubic-bezier(0, 1.2, 0.1, 0.9);
  animation-fill-mode: backwards;
}
[data-animate].show > span > span {
  display: inline-block;
}

[data-animate="slideup"] > span > span {
  animation-name: slideUp;
}

[data-animate] .word:nth-child(3),
[data-animate] .word:nth-child(4),
[data-animate] .word:nth-child(5) {
  color: var(--purple-light);
  font-weight: bold;
}

.hero-title-desktop {
  display: block;
}

.hero-title-mobile {
  display: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(0, 1.2em);
  }
}

.img-480 {
  max-height: 480px;
  min-height: 480px;
}

.img-600 {
  max-height: 600px;
  min-height: 600px;
}

/* Hero section */
.hero-section {
  margin-top: 115px;
  margin-bottom: 135px;
}

.break-line-hero-h2 {
  display: block;
}

.hero-section h1 {
  font-size: 128px;
  font-family: "Larken", sans-serif;
  color: var(--color-white);
  margin-bottom: 0;
  line-height: 105px;
  font-weight: 500;
}

.hero-section h2 {
  font-weight: 400;
  color: var(--color-white);
  font-size: 24px;
  margin-top: -10px;
}

/* Projects */
.selected-projects-header {
  margin-bottom: 30px;
}

.selected-projects-header p {
  color: var(--color-gray-lighter);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
}

.case-card img {
  width: 100%;
  object-fit: cover;
}

.case-card-description h2 {
  color: var(--color-white);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 5px;
}

.case-card-description h3 {
  color: var(--color-gray-lighter);
  font-size: 20px;
  font-weight: 400;
  font-family: "Larken", sans-serif;
}

.case-card-content-hover > div {
  position: absolute;
  bottom: -50px;
  opacity: 0;
  right: 20px;
  transition: all 0.3s ease-in-out;
}

.case-card-content-hover {
  overflow: hidden;
  border-radius: 15px;
}

.case-card-content-hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: 15px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.315) 100%
  );
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.case-card-content-hover > img,
.case-card-description {
  transition: all 0.3s ease-in-out;
}

.case-card:hover {
  & .case-card-content-hover::before {
    opacity: 1;
  }
  & .case-card-content-hover > div {
    bottom: 20px;
    right: 20px;
    opacity: 1;
    z-index: 2;
  }
  & .case-card-content-hover > img {
    transform: scale(1.03);
  }
  & .case-card-description {
    filter: brightness(60%);
  }
}

.columns-1.columns-md-2 {
  column-count: 2;
  column-gap: 4rem;
  column-fill: balance;
  margin-bottom: 75px;
}

.columns-1.columns-md-2 > a {
  break-inside: avoid-column;
}

.columns-1.columns-md-2 > .case-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem;
}

.selected-projects-section {
  margin-bottom: 160px;
}

.selected-projects-section .primary-button-outline {
  padding-right: 64px;
  padding-left: 64px;
}

/* Our services */
.our-services-section {
  background: var(--purple-light);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  padding: 60px;
  margin-bottom: 180px;
}

.our-services-header h2 {
  color: var(--color-white);
  font-size: 48px;
  font-weight: bold;
  line-height: 48px;
}

.our-services-header h2 > span {
  color: var(--purple-darkest);
}

.our-services-header {
  margin-bottom: 75px;
}

.services-star {
  position: absolute;
  top: -400px;
  right: -220px;
}

.services-star img {
  width: 100%;
  min-width: 600px;
}

.our-services-content hr {
  color: var(--purple-darkest);
  margin: 35px 0;
  opacity: 1;
}

.our-services-content p {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 400;
}

/* Profile */
.profile-description {
  width: fit-content;
  margin-bottom: 45px;
}

.profile-description p {
  font-size: 32px;
  color: var(--color-white);
  font-family: "Larken", sans-serif;
}

.profile-description p:first-child {
  font-weight: 100;
  margin-bottom: -35px;
}

.profile-description p:last-child {
  font-style: italic;
  margin-top: -50px;
}

.profile-description-text {
  padding-right: 30px;
}

.profile-description-text p {
  color: var(--color-white);
  font-size: 24px;
}

.profile-description-text p:first-child {
  margin-bottom: 25px;
  font-weight: 400;
}

.profile-description-text p:last-child {
  font-weight: bold;
  font-family: "Larken", sans-serif;
  margin-bottom: 0;
}

.profile-section {
  padding: 0 80px;
}

.profile-section {
  margin-bottom: 180px;
}

/* Number cards */
.numbers-card,
.numbers-card-presentation {
  border-radius: 15px;
  padding: 50px 40px 14px 40px;
  min-height: 350px;
}

.numbers-section {
  padding: 0 80px;
  margin-bottom: 190px;
}

.numbers-card-presentation h2 {
  font-family: "Larken", sans-serif;
  font-size: 56px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-white);
  margin-bottom: 10px;
}

.numbers-card-presentation p {
  margin-bottom: 0;
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  color: var(--purple-darkest);
}

.numbers-card-presentation > div {
  position: absolute;
  right: -80px;
  bottom: -110px;
}

.numbers-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.numbers-card h2 {
  color: var(--color-white);
  font-size: 148px;
  font-weight: 900;
  font-style: italic;
  line-height: 128px;
}

.numbers-card span {
  font-size: 148px;
  color: var(--purple-light);
  font-style: italic;
  line-height: 128px;
}

.numbers-card h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
}

.numbers-card p {
  color: var(--purple-light);
  font-size: 20px;
  font-family: "Larken", sans-serif;
  text-align: center;
  line-height: 24px;
}

.custom-numbers-spacing {
  padding: 0 2px;
}

.profile-picture {
  border-radius: 15px;
  transition: transform 0.2s ease-in-out;
}

.profile-picture:hover {
  transform: translateY(-12px);
}

.profile-section-text {
  padding-right: 90px;
}

.profile-picture {
  height: 100%;
  object-fit: cover;
}

.profile-description img {
  max-width: 100%;
}

#numberSectionMobile {
  display: none;
}

#numbersSectionDesktop {
  display: block;
}

/* Contact */
.contact-container {
  background: var(--purple-darkest);
  padding: 60px 50px;
  border-radius: 15px;
}

.contact-section-success {
  min-height: 70vh;
}

.contact-section-success a {
  color: var(--color-white);
  transition: color 0.2s ease-in-out;
}

.contact-section-success a:hover {
  color: var(--color-gray-lighter);
}

.contact-section {
  margin-top: 55px;
  margin-bottom: 115px;
}

.contact-section h1 {
  font-size: 105px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 80px;
  font-family: "Larken", sans-serif;
  margin-bottom: 24px;
}

.contact-section-presentation {
  margin-top: 60px;
}

.contact-section-presentation span {
  color: var(--purple);
}

.contact-container span {
  font-size: 14px;
  display: none;
  margin-top: 6px;
  color: var(--error);
  padding-left: 14px;
}

.contact-section h2 {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--color-white);
}

.form-control,
.form-select {
  background-color: transparent;
  border: 1px solid var(--purple-light);
  padding: 17px 24px;
  border-radius: 15px;
  color: var(--purple-light);
  font-weight: 500;
  font-size: 18px;
}

.form-control:focus,
.form-select:focus {
  background-color: transparent;
  color: var(--purple-light);
  border: 1px solid var(--purple-light);
}

.form-select {
  color: var(--purple-light);
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238c6fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select > option {
  background-color: var(--purple-darkest);
}

.form-control:focus::placeholder {
  font-weight: 500;
  color: var(--purple-darker);
  font-size: 18px;
}

.form-control::placeholder {
  font-weight: 500;
  color: var(--purple-light);
  font-size: 18px;
}

.sticky-col {
  position: sticky;
  top: 45px;
}

.privacy-policy-checkbox {
  margin-left: 12px;
}

input[type="checkbox"] {
  --bs-form-check-bg: transparent;
  border: 1px solid var(--purple-light);
}

.form-check-input:checked {
  background-color: var(--purple-light);
  border-color: var(--purple-light);
}

.privacy-policy-checkbox label {
  color: var(--purple-light);
}

.privacy-policy-checkbox a {
  color: var(--purple-light);
}

/* Cases */
.custom-case-container {
  padding: 0 40px;
}

.case-presentation {
  margin-top: 50px;
  margin-bottom: 70px;
}

.case-hero {
  margin-bottom: 50px;
}

.case-hero h1 {
  font-family: "Larken", sans-serif;
  font-size: 72px;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0;
}

.case-hero p {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-gray-lighter);
}

.case-details {
  margin-bottom: 60px;
}

.case-details h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
}

.case-details p,
.case-details li {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-gray-lighter);
}

.img-cover {
  margin-bottom: 40px;
}

.img-cover img {
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.img-presentation img {
  width: 100%;
  border-radius: 15px;
}

.img-presentation {
  margin-bottom: 45px;
}

.case-challenges h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
}

.case-challenges {
  margin-bottom: 60px;
}

.case-challenges p {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-gray-lighter);
}

.visual-strategy img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.visual-strategy {
  margin-bottom: 160px;
}

.case-navigation {
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 92%;
  z-index: 3;
}

.more-cases-mobile {
  display: none;
}

.projects-title h1 {
  color: var(--color-white);
  font-size: 96px;
  text-align: center;
}

.projects-title {
  margin-bottom: 106px;
  margin-top: 90px;
}

.case-presentation-mobile {
  display: none;
}

/* Error */
.error-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.error-container h2 {
  font-family: "Larken", sans-serif;
  color: var(--purple-lightest);
  font-size: 60px;
  margin-bottom: 0;
  font-weight: 500;
}

.error-container h1 {
  font-family: "Larken", sans-serif;
  color: var(--purple-lightest);
  font-size: 150px;
  line-height: 115px;
  font-weight: 500;
}

.error-container p {
  color: var(--color-white);
  font-weight: 500;
  font-size: 38px;
  transform: rotate(90deg);
  margin-bottom: 30px;
}

.error-container a {
  color: var(--color-white);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* Privacy Policy */
.privacy-policy-section {
  padding-right: 150px;
  padding-left: 150px;
  margin-top: 70px;
  margin-bottom: 90px;
}

.privacy-policy-section h1 {
  color: var(--color-white);
  font-weight: 500;
  font-family: "Larken", sans-serif;
  font-size: 72px;
  margin-bottom: 55px;
}

.privacy-policy-block h2 {
  color: var(--color-white);
  font-weight: 500;
  font-size: 40px;
  margin-bottom: 20px;
}

.privacy-policy-block p {
  margin-bottom: 0;
  color: var(--color-gray-lighter);
  font-weight: 400;
}

.privacy-policy-block {
  margin-bottom: 55px;
}

.privacy-btn {
  margin-top: 72px;
}

@media (max-width: 1400px) {
  .profile-description img {
    max-width: 35rem;
  }

  .numbers-card-presentation h2 {
    font-size: 40px;
  }

  .numbers-card h2,
  .numbers-card span {
    font-size: 125px;
  }

  .numbers-card h3 {
    font-size: 20px;
  }

  .numbers-card p {
    font-size: 18px;
  }

  .profile-section {
    padding: 0;
  }
}

@media (max-width: 1200px) {
  .profile-description img {
    width: 100%;
    max-width: 100%;
  }

  .profile-section-text,
  .numbers-section {
    padding: 0;
  }

  .profile-description p:first-child {
    margin-bottom: -60px;
  }

  .profile-description p:last-child {
    margin-top: -75px;
  }

  .profile-section {
    padding: 0;
  }

  .profile-description-text {
    margin-bottom: 30px;
  }

  .profile-description {
    width: 100%;
  }

  .profile-description p {
    font-size: 45px;
  }
}

@media (max-width: 992px) {
  .profile-description p:first-child {
    margin-bottom: -50px;
  }

  .profile-description p:last-child {
    margin-top: -60px;
  }

  .privacy-policy-section {
    padding-right: 50px;
    padding-left: 50px;
  }

  .contact-section-presentation {
    margin-top: 0;
  }

  .case-card-content-hover > div {
    display: none;
  }

  .profile-description-text {
    padding-right: 0;
  }

  .hero-section h1 {
    font-size: 100px;
    line-height: 85px;
  }

  .columns-1.columns-md-2 {
    column-count: 1;
  }

  .services-star {
    position: absolute;
    top: -380px;
    right: -260px;
  }

  .case-card {
    & .case-card-content-hover::before {
      opacity: 1;
    }
    & .case-card-content-hover > div {
      bottom: 20px;
      right: 20px;
      opacity: 1;
      z-index: 2;
    }
    & .case-card-content-hover > img {
      transform: scale(1.03);
    }
    & .case-card-description {
      filter: brightness(100%);
    }
  }

  .case-card:hover {
    & .case-card-description {
      filter: brightness(100%);
    }
  }

  .sticky-col {
    margin-bottom: 40px;
  }

  .custom-case-container {
    padding: 0;
  }

  .case-navigation {
    display: none;
  }

  .more-cases-mobile {
    display: block;
  }

  .more-cases-title h2 {
    color: var(--color-white);
    font-size: 32px;
    font-weight: 500;
    line-height: 35px;
    margin-top: 70px;
  }

  .swiper-cases {
    margin-top: 24px;
    margin-bottom: 38px;
  }

  .swiper-cases img {
    width: 100%;
    height: auto;
    max-height: 600px;
    min-height: 600px;
  }

  .swiper-cases .swiper-slide {
    height: auto;
  }

  .explore-cases {
    margin-bottom: 90px;
  }

  .projects-title h1 {
    font-size: 86px;
  }

  .projects-title {
    margin-bottom: 60px;
    margin-top: 40px;
  }

  .case-presentation-mobile {
    display: block;
    margin-top: 40px;
  }

  .case-presentation {
    margin-top: 15px;
  }

  .case-presentation-mobile img {
    width: 100%;
    border-radius: 15px;
  }
}

@media (max-width: 768px) {
  #numberSectionMobile {
    display: block;
  }

  #numbersSectionDesktop {
    display: none;
  }

  .cards-wrapper {
    display: grid;
    justify-items: center;
  }

  .numbers-card-position {
    width: 100%;
  }

  .cards-wrapper .numbers-card-position {
    grid-area: 1 / 1;
    position: relative;
  }

  .cards-wrapper .numbers-card-position:nth-child(1) {
    transform: translateY(0);
    z-index: 4;
  }
  .cards-wrapper .numbers-card-position:nth-child(2) {
    transform: translateY(20px);
    z-index: 3;
  }
  .cards-wrapper .numbers-card-position:nth-child(3) {
    transform: translateY(40px);
    z-index: 2;
  }
  .cards-wrapper .numbers-card-position:nth-child(4) {
    transform: translateY(60px);
    z-index: 1;
  }

  .hero-section h1 {
    font-size: 80px;
    line-height: 50px;
  }

  .hero-section h2 {
    font-size: 22px;
  }

  .services-star {
    top: -44rem;
    right: -300px;
  }

  .our-services-header h2 {
    font-size: 44px;
  }

  .profile-description p:first-child {
    margin-bottom: -20px;
  }

  .numbers-card-presentation h2 {
    font-size: 75px;
  }

  .numbers-card-presentation p {
    font-size: 22px;
  }

  .numbers-card h2,
  .numbers-card span {
    font-size: 180px;
  }

  .numbers-card h3 {
    font-size: 36px;
    margin-top: 22px;
  }

  .numbers-card p {
    font-size: 28px;
  }

  .numbers-card,
  .numbers-card-presentation {
    min-height: 400px;
  }
}

@media (max-width: 428px) {
  .privacy-policy-section {
    padding-right: 0;
    padding-left: 0;
  }

  .privacy-policy-section h1 {
    font-size: 50px;
  }

  .privacy-policy-block h2 {
    font-size: 30px;
  }

  .hero-section h1 {
    font-size: 55px;
  }

  .hero-section h2 {
    font-size: 16px;
    margin-top: 10px;
  }

  .primary-button-outline-italic {
    padding: 12px 30px;
  }

  .our-services-section {
    padding: 24px;
    padding-top: 85px;
    margin-bottom: 80px;
  }

  .services-star {
    top: -40rem;
    left: 100px;
  }

  .services-star img {
    max-width: 240px;
  }

  .our-services-header {
    margin-bottom: 55px;
  }

  .our-services-header h2 {
    font-size: 32px;
    line-height: 35px;
  }

  .our-services-content p {
    font-size: 16px;
  }

  .profile-description p:first-child {
    margin-bottom: -18px;
  }

  .profile-description p:last-child {
    margin-top: -24px;
  }

  .profile-description p {
    font-size: 24px;
  }

  .selected-projects-header p {
    font-size: 17px;
  }

  .numbers-card-presentation h2 {
    font-size: 60px;
  }

  .numbers-card h2,
  .numbers-card span {
    font-size: 140px;
  }

  .numbers-card p {
    font-size: 22px;
  }

  .numbers-card h3 {
    font-size: 30px;
  }

  .contact-section h1 {
    font-size: 64px;
    line-height: 54px;
  }

  .contact-section h2 {
    font-size: 18px;
  }

  .contact-container {
    padding: 30px 24px;
  }

  .case-challenges h3,
  .case-details h3 {
    font-size: 20px;
  }

  .case-challenges p,
  .case-details p,
  .case-details li,
  .case-hero p {
    font-size: 16px;
  }

  .visual-strategy {
    margin-bottom: 80px;
  }

  .swiper-cases img {
    max-height: 460px;
    min-height: 460px;
  }

  .case-hero h1 {
    font-size: 48px;
  }

  .projects-title h1 {
    font-size: 60px;
  }

  .projects-title {
    margin-bottom: 60px;
    margin-top: 40px;
  }

  .case-presentation,
  .case-details {
    margin-bottom: 20px;
  }

  .img-cover {
    margin-bottom: 8px;
  }

  .case-presentation-mobile {
    margin-top: 0;
  }

  .profile-description-text p {
    font-size: 20px;
  }

  .error-container h2 {
    font-size: 40px;
  }

  .error-container h1 {
    font-size: 120px;
  }

  .error-container p {
    font-size: 30px;
  }

  .error-container a {
    font-size: 24px;
  }

  .case-challenges {
    margin-bottom: 45px;
    margin-top: 45px;
  }

  .hero-section {
    margin-top: 80px;
  }

  .break-line-hero-h2 {
    display: inline;
  }

  .hero-title-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: block;
  }

  .img-presentation {
    margin-bottom: 8px;
  }
}
