:root {
  color-scheme: light;
}

.hero-display {
  text-wrap: balance;
}

section h2 {
  text-wrap: balance;
}

section p {
  text-wrap: pretty;
}

/* Reveal — 초기 상태 */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion — 즉시 표시 */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
  }
}

/* Focus ring */
a:focus-visible {
  outline: 2px solid #0a1e52;
  outline-offset: 4px;
}
