/* =========================================================
   김한준 변호사 — 공통 스타일시트 (v5.0 · State of the Art)
   톤: 딥네이비 + 골드 + 베이지 (tonal palette 50~900)
   글씨체: Noto Serif KR (헤드라인), Noto Sans KR (본문)
   다크모드: prefers-color-scheme 자동 + data-theme 수동 토글
   v5.0 — 2026.05.22 정밀 디자인 토큰 시스템 + 다크모드
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700;900&family=Noto+Sans+KR:wght@300;400;500;600;700;900&display=swap');

/* ---------- 0. 디자인 토큰 — 라이트 모드 (기본) ---------- */
:root {
    /* === Tonal Palette · Navy (Ink) === */
    --navy-50:  #F2F5FA;
    --navy-100: #DDE5EF;
    --navy-200: #B8C7D8;
    --navy-300: #8FA4BD;
    --navy-400: #5E7796;
    --navy-500: #34527A;
    --navy-600: #1F3A5F;
    --navy-700: #143055;
    --navy-800: #0E2A47;
    --navy-900: #06182D;

    /* === Tonal Palette · Gold === */
    --gold-50:  #FBF7EE;
    --gold-100: #F4EBD4;
    --gold-200: #E8D5A8;
    --gold-300: #D7B97A;
    --gold-400: #C9A66B;
    --gold-500: #B08642;
    --gold-600: #97712F;
    --gold-700: #785923;
    --gold-800: #5A431B;
    --gold-900: #3D2D10;

    /* === Tonal Palette · Neutral (Beige/Stone) === */
    --neutral-50:  #FCFAF6;
    --neutral-100: #FAF8F3;
    --neutral-150: #F4EFE3;
    --neutral-200: #EBE5D5;
    --neutral-300: #D8D0BC;
    --neutral-400: #B4AB94;
    --neutral-500: #8F8770;
    --neutral-600: #6A6356;
    --neutral-700: #4A453B;
    --neutral-800: #2A2620;
    --neutral-900: #1A1814;

    /* === Semantic Color Tokens === */
    --color-ink: var(--navy-800);
    --color-ink-2: var(--navy-700);
    --color-ink-soft: var(--navy-500);
    --color-gold: var(--gold-500);
    --color-gold-soft: var(--gold-400);
    --color-gold-deep: var(--gold-600);
    --color-bg: var(--neutral-100);
    --color-bg-alt: var(--neutral-150);
    --color-surface: #FFFFFF;
    --color-surface-2: var(--neutral-50);
    --color-surface-elev: #FFFFFF;
    --color-text: #1A1F2C;
    --color-text-muted: #5A6470;
    --color-text-subtle: #8B95A3;
    --color-border: #E2DED4;
    --color-border-strong: #C9C2B0;
    --color-border-subtle: rgba(14, 42, 71, 0.08);
    --color-divider: rgba(14, 42, 71, 0.06);

    /* Semantic accents */
    --color-success: #2E7D5B;
    --color-warning: #B08642;
    --color-danger:  #B14A3A;
    --color-info:    #34527A;

    /* === Gradients === */
    --gradient-hero: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-500) 50%, var(--gold-400) 100%);
    --gradient-paper: linear-gradient(180deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(176, 134, 66, 0.06) 0px, transparent 50%),
                     radial-gradient(at 100% 0%, rgba(14, 42, 71, 0.04) 0px, transparent 50%),
                     radial-gradient(at 50% 100%, rgba(201, 166, 107, 0.05) 0px, transparent 50%);

    /* === Elevation (6 levels) — sophisticated layering === */
    --elev-0: none;
    --elev-1: 0 1px 2px rgba(14, 42, 71, 0.04), 0 1px 1px rgba(14, 42, 71, 0.03);
    --elev-2: 0 2px 4px rgba(14, 42, 71, 0.05), 0 4px 8px rgba(14, 42, 71, 0.04);
    --elev-3: 0 4px 8px rgba(14, 42, 71, 0.06), 0 8px 16px rgba(14, 42, 71, 0.05);
    --elev-4: 0 8px 16px rgba(14, 42, 71, 0.08), 0 16px 32px rgba(14, 42, 71, 0.06);
    --elev-5: 0 16px 32px rgba(14, 42, 71, 0.10), 0 24px 48px rgba(14, 42, 71, 0.08);
    --elev-6: 0 24px 48px rgba(14, 42, 71, 0.12), 0 32px 64px rgba(14, 42, 71, 0.10);
    --elev-gold: 0 8px 24px rgba(176, 134, 66, 0.18), 0 4px 8px rgba(176, 134, 66, 0.10);
    --elev-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);

    /* === Type Scale (Fluid · Major Third 1.250) === */
    --font-serif: 'Noto Serif KR', 'Times New Roman', serif;
    --font-sans: 'Noto Sans KR', 'Pretendard', system-ui, sans-serif;
    --font-mono: 'SF Mono', 'JetBrains Mono', 'D2 Coding', Consolas, monospace;

    --fs-xs:   clamp(0.72rem, 0.70rem + 0.10vw, 0.78rem);
    --fs-sm:   clamp(0.84rem, 0.82rem + 0.12vw, 0.92rem);
    --fs-base: clamp(0.98rem, 0.95rem + 0.16vw, 1.06rem);
    --fs-md:   clamp(1.10rem, 1.05rem + 0.25vw, 1.20rem);
    --fs-lg:   clamp(1.28rem, 1.20rem + 0.35vw, 1.42rem);
    --fs-xl:   clamp(1.50rem, 1.38rem + 0.50vw, 1.72rem);
    --fs-2xl:  clamp(1.85rem, 1.65rem + 0.85vw, 2.20rem);
    --fs-3xl:  clamp(2.25rem, 1.95rem + 1.30vw, 2.85rem);
    --fs-4xl:  clamp(2.70rem, 2.25rem + 1.95vw, 3.65rem);
    --fs-5xl:  clamp(3.25rem, 2.60rem + 2.85vw, 4.65rem);

    --lh-tight: 1.18;
    --lh-snug:  1.32;
    --lh-base:  1.65;
    --lh-relaxed: 1.78;
    --lh-loose:   1.92;

    --tracking-tighter: -0.025em;
    --tracking-tight:   -0.015em;
    --tracking-normal:  -0.005em;
    --tracking-wide:    0.04em;
    --tracking-wider:   0.12em;
    --tracking-widest:  0.22em;

    /* === Spacing Scale (8px base) === */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.5rem;
    --space-6:  2rem;
    --space-7:  2.5rem;
    --space-8:  3rem;
    --space-9:  4rem;
    --space-10: 5rem;
    --space-11: 6.5rem;
    --space-12: 8rem;

    /* === Layout === */
    --max-w: 1180px;
    --max-w-wide: 1280px;
    --max-w-read: 760px;
    --max-w-narrow: 640px;

    /* === Radii === */
    --radius-sm: 4px;
    --radius:    6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 999px;

    /* === Motion === */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-instant: 80ms;
    --dur-fast: 160ms;
    --dur-base: 240ms;
    --dur-slow: 380ms;
    --dur-slower: 580ms;

    /* === Z-index === */
    --z-base: 1;
    --z-sticky: 50;
    --z-nav: 80;
    --z-mega: 90;
    --z-modal: 100;
    --z-toast: 110;
    --z-tooltip: 120;
}

/* ---------- 0-bis. 다크모드 토큰 ---------- */
:root[data-theme="dark"] {
    --color-ink: var(--gold-100);            /* 다크모드에선 헤딩이 따뜻한 톤 */
    --color-ink-2: var(--gold-50);
    --color-ink-soft: var(--navy-200);
    --color-gold: var(--gold-400);
    --color-gold-soft: var(--gold-300);
    --color-gold-deep: var(--gold-500);

    --color-bg: #0A1929;
    --color-bg-alt: #0E2138;
    --color-surface: #142A45;
    --color-surface-2: #19324F;
    --color-surface-elev: #1B3656;

    --color-text: #E8EBF0;
    --color-text-muted: #A0AEC2;
    --color-text-subtle: #6A7C95;

    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.16);
    --color-border-subtle: rgba(255, 255, 255, 0.05);
    --color-divider: rgba(255, 255, 255, 0.06);

    --gradient-hero: linear-gradient(135deg, #061325 0%, #0A1F36 50%, #102A47 100%);
    --gradient-paper: linear-gradient(180deg, #0E2138 0%, #0A1929 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(201, 166, 107, 0.10) 0px, transparent 50%),
                     radial-gradient(at 100% 0%, rgba(176, 134, 66, 0.06) 0px, transparent 50%),
                     radial-gradient(at 50% 100%, rgba(215, 185, 122, 0.06) 0px, transparent 50%);

    /* 그림자는 다크모드에서 더 짙고 깊게 */
    --elev-1: 0 1px 2px rgba(0, 0, 0, 0.25);
    --elev-2: 0 4px 12px rgba(0, 0, 0, 0.30);
    --elev-3: 0 8px 24px rgba(0, 0, 0, 0.35);
    --elev-4: 0 16px 40px rgba(0, 0, 0, 0.40);
    --elev-5: 0 24px 56px rgba(0, 0, 0, 0.50);
    --elev-6: 0 32px 72px rgba(0, 0, 0, 0.60);
    --elev-gold: 0 8px 28px rgba(201, 166, 107, 0.20);
    --elev-inset: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ---------- 1. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

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

html, body {
    transition: background-color var(--dur-slow) var(--ease-out-quart),
                color var(--dur-slow) var(--ease-out-quart);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'ss01' 1;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }

/* Focus visible — 키보드 사용자 강화 */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
    box-shadow: 0 0 0 3px var(--color-bg), 0 0 0 5px var(--color-gold);
    outline: none;
}

a {
    color: var(--color-ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-fast) var(--ease-out-quart),
                color var(--dur-fast) var(--ease-out-quart);
}
a:hover { color: var(--color-gold); border-bottom-color: var(--color-gold); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--color-ink);
    line-height: var(--lh-snug);
    margin: 0 0 0.6em;
    letter-spacing: var(--tracking-tight);
}
h1 { font-size: var(--fs-3xl); letter-spacing: var(--tracking-tighter); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }
h4 { font-size: var(--fs-base); }

p { margin: 0 0 1.1em; }
strong { font-weight: 600; }

/* Reduced motion 지원 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Skip to main content link (접근성) */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-4);
    background: var(--color-ink);
    color: #fff;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    z-index: var(--z-toast);
    font-weight: 600;
    box-shadow: var(--elev-4);
    transition: top var(--dur-base) var(--ease-out-expo);
}
.skip-link:focus, .skip-link:focus-visible {
    top: var(--space-4);
    color: #fff;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 max(20px, min(2.4vw, 32px));
}
.container.container-read { max-width: var(--max-w-read); }
.container.container-wide { max-width: var(--max-w-wide); }
.container.container-narrow { max-width: var(--max-w-narrow); }

/* ---------- 유틸리티 바 ---------- */
.utility-bar {
    background: var(--color-ink);
    color: var(--gold-100);
    font-size: var(--fs-xs);
    letter-spacing: var(--tracking-wide);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: var(--z-nav);
}
:root[data-theme="dark"] .utility-bar {
    background: var(--navy-900);
    border-bottom-color: rgba(255, 255, 255, 0.04);
}
.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}
.utility-bar .lang-toggle { display: inline-flex; gap: 4px; align-items: center; }
.utility-bar .lang-toggle a {
    color: var(--gold-200);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    border: none;
    transition: all var(--dur-fast) var(--ease-out-quart);
    font-weight: 500;
}
.utility-bar .lang-toggle a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.utility-bar .lang-toggle a.active { color: var(--color-gold); background: rgba(176,134,66,0.15); }

/* ---------- 헤더 / 네비게이션 (state of the art) ---------- */
.site-header {
    background: color-mix(in srgb, var(--color-surface) 94%, transparent);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border-subtle);
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    transition: background-color var(--dur-base) var(--ease-out-quart),
                border-color var(--dur-base) var(--ease-out-quart),
                box-shadow var(--dur-base) var(--ease-out-quart),
                padding var(--dur-base) var(--ease-out-quart);
}
/* 스크롤 시 헤더 압축 */
.site-header.is-scrolled {
    box-shadow: var(--elev-2);
    background: color-mix(in srgb, var(--color-surface) 88%, transparent);
}
.site-header.is-scrolled .nav { padding: 12px 0; }
.site-header.is-scrolled .brand-logo { height: 40px; }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: var(--space-5);
    transition: padding var(--dur-base) var(--ease-out-quart);
}
.brand {
    display: inline-flex;
    align-items: center;
    border: none;
    line-height: 1;
    flex-shrink: 0;
}
.brand:hover { border: none; }
.brand-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity var(--dur-fast) var(--ease-out-quart),
                height var(--dur-base) var(--ease-out-quart),
                filter var(--dur-slow) var(--ease-out-quart);
}
.brand:hover .brand-logo { opacity: 0.88; }
:root[data-theme="dark"] .brand-logo { filter: brightness(0) saturate(100%) invert(86%) sepia(15%) saturate(534%) hue-rotate(7deg) brightness(101%) contrast(91%); }

/* 푸터(어두운 배경)용 로고 */
.brand-logo-light {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 14px;
}
.nav-links {
    display: flex;
    gap: var(--space-6);
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.nav-links a {
    position: relative;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text);
    border: none;
    padding: 8px 0;
    letter-spacing: 0.005em;
    transition: color var(--dur-fast) var(--ease-out-quart);
}
/* underline 애니메이션 — 가운데에서 펴짐 */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transform: translateX(-50%);
    transition: width var(--dur-base) var(--ease-out-expo);
}
.nav-links a:hover { color: var(--color-ink); border-bottom: none; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--color-ink); border-bottom: none; }
.nav-links a.active::after { width: 100%; }

/* 다크모드 토글 버튼 — 우상단 */
.theme-toggle {
    appearance: none;
    background: transparent;
    border: 1px solid var(--color-border);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: all var(--dur-base) var(--ease-out-quart);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.theme-toggle:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    transform: rotate(15deg);
    box-shadow: var(--elev-2);
}
.theme-toggle svg { width: 18px; height: 18px; transition: transform var(--dur-slow) var(--ease-spring); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle:hover { color: var(--gold-300); border-color: var(--gold-300); }

/* ---------- 메가메뉴 (업무분야 드롭다운) v5.0 ---------- */
.nav-links .has-mega { position: static; }
.nav-links .mega-trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-links .mega-arrow {
    font-size: 0.65rem;
    color: var(--color-gold);
    transition: transform var(--dur-base) var(--ease-out-expo);
    display: inline-block;
    line-height: 1;
}
.has-mega:hover .mega-arrow,
.has-mega.mega-active .mega-arrow { transform: rotate(180deg) translateY(-1px); }

.mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--color-surface) 96%, transparent);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 2px solid var(--color-gold);
    box-shadow: var(--elev-5);
    display: grid;
    grid-template-columns: 320px 1fr;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease-out-expo),
                visibility var(--dur-base) var(--ease-out-expo),
                transform var(--dur-base) var(--ease-out-expo);
    z-index: var(--z-mega);
    pointer-events: none;
}
/* 트리거와 패널 사이의 hover 갭을 메우는 투명 브리지 — 마우스가 사이로 이동해도 hover 유지 */
.mega-panel::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    pointer-events: auto;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel,
.has-mega.mega-active .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.mega-panel-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
    display: contents;
}

.mega-cats {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    padding: var(--space-7) 0;
    border-right: 1px solid var(--color-border-subtle);
    position: relative;
}
.mega-cats::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--color-gold) 30%, var(--color-gold) 70%, transparent 100%);
    opacity: 0.3;
}
.mega-cat {
    display: block;
    padding: 16px 30px 16px 36px;
    border-left: 3px solid transparent;
    color: var(--color-text);
    border-bottom: none !important;
    transition: background var(--dur-fast) var(--ease-out-quart),
                border-color var(--dur-base) var(--ease-out-expo),
                padding-left var(--dur-base) var(--ease-out-expo);
    cursor: pointer;
    position: relative;
}
.mega-cat:hover,
.mega-cat.active {
    background: linear-gradient(90deg, rgba(176, 134, 66, 0.08) 0%, rgba(176, 134, 66, 0.02) 100%);
    border-left-color: var(--color-gold);
    color: var(--color-ink);
    padding-left: 42px;
}
:root[data-theme="dark"] .mega-cat:hover,
:root[data-theme="dark"] .mega-cat.active {
    background: linear-gradient(90deg, rgba(201, 166, 107, 0.12) 0%, rgba(201, 166, 107, 0.02) 100%);
}
.mega-cat-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 4px;
    letter-spacing: -0.005em;
}
.mega-cat-sub {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.mega-details {
    padding: 40px 48px;
    position: relative;
    min-height: 360px;
}
.mega-detail {
    display: none;
    animation: megaFade 0.22s ease;
}
.mega-detail.active { display: block; }
@keyframes megaFade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mega-eyebrow {
    color: var(--color-gold);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 10px;
}
.mega-detail h4 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--color-ink);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.mega-blurb {
    color: var(--color-text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 0 24px;
}
.mega-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 32px;
    max-width: 640px;
}
.mega-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--color-text);
    font-size: var(--fs-sm);
    border: none !important;
    transition: color var(--dur-fast) var(--ease-out-quart),
                padding-left var(--dur-base) var(--ease-out-expo),
                letter-spacing var(--dur-base) var(--ease-out-expo);
    position: relative;
}
.mega-links a::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 1px;
    background: var(--color-gold);
    margin-right: 4px;
    transition: width var(--dur-base) var(--ease-out-expo),
                background var(--dur-fast) var(--ease-out-quart);
    opacity: 0.5;
}
.mega-links a:hover {
    color: var(--color-ink);
    padding-left: 4px;
    letter-spacing: 0.01em;
}
.mega-links a:hover::before { width: 24px; opacity: 1; }
.mega-links a.is-new::after {
    content: "NEW";
    background: var(--gradient-gold);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
    box-shadow: var(--elev-1);
}
.mega-cta {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px dashed var(--color-border-strong);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.mega-cta a {
    color: var(--color-ink);
    font-weight: 500;
    border: none !important;
}
.mega-cta a:hover { color: var(--color-gold); }

/* 모바일 메가메뉴 — 컴팩트 가로 스크롤 + 항상 펼침 */
@media (max-width: 880px) {
    .nav .nav-links {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }
    .nav .nav-links::-webkit-scrollbar { display: none; }
    .nav .nav-links a { font-size: 0.85rem; white-space: nowrap; }
    .nav .btn-cta { display: none; }
    .mega-panel {
        position: fixed;
        left: 0; right: 0; top: auto; bottom: 0;
        max-height: 70vh;
        overflow-y: auto;
        grid-template-columns: 1fr;
        box-shadow: 0 -8px 24px rgba(14, 42, 71, 0.18);
        border-top: 2px solid var(--color-gold);
    }
    .mega-cats {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 12px 16px;
        background: var(--color-bg);
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        scrollbar-width: none;
    }
    .mega-cats::-webkit-scrollbar { display: none; }
    .mega-cat { padding: 8px 14px; border-left: none; border-bottom: 2px solid transparent; white-space: nowrap; flex-shrink: 0; }
    .mega-cat.active, .mega-cat:hover { border-bottom-color: var(--color-gold); border-left: none; }
    .mega-cat-sub { display: none; }
    .mega-details { padding: 20px 22px; min-height: auto; }
    .mega-links { grid-template-columns: 1fr; }
}

/* ---------- 라이선스·저작권 표기 (푸터 추가) ---------- */
.footer-license {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    line-height: 1.7;
}
.footer-license strong { color: rgba(255,255,255,0.75); font-weight: 500; }
.footer-license a { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.2); }
.footer-license a:hover { color: var(--color-gold-soft); border-bottom-color: var(--color-gold); }

/* ---------- 버튼 시스템 (state of the art) ---------- */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-ink);
    color: #fff !important;
    padding: 11px 22px;
    font-size: var(--fs-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    letter-spacing: 0.015em;
    box-shadow: var(--elev-2), var(--elev-inset);
    transition: background var(--dur-base) var(--ease-out-quart),
                color var(--dur-fast) var(--ease-out-quart),
                box-shadow var(--dur-base) var(--ease-out-quart),
                transform var(--dur-fast) var(--ease-out-quart);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Shine effect on hover */
.btn-cta::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
    transition: left var(--dur-slow) var(--ease-out-expo);
    z-index: -1;
}
.btn-cta:hover {
    background: var(--color-gold-deep);
    color: #fff !important;
    border-bottom: none;
    box-shadow: var(--elev-3), var(--elev-gold);
    transform: translateY(-1px);
}
.btn-cta:hover::before { left: 100%; }
.btn-cta:active { transform: translateY(0); box-shadow: var(--elev-1); }

.btn-cta.btn-gold { background: var(--gradient-gold); }
.btn-cta.btn-gold:hover { background: var(--color-gold-deep); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--color-ink) !important;
    padding: 11px 22px;
    font-size: var(--fs-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-strong);
    letter-spacing: 0.015em;
    transition: all var(--dur-base) var(--ease-out-quart);
}
.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-deep) !important;
    background: rgba(176, 134, 66, 0.04);
    transform: translateY(-1px);
}

/* 다크모드 버튼 */
:root[data-theme="dark"] .btn-cta {
    background: var(--gold-500);
    color: #0A1929 !important;
}
:root[data-theme="dark"] .btn-cta:hover {
    background: var(--gold-400);
    color: #0A1929 !important;
}
:root[data-theme="dark"] .btn-secondary {
    color: var(--gold-200) !important;
    border-color: rgba(255,255,255,0.15);
}
:root[data-theme="dark"] .btn-secondary:hover {
    border-color: var(--gold-400);
    color: var(--gold-300) !important;
    background: rgba(201, 166, 107, 0.08);
}

/* ---------- 히어로 ---------- */
.hero {
    background: linear-gradient(180deg, #0E2A47 0%, #143864 100%);
    color: #F4EFE3;
    padding: 86px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; right: -10%;
    width: 60%; height: 100%;
    background: radial-gradient(circle at top right, rgba(176, 134, 66, 0.12), transparent 60%);
    pointer-events: none;
}
.hero-inner { position: relative; }
.hero .eyebrow {
    color: var(--color-gold-soft);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-weight: 500;
}
.hero .greeting {
    color: var(--color-gold-soft);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.hero h1 {
    color: #fff;
    font-size: 2.6rem;
    max-width: 780px;
    margin-bottom: 24px;
    font-weight: 600;
}
.hero .lead {
    font-size: 1.1rem;
    max-width: 640px;
    color: #DCD3BE;
    margin-bottom: 36px;
    line-height: 1.85;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-actions .btn-cta {
    background: var(--color-gold);
}
.hero-actions .btn-cta:hover { background: var(--color-gold-soft); }
.hero-actions .btn-secondary {
    display: inline-block;
    color: #fff !important;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--radius);
    font-size: 0.9rem;
}
.hero-actions .btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-soft) !important;
}

/* ---------- 섹션 공통 ---------- */
section { padding: 80px 0; }
section.tight { padding: 48px 0; }
.section-eyebrow {
    color: var(--color-gold);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
}
.section-title { max-width: 720px; margin-bottom: 16px; }
.section-lead { color: var(--color-text-muted); max-width: 720px; margin-bottom: 44px; font-size: 1.04rem; line-height: 1.85; }

.divider-dotted {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0 auto;
    max-width: 100%;
}

/* ---------- 카드 그리드 ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 26px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 28px;
}
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    transition: transform var(--dur-base) var(--ease-out-expo),
                box-shadow var(--dur-base) var(--ease-out-expo),
                border-color var(--dur-base) var(--ease-out-quart),
                background var(--dur-base) var(--ease-out-quart);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Subtle gradient accent on top */
.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease-out-quart);
}
/* Layered hover state */
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elev-4);
    border-color: var(--color-gold-soft);
}
.card:hover::before { opacity: 0.6; }

:root[data-theme="dark"] .card {
    background: var(--color-surface);
    border-color: var(--color-border);
}
:root[data-theme="dark"] .card:hover {
    background: var(--color-surface-2);
    border-color: var(--color-gold);
    box-shadow: var(--elev-4);
}

.card-tag {
    display: inline-block;
    color: var(--color-gold);
    font-size: var(--fs-xs);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 700;
}
.card h3 { margin-bottom: 12px; font-size: var(--fs-md); letter-spacing: var(--tracking-tight); }
.card p { color: var(--color-text-muted); margin-bottom: 18px; flex-grow: 1; font-size: var(--fs-sm); line-height: var(--lh-relaxed); }
.card .card-link {
    color: var(--color-ink);
    font-weight: 500;
    font-size: var(--fs-sm);
    border: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--color-gold);
    align-self: flex-start;
    transition: all var(--dur-fast) var(--ease-out-quart);
}
.card .card-link:hover { color: var(--color-gold); letter-spacing: 0.015em; }

/* ---------- "지금 사무실에서" 같은 작은 위젯 ---------- */
.now-widget {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-gold);
    padding: 24px 26px;
    border-radius: var(--radius);
    max-width: 540px;
}
.now-widget .now-label {
    color: var(--color-gold);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
}
.now-widget p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
}
.now-widget .now-date {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    margin-top: 14px;
    margin-bottom: 0;
}

/* ---------- 글 목록 ---------- */
.post-list { display: flex; flex-direction: column; gap: 0; }
.post-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}
.post-item:last-child { border-bottom: none; }
.post-meta-left {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.post-meta-left .date {
    display: block;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 6px;
}
.post-cat {
    display: inline-block;
    background: rgba(176, 134, 66, 0.08);
    color: var(--color-gold);
    padding: 3px 10px;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    font-weight: 600;
}
.post-cat.essay {
    background: rgba(14, 42, 71, 0.07);
    color: var(--color-ink);
}
.post-body h3 {
    margin: 0 0 8px;
    font-size: 1.22rem;
    line-height: 1.5;
}
.post-body h3 a { color: var(--color-ink); border: none; }
.post-body h3 a:hover { color: var(--color-gold); }
.post-body p {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}
.post-arrow { color: var(--color-gold); font-size: 1.3rem; align-self: center; }

/* ---------- 단일 글 v5 (읽기 경험 강화) ---------- */
.article-head {
    background: var(--gradient-paper);
    border-bottom: 1px solid var(--color-border-subtle);
    padding: clamp(60px, 8vw, 100px) 0 clamp(36px, 5vw, 56px);
    position: relative;
    overflow: hidden;
}
.article-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}
.article-head .container { position: relative; }

.article-meta {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.article-meta .sep {
    margin: 0;
    color: var(--color-gold);
    opacity: 0.5;
    font-weight: 700;
}
.article-meta .post-cat {
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    font-size: var(--fs-xs);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(176, 134, 66, 0.1);
    border: 1px solid rgba(176, 134, 66, 0.2);
}

.article-title {
    max-width: 820px;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    margin-bottom: var(--space-5);
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
    line-height: 1.18;
}

.article-summary {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    color: var(--color-text);
    opacity: 0.78;
    max-width: 780px;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.005em;
}
.article-summary small {
    display: block;
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--color-gold);
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}

.article-body {
    max-width: var(--max-w-read);
    margin: 52px auto;
    padding: 0 max(20px, min(2.4vw, 32px));
}

.article-body h2 {
    margin-top: 2.2em;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    letter-spacing: var(--tracking-tight);
    position: relative;
}
.article-body h2::before {
    content: "";
    position: absolute;
    left: -16px; top: 50%;
    width: 4px;
    height: 24px;
    background: var(--color-gold);
    border-radius: 2px;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease-out-quart);
}
.article-body h2:hover::before { opacity: 1; }

.article-body h3 { margin-top: 1.7em; font-size: var(--fs-md); color: var(--color-ink-2); }

.article-body p, .article-body li {
    font-size: var(--fs-base);
    line-height: var(--lh-loose);
    color: var(--color-text);
}
/* Drop cap 제거 — 한글은 정사각형 모듈이라 첫 글자만 크게 하면 어색함 */
/* 대신 첫 문단을 살짝 강조하는 절제된 처리 */
.article-body > h2:first-of-type + p {
    font-size: calc(var(--fs-base) * 1.05);
    color: var(--color-ink);
    font-weight: 400;
}

.article-body ul, .article-body ol {
    padding-left: 1.4em;
    margin-bottom: 1.5em;
}
.article-body li { margin-bottom: 0.6em; }
.article-body li::marker { color: var(--color-gold); font-weight: 600; }

.article-body blockquote {
    border: none;
    border-left: 4px solid var(--color-gold);
    background: linear-gradient(135deg, rgba(176, 134, 66, 0.08) 0%, rgba(176, 134, 66, 0.02) 100%);
    padding: 24px 28px;
    margin: 1.8em 0;
    color: var(--color-ink);
    font-family: var(--font-serif);
    font-size: var(--fs-md);
    line-height: 1.75;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
    font-style: italic;
}
.article-body blockquote::before {
    content: """;
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 3rem;
    color: var(--color-gold);
    opacity: 0.35;
    font-family: var(--font-serif);
    line-height: 1;
}
.article-body blockquote cite {
    display: block;
    font-style: normal;
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    margin-top: 12px;
    font-family: var(--font-sans);
}
.article-body blockquote cite::before {
    content: "— ";
    color: var(--color-gold);
}

.article-body a {
    color: var(--color-ink);
    border-bottom: 1px solid var(--color-gold);
    transition: all var(--dur-fast) var(--ease-out-quart);
}
.article-body a:hover {
    color: var(--color-gold-deep);
    background: rgba(176, 134, 66, 0.08);
    padding: 0 4px;
    border-radius: 2px;
}

.article-body strong { color: var(--color-ink); font-weight: 700; }
.article-body em { color: var(--color-gold-deep); font-style: italic; }

/* Table 정교화 */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: var(--fs-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--elev-1);
}
.article-body table th {
    text-align: left;
    background: var(--color-bg-alt);
    color: var(--color-ink);
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 2px solid var(--color-gold);
}
.article-body table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border-subtle);
}
.article-body table tr:last-child td { border-bottom: none; }

/* Dark mode adjustments for article */
:root[data-theme="dark"] .article-body p,
:root[data-theme="dark"] .article-body li { color: var(--color-text); }
:root[data-theme="dark"] .article-body strong { color: var(--gold-100); }
:root[data-theme="dark"] .article-body em { color: var(--gold-300); }
:root[data-theme="dark"] .article-body h2 { color: var(--gold-100); }
:root[data-theme="dark"] .article-body h3 { color: var(--gold-200); }
:root[data-theme="dark"] .article-body blockquote {
    color: var(--gold-100);
    background: linear-gradient(135deg, rgba(201, 166, 107, 0.10) 0%, rgba(201, 166, 107, 0.02) 100%);
}
:root[data-theme="dark"] .article-body table th {
    background: var(--color-surface-2);
    color: var(--gold-200);
}
.callout {
    background: #F1ECDD;
    border: 1px solid var(--color-border-strong);
    padding: 22px 24px;
    margin: 2em 0;
    border-radius: var(--radius);
}
.callout strong { color: var(--color-ink); }
.callout .callout-label {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}
.disclaimer {
    border-top: 1px solid var(--color-border);
    margin-top: 44px;
    padding-top: 22px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

.tag-row { display: flex; gap: 8px; margin-top: var(--space-4); flex-wrap: wrap; }
.tag {
    display: inline-flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: var(--fs-xs);
    background: var(--color-bg-alt);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border-subtle);
    font-weight: 500;
    letter-spacing: 0.015em;
    transition: all var(--dur-fast) var(--ease-out-quart);
    cursor: default;
}
.tag::before {
    content: "#";
    color: var(--color-gold);
    margin-right: 2px;
    font-weight: 700;
    opacity: 0.7;
}
.tag:hover {
    background: rgba(176, 134, 66, 0.08);
    border-color: rgba(176, 134, 66, 0.3);
    color: var(--color-ink);
    transform: translateY(-1px);
}

/* ---------- 에세이 본문 ---------- */
.essay-body {
    max-width: var(--max-w-read);
    margin: 52px auto;
    padding: 0 28px;
    font-family: var(--font-serif);
    font-size: 1.06rem;
    line-height: 1.95;
    color: #232733;
}
.essay-body p { margin-bottom: 1.3em; }
.essay-body h2 {
    font-size: 1.25rem;
    margin-top: 2em;
    color: var(--color-ink-2);
    font-weight: 500;
}

/* ---------- 변호사 소개 ---------- */
.bio-hero {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 72px 0 56px;
}
.bio-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
}
.bio-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, #1A3963 0%, #0E2A47 100%);
    color: #C9A66B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    text-align: center;
    border: 1px solid var(--color-border);
    letter-spacing: 0.04em;
    line-height: 1.6;
}
.bio-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 14px 44px rgba(14, 42, 71, 0.12);
    background: #F4EFE3;
    position: relative;
}
.bio-photo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(14, 42, 71, 0.04));
    pointer-events: none;
    z-index: 2;
}
.bio-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.bio-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.bio-chip {
    display: inline-block;
    background: rgba(176, 134, 66, 0.1);
    color: var(--color-gold);
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 100px;
    letter-spacing: 0.02em;
    border: 1px solid rgba(176, 134, 66, 0.2);
}

/* ---------- Bio Stats ---------- */
.bio-stats {
    background: linear-gradient(180deg, #0E2A47 0%, #143864 100%);
    color: #F4EFE3;
    padding: 56px 0;
    border-bottom: 1px solid var(--color-border);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-item {
    text-align: left;
    padding: 0 4px;
    border-left: 2px solid var(--color-gold);
    padding-left: 18px;
}
.stat-label {
    color: var(--color-gold-soft);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
}
.stat-value {
    font-family: var(--font-serif);
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.stat-sub {
    color: #C9D1DC;
    font-size: 0.82rem;
    line-height: 1.55;
}
.bio-name {
    font-size: 2.3rem;
    margin-bottom: 6px;
    font-weight: 600;
}
.bio-role {
    font-family: var(--font-sans);
    color: var(--color-gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 22px;
    font-weight: 600;
}
.bio-summary {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    color: var(--color-text);
    line-height: 1.85;
}
.bio-section { padding: 52px 0; }
.bio-section h2 {
    font-size: 1rem;
    color: var(--color-gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 24px;
    font-weight: 600;
    font-family: var(--font-sans);
}
.cv-list { list-style: none; padding: 0; margin: 0; }
.cv-list li {
    padding: 10px 0;
    border-bottom: 1px dotted var(--color-border);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: baseline;
    font-size: 0.98rem;
}
.cv-list li:last-child { border-bottom: none; }
.cv-list .yr {
    color: var(--color-gold);
    font-weight: 500;
    font-family: var(--font-serif);
    font-size: 0.93rem;
}
.placeholder {
    color: var(--color-text-muted);
    font-style: italic;
    background: rgba(176, 134, 66, 0.06);
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 0.95em;
}

/* ---------- 업무분야 페이지 ---------- */
.practice-hero {
    background: linear-gradient(180deg, #0E2A47, #1A3963);
    color: #F4EFE3;
    padding: 80px 0 64px;
}
.practice-hero .eyebrow {
    color: var(--color-gold-soft);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 14px;
}
.practice-hero h1 { color: #fff; max-width: 780px; font-size: 2.2rem; }
.practice-hero .lead { color: #D7CEB7; max-width: 720px; font-size: 1.06rem; line-height: 1.85; margin-top: 16px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 26px;
    margin-top: 36px;
}
.feature {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 26px 24px;
    border-radius: var(--radius);
}
.feature h3 { font-size: 1.08rem; margin-bottom: 10px; }
.feature p { color: var(--color-text-muted); margin: 0; font-size: 0.95rem; line-height: 1.75; }
.feature .feature-no {
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-size: 0.84rem;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    font-weight: 600;
}

/* ---------- 문의 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}
.contact-info dl { margin: 0; }
.contact-info dt {
    color: var(--color-gold);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 5px;
}
.contact-info dd {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

form.contact-form { background: var(--color-surface); border: 1px solid var(--color-border); padding: 30px; border-radius: var(--radius); }
form.contact-form label { display: block; font-size: 0.84rem; color: var(--color-text-muted); margin-bottom: 6px; font-weight: 500; letter-spacing: 0.04em; }
form.contact-form input, form.contact-form select, form.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--color-text);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button {
    background: var(--color-ink);
    color: #fff;
    border: none;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
}
form.contact-form button:hover { background: var(--color-gold); }

/* ---------- 푸터 v5 (정교화) ---------- */
.site-footer {
    background: var(--navy-900);
    color: #C9D1DC;
    padding: clamp(56px, 7vw, 88px) 0 var(--space-7);
    margin-top: clamp(64px, 8vw, 100px);
    font-size: var(--fs-sm);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
    opacity: 0.4;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-7);
    margin-bottom: var(--space-7);
    position: relative;
}
.footer-grid h4 {
    color: var(--gold-300);
    font-size: var(--fs-xs);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    font-family: var(--font-sans);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}
.footer-grid h4::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 24px;
    height: 1px;
    background: var(--color-gold);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
    color: #C9D1DC;
    border: none;
    transition: all var(--dur-fast) var(--ease-out-quart);
    position: relative;
    padding-left: 0;
}
.footer-grid a:hover {
    color: var(--gold-200);
    padding-left: 6px;
}
.footer-brand { font-family: var(--font-serif); font-size: 1.18rem; color: #fff; margin-bottom: 10px; font-weight: 600; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--space-5);
    color: #8A98AA;
    font-size: var(--fs-xs);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    line-height: 1.6;
}

@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 참고 자료 ---------- */
.refs {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
    font-size: 0.88rem;
    color: var(--color-text-muted);
}
.refs h3 {
    color: var(--color-gold);
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-weight: 700;
    margin-bottom: 12px;
}
.refs ol { padding-left: 1.4em; margin: 0; }
.refs li { margin-bottom: 6px; line-height: 1.55; }

/* ---------- 시그니처 케이스 영역 (히어로급) ---------- */
.signature-section {
    background: linear-gradient(180deg, #FAF8F3 0%, #F1ECDD 100%);
    padding: 80px 0;
    position: relative;
}
.signature-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.signature-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
}
.signature-badge {
    display: inline-block;
    background: var(--color-ink);
    color: var(--color-gold-soft);
    padding: 6px 14px;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 2px;
    margin-bottom: 16px;
}
.signature-title {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    color: var(--color-ink);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 600;
}
.signature-quote {
    background: var(--color-surface);
    border-left: 3px solid var(--color-gold);
    padding: 28px 32px;
    margin-top: 28px;
    font-family: var(--font-serif);
    font-size: 1.06rem;
    color: var(--color-ink-2);
    line-height: 1.85;
    box-shadow: 0 8px 30px rgba(14, 42, 71, 0.06);
}
.signature-quote .quote-mark {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-gold);
    line-height: 0.5;
    display: block;
    margin-bottom: 8px;
}
.signature-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
}
.signature-meta-item {
    border-top: 1px solid var(--color-border-strong);
    padding-top: 14px;
}
.signature-meta-label {
    color: var(--color-gold);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}
.signature-meta-value {
    color: var(--color-ink);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
}

/* ---------- 큰 인용 / 풀쿼트 ---------- */
.pull-quote {
    background: var(--color-ink);
    color: #F4EFE3;
    padding: 72px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}
.pull-quote::before {
    content: "";
    position: absolute;
    top: 0; right: -20%;
    width: 60%; height: 100%;
    background: radial-gradient(circle, rgba(176, 134, 66, 0.18), transparent 60%);
    pointer-events: none;
}
.pull-quote .quote-mark-big {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-gold);
    line-height: 0.4;
    margin-bottom: 24px;
}
.pull-quote blockquote {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.5;
    max-width: 820px;
    margin: 0 auto;
    color: #fff;
    font-weight: 500;
    letter-spacing: -0.005em;
    padding: 0;
    border: none;
    background: none;
}
.pull-quote cite {
    display: block;
    margin-top: 28px;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-soft);
    font-style: normal;
    font-weight: 500;
}

/* ---------- 분야 그리드 (대형 로펌 스타일) ---------- */
.practice-mega {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}
.practice-mega-item {
    padding: 36px 32px;
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s ease;
    position: relative;
}
.practice-mega-item:hover {
    background: #FBF7EB;
}
.practice-mega-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}
.practice-mega-item:hover::before { width: 100%; }
.practice-mega-num {
    font-family: var(--font-serif);
    color: var(--color-gold);
    font-size: 0.86rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 14px;
}
.practice-mega-title {
    font-family: var(--font-serif);
    color: var(--color-ink);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.3;
}
.practice-mega-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 18px;
}
.practice-mega-link {
    color: var(--color-ink);
    font-size: 0.88rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 2px;
}

/* ---------- 작은 통계 인라인 ---------- */
.inline-stats {
    display: flex;
    gap: 56px;
    margin: 36px 0;
    padding: 28px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
}
.inline-stat {
    flex: 1;
    min-width: 140px;
}
.inline-stat-num {
    font-family: var(--font-serif);
    color: var(--color-gold);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}
.inline-stat-label {
    color: var(--color-text-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
    h1 { font-size: 1.9rem; }
    .hero h1 { font-size: 2rem; }
    .hero { padding: 56px 0 48px; }
    .grid-3, .grid-2, .feature-grid, .contact-grid, .footer-grid, .bio-grid,
    .stat-grid, .signature-grid, .practice-mega { grid-template-columns: 1fr; }
    .stat-grid { gap: 24px; }
    .nav-links { display: none; }
    .post-item { grid-template-columns: 1fr; gap: 12px; }
    .post-arrow { display: none; }
    section { padding: 52px 0; }
    .article-title { font-size: 1.5rem; }
    .pull-quote blockquote { font-size: 1.3rem; }
    .signature-title { font-size: 1.5rem; }
    .inline-stats { gap: 24px; }
}

/* =========================================================
   v3.0 — 대형 로펌급 프리미엄 컴포넌트 추가
   ========================================================= */

/* ---------- 톱바 + 언어/유틸리티 ---------- */
.utility-bar {
    background: #0A1F36;
    color: #C9D1DC;
    font-size: 0.78rem;
    border-bottom: 1px solid #1F3A5A;
}
.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}
.utility-bar a {
    color: #C9D1DC;
    border: none;
    margin-left: 16px;
    letter-spacing: 0.06em;
}
.utility-bar a:hover { color: var(--color-gold-soft); }
.utility-bar .lang-toggle a { letter-spacing: 0.12em; font-weight: 600; }
.utility-bar .lang-toggle .active { color: var(--color-gold); }
.utility-bar .util-left { color: #8A98AA; }

/* ---------- 프리미엄 이미지 히어로 ---------- */
.hero-image {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(at 30% 30%, rgba(176, 134, 66, 0.18) 0%, transparent 50%),
        radial-gradient(at 75% 70%, rgba(201, 166, 107, 0.10) 0%, transparent 55%),
        linear-gradient(135deg, #06182D 0%, #0A1F36 50%, #143055 100%);
}
.hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 31, 54, 0.92) 0%, rgba(14, 42, 71, 0.78) 50%, rgba(20, 56, 100, 0.55) 100%);
    pointer-events: none;
}
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(176, 134, 66, 0.18), transparent 50%),
        linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}
.hero-image .container {
    position: relative;
    z-index: 2;
    padding-top: 110px;
    padding-bottom: 90px;
}
.hero-image .eyebrow {
    color: var(--color-gold-soft);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 26px;
    font-weight: 600;
}
.hero-image h1 {
    color: #fff;
    font-size: 3rem;
    max-width: 820px;
    margin-bottom: 28px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.hero-image .lead {
    font-size: 1.12rem;
    max-width: 680px;
    color: #E6DEC9;
    margin-bottom: 38px;
    line-height: 1.88;
    font-weight: 300;
}
.hero-image .hero-actions .btn-cta {
    background: var(--color-gold);
    padding: 14px 26px;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}
.hero-image .hero-actions .btn-cta:hover { background: var(--color-gold-soft); }
.hero-image .hero-actions .btn-secondary {
    padding: 14px 26px;
    font-size: 0.95rem;
}

/* ---------- 어워드/인증 스트립 ---------- */
.awards-strip {
    background: #fff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 36px 0;
}
.awards-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.awards-strip .awards-label {
    color: var(--color-text-muted);
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    border-right: 1px solid var(--color-border);
    padding-right: 32px;
    margin-right: 8px;
}
.awards-list {
    display: flex;
    align-items: center;
    gap: 38px;
    flex-wrap: wrap;
    flex: 1;
}
.award-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.award-item .award-name {
    color: var(--color-ink);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.award-item .award-sub {
    color: var(--color-text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

/* ---------- 이미지 섹션 헤더 (전문분야/판례 등) ---------- */
.image-section-header {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: #0E2A47;
}
.image-section-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}
/* image-section-header 변형 — Unsplash 의존 제거, 자체 그라데이션·패턴 */
.image-section-header.skyline::before {
    background:
        linear-gradient(180deg, transparent 60%, rgba(14,42,71,0.4)),
        repeating-linear-gradient(90deg, rgba(201,166,107,0.06) 0, rgba(201,166,107,0.06) 1px, transparent 1px, transparent 80px),
        linear-gradient(135deg, #0A1F36 0%, #143055 100%);
    opacity: 1;
}
.image-section-header.library::before {
    background:
        radial-gradient(circle at 25% 50%, rgba(201,166,107,0.14), transparent 55%),
        repeating-linear-gradient(0deg, transparent 0, transparent 40px, rgba(201,166,107,0.06) 40px, rgba(201,166,107,0.06) 41px),
        linear-gradient(180deg, #06182D, #143055);
    opacity: 1;
}
.image-section-header.boardroom::before {
    background:
        radial-gradient(ellipse at top right, rgba(201,166,107,0.20), transparent 60%),
        conic-gradient(from 45deg at 70% 30%, transparent 0deg, rgba(201,166,107,0.08) 60deg, transparent 120deg),
        linear-gradient(135deg, #0E2A47, #1A3963);
    opacity: 1;
}
.image-section-header.gavel::before {
    background:
        radial-gradient(at 20% 80%, rgba(176,134,66,0.18), transparent 50%),
        radial-gradient(at 80% 20%, rgba(201,166,107,0.10), transparent 50%),
        linear-gradient(160deg, #0A1F36 0%, #143055 60%, #06182D 100%);
    opacity: 1;
}
.image-section-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,31,54,0.5) 0%, rgba(10,31,54,0.85) 100%);
    z-index: 1;
}
.image-section-header .container {
    position: relative;
    z-index: 2;
    padding: 84px 0 76px;
}
.image-section-header .eyebrow {
    color: var(--color-gold-soft);
    font-size: 0.76rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
}
.image-section-header h1 {
    color: #fff;
    font-size: 2.4rem;
    max-width: 820px;
    margin-bottom: 18px;
    font-weight: 500;
}
.image-section-header .lead {
    color: #E0D9C5;
    max-width: 740px;
    font-size: 1.04rem;
    line-height: 1.88;
    margin: 0;
}

/* ---------- 이미지 카드 v5 (모든 viewport 6장 한 줄) ---------- */
.image-cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.image-card {
    position: relative;
    aspect-ratio: 3 / 4;
    min-height: 0;
    max-height: 280px;
    overflow: hidden;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: none;
    display: block;
    background: var(--navy-800);
    transition: transform var(--dur-base) var(--ease-out-expo),
                box-shadow var(--dur-base) var(--ease-out-expo);
    box-shadow: var(--elev-1);
    isolation: isolate;
}
/* 좁은 viewport — 가로 스크롤로 6장 유지 */
@media (max-width: 880px) {
    .image-cards {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 150px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    .image-card { scroll-snap-align: start; max-height: 220px; }
}
@media (max-width: 480px) {
    .image-cards { grid-auto-columns: 130px; }
    .image-card { max-height: 200px; }
}
.image-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--elev-5);
}
.image-card .image-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1s var(--ease-out-expo),
                filter var(--dur-slow) var(--ease-out-quart);
    filter: saturate(0.92);
}
.image-card:hover .image-card-bg {
    transform: scale(1.08);
    filter: saturate(1.05);
}
.image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,31,54,0.15) 0%, rgba(10,31,54,0.40) 45%, rgba(10,31,54,0.95) 100%);
    pointer-events: none;
    z-index: 1;
    transition: background var(--dur-slow) var(--ease-out-quart);
}
.image-card:hover::after {
    background: linear-gradient(180deg, rgba(176, 134, 66, 0.12) 0%, rgba(10,31,54,0.45) 45%, rgba(10,31,54,0.96) 100%);
}
/* 골드 인디케이터 라인 */
.image-card::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-gold);
    z-index: 3;
    transition: width var(--dur-slow) var(--ease-out-expo);
}
.image-card:hover::before { width: 100%; }
.image-card-content {
    position: absolute;
    z-index: 2;
    left: 0; right: 0; bottom: 0;
    padding: 14px 12px 12px;
    color: #fff;
}
.image-card-eyebrow {
    color: var(--color-gold-soft);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
    /* 6열 작은 카드용 — NEW 배지가 줄바꿈 안 되도록 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.image-card-title {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.25;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: -0.005em;
    transition: color var(--dur-base) var(--ease-out-quart);
    /* 한 줄로 — 긴 제목은 줄임표 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.image-card:hover .image-card-title { color: var(--gold-200); }
.image-card-desc {
    color: #D7CEB7;
    font-size: 0.68rem;
    line-height: 1.45;
    margin-bottom: 8px;
    opacity: 0.85;
    transition: opacity var(--dur-base) var(--ease-out-quart);
    /* 작은 카드 — 2줄 제한 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.image-card:hover .image-card-desc { opacity: 1; }
.image-card-arrow {
    color: var(--color-gold);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: gap var(--dur-base) var(--ease-out-expo),
                color var(--dur-base) var(--ease-out-quart);
}
.image-card:hover .image-card-arrow { gap: 8px; color: var(--gold-200); }
/* 작은 카드에선 NEW 배지도 작게 */
.image-card .badge.badge-new {
    font-size: 0.5rem;
    padding: 1px 5px;
    margin-left: 4px;
}

/* ---------- INSIGHTS 카드 (이미지 + 텍스트) ---------- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.insight-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    overflow: hidden;
    transition: transform var(--dur-base) var(--ease-out-expo),
                box-shadow var(--dur-base) var(--ease-out-expo),
                border-color var(--dur-base) var(--ease-out-quart);
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    position: relative;
    isolation: isolate;
}
.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--elev-5);
    border-color: var(--color-gold-soft);
}
:root[data-theme="dark"] .insight-card { border-color: var(--color-border); }
:root[data-theme="dark"] .insight-card:hover {
    background: var(--color-surface-2);
    box-shadow: var(--elev-5);
}

.insight-card-image {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: var(--navy-700);
    position: relative;
    overflow: hidden;
    transition: transform var(--dur-slower) var(--ease-out-expo);
}
.insight-card:hover .insight-card-image { transform: scale(1.04); }
.insight-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 42, 71, 0.0) 0%, rgba(14, 42, 71, 0.22) 100%);
    transition: opacity var(--dur-base) var(--ease-out-quart);
}
.insight-card:hover .insight-card-image::after {
    background: linear-gradient(135deg, rgba(14, 42, 71, 0.0) 0%, rgba(176, 134, 66, 0.20) 100%);
}
.insight-card-body {
    padding: 24px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.insight-card-tag {
    color: var(--color-gold);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}
.insight-card-title {
    color: var(--color-ink);
    font-family: var(--font-serif);
    font-size: var(--fs-md);
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    display: block;
    transition: color var(--dur-fast) var(--ease-out-quart);
    letter-spacing: -0.005em;
}
.insight-card-title:hover { color: var(--color-gold); }
.insight-card-desc {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}
.insight-card-meta {
    color: var(--color-text-subtle);
    font-size: var(--fs-xs);
    letter-spacing: 0.04em;
}

/* ---------- 프로페셔널 카드 (변호사 프로필) v5 ---------- */
.professional-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    padding: var(--space-6) var(--space-6);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-6);
    align-items: start;
    box-shadow: var(--elev-2);
    transition: box-shadow var(--dur-base) var(--ease-out-quart);
}
.professional-card:hover { box-shadow: var(--elev-3); }
.professional-photo {
    width: 140px;
    aspect-ratio: 4 / 5;
    background: var(--gradient-hero);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
}
.professional-photo img,
.professional-photo svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.professional-name {
    font-family: var(--font-serif);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: var(--space-2);
    letter-spacing: -0.01em;
}
.professional-role {
    color: var(--color-gold);
    font-size: var(--fs-xs);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: var(--space-4);
}

/* ---------- 반응형 보강 ---------- */
@media (max-width: 1024px) {
    .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
    .insights-grid { grid-template-columns: 1fr; gap: var(--space-4); }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .image-callout { grid-template-columns: 1fr; }
    .image-callout-image { min-height: 280px; }
    .image-callout-body { padding: var(--space-7) var(--space-5); }
    .stats-panel { padding: var(--space-7) 0; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
    .professional-card { grid-template-columns: 1fr; gap: var(--space-4); }
    .professional-photo { max-width: 200px; }
    .utility-bar .container { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 480px) {
    h1 { font-size: var(--fs-2xl); }
    .stat-grid { grid-template-columns: 1fr; }
    .article-body { margin: var(--space-6) auto; }
}

/* ---------- 프로페셔널 카드 보강 (변호사 프로필 텍스트) ---------- */
.professional-name-en {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    letter-spacing: 0.04em;
    margin-bottom: var(--space-3);
}
.professional-desc {
    color: var(--color-text);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-4);
}
.professional-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.professional-tag {
    background: rgba(176, 134, 66, 0.1);
    color: var(--color-gold);
    padding: 4px 12px;
    font-size: var(--fs-xs);
    border-radius: var(--radius-full);
    border: 1px solid rgba(176, 134, 66, 0.2);
    font-weight: 500;
}
:root[data-theme="dark"] .professional-name { color: var(--gold-100); }
:root[data-theme="dark"] .professional-desc { color: var(--color-text); }

/* ---------- 이미지 콜아웃 (네이비 배경 + 이미지 분할) ---------- */
.image-callout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #0E2A47;
    color: #F4EFE3;
    overflow: hidden;
}
.image-callout .image-callout-image {
    min-height: 420px;
    background-size: cover;
    background-position: center;
}
.image-callout .image-callout-body {
    padding: 64px 56px;
}
.image-callout .eyebrow {
    color: var(--color-gold-soft);
    font-size: 0.76rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
}
.image-callout h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 22px;
    font-weight: 500;
    line-height: 1.3;
}
.image-callout p {
    color: #D7CEB7;
    font-size: 1.02rem;
    line-height: 1.88;
    margin-bottom: 24px;
}
.image-callout .btn-cta {
    background: var(--color-gold);
}
.image-callout .btn-cta:hover { background: var(--color-gold-soft); }

/* ---------- 통계 패널 v5 (자체 SVG 그라데이션 + 패턴) ---------- */
.stats-panel {
    background: var(--gradient-hero);
    color: #F4EFE3;
    padding: clamp(60px, 8vw, 96px) 0;
    position: relative;
    overflow: hidden;
}
.stats-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(at 0% 0%, rgba(201, 166, 107, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(176, 134, 66, 0.10) 0px, transparent 50%);
    pointer-events: none;
}
.stats-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,166,107,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,166,107,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}
.stats-panel .container { position: relative; z-index: 2; }

/* ---------- 푸터 v5 (자체 그라데이션) ---------- */
.site-footer.with-image {
    background: var(--gradient-hero);
    position: relative;
}
.site-footer.with-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(at 20% 30%, rgba(201, 166, 107, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(176, 134, 66, 0.06) 0px, transparent 50%);
    pointer-events: none;
}
.site-footer.with-image .container { position: relative; z-index: 1; }
.site-footer .footer-tagline {
    color: var(--color-gold-soft);
    font-family: var(--font-serif);
    font-size: 1.02rem;
    margin-bottom: 16px;
    font-style: italic;
    line-height: 1.7;
}
.site-footer .footer-contact-block {
    color: #C9D1DC;
    font-size: 0.86rem;
    line-height: 1.85;
}
.site-footer .footer-contact-block strong {
    color: #fff;
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}
.site-footer .footer-contact-block a { color: var(--color-gold-soft); }

/* ---------- 신뢰감 인용 블록 ---------- */
.trust-quote {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 28px;
}
.trust-quote .trust-mark {
    color: var(--color-gold);
    font-family: 'Times New Roman', serif;
    font-size: 4rem;
    line-height: 0.8;
    margin-bottom: 14px;
}
.trust-quote blockquote {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.55;
    color: var(--color-ink);
    font-weight: 500;
    letter-spacing: -0.005em;
}
.trust-quote cite {
    display: block;
    margin-top: 22px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold);
    font-style: normal;
    font-weight: 600;
}

/* ---------- 글로벌 네트워크 / 다국어 안내 ---------- */
.global-strip {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 28px 0;
    text-align: center;
}
.global-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: 0.86rem;
}
.global-strip .global-label {
    color: var(--color-gold);
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
}
.global-strip .lang-link {
    color: var(--color-ink);
    border: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--color-gold);
    font-weight: 500;
}

/* ---------- 반응형 v3 ---------- */
@media (max-width: 960px) {
    .hero-image .container { padding-top: 64px; padding-bottom: 56px; }
    .hero-image h1 { font-size: 1.9rem; }
    .hero-image .lead { font-size: 1rem; }
    .awards-strip .container { gap: 18px; }
    .awards-strip .awards-label { border-right: none; padding-right: 0; margin-right: 0; }
    .awards-list { gap: 22px; }
    /* image-cards/insights-grid는 1024px 미디어쿼리에서 이미 2열 처리됨 — 여기서 1열로 강제하지 않음 */
    .image-callout { grid-template-columns: 1fr; }
    .image-callout .image-callout-image { min-height: 240px; }
    .image-callout .image-callout-body { padding: 36px 24px; }
    .image-section-header .container { padding: 56px 0 48px; }
    .image-section-header h1 { font-size: 1.7rem; }
    .professional-card { grid-template-columns: 1fr; gap: 18px; }
    .professional-photo { max-width: 200px; }
}
m: 2px; border-bottom: 1px solid var(--color-gold); font-weight: 500; }

/* =========================================================
   모바일 햄버거 메뉴 v1.0 — ≤880px 활성화
   2026.06.01
   ========================================================= */

/* 햄버거 버튼 — 데스크탑에서는 숨김 */
.mob-menu-btn {
  display: none !important;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 200;
  padding: 12px 10px;
  -webkit-tap-highlight-color: transparent;
}
.mob-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy, #0E2A47);
  margin: 4px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1px;
}
.mob-menu-btn.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mob-menu-btn.is-active span:nth-child(2) { opacity: 0; }
.mob-menu-btn.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 다크모드 햄버거 */
:root[data-theme="dark"] .mob-menu-btn span { background: #F4EFE3; }

/* 모바일 오버레이 메뉴 — 처음에는 화면 밖 */
.mob-menu-overlay {
  position: fixed;
  inset: 0;
  background: #0E2A47;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.mob-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.mob-menu-inner {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 32px;
  color: #F4EFE3;
}

/* 오버레이 헤더 */
.mob-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201,166,107,0.22);
  margin-bottom: 14px;
}
.mob-menu-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #F4EFE3;
  line-height: 1.2;
}
.mob-menu-brand strong {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mob-menu-brand span {
  font-size: 0.75rem;
  color: #C9A66B;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.mob-menu-close {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: #F4EFE3;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 카테고리 아코디언 */
.mob-menu-nav {
  flex: 1;
  margin-top: 6px;
}
.mob-cat {
  border-bottom: 1px solid rgba(201,166,107,0.14);
}
.mob-cat[open] {
  background: rgba(255,255,255,0.025);
}
.mob-cat summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  cursor: pointer;
  font-family: 'Noto Serif KR', serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: #F4EFE3;
  -webkit-tap-highlight-color: transparent;
}
.mob-cat summary::-webkit-details-marker { display: none; }
.mob-cat summary svg {
  color: #C9A66B;
  transition: transform 0.25s ease;
}
.mob-cat[open] summary svg { transform: rotate(180deg); }
.mob-sublinks {
  list-style: none;
  padding: 0 0 16px 4px;
  margin: 0;
}
.mob-sublinks li { padding: 0; }
.mob-sublinks a {
  display: block;
  padding: 11px 6px;
  font-size: 0.96rem;
  color: #DCD3BE;
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 14px;
  transition: color 0.18s ease, border-color 0.18s ease;
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.mob-sublinks a:hover, .mob-sublinks a:focus {
  color: #C9A66B;
  border-left-color: #C9A66B;
  outline: none;
}

/* CTA 영역 */
.mob-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0 12px;
  border-top: 1px solid rgba(201,166,107,0.22);
  margin-top: 18px;
}
.mob-cta-primary {
  background: #C9A66B;
  color: #0E2A47;
  padding: 14px 22px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.mob-cta-secondary {
  background: transparent;
  color: #F4EFE3;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.mob-menu-foot {
  font-size: 0.78rem;
  color: rgba(220,211,190,0.62);
  text-align: center;
  padding-top: 14px;
}

/* =========================================================
   ≤880px: 데스크탑 메가메뉴 숨김 + 햄버거 표시
   ========================================================= */
@media (max-width: 880px) {
  .mob-menu-btn { display: flex !important; flex-direction: column; justify-content: center; }
  .site-header .nav { display: none !important; }
  .site-header .container { position: relative; min-height: 56px; }
  .utility-bar { display: none; }
  
  /* hero 모바일 최적화 */
  .practice-hero { padding: 70px 0 60px !important; }
  .practice-hero h1 { font-size: 1.7rem !important; line-height: 1.35 !important; }
  .practice-hero p { font-size: 0.96rem !important; }
  
  /* 본문 컨테이너 */
  .container { padding-left: 18px !important; padding-right: 18px !important; }
  
  /* 모바일 카드 그리드 → 1열 */
  .insights-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 14px !important; }
  
  /* shorts-grid → 가로 스크롤 캐러셀 */
  .shorts-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px !important;
    padding: 8px 4px 16px;
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .shorts-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  
  /* 푸터 모바일 */
  .footer-grid { grid-template-columns: 1fr !important; gap: 26px !important; text-align: left; }
  .footer-bottom { flex-direction: column !important; gap: 8px !important; text-align: center !important; padding-top: 22px !important; }
  
  /* 모든 버튼 최소 터치 타겟 44px */
  .btn-cta, button, a.tag { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
  
  /* 텍스트 크기 조정 */
  h1 { font-size: clamp(1.55rem, 6vw, 2rem) !important; }
  h2 { font-size: clamp(1.3rem, 5vw, 1.6rem) !important; }
  
  /* 아티클 페이지 본문 */
  .article-title { font-size: 1.5rem !important; line-height: 1.4 !important; }
  
  /* 미검증 배너가 너무 큰 경우 압축 */
  .unverified-banner { font-size: 0.85rem !important; padding: 12px 16px !important; }
}

/* =========================================================
   ≤480px: 추가 압축 (소형 휴대폰)
   ========================================================= */
@media (max-width: 480px) {
  .con
/* =========================================================
   모바일 헤더 브랜드 로고 (≤880px만 표시)
   ========================================================= */
.mob-header-brand { display: none; }

@media (max-width: 880px) {
  .mob-header-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1.2;
    z-index: 200;
  }
  .mob-header-brand strong {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: #0E2A47;
    letter-spacing: 0.01em;
  }
  .mob-header-brand span {
    font-size: 0.7rem;
    color: #B08642;
    letter-spacing: 0.08em;
    margin-top: 1px;
  }
  
  /* 헤더 최소 높이 + 패딩 */
  .site-header {
    min-height: 60px !important;
    padding: 0 !important;
  }
  .site-header .container {
    min-height: 60px !important;
    padding: 12px 18px !important;
  }
  
  /* shorts 카드 안의 컨트롤 버튼 — 모바일에서 자연스럽게 */
  .shorts-card [class*="control"],
  .shorts-card .shorts-controls,
  .shorts-card button[aria-label*="재생"],
  .shorts-card button[aria-label*="일시"],
  .shorts-card button[aria-label*="전체"] {
    opacity: 0.4;
  }
  .shorts-card:active [class*="control"],
  .shorts-card:hover [class*="control"] {
    opacity: 0.9;
  }
}

/* 다크모드 모바일 브랜드 */
:root[data-theme="dark"] .mob-header-brand strong { color: #F4EFE3; }
:root[data-theme="dark"] .mob-header-brand span { color: #C9A66B; }

/* 시스템 다크모드 자동 감지 — 다크모드일 때만 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mob-header-brand strong { color: #F4EFE3; }
  :root:not([data-theme="light"]) .mob-header-brand span { color: #C9A66B; }
}
