/* ==========================================================================
   Why TCG — sticky editorial reveal
   ========================================================================== */

.why {
  background: var(--color-navy-950);
  border-top: 1px solid var(--border-subtle);
}

.why__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-2xl);
}

.why__sticky {
  position: sticky;
  top: 30vh;
  align-self: start;
  height: fit-content;
}

.why__lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-block: var(--space-lg);
}

.why__line {
  font-size: var(--text-h1);
  line-height: var(--leading-tight);
  color: rgba(var(--ghost-rgb), 0.22);
  transition: color var(--dur-slow) var(--ease-out);
  max-width: 12ch;
}

.why__line.is-active {
  color: #ffffff;
}

.why__line .accent {
  color: var(--accent);
}

.why__closing {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  max-width: 42ch;
  font-size: var(--text-lead);
  font-weight: 500;
  color: var(--text-muted);
}

.why__gif {
  margin-top: var(--space-lg);
  max-width: 42ch;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 900px) {
  .why__inner {
    grid-template-columns: 1fr;
  }

  .why__sticky {
    position: static;
  }

  .why__line {
    font-size: var(--text-h2);
    color: var(--text-primary);
  }

  .why__lines {
    gap: var(--space-lg);
  }
}
