:root {
  /* BODY */
  --body-bg: #f0f6f7;
  --body-text: #1f2937;

  /* HEADER (LIGHT MODE) */
  --header-bg: #e5e5e5;
  --header-text: #0b1f3a;
  --header-border: rgba(0,0,0,0.08);
  --header-hover: #0b1f3a;

  /* HERO */
  --hero-bg: linear-gradient(
    rgba(240,242,245,0.95),
    rgba(240,242,245,0.95)
  );
  --hero-text: #0b1f3a;
}

/* DARK HEADER MODE */
[data-theme="dark"] {
  /* BODY STAYS LIGHT */
  --body-bg: #f5f7fa;
  --body-text: #1f2937;

  /* HEADER DARK */
  --header-bg: #0b1f3a;
  --header-text: #e5e7eb;
  --header-border: rgba(255,255,255,0.08);
  --header-hover: #ffffff;

  /* HERO */
  --hero-bg: linear-gradient(
    rgba(11,31,58,0.88),
    rgba(11,31,58,0.88)
  );
  --hero-text: #ffffff;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: var(--body-bg);
  color: var(--body-text);
}

a[href],
button,
summary,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: pointer;
}

/* HEADER */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: visible; /* IMPORTANT: allows dropdown to stay visible */
}

.logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--header-text);
}

/* NAV */
.nav-menu a,
.dropbtn {
  position: relative;
  color: var(--header-text);
  text-decoration: none;
  margin-left: 28px;
  font-size: 1.05rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* NAV HOVER EFFECT (underline glow) */
.nav-menu a::after,
.dropbtn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width 0.22s ease;
}

.nav-menu a:hover,
.dropbtn:hover,
.dropdown:hover .dropbtn {
  color: var(--header-hover);
}

.nav-menu a:hover::after,
.dropbtn:hover::after,
.dropdown:hover .dropbtn::after {
  width: 100%;
}

/* DROPDOWN */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown panel */
.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px); /* NO GAP */
  left: 0;
  min-width: 260px;

  background: #ffffff; /* ALWAYS white */
  border-radius: 10px;

  box-shadow:
    0 12px 28px rgba(0,0,0,0.18),
    0 0 0 1px rgba(0,0,0,0.05);

  z-index: 2000;
}

/* Invisible hover bridge (prevents flicker) */
.dropdown-content::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

/* Dropdown items */
.dropdown-content a {
  color: #1f2937;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  font-size: 0.95rem;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.dropdown-content a:hover {
  background: #f3f4f6;
  color: #0b1f3a;
  box-shadow:
    inset 3px 0 0 #0b1f3a,
    0 0 0 3px rgba(11,31,58,0.06);
}

/* Show dropdown */
.dropdown:hover .dropdown-content {
  display: block;
}

/* HERO */
.hero {
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 0 24px;
}

.hero-content {
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.hero-list {
  margin: 12px 0 10px 18px;
  padding-left: 12px;
}

.hero-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.blurb-row {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.blurb-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 31, 58, 0.06);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.blurb-card h3 {
  margin: 0;
  color: #0b1f3a;
  font-size: 1.1rem;
}

.blurb-card p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.9rem;
  color: #3a4350;
}

.blurb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(11, 31, 58, 0.12);
}

.blurb-link {
  margin-top: auto;
  font-weight: 700;
  color: #0b1f3a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blurb-link:hover {
  text-decoration: underline;
}

.affiliation {
  margin-top: 30px;
  font-style: italic;
  opacity: 0.85;
}

/* THEME TOGGLE */
.theme-toggle {
  margin-left: 24px;
  font-size: 1.1rem;
  background: none;
  border: 1px solid var(--header-border);
  color: var(--header-text);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}

.theme-toggle:hover {
  opacity: 0.8;
}

/* HAMBURGER BUTTON */
.menu-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--header-text);
  cursor: pointer;
}

/* MOBILE / TABLET */
@media (max-width: 992px) {

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);

    display: none;
    flex-direction: column;
    padding: 16px 24px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a,
  .dropbtn {
    margin: 12px 0;
    font-size: 1.1rem;
  }

  /* Disable hover underline animation on mobile */
  .nav-menu a::after,
  .dropbtn::after {
    display: none;
  }

  /* Dropdowns become inline */
  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    margin-left: 12px;
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown-content::before {
    display: none;
  }
}

/* Clickable publication title */
.pub-title a {
  color: inherit;                 /* keeps your current text color */
  text-decoration: none;          /* no underline by default */
  cursor: pointer;                /* pointer cursor */
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

/* Hover effect */
.pub-title a:hover {
  color: #2563eb;                 /* subtle modern blue */
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Optional: focus-visible for keyboard accessibility */
.pub-title a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
}
.pub-card-linkable .pub-header:hover .pub-title a {
  color: #2563eb;
}

/* #publications {
  scroll-margin-top: 120px; /* header height + spacing 
} */

/* SECTION */
.section {
  padding: 80px 24px;
  background: #ffffff;
}

.section-container {
  max-width: 1100px;
  padding-top: 60px;
  margin: auto;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: #0b1f3a;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-cta {
  font-weight: 700;
  color: #0b1f3a;
  text-decoration: none;
  font-size: 0.95rem;
}

.section-cta:hover {
  text-decoration: underline;
}

.pub-list {
  padding-top: 30px;
}

.project-hero-panel {
  background: #0b1f3a;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.24);
}

.project-hero-panel .section-title {
  color: #ffffff;
  margin-bottom: 8px;
}

.project-page-intro {
  max-width: 820px;
  margin: 0;
  color: #dbe7ff;
  line-height: 1.6;
}

.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #4b5563;
}

.project-subsection {
  margin-top: 52px;
  scroll-margin-top: 120px;
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.project-subsection-head {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border-left: 6px solid #0b1f3a;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-subsection-title {
  color: #0b1f3a;
  font-size: 2rem;
  margin: 0;
  letter-spacing: 0.01em;
}

.project-subsection-note {
  margin-top: 6px;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.5;
  max-width: 700px;
}

.project-subsection-count {
  background: #0b1f3a;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
}

.project-entry {
  margin-top: 22px;
  border: 1px solid #2b4f79;
  border-radius: 14px;
  background: linear-gradient(180deg, #dde9f8 0%, #ebf2fb 100%);
  padding: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.project-entry-head {
  max-width: 990px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #163a67 0%, #28558a 52%, #4e79ad 100%);
  border: 1px solid #214a79;
  border-radius: 12px;
  padding: 14px 16px;
}

.project-entry-title {
  color: #f4f8ff;
  font-size: 1.45rem;
  margin: 2px 0 10px;
  line-height: 1.35;
}

.project-entry-title-link {
  color: inherit;
  text-decoration: none;
}

.project-entry-title-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-entry-kicker {
  margin: 0;
  color: #c9ddff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-meta-label {
  margin: 10px 0 8px;
  color: #d6e6ff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-meta {
  margin-bottom: 10px;
}

.project-authors {
  margin-bottom: 12px;
  color: #eef5ff;
}

.project-entry-head .pub-venue {
  background: #0a1f3d;
  color: #e6f0ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-entry-head .pub-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #f4f8ff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.project-entry-head .artifact-btn {
  background: rgba(255, 255, 255, 0.94);
  border-color: #9ab7d8;
  color: #0b1f3a;
}

.project-entry-head .artifact-btn:hover {
  background: #ffffff;
  border-color: #6f95c0;
}

.project-reveal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 990px;
  margin: 12px auto 8px;
}

.project-toggle-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  color: #0b1f3a;
  background: #f8fafc;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.project-toggle-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.project-hidden-hint {
  max-width: 990px;
  margin: 10px auto 0;
  font-size: 0.95rem;
  opacity: 0.62;
}

.project-cite-reminder {
  max-width: 990px;
  margin: 10px auto 0;
}

.project-copy {
  color: #1e293b;
}

.project-section-body {
  padding: 30px 24px 26px;
}

.project-summary-block {
  margin-bottom: 24px;
}

.project-summary-block h2,
.project-paper-group-head h2 {
  margin-bottom: 10px;
}

.project-summary-block p,
.project-paper-group-note {
  margin: 0;
  line-height: 1.75;
}

.project-paper-group {
  border-top: 1px solid rgba(11, 31, 58, 0.1);
  padding-top: 22px;
}

.project-paper-group-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.project-paper-group-note {
  color: #526174;
  max-width: 760px;
}

.project-paper-stack {
  display: grid;
  gap: 14px;
}

.project-paper-card {
  padding: 16px 18px;
  border: 1px solid #d8e4f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.project-paper-card-featured {
  border-color: #84a9d4;
  background: linear-gradient(180deg, #f9fcff 0%, #edf5ff 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
}

.project-paper-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.project-paper-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0b1f3a;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-paper-title {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.5;
}

.project-paper-title-link {
  color: inherit;
  text-decoration: none;
}

.project-paper-title-link:hover {
  color: #0b1f3a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-paper-related {
  margin: 12px 0 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid #28558a;
  background: #f8fbff;
  border-radius: 10px;
  line-height: 1.7;
}

.project-paper-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-collapsible {
  display: none;
}

.project-collapsible.is-open {
  display: block;
}

@media (max-width: 700px) {
  .project-subsection {
    padding: 12px;
  }

  .project-subsection-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-subsection-title {
    font-size: 1.65rem;
  }

  .project-subsection-count {
    align-self: flex-start;
  }

  .project-section-body {
    padding: 22px 14px 18px;
  }

  .project-paper-card {
    padding: 14px;
  }
}

.empty-note {
  font-size: 1rem;
  color: #6b7280;
}

/* PUBLICATION CARD */
.pub-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  border: 1px solid transparent;
}

.pub-header h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #0b1f3a;
}

/* META DROPDOWN AREA (STATIC FOR NOW) */
.pub-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.pub-tag {
  background: #e5e7eb;
  color: #0b1f3a;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.pub-venue {
  background: #0b1f3a;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* AUTHORS */
.pub-authors {
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.pub-authors strong {
  color: #0b1f3a;
  font-weight: 700;
}

.pub-authors :not(strong) {
  color: #8b94a3;
}

.pub-affiliation {
  color: #6b7280;
  font-size: 0.9rem;
}

/* DESCRIPTION */
.pub-desc {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* READ MORE */
.pub-link {
  font-weight: 600;
  color: #0b1f3a;
  text-decoration: none;
}

.pub-link:hover {
  text-decoration: underline;
}

.pub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.1);
  border-color: rgba(11, 31, 58, 0.08);
}


/*publication*/
/* PAPER PAGE */
.paper-page {
  background: var(--body-bg);
  color: var(--body-text);
}

/* HEADER */
.paper-header {
  padding: 80px 24px 40px;
}

.paper-container {
  max-width: 990px;
  margin: auto;
}

.paper-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: #0b1f3a;
}

.paper-authors {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.paper-affiliation {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 14px;
}

/* .paper-meta {
  display: flex;
  gap: 12px;
} */
/* METADATA CHIPS (NON-INTERACTIVE) */
.paper-meta {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.paper-subtitle,
.paper-venue {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Topic chip */
.paper-subtitle {
  background: #eef2f7;
  color: #334155;
}

/* Venue chip */
.paper-venue {
  background: #0b1f3a;
  color: #ffffff;
}


/* SECTION NAV */
/* PAPER SECTION BUTTON BAR (NOT STICKY) */
.paper-nav {
  padding: 20px 24px 0;
}

.paper-nav .paper-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


.paper-nav .paper-container {
  display: flex;
  gap: 24px;
  /* padding: 12px 0; */
}

.paper-nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #0b1f3a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.paper-nav a:hover {
  background: #d1d5db;
}


/* SECTIONS */
.paper-section {
  padding: 60px 24px;
}

.paper-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #0b1f3a;
}

.paper-section p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.alt-bg {
  background: #f9fafb;
}

/* LISTS */
.artifact-list,
.finding-list {
  padding-left: 20px;
}

.artifact-list li,
.finding-list li {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* CITATION */
.citation-box {
  background: #0f172a;
  color: #e5e7eb;
  padding: 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  overflow-x: auto;
}
.paper-section {
  scroll-margin-top: 100px;
}

/* FINDING BLOCKS */
.finding-block {
  margin-bottom: 48px;
}

.finding-block h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #0b1f3a;
}

/* FINDING LIST */
.finding-list {
  padding-left: 20px;
  margin: 16px 0 24px;
}

.finding-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* FIGURE BLOCK */
.figure-block {
  margin: 32px 0;
  text-align: center;
}

.figure-block figure {
  margin: 0;
}

.figure-block img {
  max-width: 75%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.figure-block figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #4b5563;
}

/* INTERPRETIVE TEXT */
.finding-insight {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* CITATION WRAPPER */
.citation-wrapper {
  position: relative;
  margin-top: 20px;
}

/* COPY BUTTON */
.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;

  background: #1f2937;
  color: #ffffff;

  border: none;
  border-radius: 6px;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.1s ease;
}

.copy-btn:hover {
  background: #374151;
}

.copy-btn:active {
  transform: scale(0.96);
}

.copy-btn.is-copied {
  background: #166534;
}

.cite-close-btn {
  margin: 4px 0 14px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #94a3b8;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cite-close-btn:hover {
  background: #f1f5f9;
  border-color: #64748b;
}

/* ICON */
.copy-icon {
  font-size: 0.9rem;
}

/* CITATION BOX */
.citation-box {
  background: #0f172a;
  color: #e5e7eb;

  padding: 20px;
  padding-top: 44px; /* space for copy button */

  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;

  overflow-x: auto;
  white-space: pre;
}





/* arrtifact*/
/* ARTIFACT SECTION */
.artifacts-section {
  background: #fafafa;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 800px;
  color: #444;
  margin-bottom: 2.5rem;
}

/* GRID */
/* .artifact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
} */

.artifact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


/* CARD */
.artifact-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artifact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

/* HEADER */
.artifact-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.artifact-icon {
  font-size: 1.6rem;
}

/* SUBSECTIONS */
.artifact-subsection {
  margin-top: 1.25rem;
}

.artifact-subsection h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.artifact-subsection ul {
  padding-left: 1.2rem;
  margin: 0.3rem 0;
}

/* FLAGS */
.artifact-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0;
}

.artifact-flags span {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  background: #eef2ff;
  border-radius: 6px;
  color: #1e40af;
  font-weight: 500;
}

.artifact-cite-reminder {
  margin: 1rem 0 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff7ed 0%, #fffbeb 100%);
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-left: 4px solid #f59e0b;
  color: #7c2d12;
}

.artifact-cite-reminder strong {
  font-size: 0.98rem;
  line-height: 1.5;
}

/* BUTTONS */
.artifact-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #111;
  transition: background 0.2s ease, transform 0.2s ease;
}

.artifact-btn:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.artifact-btn.primary {
  background: #2563eb;
  color: white;
  border: none;
}

.artifact-btn.primary:hover {
  background: #1d4ed8;
}

.artifact-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.artifact-actions .artifact-btn {
  margin-top: 0;
}

.data-cite-note {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem 1.3rem;
  border-radius: 18px;
  background: linear-gradient(145deg, #eff6ff 0%, #f8fafc 55%, #ffffff 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-left: 5px solid #2563eb;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
}

.data-cite-note p {
  margin: 0;
}

.data-cite-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-cite-text {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.6;
}

.data-cite-paper,
.data-cite-project {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.data-cite-paper {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.45;
  font-size: 1rem;
}

.data-cite-paper:hover {
  color: #1d4ed8;
}

.data-cite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.data-cite-actions .artifact-btn {
  margin-top: 0;
}

.data-cite-project {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 600;
}

.data-cite-project:hover {
  background: #dbeafe;
}

.data-cite-bibtex {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(15, 23, 42, 0.04);
}

.data-cite-bibtex:hover {
  background: rgba(15, 23, 42, 0.08);
}

.data-action-row {
  margin-top: 1rem;
}

.artifact-citation-box {
  margin-top: 1rem;
}

.artifact-citation-box .citation-wrapper {
  margin-top: 0;
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.12));
}

.artifact-citation-box .citation-box {
  background: #0f172a;
  color: #e5e7eb;
  border: 1px solid #0f172a;
  border-radius: 10px;
  padding: 20px;
  padding-top: 44px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre;
  margin-top: 0;
}


/* DATASET TABLE WRAPPER */
.dataset-table-wrapper {
  margin-top: 2rem;
}

/* HEADER */
.dataset-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.dataset-format {
  font-size: 0.85rem;
  color: #555;
}

/* CARD */
.dataset-table-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* TABLE */
.dataset-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.dataset-table th,
.dataset-table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.dataset-table thead {
  background: #f1f5f9;
}

.dataset-table th {
  font-weight: 600;
  color: #111;
}

.dataset-table tbody tr {
  border-top: 1px solid #e5e7eb;
}

.dataset-table tbody tr:hover {
  background: #f9fafb;
}

/* DOWNLOAD LINK */
.dataset-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.dataset-link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.artifact-card pre {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  line-height: 1.4;
  overflow-x: auto;
  margin-top: 0.5rem;
}

/* TEAM SECTION */
#team {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.team-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(11, 31, 58, 0.06);
  margin-top: 24px;
}

.team-block-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.team-block-header h3 {
  margin: 0;
  color: #0b1f3a;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.team-block-sub {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.team-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.team-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-card.alumni {
  background: #f5f5f5;
}

.team-name {
  font-weight: 700;
  color: #0b1f3a;
  font-size: 1rem;
}

.team-role {
  color: #4b5563;
  font-size: 0.93rem;
}

.team-next {
  color: #9ca3af; /* light grey */
  font-size: 0.9rem;
  font-weight: 600;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-links.icons {
  gap: 10px;
}

.team-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e5e7eb;
  color: #0b1f3a;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid rgba(17,24,39,0.16);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.team-icon:hover {
  background: #dbeafe;
  border-color: rgba(37,99,235,0.4);
  color: #0b1f3a;
}

.team-links.missing {
  color: #9ca3af;
  font-size: 0.9rem;
  font-weight: 600;
}

.data-hero-panel {
  background: #0b1f3a;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.24);
  margin-bottom: 26px;
}

.data-page {
  padding-top: 28px;
}

.data-page .section-container {
  padding-top: 18px;
}

.data-hero-panel .section-title {
  color: #ffffff;
  margin-bottom: 8px;
}

.data-page-intro {
  max-width: 820px;
  margin: 0;
  color: #dbe7ff;
  line-height: 1.6;
}

.data-card {
  margin-top: 0;
}

.data-project-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.data-project-title-group {
  max-width: 760px;
}

.data-topic-title {
  margin: 0;
  color: #0b1f3a;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.data-family-note {
  margin: 0.6rem 0 0;
  max-width: 780px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.data-family-entry {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.data-family-entry-head {
  padding: 0.2rem 0.1rem 1rem;
}

.data-entry-kicker {
  margin: 0 0 0.35rem;
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-section-title {
  margin: 0;
  color: #0b1f3a;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.data-family-entry-head .section-intro {
  margin-top: 0.45rem;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .data-project-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-row {
    grid-template-columns: 1fr;
  }
}
