:root {
  --bg-top: #f5f8fc;
  --bg-bottom: #edf3f9;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-soft: #f3f7fb;
  --border: rgba(24, 44, 82, 0.12);
  --border-strong: rgba(24, 44, 82, 0.2);
  --text: #16243a;
  --muted: #5c6879;
  --muted-soft: #778395;
  --accent: #123b7a;
  --accent-deep: #0d2c5c;
  --accent-soft: rgba(18, 59, 122, 0.08);
  --highlight: #1c4f96;
  --shadow-lg: 0 30px 90px rgba(23, 42, 105, 0.1);
  --shadow-md: 0 18px 40px rgba(23, 42, 105, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 72, 216, 0.1), transparent 26%),
    radial-gradient(circle at top right, rgba(24, 56, 200, 0.09), transparent 30%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--accent-deep);
  text-decoration: none;
}

p,
ul,
ol {
  margin-bottom: 1rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-family: 'Roboto Slab', serif;
  line-height: 1.2;
}

h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  border-bottom: 0;
}

small,
.text-muted {
  color: var(--muted-soft) !important;
}

.site-shell {
  margin-top: 28px;
  margin-bottom: 32px;
  padding: 1.25rem 1.25rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.site-main {
  padding: 0.5rem 0 0;
}

.navbar {
  padding: 0.3rem 0 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  background: transparent !important;
}

.navbar-brand {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.dropdown-item {
  font-weight: 600;
}

.home-hero {
  padding: 1.4rem 0 0.6rem;
}

.hero-eyebrow,
.section-kicker,
.page-eyebrow,
.feature-label {
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
}

.hero-title {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 62ch;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
  color: var(--muted);
}

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

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hero-pills span {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.75rem 1.15rem;
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
}

.btn-primary:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
}

.btn-outline-primary {
  border-color: var(--border-strong);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.55);
}

.btn-outline-primary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.home-section {
  margin-top: 2.25rem;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 1.3rem;
}

.section-title {
  margin-bottom: 0.85rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1rem;
}

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

.feature-card,
.content-card,
.card,
.page-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 243, 237, 0.92) 100%);
  box-shadow: var(--shadow-md);
}

.feature-card {
  display: block;
  min-height: 220px;
  padding: 1.4rem;
  color: inherit;
}

.feature-card:hover {
  color: inherit;
  transform: translateY(-3px);
}

.feature-card h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.focus-grid,
.media-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.focus-card,
.panel-card,
.publication-card,
.venture-card,
.media-card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.focus-card h3,
.panel-card h3,
.media-card h3,
.venture-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.focus-card p:last-child,
.panel-card p:last-child,
.venture-card p:last-child,
.media-card p:last-child {
  margin-bottom: 0;
}

.focus-card-kicker,
.venture-kicker,
.media-outlet {
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 0.55rem;
}

.detail-list.compact {
  margin-top: 0.9rem;
}

.content-card {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.page-shell {
  padding: 2rem;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  letter-spacing: -0.04em;
}

.page-content,
.post-content {
  font-size: 1rem;
}

.page-intro {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.page-lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.page-content h2,
.post-content h2,
.content-card h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0;
  font-size: 1.45rem;
}

.page-content h2:first-child,
.post-content h2:first-child,
.content-card h2:first-child {
  margin-top: 0;
}

.titletext {
  margin-bottom: 0;
  padding-bottom: 0;
}

.subtitletext {
  margin-top: -0.35rem;
  padding-top: 0;
  color: var(--muted-soft);
  font-style: italic;
}

.card {
  overflow: hidden;
}

.card-title {
  font-size: 1.15rem;
}

.card-img-top {
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

.publication-head,
.venture-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.publication-meta,
.publication-authors,
.publication-note,
.venture-desc,
.media-year {
  color: var(--muted);
}

.pill-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(32, 155, 101, 0.12);
  color: #1d7c55;
  font-size: 0.76rem;
  font-weight: 700;
}

.record-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.record-link {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
}

.record-link:hover {
  transform: translateY(-1px);
}

.publication-list {
  margin-top: 1.15rem;
  margin-bottom: 2.2rem;
}

.publication-entry {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--border);
}

.publication-entry:last-child {
  border-bottom: 1px solid var(--border);
}

.publication-side {
  padding-top: 0.18rem;
}

.publication-venue-short {
  margin-bottom: 0;
  color: var(--highlight);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.publication-body {
  min-width: 0;
}

.publication-title {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  line-height: 1.32;
}

.publication-authors {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.publication-meta {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.publication-link {
  color: var(--highlight);
  font-size: 0.9rem;
  font-weight: 700;
}

.publication-link::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--muted-soft);
}

.publication-link:last-child::after {
  content: "";
  margin-left: 0;
}

.venture-featured-grid,
.venture-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.venture-featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.venture-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.venture-card {
  display: flex;
  flex-direction: column;
}

.venture-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 244, 248, 0.94) 100%);
}

.venture-desc {
  flex: 1;
}

.media-year {
  margin-bottom: 0;
  font-weight: 700;
}

.news-list {
  display: grid;
  gap: 1rem;
  position: relative;
}

.news-item {
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

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

.news-date {
  margin-bottom: 0.35rem;
  color: var(--highlight);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-copy {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
}

.posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.posts li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.posts li:first-child {
  padding-top: 0;
}

.posts li:last-child {
  border-bottom: 0;
}

.posts p.posts-teaser-text {
  margin-bottom: 0;
  color: var(--muted);
  font-style: italic;
}

.post-date {
  display: block;
  margin-top: 0.2rem;
  margin-bottom: 0.75rem;
  color: var(--muted-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.empty-state {
  padding: 1.6rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
}

.empty-state p:last-child {
  margin-bottom: 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--muted-soft);
  font-size: 0.9rem;
}

.footer-copy,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer a {
  font-weight: 700;
}

blockquote {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--highlight);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-style: italic;
}

blockquote strong {
  color: var(--text);
}

blockquote p {
  display: inline;
}

pre,
code {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

code {
  padding: 0.14rem 0.45rem;
  border-radius: 8px;
  background: rgba(18, 63, 95, 0.08);
  color: var(--accent);
}

pre {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #f3f6f8;
}

pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.fab,
.fas {
  color: #3c4758;
}

.fa-envelope,
.fa-github,
.fa-linkedin,
.fa-video,
.fa-twitter,
.ai-google-scholar {
  padding: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fa-envelope:hover,
.fa-github:hover,
.fa-linkedin:hover,
.fa-video:hover,
.fa-twitter:hover,
.ai-google-scholar:hover {
  transform: translateY(-1px);
}

.fa-envelope:hover {
  color: var(--accent);
}

.fa-github:hover {
  color: #111827;
}

.fa-linkedin:hover {
  color: #0a66c2;
}

.fa-video:hover {
  color: #2d8cff;
}

.fa-twitter:hover {
  color: #1d9bf0;
}

.ai-google-scholar:hover {
  color: #4285f4 !important;
}

.anchorItem a,
.anchorItem a:hover,
.anchorItem a:active,
.anchorItem a:visited {
  color: var(--text);
  text-decoration: none;
}

/* Minimal site treatment */
:root {
  --bg-top: #f5f8fc;
  --bg-bottom: #edf3f9;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-soft: #f3f7fb;
  --border: #d7e0ea;
  --border-strong: #c3cfdd;
  --text: #16243a;
  --muted: #5c6879;
  --muted-soft: #778395;
  --accent: #123b7a;
  --accent-deep: #0d2c5c;
  --accent-soft: rgba(18, 59, 122, 0.07);
  --highlight: #1c4f96;
  --shadow-lg: none;
  --shadow-md: none;
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 0;
}

body {
  background:
    radial-gradient(circle at top right, rgba(24, 56, 200, 0.07), transparent 34%),
    radial-gradient(circle at top left, rgba(39, 70, 207, 0.06), transparent 28%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

a {
  transition: color 0.2s ease;
}

.site-shell {
  margin-top: 22px;
  padding: 0 1.25rem 2rem;
  border: 0;
  background: transparent;
}

.navbar {
  padding: 0.3rem 0 0.85rem;
  margin-bottom: 0.25rem;
}

.navbar-brand {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.navbar-light .navbar-nav .nav-link {
  padding: 0.35rem 0 0.35rem 1.2rem;
  border-radius: 0;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  background: transparent;
}

.dropdown-menu,
.feature-card,
.content-card,
.card,
.page-shell,
.focus-card,
.panel-card,
.publication-card,
.venture-card,
.media-card,
.empty-state {
  border-radius: 0;
  box-shadow: none;
}

.dropdown-menu {
  border-radius: 0;
}

.feature-card,
.content-card,
.card,
.page-shell {
  background: var(--surface);
}

.focus-card,
.panel-card,
.publication-card,
.venture-card,
.media-card,
.empty-state,
blockquote {
  background: var(--surface-soft);
}

.card.shadow {
  box-shadow: none !important;
}

.home-hero {
  padding: 1.2rem 0 0.4rem;
}

.hero-title {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 64ch;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.hero-pills {
  display: none;
}

.home-links {
  margin-top: 1.1rem;
  font-weight: 700;
}

.home-links a::after {
  content: " /";
  color: var(--muted-soft);
}

.home-links a:last-child::after {
  content: "";
}

.home-hero .card {
  max-width: 410px;
  margin-left: auto;
}

.home-hero .card-img-top {
  aspect-ratio: 4 / 3.55;
  object-position: center 24%;
}

.home-hero .card-body {
  padding: 1rem 1rem 0.85rem;
}

.home-hero .card-title {
  margin-bottom: 0.3rem;
}

.home-hero .card-body p {
  margin-bottom: 0.65rem;
}

.btn,
.pill-badge,
.record-link,
code,
pre,
blockquote {
  border-radius: 0;
}

.btn {
  padding: 0.65rem 1rem;
}

.btn-outline-primary {
  background: var(--surface);
}

.home-section {
  margin-top: 1.75rem;
}

.section-title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.feature-card {
  min-height: 0;
  padding: 1.2rem;
}

.feature-card:hover,
.record-link:hover {
  transform: none;
}

.content-card {
  padding: 1.35rem;
}

.page-shell {
  padding: 1.5rem;
}

.venture-card-featured {
  background: var(--surface-soft);
}

.footer-copy-secondary {
  flex-basis: 100%;
  font-size: 0.84rem;
}

.fa-envelope,
.fa-github,
.fa-linkedin,
.fa-video,
.fa-twitter,
.ai-google-scholar {
  transition: color 0.2s ease;
}

.fa-envelope:hover,
.fa-github:hover,
.fa-linkedin:hover,
.fa-video:hover,
.fa-twitter:hover,
.ai-google-scholar:hover {
  transform: none;
}

@media (max-width: 991.98px) {
  .feature-grid,
  .focus-grid,
  .split-panel,
  .venture-featured-grid,
  .venture-grid,
  .media-list {
    grid-template-columns: 1fr;
  }

  .site-shell {
    padding: 1rem 1rem 1.5rem;
  }

  .hero-title {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .page-shell,
  .content-card {
    padding: 1.2rem;
  }

  .publication-entry {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .publication-side {
    padding-top: 0;
  }

  .publication-head,
  .venture-card-head,
  .footer {
    flex-direction: column;
  }

  .navbar-brand {
    font-size: 1.45rem;
  }
}
