/* Global Media Lab — site styles.
   Source Serif 4 for headings and titles; Source Sans 3, its companion sans, for reading text and navigation. */

:root {
  --ink: #202f32;
  --muted: #586465;
  --faint: #687475;
  --paper: #faf9f5;
  --panel: #eeeee6;
  --rule: #d9ddd5;
  --accent: #193d46;
  --accent-soft: #e5ede9;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --narrow: 720px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
/* 17px base: Source Sans 3 runs smaller than most sans faces, so every rem size scales up with it. */
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Eyebrow labels and small caps-style meta */
.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .9em;
}
.meta { font-size: .85rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-sub { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 6px 10px; font: inherit; font-size: .85rem; color: var(--ink); cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
         gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 1rem; width: 100%; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .nav .btn { width: auto; margin-top: 10px; padding: 10px 18px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-size: .9rem; font-weight: 500; padding: 9px 18px; border-radius: var(--radius); border: 1px solid var(--accent);
}
.btn:hover { background: #172d52; }
.btn-quiet { background: transparent; color: var(--accent); }
.btn-quiet:hover { background: var(--accent-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.more { font-size: .9rem; font-weight: 500; text-decoration: none; }
.more::after { content: " →"; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section.panel { background: var(--panel); border-top: 0; }
.section.panel + .section { border-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* Page header for interior pages */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--rule); }
.page-head h1 { margin-bottom: .3em; }
.page-head .lede { margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.hero .lede { font-size: 1.15rem; }
.hero figure { margin: 0; }
.hero figure img, .hero .ph { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.hero figcaption { font-size: .8rem; color: var(--faint); margin-top: 10px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero figure img, .hero .ph { aspect-ratio: 4 / 3; }
}

/* At-a-glance figures */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.glance div { padding: 26px 24px 24px 0; }
.glance div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.glance strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; margin-bottom: 8px; }
.glance span { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance div:nth-child(3) { border-left: 0; padding-left: 0; }
  .glance div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.theme { border-top: 2px solid var(--ink); padding-top: 18px; }
.theme h3 { margin-bottom: .4em; }
.theme p { color: var(--muted); font-size: .95rem; }
.theme a { font-size: .85rem; text-decoration: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split figure { margin: 0; }
.split img, .split .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }

.photo-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.photo-row figure { margin: 0; }
.photo-row img, .photo-row .ph { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); }
.photo-row figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .photo-row { grid-template-columns: 1fr; } .photo-row img, .photo-row .ph { height: 240px; } }

/* Placeholder for missing images */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, #ece9e2 0 10px, #e6e2da 10px 20px);
  color: var(--faint); font-size: .8rem; padding: 16px; border-radius: var(--radius); min-height: 160px;
}

/* ---------- Research ---------- */
.research-group { padding-top: 48px; }
.research-group > h2 { font-size: 1.35rem; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; }

/* .paper markup matches dylanwgroves.com so entries can move between the two sites. */
.paper { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.paper .title { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; line-height: 1.35; }
.paper .authors { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.paper .venue { font-size: .9rem; color: var(--muted); font-style: italic; margin-top: 2px; }
.paper .paper-links { margin-top: 10px; font-size: .85rem; display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; }

.feature { border-top: 2px solid var(--ink); padding-top: 18px; }
.feature .title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.35; margin: 8px 0 6px; }
.feature .title a { color: var(--ink); text-decoration: none; }
.feature .title a:hover { text-decoration: underline; }
.feature p { font-size: .92rem; color: var(--muted); }

/* ---------- People ---------- */
.people-group { padding-top: 48px; }
.people-group > h2 { font-size: 1.35rem; margin-bottom: 4px; }
.people-group > .group-note { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 36px 32px; margin-top: 24px; }
.person { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.person .avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--panel);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; color: var(--muted);
  border: 1px solid var(--rule);
}
.person h3 { font-size: 1.05rem; margin: 2px 0 2px; }
.person h3 a { color: var(--ink); text-decoration: none; }
.person h3 a:hover { text-decoration: underline; }
.person .role { font-size: .82rem; color: var(--accent); font-weight: 500; }
.person .affil { font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.person .bio { font-size: .88rem; color: var(--muted); margin: 8px 0 0; line-height: 1.55; }
.people.compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 32px; }
.people.compact .person { grid-template-columns: 1fr; }
.people.compact .person .avatar { display: none; }

.lead-person { display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: start; padding: 8px 0 0; }
.lead-person .avatar { width: 180px; height: 220px; border-radius: var(--radius); object-fit: cover; font-size: 2.4rem; }
@media (max-width: 600px) { .lead-person { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.news-item:first-child { border-top: 1px solid var(--rule); }
.news-item time { font-size: .85rem; color: var(--muted); padding-top: 2px; }
.news-item .kind { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 2px; }
.news-item .headline { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; line-height: 1.45; }
.news-item .body { font-size: .92rem; color: var(--muted); margin-top: 4px; }
.news-item .body p { margin: 0 0 .5em; }
.news-item.has-img { grid-template-columns: 130px 1fr 160px; }
.news-item .thumb { width: 160px; height: 110px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 700px) {
  .news-item, .news-item.has-img { grid-template-columns: 1fr; gap: 4px; }
  .news-item .thumb { width: 100%; height: 180px; margin-top: 8px; }
}
.year-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: .9rem; margin-top: 18px; }
.news-year { padding-top: 40px; }
.news-year h2 { font-size: 1.35rem; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 48px; }
.partner { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: center; padding: 24px 0; border-top: 1px solid var(--rule); }
.partner .logo { width: 88px; height: 64px; object-fit: contain; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px;
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); color: var(--faint); font-size: .95rem; }
.partner h3 { font-size: 1.05rem; margin: 0 0 4px; }
.partner h3 a { color: var(--ink); text-decoration: none; }
.partner h3 a:hover { text-decoration: underline; }
.partner .where { font-size: .8rem; color: var(--faint); }
.partner p { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.partner-names { display: flex; flex-wrap: wrap; gap: 10px 36px; font-family: var(--serif); font-size: 1.05rem; color: var(--muted); }
.partner-names a { color: var(--muted); text-decoration: none; }
.partner-names a:hover { color: var(--ink); }

/* ---------- Blog ---------- */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-card { display: grid; grid-template-columns: 1fr 200px; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.post-card:first-child { border-top: 1px solid var(--rule); }
.post-card h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.post-card img, .post-card .ph { width: 200px; height: 140px; object-fit: cover; border-radius: var(--radius); min-height: 0; }
@media (max-width: 640px) { .post-card { grid-template-columns: 1fr; } .post-card img, .post-card .ph { width: 100%; height: 200px; } }

.prose { max-width: var(--narrow); font-size: 1.05rem; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 1.05rem; }
.prose ul { padding-left: 1.2em; }
.post-head { padding: 56px 0 32px; }
.post-head .meta a { color: var(--muted); }
.post-hero { margin: 0 0 40px; }
.post-hero img, .post-hero .ph { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }

/* Two-column page layout (label column + content) */
.cols { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--rule); }
.cols:first-of-type { border-top: 0; }
.cols > h2 { font-size: 1.3rem; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; gap: 12px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.values h3 { font-size: 1.1rem; }
.values p { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Call-to-action band */
.cta { background: var(--accent); color: #e9eef6; padding: 72px 0; }
.cta h2 { color: #fff; }
.cta .grid { margin-top: 32px; }
.cta h3 { color: #fff; font-size: 1.1rem; }
.cta p { color: #c9d3e4; font-size: .95rem; }
.cta a { color: #fff; }
.cta .btn { background: #fff; color: var(--accent); border-color: #fff; }
.cta .btn:hover { background: #e9eef6; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 48px 0 56px; font-size: .88rem; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand-name { color: var(--ink); display: block; margin-bottom: 6px; }
.site-footer .fine { grid-column: 1 / -1; font-size: .78rem; color: var(--faint); border-top: 1px solid var(--rule); padding-top: 20px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Small fixes ---------- */
[hidden] { display: none !important; }
.person .bio p { margin: 0 0 .4em; }
.partner p:last-child { margin-bottom: 0; }
.post-card.no-img { grid-template-columns: 1fr; }
.lead-person .ph.avatar { min-height: 0; font-size: .75rem; }
.page-body { max-width: var(--wrap); }
.feature .eyebrow { font-size: .7rem; }
.cols .prose { font-size: 1rem; }
.cols .prose > :first-child { margin-top: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Editorial identity and responsive page hierarchy. */
[id] { scroll-margin-top: 110px; }
.site-header .wrap { height: 88px; }
.brand { flex-direction: row; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; color: var(--accent); }
.brand-type { display: flex; flex-direction: column; }
.brand-name { font-size: 1.32rem; }
.brand-sub { font-size: .62rem; letter-spacing: .18em; margin-top: 6px; }
.nav { gap: 23px; }
.nav a { font-size: .83rem; }
.btn { border-radius: 2px; padding: 12px 19px; font-size: .84rem; }
.btn span { margin-left: 12px; }
.btn:hover { background: #28545c; }
.btn-quiet:hover { background: var(--accent-soft); }
.nav .btn[aria-current="page"] { color: white; box-shadow: none; padding-bottom: 12px; }
.hero { padding: 64px 0 54px; }
.hero .wrap { grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 4.7vw, 4.3rem); font-weight: 400; line-height: 1.07; letter-spacing: -.04em; max-width: 580px; margin-bottom: 24px; }
.hero .eyebrow { color: var(--accent); display: flex; align-items: center; gap: 12px; font-size: .68rem; }
.eyebrow-rule { display: inline-block; width: 27px; height: 1px; background: currentColor; }
.hero .lede { font-size: 1.04rem; line-height: 1.8; max-width: 500px; }
.hero .actions { gap: 18px; align-items: center; }
.text-link { font-size: .82rem; text-decoration: none; font-weight: 500; }
.text-link:hover { text-decoration: underline; }
.text-link span { margin-left: 7px; }
.hero figure img { aspect-ratio: 1.12; border-radius: 2px; object-position: 48% center; }
.hero figcaption { display: flex; gap: 16px; font-size: .69rem; line-height: 1.6; margin-top: 13px; }
.photo-index { color: var(--accent); white-space: nowrap; }
.glance { grid-template-columns: 1fr .85fr 1.2fr 1.15fr; }
.glance div { padding-top: 27px; padding-bottom: 27px; }
.glance strong { font-weight: 400; font-size: 2.5rem; color: var(--accent); }
.glance span { display: block; font-size: .74rem; max-width: 215px; line-height: 1.6; }
.glance-note { display: flex; flex-direction: column; justify-content: center; }
.glance-note .eyebrow { font-size: .61rem; margin-bottom: 9px; }
.glance-note p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; margin: 0; }
.section { padding: 72px 0; }
.section-head h2 { font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.55rem); letter-spacing: -.025em; }
.section-head .more { flex-shrink: 0; font-size: .8rem; }
.theme-grid { gap: 0; border: 1px solid var(--rule); }
.theme-link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); padding: 25px; border-top: 0; background: transparent; }
.theme-link + .theme-link { border-left: 1px solid var(--rule); }
.theme-link:hover { background: var(--accent-soft); }
.theme-number { font-size: .7rem; color: var(--muted); margin-bottom: 27px; }
.theme-link h3 { font-weight: 400; font-size: 1.4rem; line-height: 1.25; }
.theme-link p { font-size: .84rem; line-height: 1.7; margin-top: 8px; margin-bottom: 28px; }
.theme-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: .75rem; color: var(--accent); }
.theme-bottom span { font-size: 1.1rem; }
.collaboration { background: #eaf0ec; border-top: 0 !important; }
.collaboration-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.collaboration h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400; max-width: 470px; }
.collaboration-intro p { font-size: .96rem; color: var(--muted); }
.collaboration-intro .eyebrow { font-size: .68rem; }
.researcher-highlights { margin-top: 40px; gap: 35px; }
.researcher-highlight { border-top: 1px solid #b9c9c1; padding-top: 22px; }
.researcher-highlight .eyebrow { font-size: .62rem; margin-bottom: 7px; }
.researcher-highlight h3 { font-size: 1.5rem; font-weight: 400; }
.researcher-highlight h3 a { text-decoration: none; }
.researcher-highlight h3 a:hover { text-decoration: underline; }
.researcher-highlight .affil { color: var(--accent); font-size: .76rem; min-height: 2.9em; line-height: 1.5; }
.researcher-bio { font-size: .83rem; color: var(--muted); line-height: 1.75; }
.researcher-bio p:last-child { margin-bottom: 0; }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 34px; padding-top: 24px; border-top: 1px solid #b9c9c1; }
.places h3 { font-family: var(--sans); font-size: .8rem; }
.places a { text-decoration: none; }
.places a:hover { text-decoration: underline; }
.places h3 span { margin-left: 12px; }
.places p { font-size: .75rem; color: var(--muted); margin: 0; }
.student-feature .split { grid-template-columns: .9fr 1.1fr; gap: 80px; }
.student-feature h2 { font-size: clamp(2.1rem, 3.5vw, 3.2rem); font-weight: 400; max-width: 410px; }
.student-feature .split img { aspect-ratio: 1; object-position: center 52%; }
.student-feature figcaption { color: var(--muted); font-size: .72rem; margin-top: 12px; }
.student-feature p { color: var(--muted); font-size: .95rem; }
.student-feature .eyebrow { font-size: .7rem; }
.student-paths { display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; font-size: .77rem; }
.student-paths span { padding: 9px 0; border-top: 1px solid var(--rule); }
.student-paths span::before { content: '+ '; color: var(--accent); margin-right: 5px; }
.student-blog-link { display: inline-block; margin-top: 20px; font-size: .8rem; }
.feature { border-top-width: 1px; }
.feature .title { font-size: 1.25rem; line-height: 1.35; font-weight: 400; margin: 12px 0; }
.feature p { font-size: .84rem; }
.feature .meta { font-size: .74rem; }
.home-news .headline { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.18rem; font-weight: 400; }
.home-news .headline:hover { text-decoration: underline; }
.home-news .headline span { color: var(--accent); }
.cta h2 { font-size: 3rem; font-weight: 400; }
.cta .eyebrow { color: #bccfcb; font-size: .67rem; }
.cta p { color: #d3dfdb; }
.cta .grid > div { border-top: 1px solid #5b757a; padding-top: 22px; }
.cta a { font-size: .85rem; }
.section-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 30px; font-size: .82rem; }
.section-nav a { text-decoration: none; border-bottom: 1px solid var(--rule); padding: 5px 0; }
.section-nav a:hover { border-color: var(--accent); }
.initials { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: var(--serif); }
@media (max-width: 1050px) {
  .hero .wrap { gap: 32px; }
  .nav { gap: 16px; }
  .student-feature .split { gap: 44px; }
  .theme-link { padding: 20px; }
}
@media (max-width: 900px) {
  .site-header .wrap { height: auto; min-height: 76px; flex-wrap: wrap; }
  .nav { display: flex; position: static; flex-basis: 100%; flex-direction: row; flex-wrap: wrap; padding: 0 0 16px; gap: 12px 20px; border: 0; }
  .nav a { width: auto; padding: 5px 0; }
  .nav .btn { margin: 0; }
  .nav-toggle { display: none; }
  .menu-ready .nav-toggle { display: block; }
  .menu-ready .site-header .wrap { height: 76px; flex-wrap: nowrap; }
  .menu-ready .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--rule); max-height: calc(100dvh - 76px); overflow-y: auto; }
  .menu-ready .nav.open { display: flex; }
  .menu-ready .nav a { padding: 10px 0; font-size: .95rem; }
  .menu-ready .nav .btn { padding: 12px 19px; margin-top: 8px; align-self: flex-start; }
  .theme-link:nth-child(3) { border-left: 0; }
  .theme-link:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .researcher-highlights { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 35px; }
  .hero { padding: 42px 0 36px; }
  .hero h1 { max-width: 600px; font-size: clamp(2.8rem, 7vw, 4rem); }
  .hero .lede { max-width: 620px; }
  .hero figure img { aspect-ratio: 1.65; }
  .student-feature .split { grid-template-columns: 1fr 1fr; gap: 30px; }
  .collaboration-intro { gap: 32px; }
}
@media (max-width: 760px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance div { padding: 22px 14px 22px 0; }
  .glance div + div { padding-left: 18px; }
  .glance div:nth-child(3) { padding-left: 0; }
  .collaboration-intro { grid-template-columns: 1fr; gap: 12px; }
  .researcher-highlights { grid-template-columns: 1fr; gap: 24px; }
  .researcher-highlight .affil { min-height: 0; }
  .places { gap: 20px; }
  .student-feature .split { grid-template-columns: 1fr; gap: 30px; }
  .student-feature .split img { aspect-ratio: 1.15; }
  .student-feature h2 { max-width: 500px; }
  .section { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 26px; }
  .glance-note p { font-size: .97rem; }
  .home-news .headline { font-size: 1.1rem; }
  .news-item { gap: 8px; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .theme-link + .theme-link { border-left: 0; border-top: 1px solid var(--rule); }
  .theme-number { margin-bottom: 14px; }
  .theme-link p { margin-bottom: 20px; }
  .places { grid-template-columns: 1fr; }
  .places p { font-size: .82rem; }
  .hero .actions { align-items: flex-start; flex-direction: column; }
  .hero figure img { aspect-ratio: 1.25; }
  .hero h1 { font-size: 2.8rem; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 1.18rem; }
  .brand { gap: 8px; }
  .student-paths { gap: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
@media (max-width: 380px) {
  .site-header .wrap { gap: 8px; }
  .brand-name { font-size: 1.03rem; }
  .brand-sub { font-size: .55rem; }
  .brand-mark { width: 28px; height: 28px; }
}

/* September 17: a shorter homepage using the lab's own mission and values. */
.home-simple .wrap { max-width: 1120px; }
.home-simple h1, .home-simple h2 { font-weight: 400; letter-spacing: -.015em; }
.home-simple h2 { font-size: 1.65rem; margin-bottom: 18px; }
.home-simple p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.home-intro { padding: 64px 0 52px; }
.home-intro .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: center; }
.home-intro h1 { font-size: clamp(2rem, 3.1vw, 2.9rem); line-height: 1.17; margin: 0 0 24px; }
.home-intro figure { margin: 0; }
.home-intro img { width: 100%; height: auto; border-radius: 2px; }
.home-intro figcaption { font-size: .75rem; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.home-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; font-size: .9rem; }
.home-values { display: grid; grid-template-columns: 210px 1fr; gap: 40px; padding: 38px 0; border-top: 1px solid var(--rule); }
.home-values p { margin-bottom: 13px; }
.home-values p:last-child { margin-bottom: 0; }
.home-values strong { color: var(--ink); font-weight: 500; }
.home-updates { padding: 38px 0 60px; border-top: 1px solid var(--rule); }
.home-updates-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 10px; }
.home-updates-heading a { font-size: .85rem; }
.home-simple .updates-hint { font-size: .82rem; margin: 0 0 16px; }
.home-updates-feed { max-height: 32rem; overflow-y: auto; scrollbar-gutter: stable; scrollbar-color: #8b9998 transparent; padding-right: 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.home-updates-list { margin: 0; padding: 0; list-style: none; }
.home-updates-list > li { display: grid; grid-template-columns: 125px 1fr; gap: 26px; padding: 22px 0; }
.home-updates-list > li + li { border-top: 1px solid var(--rule); }
.home-updates-list > li.has-photo { grid-template-columns: 125px minmax(0, 1fr) 160px; gap: 26px; }
.home-update-photo { align-self: start; display: block; }
.home-update-photo img { width: 160px; height: 128px; object-fit: cover; border-radius: 3px; }
.home-updates time { font-size: .83rem; color: var(--muted); padding-top: 3px; }
.home-update-copy { min-width: 0; }
.home-update-copy h3 { font-size: 1.15rem; font-weight: 400; line-height: 1.45; margin: 0 0 9px; }
.home-update-body, .home-simple .home-update-body p { color: var(--muted); font-size: .9rem; line-height: 1.7; overflow-wrap: anywhere; }
.home-update-body > :last-child { margin-bottom: 0; }
.home-update-body ul, .home-update-body ol { padding-left: 1.2em; margin: 10px 0; }
.home-update-body li { margin: 6px 0; }
.nav .btn-quiet { color: var(--accent); border-color: var(--rule); }
.nav .btn-quiet[aria-current="page"] { color: var(--accent); }
@media (max-width: 860px) {
  .home-intro .wrap { gap: 30px; }
  .home-intro { padding-top: 42px; }
  .home-values { grid-template-columns: 150px 1fr; gap: 28px; }
}
@media (max-width: 650px) {
  .home-intro .wrap, .home-values { grid-template-columns: 1fr; }
  .home-intro h1 { font-size: 2.1rem; }
  .home-intro { padding: 36px 0; }
  .home-intro figure { margin-top: 0; }
  .home-values { gap: 0; padding: 28px 0; }
  .home-updates { padding: 30px 0 42px; }
  .home-updates-list > li { grid-template-columns: 1fr; gap: 8px; }
  .home-updates-feed { max-height: 30rem; padding-right: 12px; }
}
@media print { .home-updates-feed { max-height: none; overflow: visible; } }

/* Equal profile treatment, summer cohorts, and ungrouped partners. */
.people-directory { padding-bottom: 64px; }
.fellow-cohort { margin-top: 32px; }
.fellow-cohort > h3 { font-size: 1.1rem; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.fellows-link { margin-top: 30px; font-size: .9rem; }
.partners-directory { padding-top: 36px; padding-bottom: 64px; }
.partner h2 { font-size: 1.05rem; margin: 0 0 4px; }
.partner h2 a { color: var(--ink); text-decoration: none; }
.partner h2 a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .home-updates-list > li.has-photo { grid-template-columns: minmax(0, 1fr) 135px; gap: 12px 20px; }
  .home-updates-list > li.has-photo > time { grid-column: 1 / -1; }
  .home-update-photo img { width: 135px; height: 110px; }
}
@media (max-width: 650px) {
  .home-updates-list > li.has-photo { grid-template-columns: minmax(0, 1fr) 88px; gap: 10px 12px; }
  .home-update-photo img { width: 88px; height: 88px; }
  .home-updates-list > li.has-photo .home-update-copy { display: contents; }
  .home-updates-list > li.has-photo h3 { grid-column: 1; grid-row: 2; }
  .home-updates-list > li.has-photo .home-update-photo { grid-column: 2; grid-row: 2; }
  .home-updates-list > li.has-photo .home-update-body { grid-column: 1 / -1; }
}

.home-features { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 40px 0; border-top: 1px solid var(--rule); }
.home-features h3 { font-size: 1.3rem; font-weight: 400; margin: 0 0 15px; }
.home-features h3 a { text-decoration: none; }
.home-features h3 a:hover { text-decoration: underline; }
.home-features section > a { font-size: .9rem; }
.home-feature-person { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.home-feature-person h3 { margin: 0; }
.home-feature-person .avatar { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
@media (max-width: 860px) { .home-features { gap: 36px; } }
@media (max-width: 650px) { .home-features { grid-template-columns: 1fr; gap: 32px; padding: 30px 0; } }
