@charset "UTF-8";

/* ============================================================
   기본 스타일 + 디자인 토큰

   방향: 울트라마켓처럼 시원시원한 밝은 회사 사이트
   - 데스크톱 기준으로 쓰고, 좁은 화면은 아래 max-width 미디어쿼리에서 덮어쓴다
   - 라이트 테마가 기본. 바탕은 흰색 하나로 통일하고, 어두운 면은 푸터에만 둔다
     (누런 종이색·격자 무늬는 쓰지 않는다)
   - 큼직한 헤비 타이포 + 넓은 여백, 브랜드 레드는 포인트로만
   - 큰 둥근 모서리의 배너·카드, 알약 모양 버튼
   - 장식(격자, 줄무늬, 브래킷 등)은 쓰지 않는다
   ============================================================ */

/* Pretendard v1.3.9 가변 폰트(100~900 한 파일). SIL OFL 1.1 — fonts/Pretendard-LICENSE.txt
   https://github.com/orioncactus/pretendard
   범위(font-weight: 100 900)를 적어두지 않으면 브라우저가 400 하나로 보고 굵기를 흉내만 낸다 */
@font-face {
	font-family: 'Pretendard';
	src: url('/fonts/PretendardVariable.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}

:root {
	/* 브랜드 */
	--c-brand: #d10c17;
	--c-brand-dark: #a30a12;
	/* 어두운 면에서는 기본 레드가 가라앉으므로 한 단계 밝힌 값 */
	--c-brand-hi: #ff2a36;
	--c-gray: #9f9fa0;

	/* 면 */
	--c-ink: #0b0c0e;
	/* 카드/항목 채움용 무채색 회색 (섹션 바탕에는 쓰지 않는다) */
	--c-fill: #f4f4f5;
	--c-white: #fff;

	/* 텍스트 */
	--c-text: #111214;
	--c-text-sub: #5a5c62;
	--c-text-invert: #fff;

	/* 선 */
	--c-line: rgba(17, 18, 20, 0.14);
	--c-line-strong: #111214;
	/* 어두운 면(푸터) 위의 선 */
	--c-line-dark: rgba(255, 255, 255, 0.12);

	/* 레이아웃 */
	--w-content: 1360px;
	--h-header: 80px;
	/* 스크롤해 내려가면 줄어든 헤더 높이 */
	--h-header-sm: 60px;
	--pad-x: 40px;
	--sec-y: clamp(72px, 8vw, 128px);

	/* 폰트 */
	--font-base: 'Pretendard', -apple-system, BlinkMacSystemFont,
		'Segoe UI', 'Malgun Gothic', sans-serif;

	/* 둥근 모서리: 큰 배너 / 카드 / 작은 요소 */
	--r-lg: 32px;
	--r: 28px;
	--r-sm: 16px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	/* 고정 헤더에 앵커 대상이 가려지지 않도록 */
	scroll-padding-top: var(--h-header);
}

body {
	margin: 0;
	color: var(--c-text);
	background: var(--c-white);
	font-family: var(--font-base);
	font-size: 17px;
	line-height: 1.7;
	word-break: keep-all;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.2;
	font-weight: 800;
	word-break: keep-all;
}

p {
	margin: 0;
}

ul,
ol,
li {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

em {
	font-style: normal;
}

[hidden] {
	display: none !important;
}

::selection {
	background: var(--c-brand);
	color: #fff;
}

/* 키보드 사용자에게만 포커스 링 노출 */
:focus-visible {
	outline: 2px solid var(--c-brand);
	outline-offset: 3px;
}

/* 스크린리더 전용 텍스트 */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- 공통 유틸 ---------- */

.brand {
	color: var(--c-brand);
}

.gray {
	color: var(--c-gray);
}

.container {
	width: 100%;
	max-width: calc(var(--w-content) + var(--pad-x) * 2);
	margin: 0 auto;
	padding: 0 var(--pad-x);
}

/* ---------- 섹션 ---------- */

.section {
	position: relative;
	padding: var(--sec-y) 0;
	overflow: hidden;
}

.section--white {
	background: var(--c-white);
	color: var(--c-text);
}

/* 흰 섹션과 번갈아 깔아 섹션 경계를 분명히 한다 */
.section--fill {
	background: var(--c-fill);
	color: var(--c-text);
}

.section-head {
	position: relative;
	margin-bottom: clamp(48px, 6vw, 88px);
}

/* 섹션 머리말: 큰 제목 위의 작은 레드 소제목
   <p class="label">회사 소개</p> */
.label {
	margin-bottom: 16px;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--c-brand);
}

/* 큰 제목 */
.title {
	font-size: clamp(1.625rem, 3.4vw, 3.125rem);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

/* 아주 큰 제목 (섹션 하나를 대표하는 문구) */
.display {
	font-size: clamp(2.25rem, 6.7vw, 6.625rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.03em;
}

.text-lg {
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	line-height: 1.75;
	color: var(--c-text-sub);
}

/* ---------- 아이콘 ----------
   static/img/index/*.svg 는 글리프만 담은 파일이다. mask 로 찍어 색은 currentColor 를 따른다.
   <span class="icon" style="--icon:url(...)"></span> */
.icon {
	display: inline-block;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

/* ---------- 버튼 ----------
   큼직한 알약 모양 */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 18px;
	height: 56px;
	padding: 0 28px;
	font-size: 1.0625rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	border-radius: 999px;
	transition: background-color 0.25s, color 0.25s;
}

.btn::after {
	content: '';
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.25s;
}

.btn:hover::after {
	transform: translateX(5px);
}

.btn--primary {
	background: var(--c-brand);
	color: #fff;
}

.btn--primary:hover {
	background: var(--c-brand-hi);
}

.btn--outline {
	background: #fff;
	color: var(--c-ink);
	box-shadow: inset 0 0 0 2px var(--c-ink);
}

.btn--outline:hover {
	background: var(--c-ink);
	color: #fff;
}

/* 반응형 iframe (16:9) */
.embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--r);
	overflow: hidden;
}

.embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- 스크롤 등장 효과 ----------
   JS 가 켜져 있을 때만 숨긴다 (html.js 는 레이아웃 <head> 의 인라인 스크립트가 붙인다).
   JS 가 꺼져 있거나 실패해도 내용은 그대로 보인다. */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.45s ease-out, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: calc(var(--d, 0) * 50ms);
}

.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* ---------- 반응형 ---------- */

@media (max-width: 1024px) {
	:root {
		--pad-x: 28px;
	}
}

@media (max-width: 768px) {
	:root {
		--h-header: 64px;
		--h-header-sm: 54px;
		--pad-x: 20px;
		--r-lg: 24px;
		--r: 20px;
		--r-sm: 12px;
	}

	body {
		font-size: 16px;
	}

	.label {
		font-size: 1rem;
		margin-bottom: 14px;
	}

	.btn {
		height: 58px;
		padding: 0 26px;
		font-size: 1rem;
	}

}

/* 모션 최소화 설정 존중 */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}
