/* ============================================================
   대전간판 정보 플랫폼 — 디자인 시스템
   8pt 스케일 / 내비·앰버 팔레트 / Pretendard + Noto Serif KR
   ============================================================ */

:root {
    /* 색상 토큰 */
    --navy-950: #0A1E33;
    --navy-900: #0F2A47;
    --navy-800: #163757;
    --navy-700: #1E4668;
    --navy-100: #E6EEF6;
    --blue-600: #2F6FB5;
    --blue-500: #4A86C7;
    --blue-100: #E3EEF9;
    --amber-600: #D9822B;
    --amber-500: #F5A524;
    --amber-400: #F7B84B;
    --amber-100: #FDF3E0;
    --ink-900: #17222E;
    --ink-700: #33414F;
    --ink-500: #5A6672;
    --ink-400: #7A8794;
    --bg-soft: #F7F9FC;
    --bg-cream: #FDF9F2;
    --bg-night: #0B2238;
    --line-100: #EEF2F7;
    --line-200: #E3E9F0;
    --line-300: #CFD9E4;
    --white: #FFFFFF;

    /* 라운드 토큰 */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 999px;

    /* 그림자 토큰 */
    --shadow-xs: 0 1px 2px rgba(15, 42, 71, 0.05);
    --shadow-sm: 0 2px 8px rgba(15, 42, 71, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 42, 71, 0.09);
    --shadow-lg: 0 20px 48px rgba(15, 42, 71, 0.14);
    --shadow-amber: 0 10px 28px rgba(245, 165, 36, 0.28);

    /* 타이포 */
    --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    --font-serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
    --fs-hero: clamp(2.5rem, 5.4vw, 4.25rem);
    --fs-h1: clamp(1.9rem, 3.6vw, 2.75rem);
    --fs-h2: clamp(1.45rem, 2.4vw, 1.9rem);
    --fs-h3: clamp(1.15rem, 1.6vw, 1.35rem);
    --fs-lg: 1.125rem;
    --fs-body: 1rem;
    --fs-sm: 0.9rem;
    --fs-xs: 0.8rem;
    --lh-tight: 1.3;
    --lh-body: 1.72;
    --lh-loose: 1.85;
    --ls-tight: -0.02em;
    --ls-wide: 0.06em;

    /* 레이아웃 */
    --container: 1200px;
    --content-max: 740px;
    --space-1: 8px;  --space-2: 16px; --space-3: 24px; --space-4: 32px;
    --space-5: 40px; --space-6: 48px; --space-7: 64px; --space-8: 80px;
    --space-9: 96px; --space-10: 120px; --space-11: 140px;
    --header-h: 72px;

    /* 모션 */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur-1: 150ms;
    --dur-2: 240ms;
    --dur-3: 320ms;
}

/* ---------- 리셋/기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--ink-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color var(--dur-1) var(--ease); }
a:hover { color: var(--navy-900); }
button { font-family: inherit; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
    position: fixed; top: -60px; left: 16px; z-index: 9999;
    background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 12px;
    transition: top var(--dur-2) var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- 헤더 ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-100);
    transition: box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.site-header.is-scrolled { border-color: var(--line-200); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; }
.site-brand__mark { border-radius: 10px; box-shadow: var(--shadow-sm); }
.site-brand__text { font-weight: 800; font-size: 1.05rem; letter-spacing: var(--ls-tight); color: var(--navy-900); line-height: 1.2; }
.site-brand__text em { display: block; font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: var(--ls-wide); color: var(--amber-600); margin-top: 2px; }
.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    font-size: 0.95rem; font-weight: 600; color: var(--ink-700); border-radius: var(--r-sm);
    letter-spacing: -0.01em;
}
.nav-list a:hover { color: var(--navy-900); background: var(--bg-soft); }
.nav-list .current-menu-item > a, .nav-list .current-cat > a { color: var(--navy-900); }
.nav-toggle { display: none; }
.nav-cta {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin-left: 10px;
    background: var(--amber-500); color: var(--navy-950); font-weight: 700; font-size: 0.92rem;
    border-radius: var(--r-pill); box-shadow: var(--shadow-amber);
    transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.nav-cta:hover { background: var(--amber-400); color: var(--navy-950); transform: translateY(-1px); }

/* ---------- 버튼 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 26px; border: 0; cursor: pointer;
    font-family: inherit; font-size: 0.98rem; font-weight: 700; letter-spacing: -0.01em;
    border-radius: var(--r-pill); text-decoration: none;
    transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease),
                box-shadow var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.btn--primary { background: var(--amber-500); color: var(--navy-950); box-shadow: var(--shadow-amber); }
.btn--primary:hover { background: var(--amber-400); color: var(--navy-950); transform: translateY(-2px); }
.btn--navy { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-md); }
.btn--navy:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy-900); border: 1.5px solid var(--line-300); }
.btn--ghost:hover { border-color: var(--navy-900); color: var(--navy-900); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-md); }
.btn--white:hover { background: var(--bg-soft); color: var(--navy-900); transform: translateY(-2px); }
.btn--lg { min-height: 54px; padding-inline: 34px; font-size: 1.04rem; }

/* ---------- 섹션 헤더 ---------- */
.section { padding-block: var(--space-8); }
.section--soft { background: var(--bg-soft); }
.section--night { background: var(--bg-night); }
.section--cream { background: var(--bg-cream); }
.section__head { max-width: 720px; margin-bottom: var(--space-6); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
    font-size: 0.82rem; font-weight: 700; letter-spacing: var(--ls-wide);
    color: var(--amber-600); text-transform: uppercase;
}
.section__eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber-500); border-radius: 2px; }
.section__head--center .section__eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--amber-500); border-radius: 2px; }
.section__title { margin: 0; font-size: var(--fs-h2); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--ls-tight); color: var(--navy-900); }
.section--night .section__title { color: #fff; }
.section__desc { margin: 16px 0 0; font-size: var(--fs-lg); line-height: var(--lh-loose); color: var(--ink-500); }
.section--night .section__desc { color: #C7D3E0; }

/* ---------- 히어로(홈) ---------- */
.home-hero { position: relative; overflow: hidden; background: var(--bg-night); }
.home-hero__media { position: absolute; inset: 0; }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.home-hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11, 34, 56, 0.72) 0%, rgba(11, 34, 56, 0.55) 45%, rgba(11, 34, 56, 0.9) 100%);
}
.home-hero__inner { position: relative; z-index: 2; padding-block: clamp(88px, 12vw, 168px); max-width: 860px; }
.home-hero__badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
    padding: 7px 16px; border-radius: var(--r-pill);
    background: rgba(245, 165, 36, 0.14); border: 1px solid rgba(245, 165, 36, 0.4);
    color: var(--amber-400); font-size: 0.84rem; font-weight: 700; letter-spacing: var(--ls-wide);
}
.home-hero h1 { margin: 0 0 20px; font-size: var(--fs-hero); font-weight: 800; line-height: 1.16; letter-spacing: var(--ls-tight); color: #fff; }
.home-hero__lead { margin: 0 0 36px; max-width: 620px; font-size: clamp(1.06rem, 1.6vw, 1.22rem); line-height: var(--lh-loose); color: #D7E1EC; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero__note { margin: 28px 0 0; font-size: var(--fs-sm); color: #93A8BE; }

/* ---------- 신뢰/가치 카드 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
    position: relative; padding: 32px 28px; background: var(--white);
    border: 1px solid var(--line-200); border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs); transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px;
    background: var(--navy-100); color: var(--navy-900);
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 { margin: 0 0 10px; font-size: 1.08rem; font-weight: 800; color: var(--navy-900); letter-spacing: var(--ls-tight); }
.value-card p { margin: 0; font-size: 0.94rem; line-height: var(--lh-loose); color: var(--ink-500); }

/* ---------- 간판 종류 카드 ---------- */
.type-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.type-card {
    display: block; padding: 26px 18px 22px; text-align: center;
    background: var(--white); border: 1px solid var(--line-200); border-radius: var(--r-lg);
    color: var(--ink-700); box-shadow: var(--shadow-xs);
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--amber-500); color: var(--ink-700); }
.type-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; margin-bottom: 16px; border-radius: 18px;
    background: var(--amber-100); color: var(--navy-900);
}
.type-card__icon svg { width: 30px; height: 30px; }
.type-card strong { display: block; font-size: 1rem; font-weight: 800; color: var(--navy-900); letter-spacing: var(--ls-tight); }
.type-card span { display: block; margin-top: 6px; font-size: 0.78rem; line-height: 1.5; color: var(--ink-400); }
.infographic-figure { margin: 40px 0 0; }
.infographic-figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.infographic-figure figcaption { margin-top: 12px; text-align: center; font-size: var(--fs-sm); color: var(--ink-400); }

/* ---------- 캐러셀 ---------- */
.carousel { position: relative; }
.carousel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--space-4); }
.carousel__controls { display: flex; gap: 8px; }
.carousel__btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    border: 1.5px solid var(--line-300); background: #fff; color: var(--navy-900);
    transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.carousel__btn:hover:not(:disabled) { background: var(--navy-900); border-color: var(--navy-900); color: #fff; transform: translateY(-2px); }
.carousel__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.carousel__track {
    display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px 4px 20px; margin: -4px; scrollbar-width: thin; scrollbar-color: var(--line-300) transparent;
}
.carousel__track::-webkit-scrollbar { height: 6px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--line-300); border-radius: 6px; }
.carousel__item { flex: 0 0 340px; scroll-snap-align: start; }
.post-card { background: #fff; border: 1px solid var(--line-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__link { display: block; color: inherit; }
.post-card__link:hover { color: inherit; }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.045); }
.post-card__body { padding: 22px 22px 24px; }
.post-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.78rem; color: var(--ink-400); }
.post-card__cat {
    display: inline-flex; padding: 3px 10px; border-radius: var(--r-pill);
    background: var(--navy-100); color: var(--navy-800); font-weight: 700; letter-spacing: 0.02em;
}
.post-card__title { margin: 0 0 10px; font-size: 1.12rem; font-weight: 800; line-height: 1.4; letter-spacing: var(--ls-tight); color: var(--navy-900); }
.post-card__excerpt { margin: 0; font-size: 0.9rem; line-height: 1.65; color: var(--ink-500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 프로세스 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card { position: relative; padding: 0; background: transparent; }
.process-card__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%;
    background: var(--amber-500); color: var(--navy-950); font-weight: 800; font-size: 1.05rem;
    box-shadow: var(--shadow-amber);
}
.process-card h3 { margin: 0 0 10px; font-size: 1.12rem; font-weight: 800; color: var(--navy-900); letter-spacing: var(--ls-tight); }
.process-card p { margin: 0; font-size: 0.94rem; line-height: var(--lh-loose); color: var(--ink-500); }
.process-card__img { margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.process-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA 밴드 ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(245, 165, 36, 0.18), transparent 60%), radial-gradient(500px 260px at 10% 100%, rgba(47, 111, 181, 0.28), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0 0 14px; font-size: var(--fs-h2); font-weight: 800; color: #fff; letter-spacing: var(--ls-tight); }
.cta-band p { margin: 0 auto 30px; max-width: 560px; font-size: 1.02rem; line-height: var(--lh-loose); color: #C7D3E0; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 페이지 히어로(아카이브 등) ---------- */
.page-hero { background: linear-gradient(180deg, var(--navy-100) 0%, #F2F6FB 100%); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.page-hero__crumb { margin: 0 0 14px; font-size: 0.86rem; color: var(--ink-400); }
.page-hero__crumb a { color: var(--blue-600); }
.page-hero__title { margin: 0; font-size: var(--fs-h1); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--ls-tight); color: var(--navy-900); }
.page-hero__desc { margin: 16px 0 0; max-width: 680px; font-size: 1.05rem; line-height: var(--lh-loose); color: var(--ink-500); }
.archive-layout { padding-block: var(--space-7) var(--space-9); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: var(--space-6); }
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px;
    border: 1px solid var(--line-200); border-radius: var(--r-sm); color: var(--ink-700); font-weight: 600; font-size: 0.92rem;
}
.pagination .page-numbers.current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--navy-900); color: var(--navy-900); }
.empty-note { padding: 40px; text-align: center; color: var(--ink-400); background: var(--bg-soft); border-radius: var(--r-lg); }

/* ---------- 아티클(글/페이지) ---------- */
.article__header { background: linear-gradient(180deg, var(--navy-100) 0%, #F2F6FB 100%); padding-block: clamp(48px, 7vw, 80px) clamp(40px, 6vw, 64px); }
.article__header-inner { max-width: var(--content-max); margin-inline: auto; }
.article__crumb { margin: 0 0 16px; font-size: 0.86rem; color: var(--ink-400); }
.article__crumb a { color: var(--blue-600); }
.article__title { margin: 0; font-size: var(--fs-h1); font-weight: 800; line-height: 1.25; letter-spacing: var(--ls-tight); color: var(--navy-900); word-break: keep-all; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: 0.88rem; color: var(--ink-500); }
.article__meta-dot { color: var(--line-300); }
.article__hero { margin: 0; padding: var(--space-6) 0 0; }
.article__hero img { width: min(960px, 100%); margin-inline: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding-block: var(--space-7) var(--space-9); }
.article__layout--page { grid-template-columns: minmax(0, 1fr); }
.article__body { min-width: 0; }
.post-content { max-width: var(--content-max); margin-inline: auto; font-size: 1.02rem; line-height: var(--lh-loose); color: var(--ink-700); word-break: keep-all; }
.post-content > * + * { margin-top: 1.15em; }
.post-content h2 { margin: 2.2em 0 0.8em; font-size: var(--fs-h2); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--ls-tight); color: var(--navy-900); padding-top: 0.4em; }
.post-content h3 { margin: 1.9em 0 0.7em; font-size: var(--fs-h3); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--ls-tight); color: var(--navy-800); }
.post-content p { margin: 0 0 1.15em; }
.post-content strong { color: var(--ink-900); font-weight: 700; }
.post-content a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber-500); }
.post-content a:hover { color: var(--navy-900); }
.post-content ul, .post-content ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.post-content li { margin: 0.55em 0; }
.post-content li::marker { color: var(--amber-600); font-weight: 700; }
.post-content blockquote, .post-content .callout {
    margin: 1.8em 0; padding: 20px 24px; border-left: 4px solid var(--amber-500);
    background: var(--bg-cream); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 0.98em;
}
.post-content blockquote p, .post-content .callout p { margin: 0 0 8px; }
.post-content blockquote p:last-child, .post-content .callout p:last-child { margin-bottom: 0; }
.post-content blockquote { font-family: var(--font-serif); color: var(--navy-800); }
.post-content .info-box {
    margin: 1.8em 0; padding: 18px 20px; border-radius: var(--r-md);
    background: var(--blue-100); border: 1px solid #C9DFF5; color: var(--navy-800); font-size: 0.96em;
}
.post-content .info-box strong { color: var(--navy-900); }
.post-content .warning-box {
    margin: 1.8em 0; padding: 18px 20px; border-radius: var(--r-md);
    background: #FDF1E1; border: 1px solid #F5D9A8; color: #7A4A12; font-size: 0.96em;
}
.post-content .table-wrap { margin: 1.8em 0; overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--shadow-xs); border: 1px solid var(--line-200); }
.post-content table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 560px; }
.post-content thead th { background: var(--navy-900); color: #fff; font-weight: 700; text-align: left; }
.post-content th, .post-content td { padding: 13px 16px; border-bottom: 1px solid var(--line-200); vertical-align: top; }
.post-content tbody tr:nth-child(even) { background: var(--bg-soft); }
.post-content tbody tr:last-child td { border-bottom: 0; }
.post-content th { color: var(--navy-900); }
.post-content .figure-img { margin: 2em 0; }
.post-content .figure-img img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.post-content .figure-img figcaption { margin-top: 10px; text-align: center; font-size: var(--fs-sm); color: var(--ink-400); }
.post-content .legal-notice { margin: 2.2em 0 0; padding: 14px 18px; border-radius: 0 var(--r-md) var(--r-md) 0; border-left: 3px solid var(--line-300); background: #F8FAFC; font-size: 0.85em; line-height: 1.6; color: var(--ink-400); }
.post-content .ai-notice { margin: 1em 0 0; font-size: 0.85em; color: #9AA5B1; }

/* 인라인 차트(막대) */
.bar-chart { margin: 1.8em 0; padding: 22px 20px; background: var(--bg-soft); border: 1px solid var(--line-200); border-radius: var(--r-md); }
.bar-chart__title { margin: 0 0 16px; font-size: 0.9rem; font-weight: 800; color: var(--navy-900); }
.bar-row { display: grid; grid-template-columns: 120px 1fr 56px; align-items: center; gap: 12px; padding: 7px 0; font-size: 0.88rem; }
.bar-label { color: var(--ink-700); font-weight: 600; }
.bar-track { height: 12px; border-radius: 8px; background: var(--line-200); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue-500), var(--navy-800)); width: var(--w, 60%); }
.bar-fill--amber { background: linear-gradient(90deg, var(--amber-400), var(--amber-600)); }
.bar-val { text-align: right; color: var(--ink-500); font-weight: 700; }

/* 단계 타임라인 */
.step-list { list-style: none !important; counter-reset: step; margin: 1.8em 0 !important; padding: 0 !important; }
.step-list li { position: relative; counter-increment: step; padding: 0 0 0 56px; margin: 0 0 20px !important; }
.step-list li::before {
    content: counter(step); position: absolute; left: 0; top: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: #fff;
    font-weight: 800; font-size: 0.95rem;
}
.step-list li::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: -22px; width: 2px; background: var(--line-200); }
.step-list li:last-child::after { display: none; }
.step-list strong { color: var(--navy-900); }

/* 체크리스트 */
.check-list { list-style: none !important; margin: 1.6em 0 !important; padding: 0 !important; }
.check-list li { position: relative; padding-left: 30px; margin: 10px 0 !important; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 3px;
    width: 20px; height: 20px; border-radius: 6px;
    background: var(--amber-500); opacity: 0.16;
}
.check-list li::after {
    content: "✓"; position: absolute; left: 4px; top: 1px;
    width: 12px; height: 12px; color: var(--amber-600); font-weight: 800; font-size: 0.78rem;
}

/* 목차(easy-table-of-contents) */
.ez-toc-container { margin: 0 0 2em !important; padding: 22px 24px !important; background: var(--bg-soft) !important; border: 1px solid var(--line-200) !important; border-radius: var(--r-md) !important; }
.ez-toc-title { font-size: 0.95rem !important; font-weight: 800 !important; color: var(--navy-900) !important; }
.ez-toc-list li a { color: var(--ink-700) !important; font-size: 0.92rem; }
.ez-toc-list li a:hover { color: var(--navy-900) !important; }

/* 사이드(관련 글) */
.article__side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.side-card { padding: 22px; background: var(--bg-soft); border: 1px solid var(--line-200); border-radius: var(--r-lg); }
.side-card__title { margin: 0 0 16px; font-size: 0.95rem; font-weight: 800; color: var(--navy-900); letter-spacing: var(--ls-tight); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list__item + .side-list__item { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-200); }
.side-list__item a { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); }
.side-list__item a:hover { color: var(--navy-900); }
.side-list__thumb { flex: 0 0 88px; width: 88px; height: 60px; object-fit: cover; border-radius: var(--r-sm); }
.side-list__title { font-size: 0.86rem; font-weight: 600; line-height: 1.5; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy-950); color: #A9B8C8; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-block: var(--space-8) var(--space-6); }
.site-footer__brand .site-brand__text { color: #fff; }
.site-footer__brand p { margin: 16px 0 0; max-width: 420px; font-size: 0.92rem; line-height: 1.75; color: #93A8BE; }
.site-footer__title { margin: 0 0 18px; font-size: 0.85rem; font-weight: 800; letter-spacing: var(--ls-wide); color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 10px 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: #A9B8C8; font-size: 0.93rem; }
.footer-links a:hover { color: var(--amber-400); }
.site-footer__notices { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 24px 32px; }
.legal-notice { margin: 8px 0; font-size: 0.78rem; line-height: 1.65; color: #7E93A8; }
.site-footer__copy { margin: 18px 0 0; font-size: 0.8rem; color: #64798E; }

/* ---------- 공통 유틸 ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--space-1); } .mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); }

/* ---------- 모션 ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
    .type-grid { grid-template-columns: repeat(3, 1fr); }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .article__layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .article__side { position: static; }
    .side-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .side-list__item + .side-list__item { margin-top: 0; padding-top: 0; border-top: 0; }
}
@media (max-width: 900px) {
    .value-grid, .process-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 48px; height: 48px; padding: 0; background: none; border: 0; cursor: pointer; align-items: center;
    }
    .nav-toggle__bar { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line-200); box-shadow: var(--shadow-md); }
    .site-nav .nav-list { display: none; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
    .site-nav.is-open .nav-list { display: flex; }
    .nav-list a { min-height: 48px; padding-inline: 12px; }
    .nav-cta { margin: 8px 12px 4px; justify-content: center; }
}
@media (max-width: 720px) {
    .type-grid { grid-template-columns: repeat(2, 1fr); }
    .post-grid { grid-template-columns: 1fr; }
    .carousel__item { flex-basis: 86%; }
    .section { padding-block: var(--space-7); }
    .bar-row { grid-template-columns: 88px 1fr 44px; gap: 8px; font-size: 0.8rem; }
    .side-list { grid-template-columns: 1fr; }
    .home-hero__inner { padding-block: 76px 96px; }
    .post-content { font-size: 1rem; }
    .post-content table { font-size: 0.86rem; }
    .article__title { font-size: 1.7rem; }
}
@media (max-width: 480px) {
    .type-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .type-card { padding: 20px 12px 16px; }
    .home-hero__actions .btn { width: 100%; }
    .cta-band__actions .btn { width: 100%; }
}

/* ---------- 워드프레스 기본 크롬 제거 ---------- */
.wp-caption { max-width: 100%; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0.5em 1.2em 0.8em 0; }
.alignright { float: right; margin: 0.5em 0 0.8em 1.2em; }
.post-content .wp-caption-text, .wp-element-caption { font-size: var(--fs-sm); color: var(--ink-400); text-align: center; margin-top: 8px; }
.post-content img { border-radius: var(--r-md); }

@media print {
    .site-header, .site-footer, .article__side, .carousel__controls { display: none; }
    body { background: #fff; }
}
