/* ============================================================
   PARK HYUN — Personal Brand Website
   Premium Dark Theme with KR/EN Language Support
   v4 — 2026-04-03 cache-busted (no-cache headers + ?v=20260403r4)
   CHANGES: mix-blend-mode: normal, SNS display:none removed,
            footer-nav layout added, sns-linkedin hover added
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --bg-base: #0b0d11;
  --bg-surface: #12151c;
  --bg-card: #181d27;
  --bg-card-hover: #1e2535;
  --bg-alt: #0f1219;

  --text-primary: #f0f2f7;
  --text-secondary: #9aa3b5;
  --text-muted: #5c6478;
  --text-inverse: #0b0d11;

  --accent: #c4a882;        /* warm gold */
  --accent-light: #d4be9e;
  --accent-subtle: rgba(196, 168, 130, 0.12);
  --accent-red: #d45c50;    /* card highlight / current badge */

  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.32);
  --shadow-deep: 0 12px 48px rgba(0,0,0,0.48);

  --font-sans: 'Inter', 'Noto Sans KR', system-ui, -apple-system, sans-serif;
  --max-w: 1180px;
  --header-h: 72px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(11,13,17,0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition);
}
.site-header.scrolled {
  background: rgba(11,13,17,0.98);
  border-bottom-color: var(--border-strong);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-kr, .logo-en { color: var(--text-primary); letter-spacing: 0.05em; }
.logo-divider { color: var(--text-muted); font-weight: 300; }
.logo-title { color: var(--text-secondary); font-size: 12px; font-weight: 400; letter-spacing: 0.08em; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.site-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.site-nav a.nav-detail { color: var(--accent); }
.site-nav a.nav-detail:hover { background: var(--accent-subtle); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 100px;
  transition: all var(--transition);
}
.lang-btn.active {
  background: var(--accent);
  color: var(--text-inverse);
}
.lang-btn:hover:not(.active) { color: var(--text-primary); }

/* Edit Mode Button */
.btn-edit-mode {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
}
.btn-edit-mode:hover, .btn-edit-mode.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
}

/* CTA Button (header) */
.btn-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-base);
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   EDIT BANNER
   ============================================================ */
.edit-banner {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(196,168,130,0.95);
  color: var(--text-inverse);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  z-index: 999;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.edit-banner i { font-size: 14px; }
.btn-save, .btn-reset {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  transition: all var(--transition);
}
.btn-save { background: var(--bg-base); color: var(--accent); margin-left: auto; }
.btn-reset { background: rgba(0,0,0,0.2); color: var(--bg-base); }
.btn-save:hover { background: #1a1f2b; }
.btn-reset:hover { background: rgba(0,0,0,0.35); }

/* Editable elements */
.editable { transition: outline var(--transition), background var(--transition); border-radius: 4px; }
body.edit-mode .editable {
  outline: 1.5px dashed rgba(196,168,130,0.5);
  cursor: text;
  padding: 2px 4px;
}
body.edit-mode .editable:hover { outline-color: var(--accent); background: rgba(196,168,130,0.06); }
body.edit-mode .editable:focus { outline: 2px solid var(--accent); background: rgba(196,168,130,0.1); }

/* ============================================================
   LANGUAGE DISPLAY
   ============================================================ */

/* 1) 기본: 전부 숨김 */
[data-lang-show] { display: none !important; }

/* 2) 블록 요소 */
html[data-lang="ko"] [data-lang-show="ko"] { display: block !important; }
html[data-lang="en"] [data-lang-show="en"] { display: block !important; }

/* 3) 인라인 요소 */
html[data-lang="ko"] span[data-lang-show="ko"],
html[data-lang="ko"] a[data-lang-show="ko"],
html[data-lang="ko"] strong[data-lang-show="ko"],
html[data-lang="ko"] em[data-lang-show="ko"] { display: inline !important; }

html[data-lang="en"] span[data-lang-show="en"],
html[data-lang="en"] a[data-lang-show="en"],
html[data-lang="en"] strong[data-lang-show="en"],
html[data-lang="en"] em[data-lang-show="en"] { display: inline !important; }

/* 4) inline-flex 요소 */
html[data-lang="ko"] a.media-link-btn[data-lang-show="ko"],
html[data-lang="en"] a.media-link-btn[data-lang-show="en"] { display: inline-flex !important; }

html[data-lang="ko"] button[data-lang-show="ko"],
html[data-lang="en"] button[data-lang-show="en"] { display: inline-flex !important; }

/* 5) media-link-btn 내부 span */
.media-link-btn span[data-lang-show] { display: none !important; }
html[data-lang="ko"] .media-link-btn span[data-lang-show="ko"],
html[data-lang="en"] .media-link-btn span[data-lang-show="en"] { display: inline !important; }

/* 6) li 요소 */
html[data-lang="ko"] li[data-lang-show="ko"],
html[data-lang="en"] li[data-lang-show="en"] { display: list-item !important; }

/* 7) 블록 요소 — 명시적 태그 지정 (generic block rule 보완) */
html[data-lang="ko"] h2[data-lang-show="ko"],
html[data-lang="ko"] h3[data-lang-show="ko"],
html[data-lang="ko"] h4[data-lang-show="ko"],
html[data-lang="ko"] p[data-lang-show="ko"],
html[data-lang="ko"] div[data-lang-show="ko"],
html[data-lang="ko"] ul[data-lang-show="ko"],
html[data-lang="ko"] section[data-lang-show="ko"],
html[data-lang="ko"] article[data-lang-show="ko"] { display: block !important; }

html[data-lang="en"] h2[data-lang-show="en"],
html[data-lang="en"] h3[data-lang-show="en"],
html[data-lang="en"] h4[data-lang-show="en"],
html[data-lang="en"] p[data-lang-show="en"],
html[data-lang="en"] div[data-lang-show="en"],
html[data-lang="en"] ul[data-lang-show="en"],
html[data-lang="en"] section[data-lang-show="en"],
html[data-lang="en"] article[data-lang-show="en"] { display: block !important; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,168,130,0.25); }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { color: var(--text-primary); border-color: var(--accent); transform: translateY(-2px); }

/* ============================================================
   SECTIONS
   ============================================================ */
main { padding-top: var(--header-h); }

.content-section {
  padding: 96px 0;
}
.alt-bg {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.left { text-align: left; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-eyebrow.center { display: block; text-align: center; }
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}
.section-desc {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content { position: relative; width: 100%; }

.hero-eyebrow { margin-bottom: 16px; }
.eyebrow-tag {
  display: inline;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  opacity: 0.85;
}

.hero-name {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.name-kr { color: var(--text-primary); }
.name-en {
  color: transparent;
  -webkit-text-stroke: 2px rgba(240,242,247,0.4);
}

.hero-headline {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline { margin-bottom: 36px; }
.tagline-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ============================================================
   HERO — TWO COLUMN WITH PHOTO
   ============================================================ */
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 80px);
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-text-col .hero-eyebrow { margin-bottom: 20px; }
.hero-text-col .hero-name {
  font-size: clamp(44px, 6vw, 72px);
  justify-content: flex-start;
  margin-bottom: 20px;
}
.hero-text-col .hero-headline { text-align: left; }
.hero-text-col .hero-sub { text-align: left; margin-left: 0; margin-right: 0; }
.hero-text-col .hero-tagline { text-align: left; }
.hero-text-col .hero-actions { justify-content: flex-start; }

/* Photo Column */
.hero-photo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
}

/* Ambient glow behind photo */
.hero-photo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse 70% 60% at 50% 70%, rgba(196,168,130,0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================
   HERO PHOTO — v3 fix: mix-blend-mode: normal (컬러 유지)
   ========================================================== */
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 24px;
  mix-blend-mode: normal;
  filter: contrast(1.02) brightness(1.0) saturate(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
  display: block;
  margin: 0 auto;
}
.hero-photo-wrap:hover .hero-photo {
  filter: contrast(1.04) brightness(1.02) saturate(1.08);
  transform: translateY(-6px);
}

/* Floating badge on photo */
.hero-photo-badge {
  position: absolute;
  bottom: 28px;
  left: -16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(12,15,22,0.92);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.hero-photo-badge i { color: #4ade80; font-size: 13px; }

/* Hero responsive */
@media (max-width: 1024px) {
  .hero-two-col {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .hero-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: unset;
    padding: 40px 0;
  }
  .hero-text-col {
    align-items: center;
    text-align: center;
  }
  .hero-text-col .hero-name { justify-content: center; }
  .hero-text-col .hero-headline,
  .hero-text-col .hero-sub,
  .hero-text-col .hero-tagline { text-align: center; }
  .hero-text-col .hero-actions { justify-content: center; }
  .hero-photo-col { order: -1; }
  .hero-photo-wrap { max-width: 260px; margin: 0 auto; }
  .hero-photo-badge { bottom: 12px; left: -8px; font-size: 11px; padding: 6px 12px; }
}

/* ============================================================
   SNAPSHOT
   ============================================================ */
.snapshot-section {
  padding: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.snapshot-card {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.snapshot-card:last-child { border-right: none; }
.snapshot-card:hover { background: rgba(255,255,255,0.03); }
.snap-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.snap-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.snap-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
}
.about-card-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}
.about-card:hover { border-color: var(--accent); background: var(--bg-card-hover); }
.about-card-icon {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 12px;
}
.about-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.about-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   EXPERTISE
   ============================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.expertise-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.exp-card-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}
.expertise-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.expertise-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.expertise-card li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}
.expertise-card li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent);
}

/* ============================================================
   BRAND MARKETING
   ============================================================ */
.bm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.bm-card:hover { border-color: rgba(196,168,130,0.3); background: var(--bg-card-hover); }
.bm-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.bm-icon {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.bm-card h3 { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.bm-sub { font-size: 13px; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.6; }
.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   EXPERIENCE
   ============================================================ */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.exp-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all var(--transition);
}
.exp-block:hover { border-color: rgba(196,168,130,0.3); transform: translateY(-3px); }
.exp-block.current { border-color: rgba(196,168,130,0.25); }
.exp-badge {
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(196,168,130,0.25);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.exp-icon {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 12px;
}
.exp-block h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.exp-meta {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.5;
}
.exp-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.exp-cta { text-align: center; }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy-section {
  padding: 96px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.philosophy-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.philosophy-quote {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
  position: relative;
  padding: 32px 0;
}
.philosophy-quote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  color: var(--accent);
  opacity: 0.3;
  font-style: normal;
  line-height: 1;
}
.philosophy-attr {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-top: 16px;
}

/* ============================================================
   ADVISORY
   ============================================================ */
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.adv-card:hover { border-color: var(--accent); background: var(--bg-card-hover); transform: translateY(-3px); }
.adv-icon {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 14px;
}
.adv-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.adv-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: rgba(196,168,130,0.3); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer.open { max-height: 400px; }
.faq-answer p {
  padding: 0 28px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 96px 0;
  background: var(--bg-base);
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin: 20px 0 40px;
  line-height: 1.35;
  color: var(--text-primary);
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-item i { font-size: 16px; color: var(--accent); }
.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
}
.contact-value:hover { color: var(--accent); }
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.contact-detail-link { margin-top: 16px; }
.contact-detail-link a {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.contact-detail-link a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.footer-title { font-size: 12px; color: var(--text-muted); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.footer-nav a {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.footer-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
/* legacy */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.footer-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.no-js .reveal,
.reveal-fallback .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   PROFILE DETAIL PAGE
   ============================================================ */
.profile-detail-page main { padding-top: var(--header-h); }

.profile-hero {
  padding: 60px 0 40px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.profile-hero-inner { display: flex; flex-direction: column; gap: 32px; }

.profile-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.profile-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), rgba(196,168,130,0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
}
.avatar-initials {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: 2px;
}

.profile-avatar.photo {
  background: transparent;
  border: 2px solid var(--accent);
  overflow: hidden;
  padding: 0;
}
.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(8%) contrast(1.05);
  transition: filter 0.3s ease;
}
.profile-avatar.photo:hover .profile-avatar-img {
  filter: grayscale(0%) contrast(1.08);
}
.profile-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4caf50;
  flex-shrink: 0;
}
.profile-header-info { flex: 1; }
.profile-name {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 8px;
}
.profile-title {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.profile-current {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.profile-contact-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  transition: all var(--transition);
}
.contact-chip:hover { color: var(--accent); border-color: var(--accent); }



/* PD Sections */
.pd-section { padding: 64px 0; }
.pd-section.alt-bg { background: var(--bg-alt); }
.pd-section-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.pd-section-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 4px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.pd-section-label i {
  font-size: 18px;
  color: var(--accent);
}
.pd-section-label span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Summary */
.pd-summary {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}
.pd-skills-block h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pd-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.skill-tag:hover { border-color: var(--accent); color: var(--accent); }

/* Career Total */
.pd-total-years {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(196,168,130,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

/* Career Timeline */
.career-timeline { display: flex; flex-direction: column; }
.timeline-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 0 12px 28px;
  border-left: 2px solid var(--border);
  margin-bottom: 4px;
}
.timeline-item {
  display: flex;
  gap: 0;
  position: relative;
  padding-bottom: 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.tl-marker {
  flex-shrink: 0;
  width: 28px;
  position: relative;
}
.tl-marker::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: 2px solid var(--bg-base);
  z-index: 1;
}
.tl-marker::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 18px;
  width: 2px;
  bottom: -32px;
  background: var(--border);
}
.timeline-item:last-child .tl-marker::after { display: none; }
.tl-marker.current-marker::before {
  background: var(--accent);
  width: 10px; height: 10px;
  left: 9px;
  box-shadow: 0 0 0 3px rgba(196,168,130,0.2);
}
.tl-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color var(--transition);
}
.timeline-item.current .tl-content { border-color: rgba(196,168,130,0.2); }
.tl-content:hover { border-color: var(--border-strong); }
.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tl-company { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.tl-role { font-size: 13px; color: var(--accent); font-weight: 500; }
.tl-meta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.tl-period {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.tl-badge {
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}
.current-badge {
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(196,168,130,0.25);
}
.tl-duties {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tl-duties li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.tl-duties li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent);
}

/* Timeline 더보기 */
.tl-desc {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  margin: -6px 0 10px;
  padding-left: 2px;
}
.tl-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(196,168,130,0.2);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}
.tl-more-btn:hover {
  background: rgba(196,168,130,0.18);
  border-color: rgba(196,168,130,0.35);
}
.tl-more-btn i {
  font-size: 10px;
  transition: transform 0.25s;
}
.tl-more-btn.open i { transform: rotate(180deg); }
.tl-achievements {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  margin-top: 0;
}
.tl-achievements.expanded {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
}
.tl-ach-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tl-ach-title i { font-size: 9px; }
.tl-ach-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  list-style: none;
}
.tl-ach-list li {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.tl-ach-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent);
}

/* Education */
.edu-grid { display: flex; flex-direction: column; gap: 16px; }
.edu-card {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}
.edu-card:hover { border-color: var(--border-strong); }
.edu-school-icon {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.edu-school { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.edu-degree { font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.edu-period { font-size: 12px; color: var(--text-muted); }

/* Activities */
.activity-list { display: flex; flex-direction: column; gap: 16px; }
.activity-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  align-items: flex-start;
  transition: all var(--transition);
}
.activity-item:hover { border-color: var(--border-strong); }
.act-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.act-icon.gov { background: rgba(59,130,246,0.15); color: #6ea8fe; }
.act-icon.global { background: rgba(34,197,94,0.12); color: #4ade80; }
.act-icon.mentor { background: rgba(168,85,247,0.12); color: #c084fc; }
.act-icon.consult { background: var(--accent-subtle); color: var(--accent); }
.act-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.act-org { font-size: 12px; color: var(--text-muted); }

/* Credentials */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cred-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.cred-block h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cred-block h4 i { color: var(--accent); }
.cred-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cred-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}
.cred-list li::before { content: '·'; position: absolute; left: 4px; color: var(--accent); }
.patent-block { grid-column: span 2; }
.patent-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 16px;
  padding: 20px;
  background: var(--accent-subtle);
  border: 1px solid rgba(196,168,130,0.2);
  border-radius: var(--radius-md);
}
.patent-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.patent-sub-stats {
  display: flex;
  gap: 24px;
}
.patent-sub-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.patent-sub-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}
.patent-sub-stats span:not(.patent-sub-num) {
  font-size: 11px;
  color: var(--text-muted);
}
.patent-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Media */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.media-card {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}
.media-card:hover { border-color: var(--border-strong); }
.media-type {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.media-type.tv { background: rgba(239,68,68,0.15); color: #f87171; }
.media-type.conf { background: rgba(59,130,246,0.12); color: #6ea8fe; }
.media-type.paper { background: rgba(34,197,94,0.12); color: #4ade80; }
.media-type.press { background: rgba(168,85,247,0.1); color: #c084fc; }
.media-info h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.media-info p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.media-date { font-size: 11px; color: var(--text-muted); margin-top: 8px; font-weight: 600; }

/* PD Contact CTA */
.pd-contact-cta {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.pd-contact-inner { text-align: center; }
.pd-contact-inner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 32px;
}
.pd-contact-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .expertise-grid, .advisory-grid { grid-template-columns: repeat(2, 1fr); }
  .snapshot-grid { grid-template-columns: repeat(2, 1fr); }
  .snapshot-card:nth-child(2) { border-right: none; }
  .snapshot-card:nth-child(1),
  .snapshot-card:nth-child(2) { border-bottom: 1px solid var(--border); }
  .bm-grid, .experience-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-section-inner { grid-template-columns: 1fr; gap: 24px; }
  .pd-section-label { position: static; flex-direction: row; align-items: center; }

}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .site-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: rgba(11,13,17,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 8px; z-index: 999; }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 18px; padding: 12px 24px; }
  .mobile-menu-btn { display: flex; }
  .btn-cta { display: none; }
  .btn-edit-mode span { display: none; }

  .expertise-grid, .advisory-grid, .bm-grid, .experience-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .snapshot-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-name { gap: 12px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { padding: 10px 18px; font-size: 13px; }

  .profile-header-card { flex-direction: column; }
  .cred-grid { grid-template-columns: 1fr; }
  .patent-block { grid-column: span 1; }
  .media-grid { grid-template-columns: 1fr; }
  .tl-header { flex-direction: column; }
  .tl-meta-block { align-items: flex-start; }

  .contact-info { flex-direction: column; gap: 16px; align-items: center; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .content-section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .snapshot-grid { grid-template-columns: 1fr; }
  .snapshot-card { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-name { flex-direction: column; gap: 4px; }
  .name-en { font-size: 0.7em; }
}

/* ============================================================
   MEDIA LINK BUTTONS
   ============================================================ */
.media-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.media-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(196,168,130,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.media-link-btn:hover {
  background: rgba(196,168,130,0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196,168,130,0.15);
}
.media-link-btn i { font-size: 11px; }

/* ============================================================
   SNS ICON ROW — v3: display:none 완전 제거, URL없으면 dimmed
   ============================================================ */
.sns-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 20px;
  justify-content: flex-start;
}
/* v3: 모든 SNS 버튼 항상 표시 (display:none 제거) */
.sns-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}
.sns-icon-btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 6px 16px rgba(196,168,130,0.2);
}
/* 채널별 hover 컬러 */
.sns-icon-btn.sns-linkedin:hover  { color: #0a66c2; border-color: #0a66c2; box-shadow: 0 6px 16px rgba(10,102,194,0.2); }
.sns-icon-btn.sns-youtube:hover   { color: #ff0000; border-color: #ff0000; box-shadow: 0 6px 16px rgba(255,0,0,0.2); }
.sns-icon-btn.sns-facebook:hover  { color: #1877f2; border-color: #1877f2; box-shadow: 0 6px 16px rgba(24,119,242,0.2); }
.sns-icon-btn.sns-instagram:hover { color: #e1306c; border-color: #e1306c; box-shadow: 0 6px 16px rgba(225,48,108,0.2); }
.sns-icon-btn.sns-twitter:hover   { color: #e7e7e7; border-color: #e7e7e7; box-shadow: 0 6px 16px rgba(231,231,231,0.15); }
.sns-icon-btn.sns-naver:hover     { color: #03c75a; border-color: #03c75a; box-shadow: 0 6px 16px rgba(3,199,90,0.2); }
.sns-icon-btn.sns-brunch:hover    { color: #c4a882; border-color: #c4a882; box-shadow: 0 6px 16px rgba(196,168,130,0.2); }
.sns-icon-btn.sns-remember:hover  { color: #4f9cf9; border-color: #4f9cf9; box-shadow: 0 6px 16px rgba(79,156,249,0.2); }

/* tooltip */
.sns-icon-btn::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,17,22,0.92);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.sns-icon-btn:hover::after { opacity: 1; }

/* URL 미설정 SNS 버튼: 흐릿하게 표시 */
.sns-icon-btn[data-no-url] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ============================================================
   ADMIN ENTRY BUTTON (헤더)
   ============================================================ */
.btn-admin-entry {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
  background: transparent;
  cursor: pointer;
}
.btn-admin-entry:hover {
  color: var(--accent);
  border-color: rgba(196,168,130,0.4);
  background: var(--accent-subtle);
}
.btn-admin-entry.logged-in {
  color: #4ade80;
  border-color: rgba(74,222,128,0.3);
  background: rgba(74,222,128,0.07);
}
.btn-admin-entry.logged-in i { color: #4ade80; }

/* ============================================================
   AUTH MODAL
   ============================================================ */
#authModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}
#authModal.closing { animation: fadeOut 0.25s ease forwards; }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

.auth-modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: var(--shadow-deep);
  animation: slideUp 0.25s cubic-bezier(0.4,0,0.2,1);
}
.auth-modal-box.shake { animation: shake 0.4s cubic-bezier(0.4,0,0.2,1); }

@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-6px); }
  80%      { transform: translateX(6px); }
}

.auth-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.auth-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }

.auth-logo { text-align: center; margin-bottom: 16px; }
.auth-logo i {
  font-size: 32px;
  color: var(--accent);
  background: var(--accent-subtle);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196,168,130,0.25);
}
.auth-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.auth-title span { font-size: 14px; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.auth-desc {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.auth-field label i { color: var(--accent); font-size: 11px; }
.auth-field input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}
.auth-field input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.07);
}
.auth-pw-wrap { position: relative; }
.auth-pw-wrap input { padding-right: 44px; }
.auth-pw-toggle {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: color var(--transition);
}
.auth-pw-toggle:hover { color: var(--accent); }

.auth-error {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #f87171;
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.auth-error i { flex-shrink: 0; }

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  background: var(--accent);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition);
  margin-top: 4px;
}
.auth-submit:hover { background: var(--accent-light); transform: translateY(-1px); }

.auth-logged { text-align: center; }
.auth-logged-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.auth-logged-info i { font-size: 18px; }
.auth-logged-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-edit-now, .auth-go-admin, .auth-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
  text-decoration: none;
}
.auth-edit-now {
  background: var(--accent);
  color: var(--text-inverse);
  border: none;
}
.auth-edit-now:hover { background: var(--accent-light); }
.auth-go-admin {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.auth-go-admin:hover { color: var(--text-primary); border-color: var(--border-strong); }
.auth-logout-btn {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(248,113,113,0.25);
}
.auth-logout-btn:hover { background: rgba(248,113,113,0.08); }

/* ============================================================
   ADMIN PAGE
   ============================================================ */
.admin-page body { background: var(--bg-base); }
.admin-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-header h1 { font-size: 20px; font-weight: 700; }
.admin-header .admin-nav a {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.admin-header .admin-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.07); }
.admin-main { max-width: 900px; margin: 0 auto; padding: 40px 24px; }
.admin-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.admin-section h2 { font-size: 16px; font-weight: 700; margin-bottom: 24px; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
.admin-section h2 i { color: var(--accent); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.07); }
.form-group textarea { min-height: 80px; resize: vertical; line-height: 1.6; }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 10px 22px; border-radius: 100px; transition: all var(--transition); cursor: pointer; }
.admin-btn-primary { background: var(--accent); color: var(--text-inverse); border: none; }
.admin-btn-primary:hover { background: var(--accent-light); }
.admin-btn-secondary { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.admin-btn-secondary:hover { color: var(--text-primary); border-color: var(--border-strong); }
.admin-btn-danger { background: transparent; color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.admin-btn-danger:hover { background: rgba(248,113,113,0.1); }
.admin-status { display: none; padding: 10px 16px; border-radius: var(--radius-sm); font-size: 13px; margin-top: 16px; }
.admin-status.show { display: block; }
.admin-status.success { background: rgba(74,222,128,0.1); color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }
.admin-status.error { background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
