/* ============================================================
   DESIGN SYSTEM — DARK (default)
   ============================================================ */
:root {
  --bg:             #0A0A0A;
  --surface:        #141414;
  --border:         #242424;
  --text-primary:   #F0F0F0;
  --text-secondary: #888888;
  --accent:         #4ADE80;
  --accent-warm:    #FBBF24;
  --accent-blue:    #818CF8;

  --radius:    4px;
  --radius-md: 8px;
  --container: 1100px;
  --nav-h:     64px;
  --ease:      0.18s ease;
}

/* ── LIGHT THEME ── */
[data-theme="light"] {
  --bg:             #F8F8F5;
  --surface:        #FFFFFF;
  --border:         #E0E0DC;
  --text-primary:   #111111;
  --text-secondary: #666660;
  --accent:         #16A34A;
  --accent-warm:    #C2860A;
  --accent-blue:    #4F46E5;
}

/* ── THEME TOGGLE ICON VISIBILITY ── */
.icon-sun  { display: block; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background var(--ease), color var(--ease);
}
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   UTILITIES
   ============================================================ */
.mono    { font-family: 'IBM Plex Mono', monospace; }
.accent  { color: var(--accent); }
.hidden  { display: none !important; }

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

.section { padding: 5rem 0; }

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.link-arrow {
  color: var(--accent);
  font-size: 0.875rem;
  white-space: nowrap;
  transition: opacity var(--ease);
}
.link-arrow:hover { opacity: 0.75; }

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h2 { font-size: 2rem; margin-bottom: 0; }

p { color: var(--text-secondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
p strong { color: var(--text-primary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--ease);
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #0A0A0A; }
.btn-primary:hover { filter: brightness(1.1); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.78rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }

.btn-text {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  transition: opacity var(--ease);
}
.btn-text:hover { opacity: 0.75; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 10000;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--ease);
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--text-primary); }

/* ── Theme toggle ── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.375rem 0.425rem;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
  flex-shrink: 0;
  margin-left: auto;
}
.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}
.theme-toggle svg { display: block; }

.lang-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--ease);
  flex-shrink: 0;
}
.lang-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.lang-toggle.active {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  padding: 2.5rem 0 5rem;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}

.hero-section > .container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

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

/* ── Profile block (photo + name + roles) — centered above hero-inner ── */
.hero-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin: 0;
}

.hero-h1 {
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* ── Hero banner slideshow ── */
.hero-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color var(--ease);
}
.hero-banner:hover { border-color: var(--text-secondary); }

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
}
.banner-placeholder .placeholder-icon { font-size: 2rem; opacity: 0.3; }

.banner-dots {
  position: absolute;
  bottom: 0.875rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.425rem;
  z-index: 2;
}

.banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.banner-dot.active {
  background: #fff;
  transform: scale(1.35);
}
.banner-dot:hover:not(.active) { background: rgba(255, 255, 255, 0.75); }

/* ── Circular photo ── */
.photo-circle {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 2px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--ease);
}
.photo-circle:hover { border-color: var(--accent); }

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-circle-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
}

.trust-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  text-align: center;
}

.trust-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.trust-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

.about-prose h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }

.about-facts {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  transition: background var(--ease), border-color var(--ease);
}

.facts-title {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.facts-list { display: flex; flex-direction: column; gap: 0.875rem; }
.facts-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  line-height: 1.5;
}
.fact-star { flex-shrink: 0; margin-top: 0.1em; }

/* ── About subsections ── */
.about-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.about-subsection {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.about-subsection:last-child { border-bottom: none; margin-bottom: 0; }

.sub-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Research tags */
.research-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rtag {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: rgba(74,222,128,0.06);
  transition: all var(--ease);
}
.rtag:hover { border-color: var(--accent); color: var(--accent); }
[data-theme="light"] .rtag { background: rgba(22,163,74,0.05); }

/* Experience timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* vertical connecting line */
.timeline::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 1.75rem;
  bottom: 1.75rem;
  width: 1px;
  background: var(--border);
}

.tl-item {
  display: grid;
  grid-template-columns: 1.85rem 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.75rem;
  position: relative;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tl-icon svg { width: 14px; height: 14px; }

.tl-body { display: flex; flex-direction: column; gap: 0.35rem; padding-top: 0.2rem; }

.tl-role {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}
.tl-role strong { color: var(--accent); font-weight: 500; }

.tl-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.tl-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tl-bullets li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
}

.tl-bullets li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.5;
}

.tl-bullets li strong { color: var(--text-primary); font-weight: 500; }

/* Education */
.edu-list { display: flex; flex-direction: column; gap: 1.25rem; }

.edu-item { display: flex; flex-direction: column; gap: 0.25rem; }

.edu-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.edu-degree {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.edu-year {
  font-size: 0.7rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.edu-school {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

.edu-thesis {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
  border-left: 2px solid var(--border);
  padding-left: 0.75rem;
  margin-top: 0.25rem;
}

/* Responsive: shrink icon slightly on small screens */
@media (max-width: 540px) {
  .tl-icon { width: 1.6rem; height: 1.6rem; }
  .tl-icon svg { width: 12px; height: 12px; }
  .timeline::before { left: 0.78rem; }
}

/* ============================================================
   WRITING
   ============================================================ */
.writing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.writing-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--ease), background var(--ease);
}
.post-card:hover { border-color: color-mix(in srgb, var(--border) 50%, var(--accent)); }

.post-regular { flex: 1; }

.badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  margin-bottom: 0.875rem;
  width: fit-content;
}

.badge-research  { background: rgba(129,140,248,0.12); color: var(--accent-blue); }
.badge-enterprise{ background: rgba(251,191,36, 0.12); color: var(--accent-warm); }
.badge-llm       { background: rgba(74, 222,128,0.12); color: var(--accent); }

[data-theme="light"] .badge-research  { background: rgba(79,70,229,0.1);  color: #4F46E5; }
[data-theme="light"] .badge-enterprise{ background: rgba(194,134,10,0.1); color: #C2860A; }
[data-theme="light"] .badge-llm       { background: rgba(22,163,74,0.1);  color: #16A34A; }

.post-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

.post-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.post-sep { color: var(--border); }

/* ============================================================
   PUBLICATIONS
   ============================================================ */

/* ── Circle stats ── */
.pub-circles {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0 2.5rem;
  margin-bottom: 2.5rem;
}

.pub-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.pub-circle-ring {
  width: 196px;
  min-height: 110px;
  border-radius: 14px;
  border: 1.5px solid rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 0 28px rgba(74, 222, 128, 0.07);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.pub-circle-ring:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.18);
  transform: translateY(-3px);
}

.pub-circle-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pub-circle-value--sm {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.75;
  color: var(--text-primary);
}

.pub-circle-value--xs {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.8;
  color: var(--text-primary);
}

.pub-circle-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

[data-theme="light"] .pub-circle-ring {
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.03);
  box-shadow: 0 0 28px rgba(22, 163, 74, 0.06);
}
[data-theme="light"] .pub-circle-ring:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(22, 163, 74, 0.14);
}

/* ── Venue logo marquee ── */
.venue-marquee {
  overflow: hidden;
  margin-bottom: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.venue-marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marquee-scroll 18s linear infinite;
}
.venue-marquee:hover .venue-marquee-track { animation-play-state: paused; }

.venue-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity var(--ease), filter var(--ease);
  flex-shrink: 0;
}
.venue-logo:hover { opacity: 1; filter: grayscale(0); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Co-authors / Research team ── */
.coauthors-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.coauthors-section .sub-label { margin-bottom: 1.5rem; }

.coauthors-carousel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
  line-height: 1;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.carousel-btn:disabled { opacity: 0.28; cursor: not-allowed; }

.coauthors-track-wrap {
  flex: 1;
  overflow: hidden;
  padding: 8px 0;
  margin: -8px 0;
}

.coauthors-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.coauthor-item {
  flex: 0 0 182px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.coauthor-avatar {
  width: 117px;
  height: 117px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
  border: 2px solid;
  transition: transform var(--ease);
  will-change: transform;
}

.team-quote {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem 2.5rem;
  margin-bottom: 2.5rem;
  max-width: 100%;
  overflow: hidden;
}
.team-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.15em;
  left: 0.35rem;
  font-size: 6rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}
.team-quote::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(74,222,128,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.team-quote p {
  font-size: 0.93rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.coauthor-item { overflow: visible; }
.coauthor-avatar:hover { transform: scale(1.07); z-index: 1; position: relative; }
.coauthor-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.avatar-teal   { background: rgba(20,184,166,0.12); border-color: rgba(20,184,166,0.45); color: #2dd4bf; }
.avatar-blue   { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.45); color: #818cf8; }
.avatar-purple { background: rgba(167,139,250,0.12); border-color: rgba(167,139,250,0.45); color: #a78bfa; }
.avatar-amber  { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.45); color: #fbbf24; }
.avatar-rose   { background: rgba(251,113,133,0.12); border-color: rgba(251,113,133,0.45); color: #fb7185; }
.avatar-green  { background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.45); color: #4ade80; }

.coauthor-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.coauthor-inst {
  font-size: 0.62rem;
  color: var(--text-secondary);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.45;
}

.papers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.paper-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--ease), background var(--ease);
}
.paper-card:hover { border-color: color-mix(in srgb, var(--border) 30%, var(--text-secondary)); }

.paper-header { margin-bottom: 0.875rem; }

.status-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
  font-weight: 500;
}
.status-accepted    { background: #d1fae5; color: #065f46; }
.status-rebuttal    { background: #fef3c7; color: #92400e; }
.status-under-review{ background: #e0e7ff; color: #3730a3; }
.status-preparation { background: #f3f4f6; color: #6b7280; }

.paper-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.paper-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.venue {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
}

.rank-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius);
  font-weight: 500;
}
.rank-a-star { background: rgba(74,222,128,0.12); color: var(--accent);      border: 1px solid rgba(74,222,128,0.25); }
.rank-a      { background: rgba(129,140,248,0.12); color: var(--accent-blue); border: 1px solid rgba(129,140,248,0.25); }

[data-theme="light"] .rank-a-star { background: rgba(22,163,74,0.1);  color: #16A34A; border-color: rgba(22,163,74,0.25); }
[data-theme="light"] .rank-a      { background: rgba(79,70,229,0.1);  color: #4F46E5; border-color: rgba(79,70,229,0.25); }

.paper-type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.topic-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  padding: 0.15rem 0.45rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

[data-theme="light"] .topic-tag { background: rgba(0,0,0,0.04); }

.paper-authors {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.875rem;
}

.paper-abstract-wrap { position: relative; margin-bottom: 1rem; }

.paper-abstract {
  font-size: 0.875rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: none;
}
.paper-abstract.expanded {
  display: block;
  overflow: visible;
}

.abstract-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  cursor: pointer;
  letter-spacing: 0.02em;
}
.abstract-toggle:hover { text-decoration: underline; }

.paper-rq { margin-bottom: 1rem; }

.rq-toggle {
  background: none;
  border: none;
  color: var(--accent-blue);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--ease);
}
.rq-toggle:hover { opacity: 0.75; }

.rq-body {
  margin-top: 0.875rem;
  padding: 1rem 1.125rem;
  background: rgba(129,140,248,0.04);
  border-left: 2px solid var(--accent-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.rq-body p { font-size: 0.8rem; margin: 0; line-height: 1.6; }
.rq-body p strong { color: var(--accent-blue); font-family: 'IBM Plex Mono', monospace; }

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.paper-link {
  font-size: 0.78rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  transition: all var(--ease);
}
.paper-link:hover { border-color: var(--accent); color: var(--accent); }

/* ── Papers slideshow ── */
.papers-slideshow { overflow: hidden; }

.papers-slide-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.paper-slide {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: background var(--ease), border-color var(--ease);
}

.paper-affil {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  display: block;
  margin-top: 0.2rem;
}

.paper-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 1rem 0;
}

.paper-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.875rem;
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: var(--radius);
}

[data-theme="light"] .paper-kpi {
  background: rgba(22, 163, 74, 0.05);
  border-color: rgba(22, 163, 74, 0.15);
}

.kpi-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.kpi-label {
  font-size: 0.62rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.paper-imgs {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

.paper-img-wrap {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease);
}
.paper-img-wrap:hover { border-color: var(--text-secondary); }

.paper-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}
.paper-img:hover { transform: scale(1.03); }

/* ── Image lightbox ── */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  cursor: zoom-out;
}
.img-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
  cursor: default;
}
.img-lightbox.active .lightbox-img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
  line-height: 1;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.paper-img-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
}

.placeholder-icon { font-size: 1.75rem; opacity: 0.35; }

.placeholder-text {
  font-size: 0.62rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
}

.slide-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
  line-height: 1;
  flex-shrink: 0;
}
.slide-nav-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.slide-nav-btn:disabled { opacity: 0.28; cursor: not-allowed; }

.slide-indicators {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background var(--ease), transform var(--ease);
}
.slide-dot.active { background: var(--accent); transform: scale(1.3); }
.slide-dot:hover:not(.active) { background: var(--text-secondary); }

.slide-counter {
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  min-width: 2.75rem;
  text-align: center;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--ease), background var(--ease);
}
.service-card:hover { border-color: var(--accent); }

.service-icon { font-size: 1.75rem; margin-bottom: 1rem; }

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-formats { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.format-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { text-align: center; }

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.contact-headline {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.contact-sub {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-secondary);
  transition: color var(--ease);
  letter-spacing: 0.03em;
}
.social-link:hover { color: var(--accent); }

/* ============================================================
   MISSION PAGE
   ============================================================ */
.mission-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.mission-header {
  margin-bottom: 3rem;
}

.mission-back {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  transition: color var(--ease);
}
.mission-back:hover { color: var(--accent); }

.mission-title {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 0.5rem;
}

.mission-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.mission-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.mission-img {
  width: 90%;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: cover;
  cursor: zoom-in;
}

.mission-img-caption {
  width: 90%;
  margin: 0.6rem auto 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
}

.mission-caption-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
}
.mission-caption-link:hover { text-decoration: underline; }

.mission-closing {
  font-size: 1.15rem !important;
  font-style: italic;
  color: var(--text-primary) !important;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.mission-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-mission-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  transition: gap var(--ease), opacity var(--ease);
  gap: 0.25rem;
  white-space: nowrap;
  align-self: center;
}
.hero-mission-link:hover { opacity: 0.75; gap: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy { font-size: 0.72rem; color: var(--text-secondary); }
.footer-tag  { font-size: 0.72rem; color: var(--accent); }

/* ============================================================
   BLOG / WRITING PAGE
   ============================================================ */
.blog-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.blog-hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.blog-hero p  { font-size: 1rem; margin-top: 0.75rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 3rem 0;
}

/* ============================================================
   ARTICLE / POST PAGE
   ============================================================ */
.article-header {
  padding: 4rem 0 3rem;
  max-width: 740px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  transition: color var(--ease);
}
.article-back:hover { color: var(--accent); }

.article-h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: 'IBM Plex Mono', monospace;
}
.article-byline-sep { color: var(--border); }

.article-body {
  max-width: 740px;
  padding-bottom: 4rem;
}

.article-body h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body p { font-size: 0.9375rem; line-height: 1.8; }

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.375rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body blockquote {
  border-left: 2px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(74,222,128,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}
[data-theme="light"] .article-body blockquote { background: rgba(22,163,74,0.05); }
.article-body blockquote p { font-style: italic; margin: 0; }

.article-body code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85em;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.1em 0.35em;
  border-radius: var(--radius);
  color: var(--accent);
}

.article-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.article-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.article-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0 2rem;
}

.article-more h3 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 1.25rem;
}

.article-more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-bottom: 4rem;
}

/* ============================================================
   PUBLICATIONS PAGE
   ============================================================ */
.pub-page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.pub-page-hero h1 { font-size: 2.5rem; }

.pub-page-body { padding: 3rem 0; }

/* ============================================================
   HYPERAI SECTION
   ============================================================ */
.hyperai-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.hyperai-intro p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.hyperai-intro-vi {
  margin-top: 0.375rem;
  font-style: italic;
}

.hyperai-stats {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
}

.hyperai-subsection { margin-top: 2.5rem; }
.hyperai-subsection > .sub-label { margin-bottom: 1rem; }

.hyperai-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.hyperai-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.hyperai-pillar-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.hyperai-pillar-title.governance { color: var(--accent-blue); }
.hyperai-pillar-title.agentic    { color: var(--accent); }

.hyperai-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hyperai-feature {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.hyperai-feature-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  margin-top: 0.05rem;
}

.hyperai-feature-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.hyperai-pillar:has(.governance) .hyperai-feature-name { color: var(--accent-blue); }
.hyperai-pillar:has(.agentic)    .hyperai-feature-name { color: var(--accent); }

.hyperai-feature-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .about-facts   { position: static; }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hyperai-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
  }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    z-index: 9999;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open       { display: flex; }
  .nav-links a          { font-size: 1.125rem; color: var(--text-primary); }
  .nav-hamburger        { display: flex; }
  /* hamburger pushes theme-toggle left of it */
  .theme-toggle         { margin-left: 0; }

  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-banner { order: -1; }
  .photo-circle { width: 120px; height: 120px; }
  .hero-section { padding: 3.5rem 0; min-height: auto; align-items: flex-start; }

  .trust-inner  { flex-wrap: wrap; gap: 1.5rem; }
  .trust-divider{ display: none; }
  .trust-stat   { flex: 0 0 calc(50% - 0.75rem); }

  .writing-grid { grid-template-columns: 1fr; }
  .pub-circles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1.25rem 0 2rem;
  }
  .pub-circle { flex: unset; gap: 0.5rem; }
  .pub-circle-ring { width: 100%; min-height: 88px; padding: 1rem 0.75rem; }
  .pub-circle-value { font-size: 1.6rem; }
  .pub-circle-value--sm { font-size: 0.75rem; line-height: 1.65; }
  .pub-circle-value--xs { font-size: 0.68rem; line-height: 1.7; }
  .pub-circle-label { font-size: 0.6rem; }
  .paper-imgs { gap: 0.5rem; }
  .services-grid{ grid-template-columns: 1fr; }
  .blog-grid    { grid-template-columns: 1fr; }
  .article-more-grid { grid-template-columns: 1fr; }

  h2 { font-size: 1.5rem; }
  .section-header-row { flex-wrap: wrap; }
  .contact-headline   { font-size: 1.875rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section   { padding: 3.5rem 0; }
  .hero-h1   { font-size: 1.875rem; }
  .hero-cta  { flex-direction: column; }
  .btn       { width: 100%; justify-content: center; }
  .coauthor-item { flex: 0 0 90px; }
  .coauthor-avatar { width: 72px; height: 72px; font-size: 0.85rem; }
  .coauthors-carousel { gap: 0.5rem; }
  .carousel-btn { width: 24px; height: 24px; font-size: 0.75rem; }
}
