/* Light, unboxed homepage section describing the working approach. */
.how-work-section {
  padding: 72px 0 76px;
  border-top: 1px solid rgba(58, 110, 104, 0.10);
  border-bottom: 1px solid rgba(58, 110, 104, 0.10);
  background: linear-gradient(180deg, #fbfcfb, #f8faf9);
}

.how-work-header {
  margin-bottom: 38px;
}

.how-work-header .hero-label {
  margin-bottom: 16px;
}

.how-work-header h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.how-work-header h2 span {
  color: var(--accent);
}

.how-work-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 72px;
  align-items: start;
}

.how-work-profile,
.how-work-principles,
.how-work-principle {
  min-width: 0;
}

.how-work-principles {
  position: relative;
}

.how-work-principles::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -36px;
  width: 1px;
  background: rgba(58, 110, 104, 0.20);
  content: '';
}

.how-work-photo {
  display: block;
  width: 148px;
  height: 148px;
  margin-bottom: 24px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 10px 24px rgba(44, 38, 30, 0.12);
}

.how-work-quote {
  margin: 0;
  color: var(--dark);
}

.how-work-quote p {
  max-width: 430px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.58;
}

.how-work-quote footer {
  margin-top: 18px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.how-work-quote footer span {
  font-weight: 600;
}

.how-work-principle {
  padding: 0 0 16px;
}

.how-work-principle + .how-work-principle {
  padding-top: 16px;
  border-top: 0;
}

.how-work-principle + .how-work-principle::before {
  display: block;
  width: 82%;
  height: 1px;
  margin-bottom: 16px;
  background: rgba(58, 110, 104, 0.16);
  content: '';
}

.how-work-principle:nth-child(3)::before {
  width: 61%;
}

.how-work-principle h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
}

.how-work-principle h3::before {
  content: '✦';
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.78rem;
  line-height: 1;
  transform-origin: center;
  animation: how-work-principle-icon 4.8s ease-in-out infinite;
}

@keyframes how-work-principle-icon {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.88) rotate(-6deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.08) rotate(6deg);
  }
}

.how-work-principle p {
  max-width: 680px;
  margin: 0;
  color: var(--dark-60);
  font-size: 1rem;
  line-height: 1.65;
}

.how-work-section + .latest-blog-section {
  border-top: 0;
}

@media (max-width: 900px) {
  .how-work-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .how-work-principles::before {
    display: none;
  }

  .how-work-photo {
    width: 124px;
    height: 124px;
  }
}

@media (max-width: 768px) {
  .how-work-section {
    padding: 56px 0 60px;
  }

  .how-work-header {
    margin-bottom: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-work-photo {
    transition: none;
  }

  .how-work-principle h3::before {
    animation: none;
    opacity: 0.72;
    transform: none;
  }
}
