/* ============================================================
   Dark theme: drkhalil.ai redesign (Claude Design handoff)
   Self-contained; not loaded alongside the academicpages theme.
   ============================================================ */

:root {
  --bg: #0a0c11;
  --text: #e6e9ef;
  --green: #6ee7b7;
  --blue: #7cc4ff;
  --gold: #fbbf76;
  --purple: #c4b5fd;
  --slate: #9fb0c3;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body.dc {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.dc a { color: inherit; }
.dc ::selection { background: rgba(110, 231, 183, 0.25); }

@keyframes kmFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes kmPulse {
  0%, 100% { box-shadow: 0 0 12px var(--green); opacity: 1; }
  50%      { box-shadow: 0 0 4px var(--green); opacity: 0.6; }
}

.dc-page {
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 78% -8%, rgba(110, 231, 183, 0.07), transparent 60%),
    radial-gradient(900px 500px at 10% 4%, rgba(124, 196, 255, 0.06), transparent 55%);
}

/* ---------- Top nav ---------- */
.dc-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 12, 17, 0.72);
  border-bottom: 1px solid var(--border);
}
.dc-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.dc-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--green), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #062018;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.dc-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.dc-navlinks {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dc-navlink {
  text-decoration: none;
  font-size: 14px;
  color: #aab2c0;
  padding: 8px 13px;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dc-navlink:hover { background: var(--surface-hover); color: #fff; }
.dc-navlink.is-active {
  color: var(--green);
  font-weight: 600;
  background: rgba(110, 231, 183, 0.1);
}

/* ---------- Two-column shell ---------- */
.dc-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 56px;
  align-items: flex-start;
}
.dc-aside {
  flex: none;
  width: 312px;
  position: sticky;
  top: 84px;
  padding: 44px 0 60px;
}
.dc-main {
  flex: 1;
  min-width: 0;
  padding: 52px 0 90px;
}

/* ---------- Sidebar ---------- */
.dc-avatar-wrap { position: relative; margin-bottom: 22px; }
.dc-avatar-wrap.lg { margin-bottom: 24px; }
.dc-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(110, 231, 183, 0.5), rgba(124, 196, 255, 0.35));
  filter: blur(14px);
  opacity: 0.5;
}
.dc-avatar-wrap.lg .dc-avatar-glow { border-radius: 24px; opacity: 0.55; }
.dc-avatar {
  position: relative;
  display: block;
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
}
.dc-avatar-wrap.lg .dc-avatar { width: 160px; height: 160px; border-radius: 22px; }

.dc-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.dc-avatar-wrap.lg ~ .dc-name { font-size: 27px; }
.dc-name-native {
  margin-top: 5px;
  font-size: 16px;
  color: #8e97a6;
  font-family: var(--font-display);
}

.dc-pronounce { display: flex; gap: 8px; margin-top: 14px; }
.dc-pron-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cdd3dd;
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  transition: background .15s;
}
.dc-pron-btn:hover { background: rgba(255, 255, 255, 0.1); }
.dc-pron-btn .tri {
  display: inline-block;
  width: 0; height: 0;
  border-left: 8px solid var(--green);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.dc-rolecard {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.dc-rolecard.mt-lg { margin-top: 22px; }
.dc-rolecard-logo {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.dc-rolecard.mt-lg .dc-rolecard-logo { width: 34px; height: 34px; }
.dc-rolecard-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dc-rolecard-title { font-size: 13.5px; font-weight: 600; color: #eef1f6; }
.dc-rolecard.mt-lg .dc-rolecard-title { font-size: 14px; }
.dc-rolecard-sub { font-size: 12px; color: #8e97a6; }
.dc-rolecard.mt-lg .dc-rolecard-sub { font-size: 12.5px; }

.dc-cta {
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(110, 231, 183, 0.1), rgba(124, 196, 255, 0.06));
  border: 1px solid rgba(110, 231, 183, 0.18);
}
.dc-cta-text { font-size: 13.5px; color: #c2c9d3; line-height: 1.55; }
.dc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  text-decoration: none;
  background: var(--green);
  color: #062018;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 9px;
  transition: background .15s;
}
.dc-cta-btn:hover { background: #8af0c6; }

.dc-socials { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; }
.dc-socials.mt-lg { margin-top: 18px; }
.dc-social {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 9px;
  color: #b6bdc9;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.dc-social:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.dc-social-icon {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  width: 18px;
}

/* ---------- Hero (home) ---------- */
.dc-hero { animation: kmFade .6s ease both; }
.dc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.dc-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: kmPulse 2.4s ease-in-out infinite;
}
.dc-eyebrow.blue { color: var(--blue); margin-bottom: 14px; }
.dc-eyebrow.green-plain { margin-bottom: 14px; }
.dc-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
  text-wrap: balance;
}
.dc-headline .hl { color: var(--green); }
.dc-lede {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: #aeb6c2;
  max-width: 62ch;
}

/* ---------- Stats ---------- */
.dc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.dc-stat {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.dc-stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: #fff;
}
.dc-stat-label { font-size: 13px; color: #8e97a6; margin-top: 3px; }

/* ---------- Brand wall ---------- */
.dc-brands-section { margin-top: 48px; }
.dc-section-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #737d8c;
  margin-bottom: 16px;
}
.dc-brands { display: flex; flex-wrap: wrap; gap: 10px; }
.dc-brand-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px 9px 9px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .15s, background .15s;
}
.dc-brand-chip:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.16);
}
.dc-brand-chip-logo {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.dc-brand-chip-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dc-brand-chip-name { font-size: 13.5px; font-weight: 600; color: #d4d9e2; }

/* ---------- News timeline ---------- */
.dc-updates { margin-top: 56px; }
.dc-updates-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.dc-updates-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.dc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.dc-chip {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 999px;
  transition: all .15s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #aab2c0;
}
.dc-chip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.dc-chip.is-active {
  border-color: rgba(110, 231, 183, 0.4);
  background: rgba(110, 231, 183, 0.14);
  color: var(--green);
}
.dc-chip.blue.is-active {
  border-color: rgba(124, 196, 255, 0.45);
  background: rgba(124, 196, 255, 0.14);
  color: var(--blue);
}

.dc-timeline { position: relative; }
.dc-timeline-line {
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
}
.dc-news { position: relative; padding: 0 0 22px 34px; }
.dc-news[hidden] { display: none; }
.dc-news-dot {
  position: absolute;
  left: 2px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--c, #9fb0c3);
  box-shadow: 0 0 10px var(--glow, rgba(159, 176, 195, 0.45));
}
.dc-news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.dc-news-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #737d8c;
  letter-spacing: 0.02em;
}
.dc-news-type {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--c, #9fb0c3);
  background: var(--tint, rgba(159, 176, 195, 0.12));
}
.dc-news-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(251, 191, 118, 0.12);
}
.dc-news-title { font-size: 15.5px; font-weight: 600; color: #e9edf3; line-height: 1.4; }
.dc-news-detail { font-size: 13.5px; color: #909aa8; line-height: 1.5; margin-top: 3px; }
.dc-news-link {
  display: inline-block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--blue);
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(124, 196, 255, 0.08);
  border: 1px solid rgba(124, 196, 255, 0.16);
  transition: background .15s;
}
.dc-news-link:hover { background: rgba(124, 196, 255, 0.16); }

/* news type tokens */
.t-paper   { --c: #7cc4ff; --tint: rgba(124, 196, 255, 0.12); --glow: rgba(124, 196, 255, 0.5); }
.t-talk    { --c: #6ee7b7; --tint: rgba(110, 231, 183, 0.12); --glow: rgba(110, 231, 183, 0.5); }
.t-award   { --c: #fbbf76; --tint: rgba(251, 191, 118, 0.12); --glow: rgba(251, 191, 118, 0.5); }
.t-role    { --c: #c4b5fd; --tint: rgba(196, 181, 253, 0.12); --glow: rgba(196, 181, 253, 0.5); }
.t-service { --c: #9fb0c3; --tint: rgba(159, 176, 195, 0.12); --glow: rgba(159, 176, 195, 0.45); }

.dc-showmore {
  margin-top: 8px;
  margin-left: 34px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cdd3dd;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: background .15s;
}
.dc-showmore:hover { background: rgba(255, 255, 255, 0.09); }
.dc-showmore[hidden] { display: none; }

/* ---------- Generic page header (bio / pubs / talks / dei) ---------- */
.dc-pagetitle {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.03em;
}
.dc-pagelede {
  margin: 14px 0 0;
  font-size: 16px;
  color: #aeb6c2;
  max-width: 60ch;
}
.dc-pagelede.big {
  font-size: 17px;
  line-height: 1.65;
  color: #c2c9d3;
  max-width: 64ch;
}
.dc-link-inline {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 196, 255, 0.3);
}
.dc-h3 {
  margin: 48px 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.dc-h3.tight { margin-top: 44px; }
.dc-subnote { margin: 6px 0 18px; font-size: 14px; color: #909aa8; max-width: 62ch; }

/* ---------- Bio ---------- */
.dc-exp { position: relative; margin-top: 22px; }
.dc-exp-line {
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
}
.dc-exp-item { position: relative; display: flex; gap: 18px; padding-bottom: 20px; }
.dc-exp-logo {
  flex: none;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border: 3px solid var(--bg);
}
.dc-exp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dc-exp-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dc-exp-role { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: #eef1f6; }
.dc-exp-period { font-family: var(--font-mono); font-size: 11.5px; color: #737d8c; }
.dc-exp-org { font-size: 14px; color: #9aa3b1; margin-top: 3px; }
.dc-exp-detail { font-size: 13.5px; color: #8b94a2; margin-top: 5px; line-height: 1.55; max-width: 56ch; }

.dc-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dc-card {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.dc-card-head { display: flex; align-items: center; gap: 10px; }
.dc-card-logo {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.dc-card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dc-card-title { font-size: 14.5px; font-weight: 600; color: #eef1f6; }
.dc-card-sub { font-family: var(--font-mono); font-size: 11px; color: #737d8c; }
.dc-card-body { font-size: 13.5px; color: #8b94a2; margin-top: 11px; line-height: 1.55; }

.dc-edu { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.dc-edu-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.dc-edu-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
  flex: none;
  width: 58px;
  padding-top: 2px;
}
.dc-edu-degree { font-size: 15px; font-weight: 600; color: #eef1f6; }
.dc-edu-school { font-size: 13.5px; color: #909aa8; margin-top: 2px; }
.dc-badge-gold {
  display: inline-block;
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(251, 191, 118, 0.12);
}

.dc-infocard {
  margin-top: 36px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(124, 196, 255, 0.05);
  border: 1px solid rgba(124, 196, 255, 0.14);
}
.dc-infocard-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.dc-infocard p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #c2c9d3; }
.dc-infocard strong { color: #fff; font-weight: 600; }

.dc-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dc-lang {
  font-size: 13px;
  font-weight: 500;
  color: #d4d9e2;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.dc-personal-p {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: #c2c9d3;
  max-width: 62ch;
}

.dc-countries-card {
  margin-top: 26px;
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.dc-countries-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.dc-countries-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #eef1f6; }
.dc-countries-count { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--green); }
.dc-countries { font-size: 23px; line-height: 1.7; letter-spacing: 2px; word-spacing: 3px; }

.dc-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  padding-top: 2px;
}
.dc-flag {
  position: relative;
  font-size: 25px;
  line-height: 1.4;
  cursor: default;
  transition: transform .18s ease;
}
.dc-flag:hover {
  transform: scale(1.45);
  z-index: 6;
}
.dc-flag::after {
  content: attr(data-name);
  position: absolute;
  bottom: 132%;
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.85);
  transform-origin: bottom center;
  background: rgba(8, 10, 15, 0.96);
  border: 1px solid var(--border-strong);
  color: #eef1f6;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 7;
}
.dc-flag:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dc-map {
  margin-top: 14px;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-height: 650px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.dc-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

/* ---------- Publications ---------- */
.dc-pubbar {
  position: sticky;
  top: 69px;
  z-index: 10;
  background: rgba(10, 12, 17, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 22px 0 14px;
  margin-top: 28px;
}
.dc-searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.dc-searchbox .ico { color: #6b7480; font-family: var(--font-mono); font-size: 14px; }
.dc-searchbox input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.dc-searchbox input::placeholder { color: #6b7480; }
.dc-searchclear {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #9aa3b1;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
}
.dc-searchclear[hidden] { display: none; }
.dc-yearchips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.dc-yearchip {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  transition: all .15s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #aab2c0;
}
.dc-yearchip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.dc-yearchip.is-active {
  border-color: rgba(124, 196, 255, 0.45);
  background: rgba(124, 196, 255, 0.14);
  color: var(--blue);
}
.dc-resultlabel { font-family: var(--font-mono); font-size: 12px; color: #737d8c; margin: 6px 0 18px; }

.dc-pubs { display: flex; flex-direction: column; gap: 12px; }
.dc-pub {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .15s, background .15s;
}
.dc-pub[hidden] { display: none; }
.dc-pub:hover { background: rgba(255, 255, 255, 0.055); border-color: rgba(255, 255, 255, 0.15); }
.dc-pub-n {
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #4f5765;
  width: 30px;
  text-align: right;
  padding-top: 2px;
}
.dc-pub-body { min-width: 0; flex: 1; }
.dc-pub-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: #eef1f6;
}
.dc-pub-authors { font-size: 13.5px; color: #9aa3b1; margin-top: 6px; line-height: 1.5; }
.dc-pub-authors b { color: #cdd3dd; font-weight: 600; }
.dc-pub-metarow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 9px; }
.dc-pub-venue { font-family: var(--font-mono); font-size: 12px; color: var(--blue); }
.dc-award {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(251, 191, 118, 0.12);
}
.dc-pub-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dc-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #aab2c0;
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all .15s;
}
.dc-link:hover { color: #fff; border-color: rgba(124, 196, 255, 0.4); background: rgba(124, 196, 255, 0.1); }
.dc-empty {
  text-align: center;
  padding: 60px 20px;
  color: #737d8c;
  font-family: var(--font-mono);
  font-size: 13px;
}
.dc-empty[hidden] { display: none; }

/* ---------- Talks ---------- */
.dc-talks { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.dc-talk {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .15s, background .15s;
}
.dc-talk:hover { background: rgba(255, 255, 255, 0.055); border-color: rgba(255, 255, 255, 0.15); }
.dc-talk-date { flex: none; text-align: center; width: 54px; }
.dc-talk-month { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #eef1f6; }
.dc-talk-year { font-family: var(--font-mono); font-size: 11px; color: var(--green); margin-top: 1px; }
.dc-talk-divider { width: 1px; background: rgba(255, 255, 255, 0.08); flex: none; }
.dc-talk-body { min-width: 0; flex: 1; }
.dc-talk-venue {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #eef1f6;
}
.dc-talk-title { font-size: 14px; color: #aeb6c2; margin-top: 5px; line-height: 1.5; }
.dc-talk-loc { font-family: var(--font-mono); font-size: 11.5px; color: #737d8c; margin-top: 8px; }
.dc-talk-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }

/* ---------- DEI ---------- */
.dc-feature {
  margin-top: 40px;
  padding: 26px;
  border-radius: 18px;
  background: rgba(124, 196, 255, 0.05);
  border: 1px solid rgba(124, 196, 255, 0.14);
}
.dc-feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.dc-feature p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: #c2c9d3; }
.dc-feature-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7c9ec4;
  margin: 18px 0 10px;
}
.dc-founders { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-founder {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #d4d9e2;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all .15s;
}
.dc-founder:hover { border-color: rgba(124, 196, 255, 0.4); color: #fff; }

.dc-list { display: flex; flex-direction: column; gap: 10px; }
.dc-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.dc-list-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  flex: none;
  width: 64px;
  padding-top: 2px;
}
.dc-list-title { font-size: 14.5px; font-weight: 600; color: #eef1f6; }
.dc-list-detail { font-size: 13px; color: #909aa8; margin-top: 3px; line-height: 1.5; }

.dc-mentee-name { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: #eef1f6; }
.dc-mentee-aff { font-family: var(--font-mono); font-size: 11px; color: #737d8c; margin-top: 3px; }
.dc-mentee-work { font-size: 13.5px; color: #9aa3b1; margin-top: 10px; line-height: 1.55; }

.dc-collab {
  margin-top: 36px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(110, 231, 183, 0.12), rgba(124, 196, 255, 0.07));
  border: 1px solid rgba(110, 231, 183, 0.2);
}
.dc-collab h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: #fff;
}
.dc-collab p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.65; color: #c8cfd9; max-width: 60ch; }
.dc-collab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  text-decoration: none;
  background: var(--green);
  color: #062018;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 11px;
  transition: background .15s;
}
.dc-collab-btn:hover { background: #8af0c6; }

/* ---------- Footer ---------- */
.dc-disclaimer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: #6b7480;
  font-style: italic;
}
.dc-disclaimer.home { margin-top: 64px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .dc-shell { flex-direction: column; gap: 0; padding: 0 22px; }
  .dc-nav { padding: 14px 22px; }
  .dc-aside {
    position: static;
    width: 100%;
    top: auto;
    padding: 30px 0 8px;
  }
  .dc-main { padding: 24px 0 70px; }
  .dc-pubbar { top: 0; }
  .dc-headline { font-size: 38px; }
}

@media (max-width: 560px) {
  .dc-shell { padding: 0 16px; }
  .dc-nav { padding: 12px 16px; flex-wrap: wrap; }
  .dc-navlinks { gap: 2px; }
  .dc-navlink { padding: 7px 10px; font-size: 13px; }
  .dc-headline { font-size: 31px; }
  .dc-pagetitle { font-size: 33px; }
  .dc-stats { grid-template-columns: 1fr 1fr; }
  .dc-grid2 { grid-template-columns: 1fr; }
  .dc-stat-value { font-size: 28px; }
}
