/* =========================================================
   Philosophy
   ========================================================= */

.philosophy {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 90vh;

  overflow: hidden;
  isolation: isolate;
}

.philosophy__glow {
  position: absolute;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  filter: blur(120px);

  pointer-events: none;

  z-index: -1;
}

.philosophy__glow--one {
  top: 10%;
  left: -18%;

  background: var(--primary);

  opacity: 0.1;

  animation: philosophy-drift 12s ease-in-out infinite;
}

.philosophy__glow--two {
  right: -15%;
  bottom: -10%;

  background: var(--accent);

  opacity: 0.07;

  animation: philosophy-drift 14s ease-in-out infinite reverse;
}

.philosophy__content {
  max-width: 900px;
}

.philosophy__content h2 {
  max-width: 780px;

  color: var(--primary-text);

  font-size: 3.5rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.05;

  @media (max-width: 800px) {
    .philosophy__content h2 {
      font-size: 3rem;
      letter-spacing: -0.04em;
    }
  }

  @media (max-width: 520px) {
    .philosophy__content h2 {
      font-size: 2.5rem;
      letter-spacing: -0.035em;
    }
  }
}

.philosophy__content h2 span {
  display: inline-block;

  background:
    linear-gradient(100deg,
      var(--primary),
      var(--accent),
      var(--secondary));

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;

  background-size: 180% auto;

  animation: hero-gradient 9s ease-in-out infinite;
}

.philosophy__description {
  max-width: 650px;

  margin-top: 34px;

  color: var(--secondary-text);

  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.8;
}

.philosophy__description+.philosophy__description {
  margin-top: 16px;
}

.philosophy__statement {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;

  margin-top: 100px;
}

.philosophy__statement p {
  max-width: 520px;

  color: var(--primary-text);

  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.45;

  text-align: center;
}

.philosophy__line {
  height: 1px;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(23, 211, 239, 0.3));
}

.philosophy__line:last-child {
  background:
    linear-gradient(90deg,
      rgba(23, 211, 239, 0.3),
      transparent);
}

@keyframes philosophy-drift {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(35px, -30px, 0);
  }
}

/* =========================================================
   Philosophy — responsive
   ========================================================= */

@media (max-width: 800px) {
  .philosophy {
    min-height: auto;
  }

  .philosophy__content h2 {
    font-size: clamp(3.3rem, 13vw, 6rem);
  }

  .philosophy__statement {
    grid-template-columns: 1fr;

    gap: 18px;

    margin-top: 70px;
  }

  .philosophy__line {
    width: 100%;
  }

  .philosophy__statement p {
    text-align: left;
  }

  .philosophy__line:last-child {
    display: none;
  }
}

@media (max-width: 520px) {
  .philosophy__content h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .philosophy__description {
    margin-top: 26px;

    font-size: 0.98rem;
  }

  .philosophy__statement {
    margin-top: 56px;
  }
}