/* ==========================================================================
/* ==========================================================================
   JETCO /beta — Design System  "EXHIBIT"
   Paper · Ink · Evidence-Signal Orange
   - 모든 클래스는 c- 접두사 (기존 사이트 CSS 와 충돌 방지)
   - 애니메이션 초기 숨김은 html.js 일 때만 (JS 미동작 시 콘텐츠 그대로 노출)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    /* 라이트: 인디고 기운이 도는 쿨 화이트 / 잉크 */
    --paper: #F3F4F8;
    --paper-2: #E8EAF2;
    --paper-3: #D9DCE8;
    --white: #FFFFFF;
    --ink: #10122E;
    --ink-2: #24274A;
    --ink-3: #4A4D6E;
    --muted: #6D7091;
    --line: rgba(16, 18, 46, .12);
    --line-2: rgba(16, 18, 46, .22);

    /* 다크: JETCO 인디고 네이비 */
    --night: #0B0D26;
    --night-2: #13163A;
    --night-3: #1C2050;
    --night-line: rgba(236, 238, 255, .11);
    --night-line-2: rgba(236, 238, 255, .2);
    --fog: rgba(236, 238, 255, .72);
    --fog-2: rgba(236, 238, 255, .5);

    /* 브랜드: 로고 인디고 + 증거 표지 테이프 옐로우 */
    --tape: #FFD21F;
    --tape-2: #FFE15C;
    --brand-2: #4E52D6;

    /* 문맥형 강조색 — 밝은 영역 = 인디고, 어두운 영역 = 옐로우 (아래 다크 컨텍스트에서 재정의) */
    --signal: #2E3092;
    --signal-2: #4E52D6;
    --signal-rgb: 46, 48, 146;
    --signal-soft: rgba(46, 48, 146, .12);
    --on-signal: #FFFFFF;
    --contrast: #10122E;
    --contrast-fg: #FFFFFF;
    --brand: #2E3092;
    --ok: #17A06B;
    --warn: #E9A400;

    --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "\00B9D1\00C740 \00ACE0\00B515", sans-serif;
    --font-serif: "Instrument Serif", "Times New Roman", serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", monospace;

    --max: 1360px;
    --gutter: clamp(20px, 4vw, 56px);
    --header-h: 76px;
    --subnav-h: 60px;

    --r-xs: 4px;
    --r-sm: 8px;
    --r: 14px;
    --r-lg: 22px;
    --r-xl: 32px;
    --r-pill: 999px;

    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);
    --ease-back: cubic-bezier(.34, 1.56, .64, 1);

    --shadow-1: 0 1px 2px rgba(16, 18, 46, .05), 0 10px 30px -14px rgba(16, 18, 46, .24);
    --shadow-2: 0 2px 6px rgba(16, 18, 46, .05), 0 34px 70px -32px rgba(16, 18, 46, .45);
}
/* 다크 컨텍스트 — 강조색을 옐로우로 전환. 페이지 전용 어두운 블록은 data-theme="dark" 를 달면 된다 */
.c-section--dark, .c-subhero, .c-cta, .c-footer, .c-drawer, .c-card--dark, .c-curtain, .hm-hero, .hm-intro,
.c-header.is-dark-top:not(.is-scrolled):not(.is-mega), .c-header.is-drawer, [data-theme="dark"] {
    --signal: #FFD21F;
    --signal-2: #FFE15C;
    --signal-rgb: 255, 210, 31;
    --signal-soft: rgba(255, 210, 31, .16);
    --on-signal: #10122E;
    --contrast: #FFFFFF;
    --contrast-fg: #10122E;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.012em;
    word-break: keep-all;
    overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--tape); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

/* 미세 그레인 (종이 질감) */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 300;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.c-skip {
    position: fixed; left: 16px; top: -60px; z-index: 400;
    padding: 10px 16px; border-radius: var(--r-sm);
    background: var(--tape); color: var(--ink); font-weight: 700;
    transition: top .3s var(--ease);
}
.c-skip:focus { top: 16px; }
.c-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3. Layout ---------- */
.c-container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.c-container--narrow { max-width: calc(920px + var(--gutter) * 2); }
.c-main { position: relative; display: block; }

.c-section { position: relative; padding: clamp(88px, 10.5vw, 168px) 0; }
.c-section--tight { padding: clamp(56px, 7vw, 104px) 0; }
.c-section--flush-top { padding-top: 0; }
.c-section--alt { background: var(--paper-2); }
.c-section--white { background: var(--white); }
.c-section--dark { background: var(--night); color: #fff; }
.c-section--dark .c-lead, .c-section--dark .c-body { color: var(--fog); }

.c-grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.c-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c-grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.c-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.c-sticky { position: sticky; top: calc(var(--header-h) + 32px); }

/* ---------- 4. Typography ---------- */
.c-mono { font-family: var(--font-mono); letter-spacing: 0; }
.c-serif { font-family: var(--font-sans); font-style: normal; font-weight: 400; letter-spacing: -0.01em; }
.c-hl { color: var(--muted); }
.c-section--dark .c-hl, .c-subhero .c-hl, .c-cta .c-hl, .c-hero .c-hl { color: var(--fog-2); }
.c-signal { color: var(--signal); }
.c-muted { color: var(--muted); }

.c-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
    color: var(--ink-3);
}
.c-eyebrow::before { content: ""; display: block; flex: none; width: 8px; height: 8px; border-radius: 1px; background: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.c-eyebrow--light { color: var(--fog); }
.c-eyebrow--muted { color: var(--muted); }
.c-eyebrow--plain::before { display: none; }

.c-display { font-size: clamp(44px, 7.4vw, 124px); line-height: 1.02; letter-spacing: -0.048em; font-weight: 750; }
.c-h1 { font-size: clamp(36px, 5vw, 78px); line-height: 1.08; letter-spacing: -0.042em; font-weight: 720; }
.c-h2 { font-size: clamp(30px, 3.8vw, 58px); line-height: 1.14; letter-spacing: -0.038em; font-weight: 700; }
.c-h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.32; letter-spacing: -0.028em; font-weight: 650; }
.c-h4 { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; letter-spacing: -0.022em; font-weight: 650; }
.c-lead { font-size: clamp(17px, 1.32vw, 20px); line-height: 1.75; color: var(--ink-3); text-wrap: pretty; }
.c-display, .c-h1, .c-h2, .c-h3, .c-subhero__title, .c-cta__title, .c-article__title { text-wrap: balance; }
.c-sechead__desc, .c-subhero__desc, .c-body { text-wrap: pretty; }
.c-body { font-size: 16px; line-height: 1.8; color: var(--ink-3); }
.c-small { font-size: 14px; }

/* 섹션 헤드 */
.c-sechead {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
    gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 80px);
}
.c-sechead__main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.c-sechead__desc { max-width: 520px; color: var(--ink-3); font-size: 17px; line-height: 1.75; }
.c-section--dark .c-sechead__desc { color: var(--fog); }
.c-sechead > .c-btn, .c-sechead > .c-link { justify-self: start; }
.c-sechead--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.c-sechead--center .c-sechead__main { align-items: center; }

/* 구분선 + 인덱스 라벨 */
.c-rule {
    display: flex; align-items: center; gap: 16px;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
    margin-bottom: 28px;
}
.c-rule::after { display: none; }
.c-section-label + .c-rule::after { display: block; content: ""; flex: 1; height: 1px; background: var(--line-2); transform-origin: 0 50%; }
html.js .c-rule[data-reveal]::after { transform: scaleX(0); transition: transform 1.4s var(--ease) .1s; }
html.js .c-rule[data-reveal].is-in::after { transform: scaleX(1); }
.c-section--dark .c-rule { color: var(--fog-2); }
.c-section--dark .c-rule::after { background: var(--night-line-2); }

/* 롤 텍스트 (호버 시 위로 굴러가는 라벨) */
.c-roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.35; height: 1.35em; }
.c-roll > span { position: relative; display: block; transition: transform .6s var(--ease); }
.c-roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
a:hover .c-roll > span, button:hover .c-roll > span, .c-roll:hover > span { transform: translateY(-100%); }

/* ---------- 5. Buttons & Links ---------- */
.c-btn {
    --bg: var(--ink); --fg: #FFFFFF; --fill: var(--signal); --fill-fg: var(--on-signal); --bd: transparent;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; padding: 0 28px; border-radius: var(--r-pill);
    background: var(--bg); color: var(--fg);
    box-shadow: inset 0 0 0 1px var(--bd);
    font-size: 15px; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap;
    transition: color .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease);
    will-change: transform;
}
.c-btn::before {
    content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: 0; bottom: 0;
    background: var(--fill); border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    transform: translateY(102%); transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.c-btn:hover { color: var(--fill-fg); }
.c-btn:hover::before { transform: translateY(0); border-radius: 0; }
.c-btn__icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .55s var(--ease); }
.c-btn:hover .c-btn__icon { transform: translateX(4px); }
.c-btn--signal { --bg: var(--signal); --fg: var(--on-signal); --fill: var(--contrast); --fill-fg: var(--contrast-fg); }
.c-btn--ink { --bg: var(--ink); --fg: #FFFFFF; --fill: var(--signal); --fill-fg: var(--on-signal); }
.c-btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); --fill: var(--ink); --fill-fg: var(--paper); }
.c-btn--light { --bg: #fff; --fg: var(--ink); --fill: var(--signal); --fill-fg: var(--on-signal); }
.c-btn--ghost-light { --bg: transparent; --fg: #fff; --bd: var(--night-line-2); --fill: #fff; --fill-fg: var(--ink); }
.c-btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.c-btn--lg { height: 64px; padding: 0 34px; font-size: 17px; }
.c-btn--block { width: 100%; }

.c-link {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .6s var(--ease), color .3s;
    padding-bottom: 2px;
}
.c-link:hover { background-size: 100% 1px; }
.c-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.c-link:hover svg { transform: translateX(4px); }

/* 원형 화살표 */
.c-arrow {
    position: relative; flex: none; display: inline-grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink);
    transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s, transform .6s var(--ease);
}
.c-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); transition: transform .6s var(--ease); }
a:hover > .c-arrow, a:hover .c-arrow, .c-arrow:hover { background: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); color: var(--on-signal); }
a:hover > .c-arrow svg, a:hover .c-arrow svg { transform: rotate(0); }
.c-section--dark .c-arrow, .c-card--dark .c-arrow { color: #fff; box-shadow: inset 0 0 0 1px var(--night-line-2); }

/* 배지 / 칩 / 태그 */
.c-badge {
    display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
    border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
    background: var(--paper-2); color: var(--ink-2);
}
.c-badge--signal { background: var(--signal); color: var(--on-signal); }
.c-badge--ink { background: var(--ink); color: var(--paper); }
.c-badge--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.c-badge--ok { background: rgba(23, 160, 107, .12); color: #0E7A50; }
.c-badge--ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: c-pulse 1.6s ease-in-out infinite; }
.c-badge--off { background: var(--paper-3); color: var(--muted); }
.c-badge--dark { background: var(--night-3); color: var(--fog); }

.c-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chip {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    height: 42px; padding: 0 18px; border-radius: var(--r-pill);
    box-shadow: inset 0 0 0 1px var(--line-2); background: transparent;
    font-size: 14.5px; font-weight: 550; color: var(--ink-2); white-space: nowrap;
    transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s;
}
.c-chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.c-chip.is-active, .c-chip[aria-pressed="true"], .c-chip[aria-current="page"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.c-chip__count { font-family: var(--font-mono); font-size: 11px; opacity: .55; }
.c-section--dark .c-chip { color: var(--fog); box-shadow: inset 0 0 0 1px var(--night-line-2); }
.c-section--dark .c-chip.is-active { background: #fff; color: var(--ink); }

.c-tag { display: inline-block; font-size: 13.5px; color: var(--muted); }
.c-tag::before { content: "#"; color: var(--signal); margin-right: 1px; }

/* ---------- 6. Toolbar / Search ---------- */
.c-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.c-count { font-family: var(--font-sans); font-size: 14px; color: var(--muted); }
.c-count strong { font-family: var(--font-mono); color: var(--ink); font-weight: 600; }
.c-search { position: relative; display: flex; align-items: center; min-width: min(320px, 100%); height: 50px; border-bottom: 1.5px solid var(--ink); }
.c-search::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 1.5px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.c-search:focus-within::after { transform: scaleX(1); }
.c-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 16px; padding: 0 44px 0 2px; }
.c-search input::placeholder { color: var(--muted); }
.c-search button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .3s; }
.c-search button:hover { background: var(--paper-2); }
.c-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- 7. Cards ---------- */
.c-card {
    --mx: 50%; --my: 50%;
    position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0;
    background: var(--white); border-radius: var(--r-lg); overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--line);
    transition: transform .7s var(--ease), translate .7s var(--ease), box-shadow .7s var(--ease);
}
.c-card::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
    background: radial-gradient(520px circle at var(--mx) var(--my), rgba(var(--signal-rgb), .09), transparent 42%);
    opacity: 0; transition: opacity .5s var(--ease);
}
a.c-card:hover, .c-card.is-link:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px transparent, var(--shadow-2); }
.c-card:hover::after { opacity: 1; }
.c-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.c-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.c-card__media--contain img { object-fit: contain; padding: 9%; }
.c-card__media--square { aspect-ratio: 1 / 1; }
.c-card__media--portrait { aspect-ratio: 4 / 5; }
a.c-card:hover .c-card__media img, .c-card.is-link:hover .c-card__media img { transform: scale(1.06); }
.c-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 28px; }
.c-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.c-card__title { font-size: 19px; font-weight: 650; line-height: 1.42; letter-spacing: -0.024em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-card__excerpt { font-size: 15px; line-height: 1.7; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.c-card--flat { box-shadow: none; background: transparent; border-radius: 0; }
.c-card--dark { background: var(--night-2); color: #fff; box-shadow: inset 0 0 0 1px var(--night-line); }
.c-card--dark .c-card__excerpt { color: var(--fog); }
.c-card--dark .c-card__meta { color: var(--fog-2); }
.c-card--dark .c-card__media { background: var(--night-3); }

/* 이미지 없음 플레이스홀더 */
.c-ph {
    position: absolute; inset: 0; display: grid; place-items: center;
    background:
        radial-gradient(circle at 1px 1px, rgba(16, 18, 46, .14) 1px, transparent 0) 0 0 / 14px 14px,
        linear-gradient(135deg, var(--paper-2), var(--paper-3));
    color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.c-ph::before { content: attr(data-label); padding: 6px 10px; border-radius: var(--r-xs); background: rgba(243, 244, 248, .9); }
.c-card--dark .c-ph, .c-section--dark .c-ph {
    background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .12) 1px, transparent 0) 0 0 / 14px 14px, linear-gradient(135deg, var(--night-2), var(--night-3));
    color: var(--fog-2);
}
.c-card--dark .c-ph::before, .c-section--dark .c-ph::before { background: rgba(11, 13, 38, .8); }

/* ---------- 8. Post list (행 리스트) ---------- */
.c-postlist { border-top: 1.5px solid var(--ink); }
.c-postlist__item { border-bottom: 1px solid var(--line); }
.c-postlist__link {
    position: relative; isolation: isolate; display: grid; grid-template-columns: 132px minmax(0, 1fr) auto;
    align-items: center; gap: 12px 36px; padding: 30px 10px;
    transition: padding .6s var(--ease);
}
.c-postlist__link::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white);
    transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease);
}
.c-postlist__link:hover { padding-left: 26px; padding-right: 22px; }
.c-postlist__link:hover::before { transform: scaleY(1); }
.c-postlist__date { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.c-postlist__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.c-postlist__title { font-size: clamp(17px, 1.45vw, 21px); font-weight: 620; line-height: 1.45; letter-spacing: -0.024em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-postlist__excerpt { font-size: 14.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-postlist__cats { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- 9. Article (상세) ---------- */
.c-article { max-width: 900px; margin: 0 auto; }
.c-article__head { padding-bottom: 36px; margin-bottom: clamp(36px, 5vw, 64px); border-bottom: 1.5px solid var(--ink); }
.c-article__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.c-article__title { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.22; letter-spacing: -0.04em; font-weight: 720; }
.c-article__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.c-article__meta time, .c-article__meta .c-mono { font-family: var(--font-mono); }
.c-article__meta b { color: var(--ink); font-weight: 500; margin-right: 8px; }
.c-article__cover { margin-bottom: 48px; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.c-article__cover img { width: 100%; }
.c-article__tags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 48px; }

.c-prose { font-size: 17px; line-height: 1.88; color: var(--ink-2); letter-spacing: -0.01em; }
.c-prose > * + * { margin-top: 1.15em; }
.c-prose p { margin: 0 0 1em; }
.c-prose h1, .c-prose h2, .c-prose h3, .c-prose h4 { color: var(--ink); line-height: 1.35; letter-spacing: -0.03em; margin: 2em 0 .7em; }
.c-prose h1 { font-size: 1.75em; } .c-prose h2 { font-size: 1.5em; } .c-prose h3 { font-size: 1.25em; } .c-prose h4 { font-size: 1.1em; }
.c-prose a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.c-prose strong, .c-prose b { color: var(--ink); font-weight: 700; }
.c-prose em, .c-prose i { font-style: italic; }
.c-prose ul, .c-prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.c-prose ul { list-style: disc; } .c-prose ol { list-style: decimal; }
.c-prose li { margin: .3em 0; }
.c-prose li::marker { color: var(--signal); }
.c-prose img { max-width: 100% !important; height: auto !important; border-radius: 12px; display: inline-block; }
.c-prose figure { margin: 1.6em 0; }
.c-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--signal); color: var(--ink-3); }
.c-prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }
.c-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; margin: 1.4em 0; }
.c-prose th, .c-prose td { border: 1px solid var(--line-2); padding: 10px 14px; text-align: left; vertical-align: top; }
.c-prose th { background: var(--paper-2); font-weight: 650; }
.c-prose iframe, .c-prose video { max-width: 100%; border: 0; border-radius: 12px; }
.c-prose iframe[src*="youtube"], .c-prose iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.c-prose pre, .c-prose code { font-family: var(--font-mono); font-size: .9em; }
.c-prose pre { background: var(--night); color: #E8E8E8; padding: 20px; border-radius: 12px; overflow-x: auto; }
.c-prose :not(pre) > code { background: var(--paper-2); padding: 2px 6px; border-radius: 4px; }

/* 첨부파일 */
.c-attach { margin-top: 48px; border-top: 1px solid var(--line-2); }
.c-attach__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 20px 0 8px; }
.c-attach a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); transition: color .3s, padding .5s var(--ease); }
.c-attach a:hover { color: var(--signal); padding-left: 12px; }
.c-attach svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 이전/다음 글 */
.c-postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.c-postnav a, .c-postnav > span { display: flex; flex-direction: column; gap: 8px; padding: 28px 8px; min-width: 0; transition: background .4s; }
.c-postnav a:hover { background: var(--white); }
.c-postnav__next { text-align: right; border-left: 1px solid var(--line); align-items: flex-end; }
.c-postnav small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.c-postnav strong { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-postnav > span strong { color: var(--muted); font-weight: 500; }
.c-backlist { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- 10. Pager ---------- */
.c-pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: clamp(48px, 6vw, 80px); }
.c-pager__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .35s, color .35s, box-shadow .35s; }
.c-pager__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a.c-pager__btn:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.c-pager__btn.is-disabled { opacity: .3; }
.c-pager__nums { display: flex; gap: 2px; }
.c-pager__nums a, .c-pager__nums span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 14px; transition: background .3s, color .3s; }
.c-pager__nums a:hover { background: var(--paper-2); }
.c-pager__nums .is-current { background: var(--signal); color: var(--on-signal); font-weight: 600; }
.c-pager__gap { display: grid; place-items: center; min-width: 24px; color: var(--muted); }

/* ---------- 11. Empty / Notice ---------- */
.c-empty {
    display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
    padding: clamp(64px, 9vw, 120px) 24px; border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px var(--line); background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(16, 18, 46, .025) 14px 15px);
    color: var(--muted);
}
.c-empty__code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--signal); }
.c-empty__title { font-size: 20px; font-weight: 650; color: var(--ink); }

/* ---------- 12. Accordion ---------- */
.c-acc { border-top: 1.5px solid var(--ink); }
.c-acc__item { border-bottom: 1px solid var(--line-2); }
.c-acc__q {
    display: flex; align-items: flex-start; gap: 20px; padding: 28px 6px; cursor: pointer; list-style: none;
    font-size: clamp(17px, 1.4vw, 20px); font-weight: 620; line-height: 1.5; letter-spacing: -0.022em;
    transition: color .3s;
}
.c-acc__q::-webkit-details-marker { display: none; }
.c-acc__q::marker { content: ""; }
.c-acc__q:hover { color: var(--signal); }
.c-acc__mark { flex: none; font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--signal); padding-top: .2em; width: 28px; }
.c-acc__text { flex: 1; min-width: 0; }
.c-acc__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .4s, box-shadow .4s, transform .6s var(--ease); }
.c-acc__icon::before, .c-acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.c-acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > .c-acc__q .c-acc__icon { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); transform: rotate(180deg); }
details[open] > .c-acc__q .c-acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.c-acc__a { overflow: hidden; }
.c-acc__a-inner { display: flex; gap: 20px; padding: 0 58px 34px 6px; color: var(--ink-3); }
.c-acc__a-inner .c-acc__mark { color: var(--ink); }

/* ---------- 13. Key-Value / Table ---------- */
.c-kv { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); border-top: 1.5px solid var(--ink); }
.c-kv dt, .c-kv dd { padding: 18px 4px; border-bottom: 1px solid var(--line); }
.c-kv dt { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 21px; }
.c-kv dd { font-weight: 500; }
.c-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.c-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.c-table th, .c-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.c-table thead th { border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.c-table tbody tr { transition: background .3s; }
.c-table tbody tr:hover { background: var(--white); }

/* ---------- 14. Forms ---------- */
.c-form { display: grid; gap: 28px; }
.c-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.c-field { position: relative; display: flex; flex-direction: column; gap: 10px; }
.c-field__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.c-field__label .req { color: var(--signal); margin-left: 3px; }
.c-input, .c-select, .c-textarea {
    width: 100%; min-height: 54px; padding: 14px 16px; border: 0; border-radius: var(--r-sm);
    background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; font-size: 16px;
    transition: box-shadow .35s var(--ease);
}
.c-textarea { min-height: 180px; resize: vertical; line-height: 1.7; }
.c-input:focus, .c-select:focus, .c-textarea:focus { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px var(--signal-soft); }
.c-check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-3); cursor: pointer; }
.c-check input { width: 20px; height: 20px; accent-color: var(--signal); margin: 2px 0 0; flex: none; }

/* ---------- 15. Header ---------- */
.c-header {
    position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: var(--header-h);
    color: var(--ink);
    transition: transform .6s var(--ease), color .4s var(--ease);
}
.c-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(243, 244, 248, .82); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: 0 1px 0 var(--line);
    opacity: 0; transition: opacity .45s var(--ease), background .45s;
}
.c-header.is-scrolled::before, .c-header.is-mega::before { opacity: 1; }
.c-header.is-mega::before { background: var(--paper); }
.c-header.is-hidden { transform: translateY(-100%); }
.c-header.is-dark-top:not(.is-scrolled):not(.is-mega), .c-header.is-drawer { color: #fff; }
.c-header.is-drawer::before { opacity: 0; }

.c-header__bar { display: flex; align-items: center; gap: 32px; height: 100%; }
.c-header__logo { position: relative; flex: none; display: block; width: 150px; height: 31px; }
.c-logo { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s var(--ease); }
.c-logo--light { opacity: 0; }
.c-header.is-dark-top:not(.is-scrolled):not(.is-mega) .c-logo--light, .c-header.is-drawer .c-logo--light { opacity: 1; }
.c-header.is-dark-top:not(.is-scrolled):not(.is-mega) .c-logo--dark, .c-header.is-drawer .c-logo--dark { opacity: 0; }

.c-gnb { margin-left: auto; height: 100%; }
.c-gnb__list { display: flex; height: 100%; }
.c-gnb__item { height: 100%; }
.c-gnb__link { position: relative; display: flex; align-items: center; height: 100%; padding: 0 18px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em; }
.c-gnb__link::after {
    content: ""; position: absolute; left: 50%; bottom: 17px; width: 5px; height: 5px; border-radius: 50%;
    background: var(--signal); transform: translateX(-50%) scale(0); transition: transform .5s var(--ease-back);
}
.c-gnb__item.is-active > .c-gnb__link::after, .c-gnb__item.is-open > .c-gnb__link::after { transform: translateX(-50%) scale(1); }
.c-gnb__link .c-roll > span::after { color: var(--signal); }

.c-mega {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 40px 60px -40px rgba(16, 18, 46, .3);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: none;
}
.c-gnb__item.is-open .c-mega { clip-path: inset(0 0 0 0); visibility: visible; transition: none; }
.c-mega__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 44px; padding-bottom: 52px; }
.c-mega__intro { display: flex; flex-direction: column; gap: 18px; }
.c-mega__lead { font-size: 24px; line-height: 1.45; font-weight: 650; letter-spacing: -0.03em; max-width: 340px; }
.c-mega__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.c-mega__links li { opacity: 0; transform: translateY(14px); transition: none; }
.c-gnb__item.is-open .c-mega__links li { opacity: 1; transform: none; }
.c-mega__link {
    position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 4px;
    padding: 22px 22px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
    transition: background .4s var(--ease), box-shadow .4s, transform .5s var(--ease);
}
.c-mega__link:hover, .c-mega__link.is-active { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.c-mega__num { grid-row: 1 / 3; font-family: var(--font-mono); font-size: 12px; color: var(--signal); align-self: start; padding-top: 4px; }
.c-mega__link strong { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.c-mega__link em { grid-column: 2; font-size: 13.5px; color: var(--muted); }
.c-mega__link:hover em, .c-mega__link.is-active em { color: var(--fog-2); }
.c-mega__arrow { grid-column: 3; grid-row: 1 / 3; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: translateX(-6px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.c-mega__link:hover .c-mega__arrow { transform: none; opacity: 1; color: var(--signal); }
.c-mega-backdrop { position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(11, 13, 38, .4); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); z-index: -2; }
.c-header.is-mega .c-mega-backdrop { opacity: 1; }

.c-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.c-header.is-dark-top:not(.is-scrolled):not(.is-mega) .c-header__cta { --fill: #fff; }
.c-burger { position: relative; display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; }
.c-burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; transition: transform .55s var(--ease), top .55s var(--ease); }
.c-burger span:nth-child(1) { top: 19px; }
.c-burger span:nth-child(2) { top: 26px; }
.c-header.is-drawer .c-burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.c-header.is-drawer .c-burger span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

/* 모바일 드로어 */
.c-drawer {
    position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff; overflow-y: auto;
    clip-path: circle(0 at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2)); visibility: hidden;
    transition: clip-path .85s var(--ease-io), visibility 0s linear .85s;
}
.c-drawer.is-open { clip-path: circle(160% at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2)); visibility: visible; transition: clip-path .85s var(--ease-io), visibility 0s; }
.c-drawer__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: calc(var(--header-h) + 28px) var(--gutter) 40px; }
.c-drawer__nav { display: flex; flex-direction: column; }
.c-drawer__home, .c-drawer__link { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-size: clamp(28px, 7vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.2; }
.c-drawer__home .c-mono, .c-drawer__link .c-mono { font-size: 12px; font-weight: 400; color: var(--signal); }
.c-drawer__group { border-top: 1px solid var(--night-line); }
.c-drawer__home.is-active, .c-drawer__group.is-active > .c-drawer__link { color: var(--signal); }
.c-drawer__subs { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 0 18px 34px; }
.c-drawer__subs a { font-size: 16px; color: var(--fog); transition: color .3s; }
.c-drawer__subs a:hover, .c-drawer__subs a.is-active { color: #fff; }
.c-drawer__nav > * { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.c-drawer.is-open .c-drawer__nav > * { opacity: 1; transform: none; }
.c-drawer.is-open .c-drawer__nav > *:nth-child(1) { transition-delay: .25s; }
.c-drawer.is-open .c-drawer__nav > *:nth-child(2) { transition-delay: .30s; }
.c-drawer.is-open .c-drawer__nav > *:nth-child(3) { transition-delay: .35s; }
.c-drawer.is-open .c-drawer__nav > *:nth-child(4) { transition-delay: .40s; }
.c-drawer.is-open .c-drawer__nav > *:nth-child(5) { transition-delay: .45s; }
.c-drawer.is-open .c-drawer__nav > *:nth-child(6) { transition-delay: .50s; }
.c-drawer__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.c-drawer__contact { font-size: 13px; color: var(--fog-2); }

/* ---------- 16. Progress / Curtain ---------- */
.c-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 150; height: 2px; pointer-events: none; }
.c-progress__bar { display: block; height: 100%; background: var(--tape); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.c-curtain { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
.c-curtain__panel { position: absolute; inset: 0; background: var(--night); transform: translateY(101%); }
.c-curtain__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; color: #fff; }
.c-curtain__mark img { width: 150px; height: auto; }
.c-curtain__mark i { display: block; width: 120px; height: 1px; background: var(--night-line-2); position: relative; overflow: hidden; }
.c-curtain__mark i::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform: translateX(-100%); }
html.is-leaving .c-curtain { pointer-events: all; }
html.is-leaving .c-curtain__panel { transform: translateY(0); transition: transform .62s var(--ease-io); }
html.is-leaving .c-curtain__mark { opacity: 1; transition: opacity .3s .3s; }
html.is-leaving .c-curtain__mark i::after { transform: translateX(0); transition: transform .9s var(--ease) .35s; }
html.is-entering .c-curtain__panel { transform: translateY(0); animation: c-curtain-out .9s var(--ease-io) .12s forwards; }
@keyframes c-curtain-out { to { transform: translateY(-101%); } }

/* ---------- 17. Sub Hero / Sub Nav ---------- */
.c-subhero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--night); color: #fff;
    padding: calc(var(--header-h) + clamp(56px, 8vw, 128px)) 0 clamp(56px, 7vw, 108px);
}
.c-subhero.is-compact { padding: calc(var(--header-h) + clamp(40px, 5vw, 72px)) 0 clamp(40px, 5vw, 64px); }
.c-subhero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .42; -webkit-mask-image: linear-gradient(100deg, transparent 32%, #000 82%); mask-image: linear-gradient(100deg, transparent 32%, #000 82%); }
.c-subhero__grid {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
    background-size: 88px 88px; background-position: -1px -1px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 70% 40%, #000 20%, transparent 75%);
    opacity: .7;
}
.c-subhero__scan { display: none; }
.c-subhero__inner { position: relative; }
.c-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: clamp(36px, 6vw, 84px); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--fog-2); }
.c-crumb a { transition: color .3s; padding: 10px 0; margin: -10px 0; }
.c-crumb a + i ~ a, .c-crumb [aria-current], .c-crumb a:not(:first-child) { font-family: var(--font-sans); letter-spacing: 0; font-size: 13px; }
.c-crumb a:hover { color: #fff; }
.c-crumb i { font-style: normal; opacity: .5; }
.c-crumb [aria-current] { color: #fff; }
.c-subhero__head { position: relative; z-index: 2; max-width: 980px; }
.c-subhero__title { margin-top: 22px; font-size: clamp(32px, 5.28vw, 86.4px); line-height: 1.04; letter-spacing: -0.05em; font-weight: 750; }
.c-subhero.is-compact .c-subhero__title { font-size: clamp(32px, 5.28vw, 86.4px); line-height: 1.14; }
.c-subhero__desc { margin-top: 28px; max-width: 640px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.75; color: var(--fog); }
.c-subhero__index {
    position: absolute; right: var(--gutter); bottom: calc(clamp(56px, 7vw, 108px) * -1 - .14em); z-index: 1; pointer-events: none;
    font-size: clamp(120px, 21vw, 340px); font-weight: 800; line-height: 1; letter-spacing: -0.06em;
    color: var(--night); -webkit-text-stroke: 2px rgba(255, 255, 255, .15); paint-order: stroke fill;
}

.c-subnav {
    position: sticky; top: var(--header-h); z-index: 60;
    background: rgba(243, 244, 248, .88); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 1px 0 var(--line);
    transition: top .6s var(--ease);
}
body.is-header-hidden .c-subnav { top: 0; }
.c-subnav__inner { position: relative; display: flex; align-items: center; gap: 28px; height: var(--subnav-h); }
.c-subnav__label { flex: none; font-size: 12px; letter-spacing: .1em; color: var(--muted); padding-right: 28px; border-right: 1px solid var(--line-2); line-height: 20px; }
.c-subnav__list { display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; }
.c-subnav__list::-webkit-scrollbar { display: none; }
.c-subnav__link { display: flex; align-items: center; height: 100%; padding: 0 18px; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .3s; }
.c-subnav__link:hover, .c-subnav__link.is-active { color: var(--ink); }
.c-subnav__ink { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--signal); transform: translateX(var(--ink-x, 0)); width: var(--ink-w, 0); transition: transform .55s var(--ease), width .55s var(--ease); }

/* ---------- 18. CTA band ---------- */
.c-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; padding: clamp(150px, 15vw, 230px) 0 clamp(96px, 12vw, 184px); border-bottom: 1px solid var(--night-line); }
.c-cta::before {
    content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
    background-size: 96px 96px; opacity: .55;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
/* 증거 표지 테이프 — 스크롤 속도에 반응해 흐른다 */
.c-tape { position: absolute; left: -6%; right: -6%; z-index: -1; overflow: hidden; background: var(--tape); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); }
.c-cta .c-tape--a { top: 54px; transform: rotate(-2.4deg); }
.c-cta .c-tape--b { top: 70px; transform: rotate(1.6deg); background: #E8BD0E; opacity: .9; z-index: -2; }
.c-tape .c-marquee__track { animation-duration: var(--dur, 30s); }
.c-cta:has(.c-tape:hover) .c-tape .c-marquee__track { animation-play-state: paused; }
.c-cta .c-tape.c-marquee { position: absolute; -webkit-mask-image: none; mask-image: none; }
.c-tape__item { display: inline-flex; align-items: center; gap: 22px; padding: 12px 22px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .22em; white-space: nowrap; }
.c-tape__item svg { width: 12px; height: 12px; fill: currentColor; }
.c-cta__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 48px 64px; }
.c-cta__copy { display: flex; flex-direction: column; gap: 26px; }
.c-cta__title { font-size: clamp(28.8px, 4.16vw, 68.8px); line-height: 1.08; letter-spacing: -0.048em; font-weight: 740; }
.c-cta__desc { max-width: 520px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: var(--fog); }
.c-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; justify-self: end; }
.c-cta__tel { display: flex; flex-direction: column; gap: 4px; }
.c-cta__tel span { font-size: 12px; letter-spacing: .14em; color: var(--fog-2); }
.c-cta__tel strong { font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -0.03em; transition: color .3s; }
.c-cta__tel:hover strong { color: var(--signal); }

/* ---------- 19. Footer ---------- */
.c-footer { position: relative; overflow: hidden; background: var(--night); color: var(--fog); padding-top: clamp(72px, 8vw, 120px); }
.c-footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 56px 72px; padding-bottom: 64px; border-bottom: 1px solid var(--night-line); }
.c-footer__logo { display: inline-block; }
.c-footer__logo img { width: 168px; height: auto; }
.c-footer__statement { margin-top: 28px; font-size: 16.5px; line-height: 1.8; color: var(--fog); }
.c-footer__map { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.c-footer__head { display: inline-block; margin-bottom: 18px; color: #fff; font-weight: 650; font-size: 15.5px; transition: color .3s; }
.c-footer__head:hover { color: var(--signal); }
.c-footer__col li a { display: inline-block; font-size: 14.5px; line-height: 2.15; color: var(--fog-2); transition: color .3s, transform .4s var(--ease); }
.c-footer__col li a:hover { color: #fff; transform: translateX(3px); }
.c-footer__info { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--night-line); }
.c-footer__dl { display: flex; flex-wrap: wrap; gap: 18px 56px; }
.c-footer__dl dt { font-size: 11px; letter-spacing: .14em; color: var(--fog-2); }
.c-footer__dl dd { margin-top: 6px; color: #fff; font-size: 15px; }
.c-footer__dl a { transition: color .3s; }
.c-footer__dl a:hover { color: var(--signal); }
.c-totop { position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; transition: background .4s; }
.c-totop:hover { background: var(--night-3); }
.c-totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.c-totop__ring circle { fill: none; stroke: var(--night-line-2); stroke-width: 1.5; }
.c-totop__ring .c-totop__val { stroke: var(--signal); stroke-dasharray: 138.23; stroke-dashoffset: calc(138.23 * (1 - var(--p, 0))); }
.c-totop__arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.c-totop:hover .c-totop__arrow { transform: translateY(-3px); }
.c-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 26px 0 40px; font-size: 13px; color: var(--fog-2); }
.c-footer__legal { display: flex; gap: 24px; }
.c-footer__legal a { transition: color .3s; }
.c-footer__legal a:hover { color: #fff; }
.c-footer__legal a:first-child { color: #fff; font-weight: 600; }
/* 거대 워드마크: 외곽선 + 스크롤 진행에 따라 왼쪽부터 오렌지로 채워짐 (transform 만 사용 → 합성 전용) */

/* ---------- 20. Marquee ---------- */
.c-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.c-marquee__track { display: flex; width: max-content; animation: c-marquee var(--dur, 40s) linear infinite; }
.c-marquee[data-direction="reverse"] .c-marquee__track { animation-direction: reverse; }
.c-marquee:hover .c-marquee__track { animation-play-state: paused; }
.c-marquee__group { display: flex; align-items: center; flex: none; }
@keyframes c-marquee { to { transform: translateX(-50%); } }

/* ---------- 21. Stats ---------- */
.c-stat { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.c-section--dark .c-stat { border-color: var(--night-line-2); }
.c-stat__num { font-size: clamp(44px, 5.6vw, 88px); font-weight: 720; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.c-stat__num sup { font-size: .38em; font-weight: 600; vertical-align: top; margin-left: 4px; color: var(--signal); top: .3em; position: relative; }
.c-stat__label { font-size: 15px; color: var(--muted); }
.c-section--dark .c-stat__label { color: var(--fog-2); }

/* ---------- 22. Reveal / Motion ---------- */
html.js [data-reveal] {
    opacity: 0;
    transition: opacity 1s var(--ease), transform 1.2s var(--ease), clip-path 1.3s var(--ease), filter 1.1s var(--ease), translate .7s var(--ease), box-shadow .7s var(--ease);
    transition-delay: var(--d, 0ms), var(--d, 0ms), var(--d, 0ms), var(--d, 0ms), 0ms, 0ms;
}
html.js [data-reveal="up"] { transform: translate3d(0, 44px, 0); }
html.js [data-reveal="down"] { transform: translate3d(0, -28px, 0); }
html.js [data-reveal="left"] { transform: translate3d(-48px, 0, 0); }
html.js [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
html.js [data-reveal="scale"] { transform: scale(.94); }
html.js [data-reveal="blur"] { filter: blur(14px); transform: translate3d(0, 16px, 0); }
html.js [data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0); transform: translate3d(0, 30px, 0); }
html.js [data-reveal="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); }
html.js [data-reveal="iris"] { opacity: 1; clip-path: inset(18% 18% 18% 18% round 24px); transform: scale(1.04); }
html.js [data-reveal="img"] { opacity: 1; clip-path: inset(14% 10% 14% 10% round 28px); transition: clip-path 1.5s var(--ease); transition-delay: var(--d, 0ms); }
html.js [data-reveal="img"] img, html.js [data-reveal="img"] .c-ph { transform: scale(1.22); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0ms); }
html.js [data-reveal="img"].is-in img, html.js [data-reveal="img"].is-in .c-ph { transform: none; }
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; clip-path: none; }
html.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0 round 0); }
/* SVG 선 그리기: <svg data-draw> 안의 path/line/circle/rect/polyline */
html.js [data-draw] :is(path, line, circle, rect, polyline, polygon, ellipse) { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1.8s var(--ease); transition-delay: calc(var(--d, 0ms) + var(--di, 0) * 90ms); }
html.js [data-draw].is-in :is(path, line, circle, rect, polyline, polygon, ellipse) { stroke-dashoffset: 0; }
html.js [data-reveal="clip"].is-in, html.js [data-reveal="wipe"].is-in, html.js [data-reveal="iris"].is-in { clip-path: inset(0 0 0 0 round 0); }

html.js [data-split] .c-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
html.js [data-split] .c-w__i { display: inline-block; transform: translate3d(0, 108%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.15s var(--ease); transition-delay: calc(var(--wi, 0) * 42ms + var(--d, 0ms)); }
html.js [data-split].is-in .c-w__i { transform: none; }
html.js [data-split]:not(.is-split) { opacity: 0; }

/* JS 로드 실패 대비 — site.js 실행 시 html.c-ready 가 붙어 이 규칙이 해제된다 */
html.js:not(.c-ready) [data-reveal], html.js:not(.c-ready) [data-split] { animation: c-failsafe .6s ease 2.4s forwards; }
@keyframes c-failsafe { to { opacity: 1; transform: none; filter: none; clip-path: none; } }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
/* 마키 — 스크롤 속도 기울기 */
[data-marquee] .c-marquee__group { transform: skewX(var(--skew, 0deg)); }
[data-magnetic] { will-change: transform; }
[data-scramble] { white-space: nowrap; }

@keyframes c-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.75); } }
@keyframes c-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes c-spin { to { transform: rotate(360deg); } }
@keyframes c-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ---------- 23. Horizontal pin scroll ---------- */
.c-hs { position: relative; }
.c-hs__sticky { position: relative; }
.c-hs__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 8px; }
.c-hs__track::-webkit-scrollbar { display: none; }
.c-hs__track > * { scroll-snap-align: start; flex: none; }
.c-hs.is-pinned .c-hs__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.c-hs.is-pinned .c-hs__track { overflow: visible; transform: translate3d(var(--hs-x, 0), 0, 0); will-change: transform; }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1180px) {
    .c-gnb, .c-header__cta { display: none; }
    .c-header__actions { margin-left: auto; }
    .c-burger { display: block; }
    .c-footer__map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .c-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .c-sechead { grid-template-columns: 1fr; }
    .c-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c-split { grid-template-columns: 1fr; }
    .c-sticky { position: static; }
    .c-cta__inner { grid-template-columns: 1fr; }
    .c-cta__actions { justify-self: start; }
}
@media (max-width: 760px) {
    :root { --header-h: 64px; --subnav-h: 54px; }
    body { font-size: 15.5px; }
    .c-header__logo { width: 124px; height: 26px; }
    .c-grid--2, .c-grid--3, .c-grid--4 { grid-template-columns: 1fr; }
    .c-sechead { grid-template-columns: 1fr; }
    .c-postlist__link { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 24px 4px; }
    .c-postlist__date { grid-column: 1 / -1; grid-row: 1; }
    .c-postlist__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .c-postlist__link:hover { padding-left: 12px; padding-right: 8px; }
    .c-postlist .c-arrow { width: 40px; height: 40px; }
    .c-postnav { grid-template-columns: 1fr; }
    .c-postnav__next { border-left: 0; border-top: 1px solid var(--line); text-align: left; align-items: flex-start; }
    .c-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
    .c-filter::-webkit-scrollbar { display: none; }
    .c-search { width: 100%; }
    .c-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
    .c-toolbar > * { min-width: 0; }
    .c-form__row { grid-template-columns: 1fr; }
    .c-kv { grid-template-columns: 1fr; }
    .c-kv dt { border-bottom: 0; padding-bottom: 0; }
    .c-acc__a-inner { padding-right: 6px; }
    .c-subnav__label { display: none; }
    .c-subnav__link { padding: 0 14px; font-size: 14.5px; }
    .c-footer__map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c-footer__info { flex-direction: column; align-items: flex-start; }
    .c-footer__dl { flex-direction: column; gap: 16px; }
    .c-totop { align-self: flex-end; margin-top: -4px; }
    .c-subhero__index { font-size: clamp(88px, 28vw, 128px); -webkit-text-stroke-color: rgba(255, 255, 255, .09); }
    .c-chip { padding: 0 14px; }
    .c-filter { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
    .c-btn--lg { height: 58px; padding: 0 28px; font-size: 16px; }
    .c-pager__nums a, .c-pager__nums span { min-width: 38px; height: 38px; }
    .c-pager__btn { width: 40px; height: 40px; }
}

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html:not([data-beta-motion="on"]) *, html:not([data-beta-motion="on"]) *::before, html:not([data-beta-motion="on"]) *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    html:not([data-beta-motion="on"]).js [data-reveal], html:not([data-beta-motion="on"]).js [data-split] .c-w__i { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
    html:not([data-beta-motion="on"]) .c-marquee__track { animation: none !important; }
}

/* 장식 번호를 제거한 메뉴 및 안내 항목 */
.c-mega__link { grid-template-columns: minmax(0, 1fr) 24px; }
.c-mega__link strong, .c-mega__link em { grid-column: 1; }
.c-mega__arrow { grid-column: 2; }
.c-page-solution .sl-toc li a { grid-template-columns: minmax(0, 1fr) 18px; }
.c-page-contact .ct-next li { grid-template-columns: 1fr; }
.c-page-contact .ct-next li > span:last-child { grid-column: 1; }

/* 이미지와 카드의 모서리 꺾쇠 장식 제거 */
html body .bl-crop,
html body .ed-corner,
html body .ct-corner,
html body .lc-map__cm,
html body .sl-stage__marks,
html body .aw-frame__mat::after,
html body .pt-tile::before,
html body .pt-vendor__plate::after { display: none; }

/* 페이지 상단 영문 라벨의 표시점 복원 */
.c-subhero__head > .c-eyebrow::before {
    display: block; content: ''; flex: none; width: 8px; height: 8px; border-radius: 1px;
    background: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft);
}

/* 본문 영문 라벨을 단락 구분선 위에 배치 */
.c-section-label { display: flex; width: fit-content; margin-bottom: 14px; }
