/* ============================================================
   PARK HYUN — Personal Brand Website
   Premium Dark Theme with KR/EN Language Support
   ============================================================ */

/* ---- 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);
  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;
  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
   ============================================================ */
[data-lang-show] { display: none; }
html[data-lang="ko"] [data-lang-show="ko"] { display: revert; }
html[data-lang="en"] [data-lang-show="en"] { display: revert; }

/* For inline/block elements that need special display */
span[data-lang-show], a[data-lang-show] {
  display: none;
}
html[data-lang="ko"] span[data-lang-show="ko"],
html[data-lang="ko"] a[data-lang-show="ko"] { display: inline; }
html[data-lang="en"] span[data-lang-show="en"],
html[data-lang="en"] a[data-lang-show="en"] { display: inline; }

/* Editable elements with data-lang-show */
html[data-lang="ko"] .editable[data-lang-show="ko"] { display: block; }
html[data-lang="en"] .editable[data-lang-show="en"] { display: block; }

/* ============================================================
   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;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 20px;
}
.eyebrow-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(196,168,130,0.25);
  padding: 6px 16px;
  border-radius: 100px;
}

.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); }
}

/* ============================================================
   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-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  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-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(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* Profile Hero */
.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-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); }

.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  gap: 4px;
}
.pstat:last-child { border-right: none; }
.pstat strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.pstat span { font-size: 11px; color: var(--text-muted); }

/* 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);
}

/* 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; }
  .profile-stats-row { grid-template-columns: repeat(3, 1fr); }
  .pstat:nth-child(3) { border-right: none; }
  .pstat:nth-child(1), .pstat:nth-child(2), .pstat:nth-child(3) { border-bottom: 1px solid var(--border); }
}

@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; }
  .profile-stats-row { grid-template-columns: repeat(2, 1fr); }
  .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-inner { 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); }
  .profile-stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-name { flex-direction: column; gap: 4px; }
  .name-en { font-size: 0.7em; }
}

/* ============================================================
   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; } }
