/* ===========================================
	zanzanstudio reset.css
	Based on Eric Meyer's Reset v2.0
	+ Modern additions for GSAP motion projects
   =========================================== */

/* Box-sizing 통일 */
*, *::before, *::after {
	box-sizing: border-box;
}

/* Meyer Reset (원본) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* HTML / Body 기본 설정 */
html {
	-webkit-text-size-adjust: 100%;       /* iOS 가로모드 텍스트 확대 방지 */
	-webkit-tap-highlight-color: transparent; /* 모바일 터치 하이라이트 제거 */
	scroll-behavior: auto;                 /* ScrollSmoother와 충돌 방지 */
}

body {
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;                    /* 가로 스크롤 방지 (ScrollSmoother 쓸 땐 제거) */
}

/* 리스트 */
ol, ul {
	list-style: none;
}

/* 인용 */
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* 테이블 */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* 미디어 요소 (GSAP 애니메이션 시 깜빡임 방지) */
img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}

img {
	-webkit-user-drag: none;               /* 이미지 드래그 방지 */
	user-select: none;
}

svg {
	overflow: visible;                     /* SVG 애니메이션 시 잘림 방지 */
}

/* 링크 */
a {
	color: inherit;
	text-decoration: none;
}

/* 폼 요소 */
input, button, textarea, select {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	outline: none;
}

button {
	cursor: pointer;
	background: none;
}

textarea {
	resize: none;
}

/* 접근성 - 사용자가 동작 줄이기 설정 시 모션 최소화 */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}