/* Uppsala VascBio — styles
   Tokens first. Blood red and lymphatic teal on deep ink and warm paper. */

:root {
  --ink: #0d1b2e;
  --ink-2: #14263f;
  --ink-3: #1d3352;
  --paper: #faf8f4;
  --white: #ffffff;
  --tint: #f2efe8;
  --line: #e3ded3;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #1a2333;
  --muted: #5a6474;
  --muted-dark: #a9b4c4;
  --blood: #b02a78;
  --blood-deep: #861c5a;
  --blood-soft: #f9e7f1;
  --lymph: #e0a325;
  --lymph-deep: #8a5d00;
  --lymph-soft: #fbf1dc;
  --gold: #c9a24a;
  --violet: #5b5bd6;
  --violet-soft: #ebebfb;
  --amber: #148f84;
  --amber-soft: #e0f3f1;

  --font-head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --w: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 14px;
  --r-sm: 9px;
  --shadow: 0 1px 2px rgba(13, 27, 46, 0.06), 0 8px 24px -12px rgba(13, 27, 46, 0.18);
  --shadow-lg: 0 2px 4px rgba(13, 27, 46, 0.06), 0 24px 48px -20px rgba(13, 27, 46, 0.35);
  --head-h: 68px;
}

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blood-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blood); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--ink); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--lymph); outline-offset: 2px; border-radius: 4px; }

.w { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.78rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blood-deep); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--blood), var(--lymph)); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.95rem/1 var(--font-body);
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blood); color: #fff; }
.btn-primary:hover { background: var(--blood-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head-h);
  color: #fff; transition: background .25s, box-shadow .25s, color .25s;
}
.site-header.scrolled { background: rgba(250, 248, 244, 0.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand .mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 1.16rem/1.1 var(--font-head); letter-spacing: -0.01em; }
.brand-name b { font-weight: 600; color: var(--blood); }
.site-header:not(.scrolled) .brand-name b { color: #f27bbf; }
.brand-sub { font-size: 0.72rem; opacity: 0.72; letter-spacing: 0.02em; margin-top: 3px; }

#menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
#menu a { display: block; padding: 8px 11px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 0.9rem; font-weight: 500; opacity: 0.86; }
#menu a:hover { opacity: 1; background: rgba(127, 127, 127, 0.12); }
#menu a.active { opacity: 1; color: var(--blood); }
.site-header:not(.scrolled) #menu a.active { color: #f59acb; }
#menu a.menu-cta { background: var(--blood); color: #fff; opacity: 1; margin-left: 6px; padding: 8px 15px; border-radius: 999px; }
#menu a.menu-cta:hover { background: var(--blood-deep); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  #menu {
    position: absolute; top: var(--head-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); color: var(--ink); padding: 10px var(--gut) 18px; box-shadow: var(--shadow-lg);
    display: none;
  }
  #menu.open { display: flex; }
  #menu a { padding: 12px 6px; font-size: 1rem; }
  .site-header:not(.scrolled) #menu a.active { color: var(--blood); }
  #menu a.menu-cta { margin: 8px 0 0; text-align: center; }
  .site-header:has(#menu.open) { background: var(--paper); color: var(--ink); }
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 600px at 85% 20%, rgba(176, 42, 120, 0.26), transparent 60%),
    radial-gradient(900px 600px at 70% 100%, rgba(224, 163, 37, 0.14), transparent 60%),
    linear-gradient(180deg, #0a1626 0%, var(--ink) 100%);
  padding: calc(var(--head-h) + clamp(48px, 9vh, 110px)) 0 0;
  min-height: min(100vh, 980px);
  display: flex; flex-direction: column;
}
#network {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 30%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 30%, #000 62%);
}
.hero-inner { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero .eyebrow { color: #f5b3d6; }
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.0; letter-spacing: -0.035em;
  margin: 0 0 22px; max-width: 11em;
}
.hero h1 .grad { background: linear-gradient(90deg, #f06bb4 0%, #f39a78 50%, #f5c84c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #c9d3e1; font-size: clamp(1.08rem, 1.5vw, 1.28rem); max-width: 34em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.figures {
  position: relative; z-index: 1; margin-top: clamp(40px, 8vh, 90px);
  border-top: 1px solid var(--line-dark); background: rgba(10, 22, 38, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.figures ul { list-style: none; margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(5, 1fr); max-width: var(--w); }
.figures li { padding: 24px 18px 24px 0; border-right: 1px solid var(--line-dark); }
.figures li + li { padding-left: 22px; }
.figures li:last-child { border-right: 0; }
.figures strong { display: block; font: 600 clamp(1.8rem, 3vw, 2.5rem)/1 var(--font-head); color: #fff; letter-spacing: -0.02em; }
.figures span { display: block; font-size: 0.86rem; color: var(--muted-dark); margin-top: 8px; line-height: 1.35; }
@media (max-width: 860px) {
  .figures ul { grid-template-columns: repeat(2, 1fr); }
  .figures li { border-right: 0; border-bottom: 1px solid var(--line-dark); padding-left: 0 !important; }
  .figures li:nth-child(odd) { padding-right: 12px; }
  .figures li:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------ */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band.white { background: var(--white); }
.band.tint { background: var(--tint); }
.band.dark { background: var(--ink); color: #dfe6f0; }
.band.dark h2, .band.dark h3 { color: #fff; }
.band.dark .lead { color: var(--muted-dark); }
.band.dark .eyebrow { color: #f5b3d6; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: clamp(32px, 5vw, 52px); max-width: 52em; }
.section-head p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-text p { font-size: 1.06rem; }
.about-text p:first-of-type { font-size: 1.24rem; color: var(--ink); line-height: 1.5; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.pillar b { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); margin-bottom: 4px; }
.pillar span { font-size: 0.9rem; color: var(--muted); line-height: 1.45; display: block; }
.glance { background: var(--ink); color: #dfe6f0; border-radius: calc(var(--r) + 4px); padding: 30px; position: relative; overflow: hidden; }
.glance::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(176,42,120,.5), transparent 70%); }
.glance h3 { color: #fff; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 18px; }
.glance dl { margin: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.glance dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-dark); }
.glance dd { margin: 2px 0 0; color: #fff; font-weight: 500; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}

/* Themes */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.theme {
  --c: var(--blood); --c-soft: var(--blood-soft);
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px 22px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.theme:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.theme::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.theme.t-lymph { --c: var(--lymph); --c-soft: var(--lymph-soft); }
.theme.t-violet { --c: var(--violet); --c-soft: var(--violet-soft); }
.theme.t-amber { --c: var(--amber); --c-soft: var(--amber-soft); }
.theme-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--c-soft); color: var(--c); display: grid; place-items: center; margin-bottom: 18px; }
.theme-icon svg { width: 30px; height: 30px; }
.theme h3 { margin-bottom: 10px; }
.theme p { font-size: 0.95rem; color: var(--muted); flex: 1; }
.theme .who { font-size: 0.85rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; margin: 6px 0 0; }
.theme .who a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; }
@media (max-width: 1080px) { .themes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .themes { grid-template-columns: 1fr; } }

/* Models / approaches strip */
.approaches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.approaches span { font-size: 0.88rem; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }

/* Groups */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button {
  font: 500 0.9rem/1 var(--font-body); padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); transition: all .2s;
}
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.group {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.group:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.group-banner {
  aspect-ratio: 16 / 8; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(176, 42, 120, .55), transparent 60%),
    radial-gradient(120% 90% at 0% 100%, rgba(224, 163, 37, .35), transparent 60%),
    var(--ink-2);
}
.group-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.group:hover .group-banner img { transform: scale(1.05); }
.group-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 16, 30, .35)); }
.group-tags { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; z-index: 1; }
.group-tags i { font-style: normal; font-size: 0.68rem; font-weight: 600; letter-spacing: .03em; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); }
.group-avatar {
  width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--white); margin: -46px 0 0 16px;
  position: relative; z-index: 1; object-fit: cover; background: var(--ink); box-shadow: 0 4px 14px -6px rgba(13,27,46,.5);
}
div.group-avatar { display: grid; place-items: center; font: 600 1.5rem/1 var(--font-head); color: #fff; background: linear-gradient(135deg, var(--blood), var(--lymph-deep)); }
.group-body { padding: 10px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.group-body h3 { margin: 0 0 2px; font-size: 1.15rem; }
.group-role { font-size: 0.84rem; color: var(--muted); margin: 0 0 10px; }
.group-focus { font-size: 0.96rem; color: var(--ink); font-weight: 500; line-height: 1.45; margin: 0 0 16px; flex: 1; }
.group-more { align-self: flex-start; font: 600 0.88rem/1 var(--font-body); color: var(--blood-deep); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.group-more:hover { color: var(--blood); }
.group-more svg { width: 15px; height: 15px; transition: transform .2s; }
.group:hover .group-more svg { transform: translateX(3px); }

/* Group dialog */
dialog#group-dialog {
  width: min(880px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 18px;
  box-shadow: var(--shadow-lg); color: var(--text); background: var(--white);
}
dialog#group-dialog::backdrop { background: rgba(8, 16, 30, 0.6); backdrop-filter: blur(3px); }
.dialog-close {
  position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.dialog-close:hover { background: var(--line); }
.dialog-close svg { width: 18px; height: 18px; }
.dialog-body { padding: 0 0 28px; }
.d-head { display: grid; grid-template-columns: 170px 1fr; gap: 26px; padding: 30px 32px 22px; align-items: center; border-bottom: 1px solid var(--line); }
.d-head img, .d-head .initials { width: 170px; height: 170px; border-radius: 14px; object-fit: cover; object-position: 50% 22%; background: var(--ink-2); }
.d-head .initials { display: grid; place-items: center; font: 600 2.6rem/1 var(--font-head); color: #fff; }
.d-head h3 { font-size: 1.6rem; margin-bottom: 4px; }
.d-head .group-role { font-size: 0.95rem; margin-bottom: 12px; }
.d-links { display: flex; flex-wrap: wrap; gap: 8px; }
.d-links a { font-size: 0.85rem; font-weight: 600; text-decoration: none; padding: 7px 12px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.d-links a:hover { background: var(--ink); color: #fff; }
.d-section { padding: 20px 32px 0; }
.d-section h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); margin-bottom: 10px; }
.d-section p { margin-bottom: 0.8em; }
.d-section ol, .d-section ul { margin: 0; padding-left: 1.2em; }
.d-section li { margin-bottom: 8px; font-size: 0.94rem; }
.d-section li em { color: var(--muted); }
.d-kw { display: flex; flex-wrap: wrap; gap: 6px; }
.d-kw span { font-size: 0.8rem; padding: 5px 10px; border-radius: 999px; background: var(--lymph-soft); color: var(--lymph-deep); font-weight: 500; }
@media (max-width: 640px) {
  .d-head { grid-template-columns: 1fr; padding: 24px 20px 18px; }
  .d-head img, .d-head .initials { width: 120px; height: 120px; }
  .d-section { padding: 18px 20px 0; }
}

/* Highlights (publications) */
.pubs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pub {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
a.pub:hover { border-color: var(--ink); box-shadow: var(--shadow); color: inherit; }
.pub-year { font: 600 0.82rem/1 var(--font-head); color: #fff; background: var(--ink); border-radius: 8px; padding: 8px 9px; }
.pub-journal { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blood); margin-bottom: 4px; }
.pub-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.03rem; line-height: 1.35; margin-bottom: 6px; }
.pub-who { font-size: 0.86rem; color: var(--muted); }
@media (max-width: 860px) { .pubs { grid-template-columns: 1fr; } }

/* News */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-img { aspect-ratio: 16 / 9; background: var(--ink-2); overflow: hidden; position: relative; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-img.art { display: grid; place-items: center; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); }
.news-img.art svg { width: 64px; height: 64px; opacity: .9; }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.news-tag { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 0.7rem; padding: 4px 8px; border-radius: 6px; background: var(--blood-soft); color: var(--blood-deep); }
.news-tag.grant { background: #fdf3dc; color: #8a5a00; }
.news-tag.award { background: var(--violet-soft); color: #3a3aa8; }
.news-tag.paper { background: var(--lymph-soft); color: var(--lymph-deep); }
.news-tag.people { background: var(--tint); color: var(--ink); }
.news-body h3 { font-size: 1.06rem; line-height: 1.32; margin-bottom: 8px; }
.news-body h3 a { color: var(--ink); text-decoration: none; }
.news-body h3 a:hover { color: var(--blood); }
.news-body p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.news-foot { text-align: center; margin-top: 32px; }
@media (max-width: 1000px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news { grid-template-columns: 1fr; } }

/* Infrastructure */
.infra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.infra-item { background: var(--ink); padding: 26px 24px; }
.infra-item svg { width: 28px; height: 28px; color: #f2c14e; margin-bottom: 14px; }
.infra-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.infra-item p { font-size: 0.92rem; color: var(--muted-dark); margin: 0; }
.infra-item a { color: #f5d27a; }
@media (max-width: 900px) { .infra { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .infra { grid-template-columns: 1fr; } }

/* Why Uppsala / strengths */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.strength { border-top: 2px solid var(--ink); padding-top: 18px; }
.strength .n { font: 600 0.8rem/1 var(--font-head); color: var(--blood); letter-spacing: .1em; margin-bottom: 10px; display: block; }
.strength h3 { font-size: 1.15rem; }
.strength p { color: var(--muted); font-size: 0.96rem; margin: 0; }
@media (max-width: 900px) { .strengths { grid-template-columns: 1fr; } }

/* Join */
.join { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.join-cards { display: grid; gap: 12px; }
.join-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.join-card .dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; background: var(--blood); }
.join-card:nth-child(2) .dot { background: var(--lymph); }
.join-card:nth-child(3) .dot { background: var(--violet); }
.join-card h3 { font-size: 1.02rem; margin-bottom: 2px; }
.join-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 900px) { .join { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.contact-card h3 { font-size: 1.02rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #08121f; color: var(--muted-dark); padding: 48px 0 36px; font-size: 0.9rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot h4 { color: #fff; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: #cfd8e5; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid var(--line-dark); margin-top: 34px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.82rem; }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr; } }

@media (min-width: 1700px) {
  :root { --w: 1320px; }
}
@media print {
  .site-header, #network, .hero-cta, .filter, .news-foot { display: none !important; }
  .hero { min-height: 0; padding-top: 30px; background: #fff; color: #000; }
  .hero h1, .hero .lead { color: #000; }
  .reveal { opacity: 1; transform: none; }
}

/* Collage under the programme text */
.collage { margin-top: clamp(36px, 5vw, 56px); margin-bottom: 0; }
.collage img { width: 100%; border-radius: var(--r); background: #000; box-shadow: var(--shadow); }
.collage figcaption { font-size: 0.86rem; color: var(--muted); margin-top: 10px; }

/* Group banners holding a diagram rather than a micrograph */
.group-banner.contain { background: #fff; border-bottom: 1px solid var(--line); }
.group-banner.contain img { object-fit: contain; padding: 8px; }
.group-banner.contain::after { display: none; }

.pub-journal, .pub-title, .pub-who { display: block; }
.news-img.art img { width: 72px; height: 72px; opacity: .95; }
.group-banner img.right { object-position: 85% 50%; }

@media (max-width: 700px) {
  #network { opacity: .45; }
  .brand-sub { display: none; }
}
