@charset "utf-8";

/* 큰 제목용 서체: 푸라닭 젠틀고딕 (한 가지 굵기 Regular)
   웹용으로 KS X 1001 한글 2,350자 + 영문/기호만 담은 WOFF2. 원본: public/font/*.ttf */
@font-face {
	font-family: 'Puradak Gentle Gothic';
	src: url('/font/PuradakGentleGothic.subset.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* =====================================================================
   (주)이감 2sens — Design System
   모바일 우선(mobile-first) 반응형. 브레이크포인트: 640 / 1024 / 1280
   ===================================================================== */

:root {
	--primary: #4d3494;
	--primary-strong: #400099;
	--primary-soft: #efeaf9;
	--primary-tint: #f7f5fc;
	--red: #eb0041;
	--teal: #45b09c;
	--violet: #854fbf;
	--orange: #f59a3c;
	--coral: #e27475;

	--ink: #17141f;
	--text: #4a4658;
	--muted: #8b8799;
	--line: #ebe8f1;
	--bg: #fff;
	--bg-soft: #f7f6fa;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 2px 8px rgba(23, 20, 31, .05);
	--shadow: 0 12px 32px rgba(46, 26, 102, .08);
	--shadow-lg: 0 24px 60px rgba(46, 26, 102, .14);

	--header-h: 64px;
	--container: 1200px;
	--gutter: clamp(20px, 5vw, 40px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--font-display: 'Puradak Gentle Gothic', 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif;
	--font-display-tracking: -0.08em; /* 푸라닭 젠틀고딕 자간: 글자 크기에 비례 (40px 제목 기준 -3.2px) */
}
@media (min-width: 1024px) { :root { --header-h: 80px; } }

/* ---------------------------------------------------------------------
   Reset / Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
	margin: 0;
	font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	word-break: keep-all;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; letter-spacing: -.02em; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
strong, b { font-weight: 700; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 2000;
	padding: 10px 16px; border-radius: var(--radius-sm); background: var(--primary); color: #fff;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(880px + var(--gutter) * 2); }

/* 내용이 짧아도 푸터가 바닥에 붙도록 */
.site { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.site-main { flex: 1 0 auto; }

/* 큰 글씨(페이지 제목, 리드 문구, 섹션 제목)는 푸라닭 젠틀고딕.
   서체에 굵은체가 없으므로 가짜 굵게(faux bold)를 막고 굵기는 400 으로 둔다 */
.display, .page-title, .lead, .lead strong, .lead span, .block-head h2, .statement h2, .statement-split h2, .story-text h2, .home-head h2, .cta-band h2 {
	font-family: var(--font-display);
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: var(--font-display-tracking);
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
	font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
	background: var(--bg-soft); color: var(--ink);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(77, 52, 148, .25); }
.btn-primary:hover { background: var(--primary-strong); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost-light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; color: var(--primary); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}
html[data-scrolled] .site-header { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(29, 0, 72, .05); }
.site-header .container { display: flex; align-items: center; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 128px; }
@media (min-width: 1024px) { .brand img { width: 150px; } }

.gnb { display: none; }
.header-util { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.family-site { display: none; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-soft); }
.family-site a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; }
.family-site a[aria-current] { background: #fff; box-shadow: var(--shadow-sm); }
.family-site a:not([aria-current]) { opacity: .55; }
.family-site a:hover { opacity: 1; }
/* 흰 바탕이 없는 항목끼리 붙으면 양쪽 여백(12+12)이 겹쳐 간격이 넓어 보인다. 흰 알약 → 다음 글자 간격(약 14px)과 같게 */
.family-site a:not([aria-current]) + a:not([aria-current]) { margin-left: -12px; }
/* WARP(글자 로고): 이감하이 '꺼진' 이미지와 같은 회색(#b1b1b1). 흐림/hover 는 위 공통 opacity 그대로.
   마지막 글자 뒤에도 붙는 자간만큼 오른쪽 여백을 줄이고, 대문자가 줄 상자 위쪽에 붙는 만큼 위 여백을 더해 가운데 맞춤 */
.family-site a.is-text { padding-top: 2.5px; padding-right: calc(12px - .08em); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; line-height: 1; color: #b1b1b1; }

.menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; border-radius: 12px;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
	content: ''; display: block; position: relative; width: 22px; height: 2px; border-radius: 2px; background: var(--ink);
	transition: transform .3s var(--ease), top .3s var(--ease), background-color .2s;
}
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }

@media (min-width: 1024px) {
	.gnb { display: block; margin-left: auto; height: 100%; }
	.gnb > ul { display: flex; height: 100%; }
	.gnb > ul > li { position: static; display: flex; }
	.gnb-link {
		position: relative; display: flex; align-items: center; height: 100%; padding: 0 clamp(12px, 1.4vw, 22px);
		font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
	}
	.gnb-link::after {
		content: ''; position: absolute; left: 50%; bottom: 18px; width: 0; height: 2px; border-radius: 2px;
		background: var(--primary); transform: translateX(-50%); transition: width .25s var(--ease);
	}
	.gnb > ul > li:hover .gnb-link, .gnb > ul > li:focus-within .gnb-link, .gnb-link[aria-current] { color: var(--primary); }
	.gnb > ul > li:hover .gnb-link::after, .gnb > ul > li:focus-within .gnb-link::after, .gnb-link[aria-current]::after { width: 20px; }

	.gnb-panel {
		position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(23, 20, 31, .08);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s, transform .25s var(--ease), visibility .2s;
	}
	.gnb > ul > li:hover .gnb-panel, .gnb > ul > li:focus-within .gnb-panel { opacity: 1; visibility: visible; transform: none; }
	.gnb-panel .container { display: grid; grid-template-columns: 320px 1fr; gap: 40px; height: auto; padding-block: 32px; align-items: center; }
	.gnb-slogan { font-size: 20px; line-height: 1.5; color: var(--ink); letter-spacing: -.02em; }
	.gnb-slogan span { font-weight: 800; color: var(--primary); }
	.gnb-sub { display: flex; flex-wrap: wrap; gap: 12px; }
	.gnb-sub a {
		display: flex; flex-direction: column; align-items: center; gap: 10px; width: 132px; padding: 18px 8px 14px;
		border-radius: var(--radius); font-size: 14px; font-weight: 600; color: var(--text); text-align: center;
	}
	/* 아이콘(52px)은 줄이지 않고 원래 크기로, 원은 CSS 로 그린다 (이미지에 그려진 원은 제거한 버전 사용) */
	.gnb-sub a img { box-sizing: content-box; width: 52px; height: 52px; padding: 6px; border-radius: 50%; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
	.gnb-sub a:hover, .gnb-sub a[aria-current] { background: var(--primary-tint); color: var(--primary); }
	.gnb-sub a:hover img, .gnb-sub a[aria-current] img { border-color: var(--primary); box-shadow: 0 6px 16px rgba(77, 52, 148, .15); transform: translateY(-2px); }

	.family-site { display: inline-flex; margin-left: 12px; }
	.menu-toggle { display: none; }
	.header-util { margin-left: 0; }
}

/* Mobile drawer */
.drawer {
	position: fixed; inset: 0; z-index: 1100; visibility: hidden; pointer-events: none;
}
.drawer-dim { position: absolute; inset: 0; background: rgba(18, 12, 38, .5); opacity: 0; transition: opacity .3s; }
.drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
	display: flex; flex-direction: column; background: #fff;
	transform: translateX(100%); transition: transform .35s var(--ease);
	box-shadow: -20px 0 50px rgba(0, 0, 0, .15);
}
html[data-nav="open"] { overflow: hidden; }
html[data-nav="open"] .drawer { visibility: visible; pointer-events: auto; }
html[data-nav="open"] .drawer-dim { opacity: 1; }
html[data-nav="open"] .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer-close { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; border-radius: 12px; position: relative; }
.drawer-close::before, .drawer-close::after { content: ''; position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); }
.drawer-close::before { transform: rotate(45deg); }
.drawer-close::after { transform: rotate(-45deg); }
.drawer-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 0 24px; }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav summary {
	display: flex; align-items: center; justify-content: space-between; padding: 18px 24px;
	font-size: 18px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none;
}
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after {
	content: ''; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
	transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease);
}
.drawer-nav details[open] summary { color: var(--primary); }
.drawer-nav details[open] summary::after { transform: rotate(-135deg); border-color: var(--primary); }
.drawer-nav ul { padding: 0 16px 14px; }
.drawer-nav li a { display: block; padding: 11px 16px; border-radius: 12px; font-size: 16px; color: var(--text); }
.drawer-nav li a:hover, .drawer-nav li a[aria-current] { background: var(--primary-tint); color: var(--primary); font-weight: 700; }
.drawer-foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); background: var(--bg-soft); flex-shrink: 0; }
.drawer-foot .family-site { display: inline-flex; background: #fff; }
.drawer-tel { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.drawer-tel strong { display: block; font-size: 22px; color: var(--primary); letter-spacing: -.01em; }
@media (min-width: 1024px) { .drawer { display: none; } }

/* ---------------------------------------------------------------------
   Main — Hero
   --------------------------------------------------------------------- */
.hero {
	position: relative; display: flex; align-items: center; justify-content: center;
	min-height: calc(100svh - var(--header-h)); padding: 80px 0;
	background: #2c2540 url('/img/intro_bg.jpg') center / cover no-repeat;
	color: #fff; text-align: center; overflow: hidden; isolation: isolate;
}
.hero::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(1200px 600px at 50% 110%, rgba(64, 0, 153, .55), transparent 70%),
		linear-gradient(180deg, rgba(16, 10, 36, .2) 0%, rgba(16, 10, 36, .55) 100%);
}
.hero-title {
	color: #fff; font-weight: 600; font-size: clamp(26px, 5vw, 56px); line-height: 1.25; letter-spacing: -.02em;
	text-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}
.hero-title span { display: block; }
@media (min-width: 900px) { .hero-title span { display: inline-block; white-space: nowrap; } }
.hero-sub { margin-top: 20px; font-size: clamp(15px, 1.6vw, 19px); opacity: .9; }
.hero-actions { margin-top: 40px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { letter-spacing: .2em; min-width: 160px; }
.hero-scroll {
	position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; opacity: .8;
}
.hero-scroll::after { content: ''; width: 1px; height: 40px; background: linear-gradient(#fff, transparent); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero-anim > * { animation: fadeUp .9s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: .15s; }
.hero-anim > *:nth-child(3) { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Main — sections */
.home-section { padding: clamp(64px, 10vw, 120px) 0; }
.home-section.is-soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.home-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.home-head h2 { margin-top: 10px; font-size: clamp(26px, 3.6vw, 40px); }

.menu-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .menu-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .menu-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.menu-card {
	position: relative; display: flex; flex-direction: column; min-height: 240px; padding: 28px 26px 24px;
	border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.menu-card::after {
	content: ''; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%;
	background: var(--primary-tint); transition: transform .4s var(--ease); z-index: 0;
}
.menu-card > * { position: relative; z-index: 1; }
.menu-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.menu-card:hover::after { transform: scale(1.6); }
.menu-card-title { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.menu-card-slogan { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--text); }
.menu-card-slogan span { font-weight: 700; color: var(--primary); }
.menu-card-links { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.menu-card-links a { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; font-weight: 600; color: var(--text); }
.menu-card-links a:hover { background: var(--primary); color: #fff; }

.cta-band {
	display: grid; gap: 24px; align-items: center; padding: clamp(32px, 5vw, 56px);
	border-radius: var(--radius-lg); color: #fff; overflow: hidden; position: relative;
	background: linear-gradient(120deg, var(--primary-strong) 0%, var(--primary) 55%, #7a5cc8 100%);
}
.cta-band::before { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.cta-band .tel { display: block; margin-top: 6px; font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.cta-band p { opacity: .85; font-size: 14px; }
.cta-band .btn { background: #fff; color: var(--primary); }
@media (min-width: 768px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------------------------------------------------------------------
   Sub page — hero / tabs
   --------------------------------------------------------------------- */
.page-hero {
	position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px);
	background:
		radial-gradient(800px 300px at 90% 0%, rgba(133, 79, 191, .14), transparent 70%),
		linear-gradient(180deg, var(--primary-tint), #fff);
	overflow: hidden;
}
.page-hero::after {
	content: ''; position: absolute; right: max(-60px, calc(50% - 760px)); top: -40px; width: 260px; height: 260px;
	border-radius: 50%; border: 48px solid rgba(77, 52, 148, .05); pointer-events: none;
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.page-hero .eyebrow { margin-top: 20px; }
.page-title { margin-top: 6px; font-size: clamp(32px, 5vw, 52px); }
.page-slogan { margin-top: 14px; font-size: clamp(15px, 1.7vw, 18px); color: var(--text); }
.page-slogan span { font-weight: 700; color: var(--primary); }
.page-hero-main { min-width: 0; }
@media (min-width: 1024px) {
	/* PC: 왼쪽 제목 / 오른쪽 슬로건 2단 */
	.page-hero .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: end; gap: 48px; }
	.page-slogan {
		position: relative; z-index: 1; margin: 0 0 6px; padding: 4px 0 4px 28px;
		border-left: 3px solid var(--primary); font-size: 20px; line-height: 1.6; color: var(--ink); text-align: left;
	}
}

.subnav {
	position: sticky; top: var(--header-h); z-index: 900;
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { flex-shrink: 0; }
.subnav a {
	position: relative; display: flex; align-items: center; height: 56px; padding: 0 16px;
	font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.subnav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); transform: scaleX(0); transition: transform .25s var(--ease); }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current] { color: var(--primary); }
.subnav a[aria-current]::after { transform: scaleX(1); }

.page-body { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }

/* ---------------------------------------------------------------------
   Content blocks
   --------------------------------------------------------------------- */
.lead {
	font-size: clamp(22px, 3.2vw, 34px); line-height: 1.5; color: var(--ink);
	margin-bottom: clamp(32px, 5vw, 56px);
}
.lead strong, .lead span { color: var(--primary); }
.lead.center { text-align: center; }

.block + .block { margin-top: clamp(56px, 8vw, 96px); }
.block-head { margin-bottom: clamp(20px, 3vw, 32px); }
.block-head h2 { font-size: clamp(22px, 2.6vw, 30px); display: flex; align-items: center; gap: 12px; }
.block-head h2::before { content: ''; width: 6px; height: 1.1em; border-radius: 3px; background: var(--primary); flex-shrink: 0; }
.block-head p { margin-top: 10px; color: var(--text); }

.prose p + p { margin-top: 1.1em; }
.prose { font-size: 17px; line-height: 1.85; }
.prose-sm { font-size: 15px; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
	.grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
	.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.card {
	position: relative; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-lg);
	background: #fff; border: 1px solid var(--line);
}
.card.is-soft { background: var(--bg-soft); border-color: transparent; }
.card.is-hover:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.card h3 { font-size: 19px; }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.75; }
.card .card-en { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.card-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 20px; background: var(--primary-tint); }
.card-icon img { max-width: 44px; max-height: 44px; }
.card-icon.lg { width: 96px; height: 96px; border-radius: 28px; }
.card-icon.lg img { max-width: 64px; max-height: 64px; }
.card-num { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--primary); }
.card ul.dots { margin-top: 12px; }
ul.dots li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.7; }
ul.dots li + li { margin-top: 6px; }
ul.dots li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

/* 사업분야 4대 영역 */
.biz-diagram { display: flex; justify-content: center; margin-bottom: clamp(32px, 5vw, 48px); }
.biz-diagram img { width: min(100%, 860px); }
.biz-card { border-top: 4px solid var(--c, var(--primary)); }
.biz-card h3 { color: var(--c, var(--primary)); }

/* 미션/비전 */
.mvv { display: grid; gap: 16px; }
@media (min-width: 900px) { .mvv { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.mvv .card { background: linear-gradient(160deg, var(--primary-tint), #fff 60%); }
.mvv .card h3 { font-size: 24px; }

/* CEO 인사말 */
.greeting { display: grid; gap: 32px; }
@media (min-width: 1024px) { .greeting { grid-template-columns: 1fr 280px; gap: 64px; align-items: start; } }
.greeting-sign { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.greeting-sign strong { display: block; margin-top: 6px; font-size: 22px; color: var(--ink); }
@media (min-width: 1024px) { .greeting-sign { position: sticky; top: calc(var(--header-h) + 80px); } }

/* 연혁 */
.history-era { display: grid; gap: 20px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.history-era:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) { .history-era { grid-template-columns: 240px 1fr; gap: 48px; } }
.history-era-title img { height: 44px; width: auto; }
.history-era-title .eyebrow { display: block; margin-top: 8px; }
.timeline { margin-top: 28px; position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--primary-soft); }
.timeline-item { position: relative; }
.timeline-item + .timeline-item { margin-top: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -24px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.timeline-year { font-size: 18px; font-weight: 800; color: var(--primary); letter-spacing: -.01em; }
.timeline-item ul { margin-top: 8px; }
.timeline-item li { font-size: 15px; line-height: 1.7; color: var(--text); }
.timeline-item li + li { margin-top: 4px; }

/* CI */
.swatches { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
.swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.swatch-chip { height: 120px; padding: 16px; display: flex; align-items: flex-end; font-weight: 800; color: #fff; }
.swatch-chip.is-light { color: var(--ink); border-bottom: 1px solid var(--line); }
.swatch dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px 16px; font-size: 13px; }
.swatch dt { font-weight: 700; color: var(--muted); }
.swatch dd { color: var(--ink); font-variant-numeric: tabular-nums; }
.swatch.is-main { grid-column: 1 / -1; }
.swatch.is-main .swatch-chip { height: 180px; font-size: 22px; }
@media (min-width: 768px) {
	.swatch.is-main { display: grid; grid-template-columns: 1.4fr 1fr; }
	.swatch.is-main .swatch-chip { height: auto; min-height: 180px; }
	.swatch.is-main dl { align-content: center; padding: 24px 28px; font-size: 15px; }
}
.figure { padding: clamp(16px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--bg-soft); text-align: center; }
.figure img { width: 100%; max-width: 990px; }
.figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* 아코디언 */
.accordion { border-top: 2px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
	display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: start;
	padding: 24px 4px; cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h3 { font-size: 18px; color: var(--primary); }
.accordion summary p { margin-top: 8px; font-size: 15px; line-height: 1.7; }
.accordion .acc-icon {
	position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); margin-top: 2px; transition: background-color .2s, transform .3s var(--ease);
}
.accordion .acc-icon::before, .accordion .acc-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.accordion .acc-icon::after { transform: rotate(90deg); }
.accordion details[open] .acc-icon { background: var(--primary); transform: rotate(180deg); }
.accordion details[open] .acc-icon::before { background: #fff; }
.accordion details[open] .acc-icon::after { transform: rotate(0); background: #fff; }
.accordion summary:hover .acc-icon { background: var(--primary-soft); }
.acc-body { padding: 4px 4px 32px; }
.acc-body > * + * { margin-top: 24px; }
.acc-source { font-size: 13px; color: var(--muted); }

/* 표 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); }
.tbl { min-width: 560px; font-size: 15px; }
.tbl th { padding: 14px 16px; background: var(--bg-soft); color: var(--ink); font-weight: 700; text-align: center; white-space: nowrap; }
.tbl td { padding: 16px; border-top: 1px solid var(--line); text-align: center; }
.tbl td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.tbl tbody tr:hover td { background: var(--primary-tint); }
@media (max-width: 639px) {
	/* 모바일: 표 → 카드 */
	.tbl-stack { min-width: 0; }
	.tbl-stack thead { display: none; }
	.tbl-stack tr { display: block; padding: 16px; border-top: 1px solid var(--line); }
	.tbl-stack tr:first-child { border-top: 0; }
	.tbl-stack td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
	.tbl-stack td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; flex-shrink: 0; }
	.tbl-stack td:first-child { display: block; padding-bottom: 8px; font-size: 16px; text-align: left; }
	.tbl-stack td:first-child::before { display: none; }
	.table-wrap:has(.tbl-stack) { overflow: visible; }
}

/* 도입 절차 */
.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); text-align: center; counter-increment: step; }
.step::before { content: 'STEP 0' counter(step); display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--primary); margin-bottom: 14px; }
.step img.step-img { width: 96px; }
.step h3 { margin-top: 16px; font-size: 19px; }
.step p { margin-top: 6px; font-size: 15px; color: var(--text); }
@media (min-width: 1024px) {
	.step:not(:last-child)::after {
		content: ''; position: absolute; right: -14px; top: 50%; z-index: 1; width: 28px; height: 28px; margin-top: -14px;
		border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
		box-shadow: 0 0 0 6px #fff;
	}
}

/* 이미지 + 텍스트 */
.story { display: grid; gap: 28px; align-items: center; }
.story + .story { margin-top: clamp(56px, 8vw, 104px); }
.story-img { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.story-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-text h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.4; }
.story-text p { margin-top: 16px; font-size: 16px; line-height: 1.85; }
.story-sign { margin-top: 20px !important; font-weight: 700; color: var(--primary); }
@media (min-width: 900px) {
	.story { grid-template-columns: 5fr 7fr; gap: 64px; }
	.story-img img { aspect-ratio: 3 / 4; }
	.story.is-reverse .story-img { order: 2; }
}

/* 회사생활 */
.statement { max-width: 820px; margin-inline: auto; text-align: center; }
.statement h2 { font-size: clamp(26px, 4vw, 40px); line-height: 1.35; }
.statement p { margin-top: 18px; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.8; }
.statement.is-left { text-align: left; margin-inline: 0; }
.statement-split { display: grid; gap: 20px; }
@media (min-width: 900px) { .statement-split { grid-template-columns: 300px 1fr; gap: 64px; } .statement-split h2 { font-size: 40px; } }
.statement-split p + p { margin-top: 16px; }
.photo-band {
	height: clamp(220px, 40vw, 480px); margin: clamp(48px, 8vw, 96px) 0; border-radius: var(--radius-lg);
	background: var(--bg-soft) center / cover no-repeat;
}
.benefits { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
@media (min-width: 768px) { .benefits { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.benefit { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 12px; border-radius: var(--radius); background: var(--bg-soft); text-align: center; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.benefit img { height: 52px; width: auto; }

/* 협력사 로고 */
.logo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.logo-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 150px; padding: 24px 16px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.logo-grid li:hover { box-shadow: var(--shadow); border-color: transparent; }
.logo-grid img { max-width: 80%; max-height: 52px; }
.logo-grid p { font-size: 14px; color: var(--muted); }

/* 찾아오시는 길 */
.map-box { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map-box .root_daum_roughmap { width: 100% !important; }
.map-box .root_daum_roughmap .wrap_map { height: clamp(280px, 45vw, 420px) !important; }
.location-grid { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 64px); }
.location-grid > * { min-width: 0; }
@media (min-width: 1024px) { .location-grid { grid-template-columns: 1fr 2fr; gap: 32px; } }
.info-list { display: grid; gap: 16px; }
.info-list > * { min-width: 0; }
@media (min-width: 768px) { .info-list { grid-template-columns: 1fr 1.4fr; } }
.info-item { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.info-item .ico { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--primary); color: #fff; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 17px; }
.info-item > div { min-width: 0; }
.info-item p { margin-top: 6px; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }

/* 파트너 공간 / 불법복제 */
.choice-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .choice-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); }
.choice.is-primary { background: linear-gradient(140deg, var(--primary-strong), var(--primary)); color: rgba(255, 255, 255, .85); }
.choice.is-primary h2 { color: #fff; }
.choice.is-soft { background: var(--bg-soft); }
.choice h2 { font-size: clamp(20px, 2.4vw, 26px); }
.choice .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.choice.is-primary .btn { background: #fff; color: var(--primary); }

.callout { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--bg-soft); }
.callout strong { color: var(--ink); }

/* 장학생 */
.event-visual { display: block; max-width: 960px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.event-visual img { width: 100%; }
.event-visual:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* 개인정보처리방침 */
.policy { font-size: 15px; line-height: 1.9; }

/* ---------------------------------------------------------------------
   Board
   --------------------------------------------------------------------- */
.board-intro { margin-bottom: 28px; font-size: 16px; color: var(--text); }
.board-toolbar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
@media (min-width: 900px) { .board-toolbar { flex-direction: row; align-items: center; justify-content: space-between; } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex-shrink: 0; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
	border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--text);
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

.search { position: relative; display: flex; width: 100%; }
@media (min-width: 900px) { .search { width: 340px; } }
.search input {
	width: 100%; height: 48px; padding: 0 52px 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft);
	font-size: 15px; outline: none; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.search input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-soft); }
.search button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.search button svg { width: 18px; height: 18px; }

.board-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.board-meta strong { color: var(--primary); }

.post-list { border-top: 2px solid var(--ink); }
.post-list > li { border-bottom: 1px solid var(--line); }
.post-link { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px 4px; }
.post-link:hover { background: var(--primary-tint); }
.post-link:hover .post-title { color: var(--primary); }
.post-title { grid-column: 1 / -1; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.post-info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.post-info .num { display: none; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--primary-soft); color: var(--primary); vertical-align: 2px; margin-right: 6px; white-space: nowrap; }
.badge.is-notice { background: var(--primary); color: #fff; }
.badge.is-file { background: var(--bg-soft); color: var(--muted); padding: 0 8px; }
.badge svg { width: 14px; height: 14px; }
.post-list > li.is-notice { background: linear-gradient(90deg, var(--primary-tint), transparent); }
@media (min-width: 900px) {
	.post-link { grid-template-columns: 72px 1fr 120px 80px; align-items: center; padding: 22px 8px; }
	.post-title { grid-column: auto; }
	.post-info { display: contents; }
	.post-info .num { display: block; grid-column: 1; grid-row: 1; text-align: center; font-size: 14px; }
	.post-info .date, .post-info .hit { text-align: center; font-size: 14px; }
	.post-info .file { display: none; }
}
.post-empty { padding: 80px 20px; text-align: center; color: var(--muted); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text);
}
.pagination a:hover { background: var(--bg-soft); color: var(--primary); }
.pagination [aria-current] { background: var(--primary); color: #fff; }
.pagination .is-disabled { opacity: .35; }

/* 게시글 보기 */
.post-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-head h1 { margin-top: 12px; font-size: clamp(22px, 3vw, 30px); }
.post-head dl { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.post-head dl div { display: flex; gap: 6px; }
.post-head dt { font-weight: 600; }
.post-files { margin-top: 24px; display: grid; gap: 8px; }
.post-files > * { min-width: 0; }
.post-file {
	display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); background: var(--bg-soft); font-size: 15px; color: var(--ink);
}
.post-file:hover { background: var(--primary-soft); color: var(--primary); }
.post-file svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); }
.post-file .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.post-file .size { flex-shrink: 0; font-size: 13px; color: var(--muted); }
.post-file.is-missing { opacity: .6; cursor: default; }
.post-file.is-missing:hover { background: var(--bg-soft); color: inherit; }
.post-file.is-missing svg { color: var(--muted); }
.post-content { padding: 40px 0; font-size: 16px; line-height: 1.9; color: var(--ink); overflow-wrap: anywhere; }
.post-content img { max-width: 100% !important; height: auto !important; }
.post-content table { max-width: 100%; display: block; overflow-x: auto; }
.post-content * { max-width: 100%; }
.post-nav { border-top: 2px solid var(--ink); }
.post-nav a { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.post-nav a:hover { background: var(--primary-tint); color: var(--primary); }
.post-nav span { color: var(--muted); font-weight: 600; }
.post-nav strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-actions { display: flex; justify-content: center; margin-top: 40px; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 36px 1fr 28px; gap: 14px; align-items: center; padding: 20px 4px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q, .faq .a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; font-size: 16px; }
.faq .q { background: var(--ink); color: #fff; }
.faq .a { background: var(--primary); color: #fff; flex-shrink: 0; }
.faq summary h3 { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.faq summary:hover h3 { color: var(--primary); }
.faq .chev { width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); justify-self: center; transition: transform .25s var(--ease); }
.faq details[open] .chev { transform: rotate(-135deg); border-color: var(--primary); }
.faq details[open] summary h3 { color: var(--primary); }
.faq-body { display: flex; gap: 14px; padding: 4px 4px 28px; }
.faq-body .content { flex: 1; min-width: 0; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); font-size: 15px; line-height: 1.85; }
.faq-body .content a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* FAQ 답변 안의 첨부파일: 회색 답변 상자 위라 흰 바탕, 본문 링크 꾸밈(밑줄)은 빼기 */
.faq-body .post-files { margin-top: 16px; }
.faq-body .content .post-file { background: #fff; color: var(--ink); font-weight: 400; text-decoration: none; }
.faq-body .content .post-file:hover { background: var(--primary-soft); color: var(--primary); }

/* 도입 학원 찾기 */
.finder { display: grid; gap: 20px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--bg-soft); margin-bottom: 32px; }
.finder-label { display: block; margin-bottom: 10px; }
.finder-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.finder-row .search { grid-column: 1 / -1; width: 100%; }
@media (min-width: 900px) { .finder-row { grid-template-columns: 200px 200px 1fr; } .finder-row .search { grid-column: auto; } }
.select {
	width: 100%; height: 48px; padding: 0 40px 0 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8799' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
	-webkit-appearance: none; appearance: none; font-size: 15px;
}
.select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
/* 꾸민 선택 상자(site.js): 원래 select 는 숨겨 값만 맞추고, 검색 + 목록을 직접 그린다 */
.combo { position: relative; min-width: 0; }
.combo-native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.combo-btn { display: flex; align-items: center; gap: 8px; padding-right: 14px; background-image: none; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.combo-btn::after { content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-left: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8799' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: rotate .25s var(--ease); }
.combo-btn:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.combo-btn:focus-visible, .combo.is-open .combo-btn { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.combo.is-open .combo-btn::after { rotate: 180deg; }
.combo-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-btn.is-placeholder { color: var(--muted); }
/* 앞 단계(도/시)를 아직 안 고른 상태: 비활성처럼 보이고, 누르면 앞 단계로 안내 */
.combo-btn.is-disabled { background-color: rgba(255, 255, 255, .55); border-style: dashed; color: var(--muted); font-size: 14px; }
.combo-btn.is-disabled::after { display: none; }
.combo-btn.is-disabled:hover { border-color: var(--line); }
.combo-btn.is-nudge { animation: combo-nudge .45s var(--ease); border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
@keyframes combo-nudge { 20% { translate: -5px 0; } 40% { translate: 5px 0; } 60% { translate: -3px 0; } 80% { translate: 2px 0; } }
.combo-panel {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 220px; padding: 6px;
	border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg);
	animation: combo-in .2s var(--ease);
}
.combo.is-up .combo-panel { top: auto; bottom: calc(100% + 8px); }
@keyframes combo-in { from { opacity: 0; translate: 0 -6px; } }
.combo-search {
	width: 100%; height: 40px; padding: 0 12px 0 36px; border-radius: var(--radius-sm); border: 1px solid var(--line);
	background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8799' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 12px center / 15px no-repeat; font-size: 14px; outline: none; transition: border-color .2s, background-color .2s;
}
.combo-search:focus { border-color: var(--primary); background-color: #fff; }
.combo-search::-webkit-search-cancel-button { display: none; }
.combo-list { margin-top: 6px; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.combo-list li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 15px; color: var(--text); cursor: pointer; transition: background-color .15s, color .15s; }
.combo-list li[hidden] { display: none; }
.combo-list li.is-active { background: var(--primary-tint); color: var(--primary); }
.combo-list li[aria-selected="true"] { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.combo-list li[aria-selected="true"]::after { content: '✓'; margin-left: auto; font-weight: 800; }
.combo-list li[data-value=""] { color: var(--muted); font-weight: 500; }
.combo-list mark { background: none; color: var(--primary); font-weight: 800; }
.combo-empty { padding: 18px 12px; text-align: center; font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .combo-panel, .combo-btn.is-nudge { animation: none; } }
.finder .search input { background: #fff; border-radius: 14px; }
.finder .search button { border-radius: 10px; }
.region-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.region-chips .chip { height: 34px; padding: 0 14px; font-size: 13px; }

.academy-list { display: grid; gap: 12px; }
@media (min-width: 768px) { .academy-list { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.academy { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.academy:hover { box-shadow: var(--shadow); border-color: transparent; }
.academy-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.academy h3 { font-size: 18px; }
.academy .who { font-size: 14px; color: var(--muted); }
.academy address { font-style: normal; font-size: 14px; color: var(--text); line-height: 1.6; }
.academy-actions { display: flex; gap: 8px; margin-top: 6px; }
.academy-actions a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.academy-actions a:hover { border-color: var(--primary); color: var(--primary); }
.academy-actions a.is-tel { background: var(--primary); border-color: var(--primary); color: #fff; }
.academy-actions svg { width: 16px; height: 16px; }

/* Forms / Login */
.auth-card { max-width: 440px; margin-inline: auto; padding: clamp(28px, 5vw, 48px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-card h2 { font-size: 24px; text-align: center; }
.auth-card form { display: grid; gap: 12px; margin-top: 28px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); font-size: 16px; outline: none; }
.input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-soft); }
.form-error { padding: 12px 16px; border-radius: 12px; background: #fff0f3; color: #c2183f; font-size: 14px; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); font-size: 13px; line-height: 1.8; }
.site-footer .container { padding-top: 48px; padding-bottom: 40px; }
.footer-top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1fr auto; align-items: center; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, .85); }
.footer-links a:hover { color: #fff; }
.footer-links a.is-strong { font-weight: 700; color: #fff; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer-tel { display: flex; align-items: center; gap: 14px; }
.footer-tel .ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-tel .ico svg { width: 22px; height: 22px; }
.footer-tel small { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); }
.footer-tel strong { display: block; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.01em; line-height: 1.2; }
.footer-sns { display: flex; gap: 8px; }
.footer-sns a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.footer-sns a:hover { transform: translateY(-2px); }
.footer-sns img { width: 24px; height: 24px; object-fit: contain; }
.footer-info { padding-top: 28px; display: grid; gap: 8px; }
.footer-info p span { display: inline-block; margin-right: 14px; }
.footer-info a:hover { color: #fff; }
.footer-copy { margin-top: 8px; color: rgba(255, 255, 255, .4); }

/* Top button */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top svg { width: 20px; height: 20px; }
html[data-scrolled-far] .to-top { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); color: #fff; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
html:not([data-js]) [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

@media print {
	.site-header, .subnav, .site-footer, .to-top, .drawer { display: none !important; }
}

/* =====================================================================
   상세 페이지 레이아웃 (참고: hm-group.kr 회사소개)
   - 전체 폭 비주얼 + 3단 제목, 넉넉한 여백, 가운데 정렬 큰 문장,
     테두리 없는 카드, 정의형 목록(연혁)
   ===================================================================== */

/* ---------- 상단 비주얼 ---------- */
.sub-hero {
	position: relative; display: flex; flex-direction: column; justify-content: center;
	min-height: clamp(380px, 64vh, 470px); padding: 96px 0 72px;
	color: #fff; overflow: hidden; isolation: isolate; background: #17141f;
}
.sub-hero-bg {
	position: absolute; inset: -6% 0; z-index: -2;
	background: center / cover no-repeat;
	animation: subHeroBg 2.4s cubic-bezier(.2, .7, .2, 1) both;
	will-change: transform;
}
.sub-hero::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(10, 6, 24, .45) 0%, rgba(10, 6, 24, .2) 40%, rgba(10, 6, 24, .65) 100%),
		radial-gradient(800px 400px at 10% 100%, rgba(64, 0, 153, .45), transparent 70%);
}
.sub-hero-inner { display: grid; gap: 14px; align-items: center; }
.sub-hero-label {
	font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); letter-spacing: var(--font-display-tracking);
	animation: subHeroUp 1s .15s cubic-bezier(.2, .8, .2, 1) both;
}
.sub-hero-title {
	color: #fff; font-family: var(--font-display); font-weight: 400; font-synthesis: none;
	font-size: clamp(40px, 6.4vw, 65px); line-height: 1.1; letter-spacing: var(--font-display-tracking);
	animation: subHeroUp 1.1s .25s cubic-bezier(.2, .8, .2, 1) both;
}
.sub-hero-desc {
	max-width: 320px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .86);
	animation: subHeroUp 1s .4s cubic-bezier(.2, .8, .2, 1) both;
}
.sub-hero-desc span { color: #fff; font-weight: 700; }
.sub-hero-foot { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; align-items: center; justify-content: space-between; }
.sub-hero .breadcrumb { color: rgba(255, 255, 255, .7); }
.sub-hero .breadcrumb a:hover { color: #fff; }
.sub-hero-foot { gap: 16px; }
/* 오른쪽: 섹션 안 위치(02 / 05) + 다음 페이지 바로가기 */
.sub-hero-nav { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.sub-hero-count { display: none; font-size: 13px; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.sub-hero-count b { color: #fff; font-weight: 700; }
.sub-hero-next {
	display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 16px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 14px; font-weight: 600;
	transition: background-color .25s, border-color .25s, color .25s;
}
.sub-hero-next small { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .65); }
.sub-hero-next i { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--ink); font-style: normal; transition: transform .25s var(--ease); }
.sub-hero-next:hover { background: #fff; border-color: #fff; color: var(--ink); }
.sub-hero-next:hover small { color: var(--muted); }
.sub-hero-next:hover i { background: var(--primary); color: #fff; transform: translateX(3px); }
@media (max-width: 639px) {
	.sub-hero-foot { bottom: 16px; }
	.sub-hero .breadcrumb { display: none; }
	.sub-hero-nav { width: 100%; justify-content: space-between; }
	.sub-hero-count { display: block; }
}
@media (min-width: 900px) {
	/* 왼쪽 라벨 / 가운데 제목 / 오른쪽 설명 */
	.sub-hero-inner { grid-template-columns: 1fr auto 1fr; gap: 40px; }
	.sub-hero-title { text-align: center; }
	.sub-hero-desc { justify-self: end; }
	.sub-hero-count { display: block; }
}
@keyframes subHeroBg { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes subHeroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- 하위 메뉴 탭: 가운데 정렬, 얇은 밑줄 ---------- */
.subnav { background: rgba(255, 255, 255, .96); }
.subnav ul { gap: clamp(4px, 2vw, 28px); }
@media (min-width: 900px) { .subnav ul { justify-content: center; } }
.subnav a { height: 64px; padding: 0 8px; font-size: 16px; }
.subnav a::after { left: 8px; right: 8px; height: 2px; border-radius: 0; }

/* ---------- 본문 리듬: 넉넉한 여백 ---------- */
.page-body { padding: clamp(72px, 11vw, 160px) 0 clamp(88px, 12vw, 180px); }
.block + .block { margin-top: clamp(80px, 11vw, 150px); }

/* 큰 문장: 가운데 정렬 (sub.js 가 스크롤에 맞춰 글자를 채운다) */
.lead {
	max-width: 960px; margin: 0 auto clamp(48px, 7vw, 96px); text-align: center;
	font-size: clamp(26px, 3.8vw, 48px); line-height: 1.38;
}
.lead .w { transition: color .25s; }
html[data-sub-anim] .lead .w { color: #d9d5e3; }
html[data-sub-anim] .lead .w.is-on { color: var(--ink); }
html[data-sub-anim] .lead .w.is-on.is-accent { color: var(--primary); }

/* 블록 제목: 가운데 정렬 + 위쪽 짧은 선 */
.block-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.block-head h2 { display: block; font-size: clamp(26px, 3vw, 38px); }
.block-head h2::before { display: block; width: 32px; height: 2px; margin: 0 auto 20px; border-radius: 0; }
.block-head p { margin-top: 16px; font-size: 16px; line-height: 1.8; }
.block-head .eyebrow { margin-top: 8px; }

/* 카드: 테두리 없이, 아이콘 카드는 가운데 정렬 */
.grid { gap: clamp(16px, 2vw, 28px); }
.card { border: 0; background: var(--bg-soft); border-radius: 20px; padding: clamp(28px, 3.4vw, 44px); transition: transform .4s var(--ease), box-shadow .4s, background-color .4s; }
.card.is-soft { background: var(--bg-soft); }
.card:hover { background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card:has(.card-icon) { text-align: center; }
.card:has(.card-icon) ul.dots { text-align: left; }
.card-icon { margin: 0 auto 24px; background: #fff; border-radius: 50%; }
.card-icon.lg { border-radius: 50%; }
.card h3 { font-size: 20px; }
.biz-card { background: var(--bg-soft); border-top: 0; }
.biz-card::before { content: ''; display: block; width: 32px; height: 3px; margin-bottom: 18px; background: var(--c, var(--primary)); }
.mvv .card { background: var(--bg-soft); text-align: center; }
.mvv .card h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: var(--font-display-tracking); font-size: 30px; }
.mvv .card .card-en { margin-top: 6px; }

/* 연혁: 정의형 목록 (왼쪽 연도 / 오른쪽 내용, 줄 사이 얇은 선) */
.history-era { gap: clamp(20px, 4vw, 64px); padding: clamp(48px, 7vw, 96px) 0; }
.timeline { padding-left: 0; margin-top: 36px; }
.timeline::before { display: none; }
.timeline-item { display: grid; gap: 8px 32px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-item + .timeline-item { margin-top: 0; }
.timeline-item::before { display: none; }
.timeline-item ul { margin-top: 0; }
@media (min-width: 768px) { .timeline-item { grid-template-columns: 160px 1fr; } }
.timeline-year { font-family: var(--font-display); font-weight: 400; letter-spacing: var(--font-display-tracking); font-size: 22px; }

/* 이미지: 둥근 모서리 + 드러나는 효과(sub.js) */
.story-img, .figure, .event-visual, .map-box { border-radius: 20px; }
html[data-sub-anim] [data-clip] { clip-path: inset(18% 0 0 0 round 20px); }

@media (prefers-reduced-motion: reduce) {
	.sub-hero-bg, .sub-hero-label, .sub-hero-title, .sub-hero-desc { animation: none !important; }
}
.mvv .card .card-en { font-family: 'Pretendard Variable', Pretendard, sans-serif; }

/* 상단 비주얼 그래픽 변형: 시험지 줄무늬 (Program) */
.sub-hero.is-paper { background: #1c1240; }
.sub-hero.is-paper .sub-hero-bg {
	background:
		/* 왼쪽 여백선 */
		linear-gradient(90deg, transparent calc(8% - 1px), rgba(255, 140, 170, .28) calc(8% - 1px), rgba(255, 140, 170, .28) 8%, transparent 8%),
		/* 가로줄 */
		repeating-linear-gradient(180deg, transparent 0 43px, rgba(255, 255, 255, .07) 43px 44px),
		/* 빛 번짐 */
		radial-gradient(700px 420px at 78% 30%, rgba(133, 79, 191, .55), transparent 70%),
		radial-gradient(600px 400px at 15% 90%, rgba(64, 0, 153, .7), transparent 70%),
		linear-gradient(135deg, #2a1660 0%, #1c1240 55%, #120b2c 100%);
	animation: subHeroBg 2.4s cubic-bezier(.2, .7, .2, 1) both, paperGlow 12s ease-in-out 2.4s infinite alternate;
}
.sub-hero.is-paper::before { background: linear-gradient(180deg, rgba(10, 6, 24, .15), rgba(10, 6, 24, .45)); }
@keyframes paperGlow { to { filter: hue-rotate(-18deg) brightness(1.08); } }

/* ---------------------------------------------------------------------
   메인 팝업 (관리자 > 팝업 관리)
   PC: 정한 자리(가운데/네 모서리)에, 같은 자리는 --popup-i 만큼 비껴서 · 모바일(<768px): 항상 가운데
   --------------------------------------------------------------------- */
.popup {
	--gap: 24px;
	--shift: calc(var(--popup-i, 0) * 28px);
	position: fixed; z-index: var(--popup-z, 1200); display: flex; flex-direction: column;
	width: min(var(--popup-w), calc(100vw - 32px)); height: var(--popup-h, auto);
	--foot-h: 58px; /* 아래 "보지 않기 · 닫기" 줄 높이 (여유 포함) */
	max-height: calc(100vh - var(--header-h) - 2 * var(--gap));
	border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(23, 20, 31, .28); overflow: hidden;
	animation: popup-in .45s var(--ease);
}
.popup[hidden] { display: none; }
.popup.pos-center { left: calc(50% + var(--shift)); top: calc(50% + var(--header-h) / 2 + var(--shift)); transform: translate(-50%, -50%); }
.popup.pos-left-top { left: calc(var(--gap) + var(--shift)); top: calc(var(--header-h) + var(--gap) + var(--shift)); }
.popup.pos-right-top { right: calc(var(--gap) + var(--shift)); top: calc(var(--header-h) + var(--gap) + var(--shift)); }
.popup.pos-left-bottom { left: calc(var(--gap) + var(--shift)); bottom: calc(var(--gap) + var(--shift)); }
.popup.pos-right-bottom { right: calc(var(--gap) + var(--shift)); bottom: calc(var(--gap) + var(--shift)); }
.popup-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; font-size: 15px; line-height: 1.7; }
.popup-body img { display: block; max-width: 100%; height: auto; }
.popup-body p { margin: 0; }
/* 이미지 팝업: 세로로 긴 이미지도 스크롤 없이 화면 높이에 맞춰 통째로 줄인다 (--popup-ratio = 가로/세로) */
.popup.is-image { width: min(var(--popup-w), calc(100vw - 32px), (100vh - var(--header-h) - 2 * var(--gap) - var(--foot-h)) * var(--popup-ratio, 1)); }
.popup:not(.is-image) .popup-body { padding: 22px 24px; }
.popup.is-image .popup-body { line-height: 0; overflow: hidden; }
.popup.is-image .popup-body img { width: 100%; }
.popup.is-image .popup-body a { display: block; }
.popup-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--ink); color: #fff; font-size: 13px; }
.popup-foot button { padding: 6px 8px; border: 0; border-radius: 8px; background: none; color: rgba(255, 255, 255, .8); font-size: 13px; }
.popup-foot button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.popup-foot [data-popup-close] { font-weight: 700; color: #fff; }
@keyframes popup-in { from { opacity: 0; translate: 0 12px; } }
@media (min-width: 768px) { .popup.is-mobile { display: none; } }
@media (max-width: 767px) {
	.popup.is-pc { display: none; }
	.popup[class*="pos-"] { left: calc(50% + var(--popup-i, 0) * 12px); right: auto; top: calc(50% + var(--popup-i, 0) * 12px); bottom: auto; transform: translate(-50%, -50%); max-height: calc(100dvh - 48px); }
	.popup.is-image { width: min(var(--popup-w), calc(100vw - 32px), (100dvh - 48px - var(--foot-h)) * var(--popup-ratio, 1)); }
}
@media (prefers-reduced-motion: reduce) { .popup { animation: none; } }
