/* ==========================================================================
   MINI CLOUD ACADEMIC ENGINE: "QUIET LUXURY" 3D SCHOLAR SHOWCASE
   Design Language: Swiss Typography × High-Intellect Glassmorphism × 3D Orbit
   ========================================================================== */

:root {
  /* Core Luxury Slate / Warm Light Palette */
  --bg-page: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f3f5;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-subtle: #e9ecef;
  
  --text-primary: #121826;
  --text-secondary: #3b4555;
  --text-muted: #64748b;
  
  /* Brand Champagne Gold Accents */
  --gold-primary: #a17a3a;
  --gold-light: #c8a35e;
  --gold-soft: rgba(161, 122, 58, 0.12);
  
  /* Track 1: Clinical RCTs (Emerald) */
  --track-emerald: #059669;
  --track-emerald-glow: rgba(5, 150, 105, 0.12);
  --track-emerald-border: rgba(5, 150, 105, 0.35);
  
  /* Track 2: Dental Robotics & MIR (Royal Amethyst) */
  --track-amethyst: #7c3aed;
  --track-amethyst-glow: rgba(124, 58, 237, 0.12);
  --track-amethyst-border: rgba(124, 58, 237, 0.35);
  
  /* Track 3: Monolithic Zirconia (Sapphire Titanium) */
  --track-sapphire: #0284c7;
  --track-sapphire-glow: rgba(2, 132, 199, 0.12);
  --track-sapphire-border: rgba(2, 132, 199, 0.35);
  
  /* Track 4: Surface Chemistry & Adhesion (Champagne Amber) */
  --track-amber: #d97706;
  --track-amber-glow: rgba(217, 119, 6, 0.12);
  --track-amber-border: rgba(217, 119, 6, 0.35);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Newsreader', 'Cinzel', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Dimensions & Physics */
  --max-width: 1040px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-luxury: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 20px 25px -5px rgba(0, 0, 0, 0.03);
  --shadow-3d: 0 25px 50px -12px rgba(0, 0, 0, 0.22);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-page: #0b0e14;
  --bg-surface: #131822;
  --bg-surface-elevated: #1a2230;
  --bg-glass: rgba(19, 24, 34, 0.75);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-subtle: #20293a;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --gold-primary: #dfba73;
  --gold-light: #fae4ad;
  --gold-soft: rgba(223, 186, 115, 0.15);
  
  --track-emerald: #10b981;
  --track-emerald-glow: rgba(16, 185, 129, 0.18);
  --track-emerald-border: rgba(16, 185, 129, 0.45);
  
  --track-amethyst: #a78bfa;
  --track-amethyst-glow: rgba(167, 139, 250, 0.18);
  --track-amethyst-border: rgba(167, 139, 250, 0.45);
  
  --track-sapphire: #38bdf8;
  --track-sapphire-glow: rgba(56, 189, 248, 0.18);
  --track-sapphire-border: rgba(56, 189, 248, 0.45);
  
  --track-amber: #fbbf24;
  --track-amber-glow: rgba(251, 191, 36, 0.18);
  --track-amber-border: rgba(251, 191, 36, 0.45);
}

/* ==========================================================================
   Reset & Ambient Background
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.35;
  z-index: -1;
}

.glow-top {
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--gold-soft), var(--track-sapphire-glow), transparent);
}

.glow-bottom {
  top: 900px;
  left: -150px;
  background: radial-gradient(circle, var(--track-amethyst-glow), var(--track-emerald-glow), transparent);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo-crest {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--gold-primary);
}

.theme-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-btn:hover {
  color: var(--text-primary);
  border-color: var(--gold-primary);
}

.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.main-content {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-avatar-wrapper {
  display: flex;
  justify-content: center;
}

.luxury-card-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-luxury);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.avatar-seal {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 3px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.2rem;
  position: relative;
}

[data-theme="dark"] .avatar-seal {
  background: linear-gradient(135deg, #090d16 0%, #151d2e 100%);
}

.seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.monogram {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: 0.05em;
}

.seal-sub {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  font-weight: 600;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.institution-tag {
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge-pill {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold-primary);
  background: var(--gold-soft);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.scholar-name {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.scholar-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.scholar-affiliation {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.bio-lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-luxury {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px var(--gold-soft);
}

.btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--gold-soft);
}

.btn-glass {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-glass:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.metrics-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-luxury);
}

.metric-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.m-val {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.m-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 35px;
  background: var(--border-subtle);
}

/* ==========================================================================
   Section Common Headers
   ========================================================================== */
.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.luxury-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0.4rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.section-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   4 Research Pillars
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition);
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-card.track-emerald { border-top: 4px solid var(--track-emerald); }
.pillar-card.track-amethyst { border-top: 4px solid var(--track-amethyst); }
.pillar-card.track-sapphire { border-top: 4px solid var(--track-sapphire); }
.pillar-card.track-amber { border-top: 4px solid var(--track-amber); }

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pillar-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-emerald { background: var(--track-emerald-glow); color: var(--track-emerald); }
.badge-amethyst { background: var(--track-amethyst-glow); color: var(--track-amethyst); }
.badge-sapphire { background: var(--track-sapphire-glow); color: var(--track-sapphire); }
.badge-amber { background: var(--track-amber-glow); color: var(--track-amber); }

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.pillar-keypoints {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.pillar-keypoints li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pillar-keypoints li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-size: 1rem;
  top: -2px;
}

/* ==========================================================================
   3D ROTATING RESEARCH CAROUSEL (RICH PAPER CARD DISPLAY)
   ========================================================================== */
.turntable-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.turntable-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.track-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legend-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.legend-btn:hover, .legend-btn.active {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--gold-primary);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-all { background: var(--gold-primary); }
.dot-emerald { background: var(--track-emerald); }
.dot-amethyst { background: var(--track-amethyst); }
.dot-sapphire { background: var(--track-sapphire); }
.dot-amber { background: var(--track-amber); }

.turntable-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.control-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition);
}

.control-circle-btn:hover {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
}

/* 3D Perspective Stage */
.turntable-stage {
  position: relative;
  width: 100%;
  height: 540px;
  perspective: 1400px;
  perspective-origin: 50% 28%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.turntable-stage:active {
  cursor: grabbing;
}

/* Floor Pedestal Disc */
.pedestal-disc {
  position: absolute;
  width: 740px;
  height: 740px;
  border-radius: 50%;
  transform: rotateX(75deg) translateZ(-90px);
  border: 2px solid var(--border-glass);
  background: radial-gradient(circle, var(--bg-surface-elevated) 0%, transparent 70%);
  pointer-events: none;
}

.disc-grid-ring {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed var(--gold-primary);
  opacity: 0.35;
}

/* 3D Carousel Container */
.turntable-carousel {
  position: absolute;
  width: 320px;
  height: 440px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3D Paper Manuscript Cards */
.paper-3d-card {
  position: absolute;
  width: 320px;
  height: 440px;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.card-glass-body {
  width: 100%;
  height: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-3d);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
  /* Completely hide mirrored backface so reverse text never shows */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.paper-3d-card:hover .card-glass-body {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.35);
}

.paper-3d-card.track-emerald .card-glass-body { border-top: 4px solid var(--track-emerald); }
.paper-3d-card.track-amethyst .card-glass-body { border-top: 4px solid var(--track-amethyst); }
.paper-3d-card.track-sapphire .card-glass-body { border-top: 4px solid var(--track-sapphire); }
.paper-3d-card.track-amber .card-glass-body { border-top: 4px solid var(--track-amber); }

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.c-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.c-year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card-journal-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.card-paper-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-author-line {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   EMBEDDED STUDY HIGHLIGHTS BOX ON 3D CARD
   ========================================================================== */
.card-highlights-box {
  flex: 1;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.track-box-emerald {
  background: var(--track-emerald-glow);
  border: 1px solid var(--track-emerald-border);
}

.track-box-amethyst {
  background: var(--track-amethyst-glow);
  border: 1px solid var(--track-amethyst-border);
}

.track-box-sapphire {
  background: var(--track-sapphire-glow);
  border: 1px solid var(--track-sapphire-border);
}

.track-box-amber {
  background: var(--track-amber-glow);
  border: 1px solid var(--track-amber-border);
}

.hl-header {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.4rem;
}

.hl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.hl-list li {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.35;
  position: relative;
  padding-left: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hl-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-size: 0.75rem;
  top: 0;
}

.card-footer-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.55rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.zoom-prompt {
  color: var(--gold-primary);
  font-weight: 700;
}

.turntable-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* ==========================================================================
   Complete Directory Publications
   ========================================================================== */
.pub-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover {
  background: var(--bg-surface-elevated);
}

.chip.active {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  width: 260px;
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.85rem;
  color: var(--text-primary);
  width: 100%;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pub-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition);
}

.pub-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
}

.track-border-emerald { border-left: 4px solid var(--track-emerald); }
.track-border-amethyst { border-left: 4px solid var(--track-amethyst); }
.track-border-sapphire { border-left: 4px solid var(--track-sapphire); }
.track-border-amber { border-left: 4px solid var(--track-amber); }

.pub-year-badge {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.pub-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.pub-authors {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.highlight-author {
  color: var(--gold-primary);
  font-weight: 600;
}

.pub-venue {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.pub-links {
  display: flex;
  gap: 0.75rem;
}

.pub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.pub-link:hover {
  background: var(--gold-soft);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

/* ==========================================================================
   Credentials & Timeline
   ========================================================================= */
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.luxury-frame-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-luxury);
}

.frame-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.6rem;
}

.luxury-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.luxury-timeline li {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 1rem;
}

.tl-year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.tl-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.tl-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.luxury-contact-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-luxury);
}

.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.contact-header h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-c-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.25rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.c-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-type {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
}

.c-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.c-plain {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================================================
   LUXURY EXPANSION MODAL
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-card-expanded {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-card-expanded {
  transform: scale(1);
}

.modal-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.modal-track-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.modal-close-icon {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-icon:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-scroll-body {
  padding: 2rem;
  overflow-y: auto;
}

.modal-year-journal {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.modal-authors {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.modal-keypoints-box {
  background: var(--gold-soft);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-keypoints-box h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.modal-keypoints-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-keypoints-box li {
  font-size: 0.86rem;
  color: var(--text-primary);
  position: relative;
  padding-left: 1.2rem;
}

.modal-keypoints-box li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
}

.modal-abstract-section {
  margin-bottom: 1.5rem;
}

.modal-abstract-section h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.modal-abstract-section p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.modal-bibtex-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.bib-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.bib-header h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.btn-luxury-sm {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--gold-primary);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-bibtex-section pre {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  overflow-x: auto;
  line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  background: var(--bg-surface);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  padding: 4px 12px;
  border-radius: 20px;
}

.brand-name {
  color: var(--gold-primary);
}

.engine-ver {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .scholar-affiliation, .hero-actions {
    justify-content: center;
  }
  .metrics-strip {
    flex-direction: column;
    text-align: center;
  }
  .metric-divider {
    display: none;
  }
  .pillars-grid, .timeline-grid, .contact-card-grid {
    grid-template-columns: 1fr;
  }
  .pub-item {
    grid-template-columns: 1fr;
  }
  .turntable-stage {
    height: 480px;
  }
  .turntable-carousel {
    width: 280px;
    height: 400px;
  }
  .paper-3d-card {
    width: 280px;
    height: 400px;
  }
}
