/* tw.css(기존 Next.js 빌드의 Tailwind 결과물)를 보완하는 스타일 */

/* next/font 대신 Google Fonts — 기존 CSS 변수 이름 유지 */
html {
  --font-myeongjo: "Nanum Myeongjo", serif;
  --font-noto: "Noto Sans KR", sans-serif;
  --font-inter: "Inter", sans-serif;
}

/* hidden 속성이 flex/block 등 유틸리티 클래스보다 우선하도록 */
[hidden] { display: none !important; }

/* Cover 등장 애니메이션 (원본 Cover.tsx 인라인 style) */
@keyframes fadeup {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal: 스크롤로 보일 때 서서히 등장 (원본 Reveal.tsx) */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
[data-reveal].is-shown { opacity: 1; transform: translateY(0); }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
