/* =========================================================
   NEWSPRINT LAYER
   Editorial typography and layout. Loaded after style.css on
   every page. No motion, no illustrations: type, rules, space.
   ========================================================= */
:root {
  --paper:      #ffffff;
  --ink:        #121212;
  --ink-2:      #333333;
  --meta:       #5f6368;
  --meta-light: #8a8d91;
  --rule:       #e2e2e2;
  --rule-mid:   #c7c7c7;

  /* Yale blue for links and labels; adipose amber as the signal colour */
  --accent:       #00356b;
  --accent-light: #286dc0;
  --amber:        #b8732a;
  --amber-soft:   #f3e3cc;

  /* repoint the legacy tokens so existing components follow */
  --bg:          var(--paper);
  --surface:     var(--paper);
  --text:        var(--ink);
  --navy:        var(--ink);
  --muted:       var(--meta);
  --muted-light: var(--meta-light);
  --border:      var(--rule);
  --border-dark: var(--rule-mid);

  --font-head:  'Newsreader', 'Times New Roman', Georgia, serif;
  --font-text:  'Source Serif 4', Georgia, serif;
  --font-label: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:  'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-serif: var(--font-head);
  --font-sans:  var(--font-text);

  --col:    680px;   /* reading column */
  --max-w:  1080px;
}

html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "onum";
}
a { color: var(--accent); }
::selection { background: #d6e4f5; }

/* ---------- Shared label style ---------- */
.kicker,
.nav-links a,
.nav-mobile-drawer a,
.hiring-label,
.latest-research-eyebrow,
.thoughts-eyebrow,
.team-role,
.sidebar-pi-label,
.translation-num,
.bio-date,
.award-year,
.lecture-year,
.media-source,
.media-year,
.member-project span,
.member-term,
.latest-paper-meta,
.footer-copy,
.footer-links a,
.pub-group-num,
.research-theme-position,
.theme-subnav a,
.references-title {
  font-family: var(--font-label);
}

.kicker {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}

/* =========================================================
   MASTHEAD / NAV
   ========================================================= */
nav {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: saturate(1.2) blur(6px);
}
nav.scrolled { border-bottom-color: var(--ink); }
nav::after { display: none; }
.nav-inner { height: 56px; }

.nav-wordmark {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.nav-wordmark em { font-style: italic; font-weight: 400; }
.nav-wordmark:hover { color: var(--ink); }

.nav-links { gap: 1.6rem; }
.nav-links a {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .09em;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--rule-mid); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--ink); }

.nav-mobile-drawer { background: var(--paper); border-bottom: 1px solid var(--ink); }
.nav-mobile-drawer a { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }

/* =========================================================
   PAGE HEADERS (all subpages)
   ========================================================= */
.page-header {
  background: var(--paper);
  border-bottom: none;
  padding-top: 112px;
  padding-bottom: 0;
}
body[data-page="publications.html"] .page-header { padding-top: 112px; padding-bottom: 0; }
.page-header .container {
  max-width: var(--max-w);
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .8rem;
  max-width: 820px;
}
.page-header p,
.page-header .thoughts-lede {
  font-family: var(--font-text);
  font-size: 1.2rem;
  font-style: normal;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 720px;
}
.page-header p strong { font-weight: 600; color: var(--ink); }
.page-header .container::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--rule);
  margin-top: 2.2rem;
}
.thoughts-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .9rem;
  display: block;
}

/* =========================================================
   SECTIONS: no more boxes inside boxes
   ========================================================= */
.page-main { padding: 2.4rem 0 4rem; }
body[data-page="publications.html"] .page-main { padding-top: 2.4rem; }

.page-main section,
.thoughts-section {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0 0 4rem;
}
.page-main section:first-child { padding-top: 0; }
.page-main section:last-child { margin-bottom: 0; }

/* Section heads in the newspaper "department" style:
   short heavy rule above a small sans label */
.section-title,
.research-theme-heading h2,
.latest-research-heading {
  display: block;
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 2px solid var(--ink);
  padding-top: .7rem;
  margin-bottom: 1.8rem;
}
.section-title::after { display: none; }
.research-theme-heading .latest-research-eyebrow,
.team-latest-research .latest-research-eyebrow { display: none; }

/* Long-form headings (Approach page) */
.thoughts-h2 {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.15;
  color: var(--ink);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1rem;
}
.thoughts-section > * { max-width: var(--col); margin-left: auto; margin-right: auto; }
.thoughts-section > .hidden-label-schematic,
.thoughts-section > .target-schematic,
.thoughts-section > .principle-grid { max-width: 960px; }
.thoughts-body {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink);
}
.thoughts-header .container { max-width: var(--col); }
.thoughts-references { max-width: var(--col); margin-left: auto; margin-right: auto; }

/* Generic card shells -> open layouts divided by hairlines */
.hidden-label-schematic,
.target-schematic {
  border: none;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.schematic-caption {
  font-family: var(--font-label);
  font-style: normal;
  font-size: .8rem;
  color: var(--meta);
  text-align: left;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  border-top: 1px solid var(--ink);
  padding: 2rem 0 2.6rem;
  margin-top: 2rem;
}
.footer-copy,
.footer-links a { font-size: .74rem; color: var(--meta); letter-spacing: .02em; }
.footer-links a:hover { color: var(--ink); }

/* =========================================================
   HOMEPAGE
   ========================================================= */
.np-home { padding-top: 56px; }
.np-col  { max-width: var(--col); margin: 0 auto; padding: 0 1.25rem; }
.np-wide { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

.np-lead { padding-top: 4rem; }
.np-headline {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.np-dek {
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 1.8rem;
}
.np-byline {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-label);
}
.np-byline img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}
.np-byline-text { flex: 1; min-width: 0; line-height: 1.35; }
.np-byline-name { font-size: .88rem; font-weight: 600; color: var(--ink); }
.np-byline-name a { color: var(--ink); text-decoration: none; }
.np-byline-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.np-byline-meta { font-size: .78rem; color: var(--meta); }
.np-byline-links { display: flex; gap: .35rem; }
.np-byline-links a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: border-color .15s, color .15s;
}
.np-byline-links a:hover { color: var(--ink); border-color: var(--ink); }
.np-byline-links svg { width: 15px; height: 15px; }

.np-figure { margin: 2.6rem auto 0; }
.np-figure img { width: 100%; display: block; background: #000; }
.np-figure figcaption,
.np-caption {
  font-family: var(--font-label);
  font-size: .78rem;
  line-height: 1.45;
  color: var(--meta);
  margin-top: .6rem;
}

.np-body { padding-top: 2.8rem; }
.np-body p {
  font-size: 1.15rem;
  line-height: 1.68;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.np-body h2 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 2.6rem 0 1rem;
  color: var(--ink);
}
.np-body .np-more { font-family: var(--font-label); font-size: .85rem; font-weight: 600; }
.np-body a { text-decoration: underline; text-decoration-color: rgba(28,107,82,.35); text-underline-offset: 3px; }
.np-body a:hover { text-decoration-color: currentColor; }

/* The five-step arc as an ordered list set in the column */
.np-steps { list-style: none; margin: .4rem 0 1.8rem; padding: 0; border-top: 1px solid var(--rule); }
.np-steps li {
  display: grid;
  grid-template-columns: 2.6rem 7.5rem 1fr;
  gap: 0 .9rem;
  align-items: baseline;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rule);
}
.np-steps .n { font-family: var(--font-label); font-size: .75rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.np-steps .t { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.np-steps .d { font-size: 1rem; line-height: 1.5; color: var(--ink-2); }

/* Department sections on the homepage */
.np-dept { padding-top: 4.2rem; }
.np-dept-head {
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 2px solid var(--ink);
  padding-top: .7rem;
  margin-bottom: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.np-dept-head a { font-weight: 600; letter-spacing: .06em; color: var(--ink-2); text-decoration: none; }
.np-dept-head a:hover { color: var(--ink); }

/* Featured work carousel: figure, not a card */
#featured-works .paper-carousel { border: none; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
#featured-works .paper-carousel-track { background: #fafafa; border-radius: 0; }
#featured-works .pc-caption {
  text-align: left;
  font-family: var(--font-text);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  border-top: none;
  background: transparent;
  padding: .9rem 0 0;
  max-width: var(--col);
}
#featured-works .pc-caption em { color: var(--meta); }
#featured-works .pc-dots { justify-content: flex-start; margin-top: 1rem; }
#featured-works .pc-prev,
#featured-works .pc-next { background: rgba(255,255,255,.92); border: 1px solid var(--rule-mid); box-shadow: none; }

/* Work with us: an inline promo box */
.np-promo {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 0 1.5rem;
}
.np-promo .kicker { margin-bottom: .5rem; }
.np-promo h3 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: .6rem;
}
.np-promo p { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); margin-bottom: .9rem; }
.np-promo-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-family: var(--font-label); font-size: .82rem; font-weight: 600; }
.np-promo-links a { text-decoration: none; }
.np-promo-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* About the PI: author box */
.np-author {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.np-author img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.np-author h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: .5rem;
}
.np-author h3 span { font-weight: 400; color: var(--meta); font-size: 1.05rem; }
.np-author ul { list-style: none; margin: 0 0 .9rem; padding: 0; }
.np-author li { font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.np-author li strong { font-weight: 600; color: var(--ink); }
.np-author address {
  font-style: normal;
  font-family: var(--font-label);
  font-size: .78rem;
  line-height: 1.55;
  color: var(--meta);
  margin-bottom: .8rem;
}
.np-author .np-promo-links { font-size: .8rem; }

.np-end { height: 4.5rem; }

/* =========================================================
   RESEARCH (publications)
   ========================================================= */
.research-theme-explorer { border: none; background: transparent; padding: 0; box-shadow: none; }
.research-theme-tabs { gap: 0; border-top: 1px solid var(--rule); }
.research-theme-tab {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--meta);
  padding: .95rem .6rem .95rem 0;
  text-align: left;
}
.research-theme-tab span {
  background: transparent !important;
  color: var(--meta-light) !important;
  border: none !important;
  font-family: var(--font-label);
  font-size: .72rem;
  font-weight: 700;
  width: auto !important; height: auto !important;
  margin-right: .7rem;
}
.research-theme-tab:hover { color: var(--ink); }
.research-theme-tab.active { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink) !important; }
.research-theme-tab.active span { color: var(--accent) !important; }
.research-theme-arrow { border-color: var(--rule-mid); background: transparent; }

.pub-group {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1.8rem 0 0;
}
.pub-group-header { border-bottom: 1px solid var(--rule); padding-bottom: 1.4rem; margin-bottom: .4rem; }
.pub-group-num { font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.pub-group-title { font-family: var(--font-head); font-size: 1.75rem; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.pub-group-desc { font-family: var(--font-text); font-style: normal; font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); }

.pub-list { gap: 0 2.2rem; }
.pub-item {
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1.15rem 0;
}
.pub-item:hover { background: transparent; transform: none; box-shadow: none; }
.pub-title { font-family: var(--font-head); font-size: 1.12rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.pub-item:hover .pub-title { text-decoration: underline; text-decoration-color: var(--rule-mid); text-underline-offset: 3px; }
.pub-citation { font-family: var(--font-label); font-style: normal; font-size: .74rem; color: var(--meta); letter-spacing: .02em; }
.scholar-link { font-family: var(--font-label); font-size: .85rem; font-weight: 600; }

/* =========================================================
   BIO
   ========================================================= */
.bio-intro-grid { gap: 2.2rem; }
.bio-intro p, .bio-intro-grid p { font-size: 1.1rem; line-height: 1.68; color: var(--ink); }
.bio-intro-photo { border: none; box-shadow: none; }
.btn-link {
  border: 1px solid var(--rule-mid);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
}
.btn-link:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.bio-date { font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.bio-institution { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.award-item { border-color: var(--rule); }
.award-year { font-size: .78rem; font-weight: 600; color: var(--meta); }
.award-name { font-size: 1.02rem; color: var(--ink); }

/* =========================================================
   TEAM
   ========================================================= */
.members-grid { gap: 2.8rem 2rem; }
.member-card {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.member-card:hover { transform: none; box-shadow: none; }
.member-photo { border-radius: 0; }
.member-content { padding: 1rem 0 0; }
.team-role { font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.team-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.team-sub { font-family: var(--font-label); font-size: .76rem; color: var(--meta); }
.member-project { border-top: 1px solid var(--rule); }
.member-project span { font-size: .66rem; font-weight: 700; letter-spacing: .1em; color: var(--meta-light); }
.member-project p, .member-project { font-size: 1rem; color: var(--ink); }
.member-term { font-size: .74rem; color: var(--meta); }

.collab-items { gap: 0; border-top: 1px solid var(--rule); }
.collab-item {
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1.3rem 0;
}
.collab-body-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.collab-body-desc { font-size: 1.02rem; color: var(--ink-2); }
.collab-body-link { font-family: var(--font-label); font-size: .8rem; font-weight: 600; }

.latest-paper {
  border: none;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1.3rem 0 0;
}
.latest-paper--primary { border-top: 1px solid var(--rule); }
.latest-paper h3, .latest-paper-title { font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.latest-paper-summary { color: var(--ink-2); }
.latest-paper-link { font-family: var(--font-label); font-size: .8rem; font-weight: 600; }

/* =========================================================
   NEWS
   ========================================================= */
.theme-subnav { background: var(--paper); border-color: var(--rule); }
.theme-subnav a { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.media-grid { gap: 2.4rem 1.8rem; }
.media-card {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.media-card:hover { transform: none; box-shadow: none; }
.media-thumb { border-radius: 0; }
.media-body { padding: .9rem 0 0; }
.media-source { font-size: .66rem; font-weight: 700; letter-spacing: .09em; color: var(--accent); }
.media-year { font-size: .7rem; border: none; background: transparent; color: var(--meta); padding: 0; }
.media-title { font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; line-height: 1.22; color: var(--ink); }
.media-card:hover .media-title { text-decoration: underline; text-decoration-color: var(--rule-mid); text-underline-offset: 3px; }
.media-desc { font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.media-read { font-family: var(--font-label); font-size: .78rem; font-weight: 600; }
.media-card--podcast { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.media-card--podcast .media-body { padding-top: 0; }

/* =========================================================
   GRANTS
   ========================================================= */
.funding-items { gap: 0; border-top: 1px solid var(--rule); }
.funding-item {
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1.6rem 0;
}
.funding-award { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.funding-detail { font-family: var(--font-label); font-size: .76rem; color: var(--meta); letter-spacing: .02em; }
.funding-project { font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.funding-people { font-family: var(--font-label); font-size: .78rem; color: var(--meta); }
.funding-link { font-family: var(--font-label); font-size: .8rem; font-weight: 600; }
.funding-grant-block { border-color: var(--rule); }

/* =========================================================
   TALKS / APPROACH extras
   ========================================================= */
.talk-card { border: none; border-radius: 0; background: transparent; box-shadow: none; padding: 0; }
.talk-thumb { border-radius: 0; }
.talk-title, .lecture-title { font-family: var(--font-head); color: var(--ink); }
.lecture-venue { font-family: var(--font-label); font-size: .78rem; color: var(--meta); }
.lecture-year { font-weight: 700; color: var(--accent); }

.principle-tile {
  border: none;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.principle-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.principle-ref { font-family: var(--font-label); }
.ref-text { color: var(--ink-2); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1040px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .66rem; letter-spacing: .07em; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; color: var(--ink); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-wordmark { font-size: 1.2rem; }
  .page-header { padding-top: 92px; }
  .page-header p, .page-header .thoughts-lede { font-size: 1.08rem; }
  .np-lead { padding-top: 2.4rem; }
  .np-dek { font-size: 1.12rem; }
  .np-body p { font-size: 1.06rem; }
  .np-byline { flex-wrap: wrap; }
  .np-byline-links { width: 100%; padding-left: calc(44px + .85rem); }
  .np-steps li { grid-template-columns: 2.2rem 1fr; }
  .np-steps .d { grid-column: 2; margin-top: .15rem; }
  .np-author { grid-template-columns: 1fr; }
  .np-author img { width: 96px; height: 96px; }
}
.nav-mobile-drawer { top: 56px; }
.np-home section { border-bottom: none; padding-bottom: 0; }
.np-promo p.kicker { font-size: .72rem; line-height: 1.4; color: var(--accent); margin-bottom: .5rem; }

/* --- round 2 fixes --- */
.page-header .container::after { display: none; }
.page-header { padding-bottom: 2.6rem; }
.research-theme-tab::before { display: none !important; }
.latest-research-heading h2 {
  font-family: var(--font-label);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  margin: 0;
}
.media-card--podcast .media-body { padding: 0 0 0 1.6rem; }
.media-grid > .media-card--podcast:first-child { border-top: none; padding-top: 0; }
@media (max-width: 680px) { .media-card--podcast .media-body { padding: .9rem 0 0; } }

.funding-items, .collab-items { border-top: none; }
.funding-item:first-child, .collab-item:first-child { padding-top: 0; }
.thoughts-header .container { max-width: calc(var(--col) + 3rem); }


/* =========================================================
   ROUND 3: oikonomou-lab.org identity
   Mono for labels, numbers and the wordmark; Yale blue + amber.
   ========================================================= */
.kicker,
.np-dept-head,
.section-title,
.research-theme-heading h2,
.latest-research-heading,
.thoughts-eyebrow,
.references-title,
.np-steps .n,
.pub-group-num,
.research-theme-tab span,
.research-theme-position,
.bio-date,
.award-year,
.lecture-year,
.team-role,
.member-project span,
.hiring-label,
.media-source,
.media-year {
  font-family: var(--font-mono);
}
.kicker {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--accent);
}
.np-dept-head,
.section-title,
.research-theme-heading h2,
.latest-research-heading {
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .06em;
}
.team-role, .media-source { font-weight: 500; letter-spacing: .04em; }
.np-steps .n, .pub-group-num { color: var(--amber); font-weight: 500; }

/* Wordmark */
.nav-wordmark {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.nav-wordmark span { color: var(--meta-light); font-weight: 400; }
.nav-wordmark::before {
  content: '';
  display: inline-block;
  width: .55em; height: .55em;
  margin-right: .55em;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: .08em;
}

/* Lead figure: four PanAdipo panels */
.np-lead-art {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #000;
}
.np-lead-art div { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.np-lead-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.np-lead-art span {
  position: absolute;
  left: .7rem; top: .6rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .03em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.np-figure figcaption, .np-caption { font-family: var(--font-label); }

/* Byline link styling */
.np-byline-meta a { color: var(--meta); text-decoration: underline; text-decoration-color: var(--rule-mid); text-underline-offset: 2px; }
.np-byline-meta a:hover { color: var(--ink); }

/* ---------- Translational loop ---------- */
.np-loop-wrap { max-width: 980px; margin: 0 auto; padding: 1rem 1.25rem 0; }
.np-loop {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 2.5rem;
  align-items: center;
}
.np-loop-ring svg { width: 100%; height: auto; display: block; overflow: visible; }
.ring-track { fill: none; stroke: var(--rule); stroke-width: 2; }
.ring-progress { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; }
.ring-chev { fill: none; stroke: var(--rule-mid); stroke-width: 1.5; }
.ring-node { cursor: pointer; }
.ring-node circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; transition: fill .3s, stroke .3s, r .3s; }
.ring-node.is-done circle { fill: var(--ink); }
.ring-node.is-active circle { fill: var(--amber); stroke: var(--amber); }
.ring-node text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  fill: var(--meta);
  transition: fill .3s;
}
.ring-node.is-active text { fill: var(--ink); }
.ring-pulse { fill: var(--amber); }
.ring-pulse-halo { fill: var(--amber); opacity: .18; }
.ring-center-num { font-family: var(--font-mono); font-size: 12px; fill: var(--amber); letter-spacing: .06em; }
.ring-center-name { font-family: var(--font-head); font-size: 30px; font-weight: 500; fill: var(--ink); }
.ring-center-sub { font-family: var(--font-mono); font-size: 10px; fill: var(--meta-light); letter-spacing: .05em; }

.np-loop .np-steps { margin: 0; }
.np-loop .np-steps li { cursor: pointer; transition: opacity .3s; grid-template-columns: 2.4rem 6.4rem 1fr; }
.js-loop .np-loop .np-steps li { opacity: .5; }
.js-loop .np-loop .np-steps li.is-active { opacity: 1; }
.np-loop .np-steps li:hover { opacity: .85; }
.np-loop .np-steps li.is-active .t { color: var(--ink); }
.np-loop .np-steps li { position: relative; }
.np-loop .np-steps li::before {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  height: 2px; width: 0;
  background: var(--amber);
}
.np-loop .np-steps li.is-active::before { width: var(--p, 0%); }

/* ---------- Cardiometabolic Intelligence ---------- */
.np-cmi { max-width: 980px; margin: 0 auto; padding: 4.2rem 1.25rem 0; }
.np-cmi-grid { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: center; }
.np-cmi h3 {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .9rem;
  word-break: break-word;
}
.np-cmi h3 b { color: var(--amber); font-weight: 500; }
.np-cmi p { font-size: 1.12rem; line-height: 1.65; color: var(--ink); margin-bottom: 1rem; }
.np-cmi .np-promo-links { margin-top: .4rem; }
.cmi-diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.cmi-edge { stroke: var(--rule-mid); stroke-width: 1.4; fill: none; stroke-dasharray: 3 6; animation: cmi-flow 2.8s linear infinite; }
.cmi-spoke { stroke: var(--amber); stroke-width: 1.4; fill: none; stroke-dasharray: 2 5; animation: cmi-flow 1.8s linear infinite reverse; opacity: .8; }
@keyframes cmi-flow { to { stroke-dashoffset: -36; } }
.cmi-node circle { stroke: var(--ink); stroke-width: 1.5; fill: var(--paper); }
.cmi-node text { font-family: var(--font-mono); font-size: 12px; fill: var(--ink); letter-spacing: .02em; }
.cmi-core circle { fill: var(--ink); }
.cmi-core text { font-family: var(--font-mono); font-size: 10px; fill: #fff; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) {
  .cmi-edge, .cmi-spoke { animation: none; }
}

/* ---------- Research theme figures ---------- */
.pub-group-header {
  grid-template-columns: 3.2rem minmax(0, 1fr) minmax(0, 420px);
  column-gap: 1rem;
}
.pub-group-header .pub-group-desc { grid-column: 2 / 3; }
.theme-figure {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0 0 0 1.5rem;
  background: #04030c;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.theme-figure--light { background: #fff; border: 1px solid var(--rule); }
.theme-figure img, .theme-figure svg { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Team photo framing */
.member-photo--rao { object-position: 50% 30%; }

@media (max-width: 900px) {
  .np-loop { grid-template-columns: 1fr; gap: 1.5rem; }
  .np-loop-ring { max-width: 320px; margin: 0 auto; width: 100%; }
  .np-cmi-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cmi-diagram { max-width: 300px; }
  .pub-group-header { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .theme-figure { grid-column: 1 / -1; grid-row: auto; margin: 1.2rem 0 0; }
}
@media (max-width: 680px) {
  .np-lead-art { grid-template-columns: repeat(2, 1fr); }
  .np-loop .np-steps li { grid-template-columns: 2.2rem 1fr; }
}
.pub-group-header { grid-template-rows: auto 1fr; }
@media (max-width: 900px) { .pub-group-header { grid-template-rows: none; } }
@media (max-width: 680px) { .np-loop-ring { max-width: 270px; } }

/* =========================================================
   ROUND 4
   ========================================================= */

/* ---------- Title rows (homepage PI box, bio header) ---------- */
.np-author li,
.title-rows li { margin-bottom: .55rem; }
.np-author li strong,
.title-rows li strong { display: block; font-weight: 600; color: var(--ink); }
.np-author li span,
.title-rows li span { display: block; color: var(--meta); font-size: .95em; }
.bio-header-name {
  font-family: var(--font-mono) !important;
  font-size: .8rem !important;
  letter-spacing: .04em;
  color: var(--accent) !important;
  margin: .2rem 0 1rem;
}
.title-rows { list-style: none; margin: 0; padding: 0; max-width: 720px; border-top: 1px solid var(--rule); }
.title-rows li {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 0 1.2rem;
  padding: .6rem 0;
  margin: 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.02rem;
  line-height: 1.45;
}
.title-rows li span { font-size: 1rem; color: var(--ink-2); }

/* ---------- Openings page ---------- */
.np-col-text { max-width: var(--col); }
.np-col-text p, .opening p { font-size: 1.1rem; line-height: 1.65; color: var(--ink); margin-bottom: 1rem; }
.opening { max-width: var(--col); }
.opening-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: .6rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; }
.opening-status { color: var(--paper); background: var(--meta); padding: .15rem .5rem; text-transform: uppercase; }
.opening-date { color: var(--meta); }
.opening-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 500; line-height: 1.2; color: var(--ink); margin-bottom: .7rem; }
.opening-note { border-left: 2px solid var(--amber); padding-left: 1rem; color: var(--ink-2) !important; }

/* ---------- News: academic list ---------- */
.press-list { list-style: none; margin: 0; padding: 0; }
.press-item {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.press-item:first-child { padding-top: .2rem; }
.press-date { font-family: var(--font-mono); font-size: .85rem; color: var(--amber); padding-top: .2rem; }
.press-body { max-width: 720px; }
.press-source { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.press-title { font-family: var(--font-head); font-size: 1.45rem; font-weight: 500; line-height: 1.22; letter-spacing: -.01em; margin-bottom: .45rem; }
.press-title a { color: var(--ink); text-decoration: none; }
.press-title a:hover { text-decoration: underline; text-decoration-color: var(--rule-mid); text-underline-offset: 4px; }
.press-desc { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); margin-bottom: .5rem; }
.press-link { font-family: var(--font-label); font-size: .8rem; font-weight: 600; text-decoration: none; }
.press-link:hover { text-decoration: underline; text-underline-offset: 3px; }
#news-podcasts, #news-lighter { margin-top: 4rem !important; }

/* ---------- Research theme flipper ---------- */
.research-theme-section { position: relative; }
.research-theme-tabs {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0 1rem !important;
  border-top: none !important;
  margin-bottom: 1.2rem !important;
}
.research-theme-tab {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: .45rem !important;
  min-height: 0 !important;
  padding: .85rem 0 .4rem !important;
  border-bottom: none !important;
  border-top: 3px solid var(--rule) !important;
  font-size: .92rem !important;
  line-height: 1.25;
  color: var(--meta) !important;
  transition: color .25s, border-color .35s;
}
.research-theme-tab span {
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  letter-spacing: -.02em;
  margin: 0 !important;
  color: var(--rule-mid) !important;
  transition: color .25s;
}
.research-theme-tab.is-done { border-top-color: var(--ink) !important; }
.research-theme-tab.active { color: var(--ink) !important; border-top-color: var(--amber) !important; box-shadow: none !important; font-weight: 500 !important; }
.research-theme-tab.active span { color: var(--amber) !important; }
.research-theme-tab:hover span { color: var(--ink) !important; }
.research-theme-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.research-theme-nav { justify-content: space-between !important; margin: 0 0 .4rem !important; }
.research-theme-hint { font-family: var(--font-mono); font-size: .7rem; color: var(--meta-light); letter-spacing: .04em; margin-right: auto; }
.research-theme-arrow { width: 40px !important; height: 40px !important; font-size: 1.05rem; color: var(--ink) !important; }
.research-theme-arrow:hover:not(:disabled) { border-color: var(--ink) !important; }

/* Panel: big figure left, text right */
.pub-group-header {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto 1fr !important;
  column-gap: 2.2rem !important;
  align-items: start;
  padding-bottom: 2rem !important;
}
.theme-figure { grid-column: 1 !important; grid-row: 1 / span 3 !important; margin: 0 !important; }
.pub-group-header .pub-group-num { grid-column: 2; grid-row: 1; font-size: 2.6rem !important; line-height: 1; font-weight: 400 !important; letter-spacing: -.03em; padding-top: 0; }
.pub-group-header .pub-group-title { grid-column: 2; grid-row: 2; margin: .5rem 0 .2rem; }
.pub-group-header .pub-group-desc { grid-column: 2 !important; grid-row: 3; margin-top: .4rem; }

/* flip animation */
.research-theme-explorer .pub-group { animation: none; }
.research-theme-explorer[data-dir="next"] .pub-group.is-entering { animation: themeInNext .5s cubic-bezier(.2,.7,.2,1); }
.research-theme-explorer[data-dir="prev"] .pub-group.is-entering { animation: themeInPrev .5s cubic-bezier(.2,.7,.2,1); }
.research-theme-explorer .pub-group.is-entering .theme-figure { animation: themeFig .6s cubic-bezier(.2,.7,.2,1); }
@keyframes themeInNext { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes themeInPrev { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes themeFig { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .research-theme-explorer .pub-group.is-entering,
  .research-theme-explorer .pub-group.is-entering .theme-figure { animation: none !important; }
}

@media (max-width: 900px) {
  .research-theme-tab { font-size: 0 !important; gap: 0 !important; }
  .research-theme-tab span { font-size: 1.3rem !important; }
  .research-theme-tabs { gap: 0 .5rem !important; }
  .research-theme-hint { display: none; }
  .pub-group-header { grid-template-columns: 1fr !important; grid-template-rows: none !important; }
  .theme-figure { grid-column: 1 !important; grid-row: auto !important; order: 4; margin-top: 1.2rem !important; }
  .pub-group-header .pub-group-num,
  .pub-group-header .pub-group-title,
  .pub-group-header .pub-group-desc { grid-column: 1 !important; grid-row: auto; }
}
@media (max-width: 680px) {
  .press-item { grid-template-columns: 1fr; gap: .3rem; }
  .press-date:empty { display: none; }
  .title-rows li { grid-template-columns: 1fr; }
}
.title-rows li { grid-template-columns: 18rem 1fr; }
@media (max-width: 1100px) { .nav-links { gap: .9rem; } .nav-links a { font-size: .62rem; letter-spacing: .05em; } }
@media (max-width: 680px) { .title-rows li { grid-template-columns: 1fr; } }

/* ---------- Lead: full width, sans headline ---------- */
.np-lead.np-wide { padding-top: 4.2rem; }
.np-lead .np-headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: none;
  margin-bottom: 2.2rem;
}
.np-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
  padding-top: 1.6rem;
  border-top: 1px solid var(--ink);
}
.np-lead .np-dek { font-size: 1.22rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.np-lead .np-byline {
  flex-wrap: wrap;
  border-top: none;
  border-bottom: none;
  padding: 0;
  gap: .8rem;
}
.np-lead .np-byline-text { flex: 1 1 0; }
.np-lead .np-byline-links { width: 100%; padding-left: calc(44px + .8rem); }
.np-lead + .np-figure { margin-top: 3rem; }
@media (max-width: 820px) {
  .np-lead-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .np-lead .np-byline { padding-top: 1.2rem; border-top: 1px solid var(--rule); }
}
.np-lead .np-headline { font-size: clamp(2.2rem, 4vw, 3.25rem); text-wrap: balance; }
