:root{
  --ink:#16181D;
  --paper:#F2EFE7;
  --paper-2:#E6E2D8;
  --body:#3F434C;
  --muted:#4A4D55;
  --accent:#C8432B;
  --accent-text:#A8331E;
  --sans:'Schibsted Grotesk',system-ui,-apple-system,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,monospace;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.5}
img{max-width:100%;height:auto;display:block}
a{color:var(--ink)}
a:hover{color:#000}
h1,h2,h3{margin:0;letter-spacing:-0.03em;line-height:1.05}
p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.mono{font-family:var(--mono);font-size:13px;letter-spacing:0.04em}
.kicker{font-family:var(--mono);font-size:13px;font-weight:500;letter-spacing:0.14em;text-transform:uppercase;color:var(--muted)}
.accent{color:var(--accent-text)}
.meta{color:var(--muted);font-size:12px}
.skip{position:absolute;left:-9999px;top:8px;background:var(--ink);color:#fff;padding:10px 14px;z-index:10}
.skip:focus{left:8px}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

/* Wordmark */
.wm{display:inline-flex;align-items:center;font-weight:900;font-size:24px;line-height:1;letter-spacing:-0.04em;white-space:nowrap}
.wm img{width:0.86em;height:0.86em;margin:0 0.02em}
.wm-lab{font-weight:500;letter-spacing:0;margin-left:0.3em}
.brand{text-decoration:none;color:inherit}

/* Header */
.site-header{border-bottom:1px solid var(--ink)}
.header-row{height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.nav-desktop{display:none;gap:32px}
.nav-desktop a,.menu nav a{text-decoration:none;font-weight:800;font-size:16px}
.nav-desktop a[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:8px}
.menu{position:relative}
.menu summary{list-style:none;width:44px;height:44px;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:6px;cursor:pointer}
.menu summary::-webkit-details-marker{display:none}
.menu summary span{display:block;height:2px;background:var(--ink);width:24px}
.menu summary span+span{width:16px}
.menu nav{position:absolute;right:0;top:52px;background:var(--paper);border:1.5px solid var(--ink);display:flex;flex-direction:column;min-width:200px;z-index:5}
.menu nav a{padding:14px 18px;border-top:1px solid var(--ink)}
.menu nav a:first-child{border-top:0}
.menu nav a[aria-current="page"]{color:var(--accent-text)}
@media (min-width:900px){
  .nav-desktop{display:flex}
  .menu{display:none}
  .wm{font-size:28px}
}

/* Buttons */
.actions{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;font-weight:800;font-size:16px;text-decoration:none;border:2px solid var(--ink)}
.btn-ink{background:var(--ink);color:#fff}
.btn-ink:hover{background:#000;color:#fff}
.btn-line{color:var(--ink)}
.btn-line:hover{background:var(--ink);color:#fff}
@media (max-width:599px){.actions .btn{flex:1 1 100%}}

/* Hero */
.hero{display:grid;gap:24px;padding-top:32px;padding-bottom:56px;align-items:center}
.hero-text{display:flex;flex-direction:column;gap:22px;order:2}
.hero h1{font-weight:900;font-size:clamp(44px,6.2vw,88px);line-height:0.95;letter-spacing:-0.045em}
.lede{font-size:18px;color:var(--body);max-width:36em}
.hero-art{margin:0;order:1}
.hero-art figcaption{margin-top:10px;color:var(--muted);font-size:12px}
@media (min-width:900px){
  .hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;padding-top:72px;padding-bottom:96px}
  .hero-text{order:1}
  .hero-art{order:2}
  .lede{font-size:19px}
}

/* Blocks */
.block{padding-bottom:56px}
.block-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--ink)}
.block-head .kicker{color:var(--ink)}
.block-head .kicker.accent{color:var(--accent-text)}
.more{font-weight:800;font-size:15px;text-decoration:none;white-space:nowrap}
.more:hover{text-decoration:underline}
.split{display:grid;gap:56px}
@media (min-width:900px){.split{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:64px}.block{padding-bottom:88px}}

/* Area cards (home) */
.area-grid{display:grid;gap:0}
.area-card{display:grid;grid-template-columns:96px 1fr;grid-template-rows:auto auto;column-gap:18px;row-gap:6px;align-items:center;padding:18px 0;border-bottom:1px solid var(--ink);text-decoration:none;color:var(--ink)}
.area-card img{grid-row:1 / span 2;width:96px;height:96px}
.area-card .mono{color:var(--muted);font-size:12px;align-self:end}
.area-card h3{font-weight:800;font-size:20px;letter-spacing:-0.02em;align-self:start}
.area-card:hover h3{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:5px}
@media (min-width:900px){
  .area-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding-top:32px}
  .area-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;border-bottom:0;padding:0}
  .area-card img{width:180px;height:180px}
  .area-card h3{font-size:26px}
  .area-card .mono{align-self:flex-start}
}

/* Paper card */
.paper-card{display:flex;flex-direction:column;gap:10px;margin-top:20px;padding:22px;background:#fff;border:1.5px solid var(--ink)}
.paper-card h3{font-weight:800;font-size:21px;line-height:1.22;letter-spacing:-0.02em}
.paper-card a{font-weight:800;font-size:15px;margin-top:4px}
.paper-grid{display:grid;gap:16px}
.paper-grid .paper-card{margin-top:20px}
@media (min-width:900px){.paper-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* News */
.news-item{padding:18px 0;border-bottom:1px solid var(--ink);display:flex;flex-direction:column;gap:6px}
.news-item h3{font-weight:800;font-size:19px;line-height:1.25;letter-spacing:-0.015em}
.news-item p:not(.meta){font-size:15px;color:var(--body)}
.news-item[hidden]{display:none}
@media (min-width:900px){
  .news-page .news-item{display:grid;grid-template-columns:200px minmax(0,1fr);column-gap:32px;padding:24px 0}
  .news-page .news-item .meta{grid-row:1 / span 2}
  .news-page .news-item h3{font-size:24px}
}
.chips{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:20px}
.chip{min-height:44px;padding:0 16px;font:800 14px var(--sans);background:transparent;color:var(--ink);border:1.5px solid var(--ink);cursor:pointer}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff}

/* Page head */
.page-head{padding-top:48px;padding-bottom:40px;display:flex;flex-direction:column;gap:18px}
.page-head h1{font-weight:900;font-size:clamp(40px,5.4vw,76px);line-height:0.98;letter-spacing:-0.045em;max-width:16em}
@media (min-width:900px){.page-head{padding-top:88px;padding-bottom:64px}}

/* Research areas */
.areas{padding-bottom:64px}
.area{display:grid;gap:20px;padding:32px 0;border-top:1px solid var(--ink)}
.area:last-child{border-bottom:1px solid var(--ink)}
.area img{width:180px;height:180px}
.area h2{font-weight:900;font-size:clamp(30px,3.4vw,46px);letter-spacing:-0.04em;margin:10px 0 14px}
.area p{color:var(--body);max-width:34em}
.area .mono{color:var(--muted)}
@media (min-width:900px){
  .area{grid-template-columns:320px minmax(0,1fr);gap:64px;align-items:center;padding:56px 0}
  .area img{width:320px;height:320px}
  .area:nth-child(even){grid-template-columns:minmax(0,1fr) 320px}
  .area:nth-child(even) img{order:2}
  .area p{font-size:19px}
}

/* Team */
.lead-card{display:flex;gap:24px;align-items:center;padding:24px;background:#fff;border:1.5px solid var(--ink)}
.lead-card img{width:110px;height:110px;flex:none}
.lead-card h2{font-weight:900;font-size:clamp(26px,3vw,38px);letter-spacing:-0.035em;margin:6px 0 8px}
.lead-card p:not(.kicker){color:var(--body)}
@media (min-width:900px){.lead-card{padding:36px;gap:40px}.lead-card img{width:160px;height:160px}}
.people{list-style:none;margin:0;padding:24px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}
.person img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--paper-2);filter:grayscale(1) contrast(1.05);transition:filter .3s}
.person:hover img{filter:none}
.person h3{font-weight:800;font-size:17px;letter-spacing:-0.01em;margin:12px 0 4px}
@media (min-width:900px){.people{grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 32px}.person h3{font-size:21px}}

/* Publications */
.years{display:flex;flex-direction:column}
.year{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;padding-top:24px}
.year h3{font-weight:900;font-size:28px;letter-spacing:-0.04em}
.year ol{list-style:none;margin:0;padding:0}
.year li{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid var(--ink)}
.year li:first-child{border-top:0;padding-top:4px}
.pt{font-weight:600;font-size:15px;line-height:1.35}
.year em{font-style:italic}
@media (min-width:900px){.year{grid-template-columns:160px minmax(0,1fr);gap:32px;padding-top:36px}.year h3{font-size:44px}.pt{font-size:18px}}

/* Footer */
.site-footer{margin-top:24px}
.skyline{width:100%;height:150px;object-fit:cover;object-position:bottom}
@media (min-width:900px){.skyline{height:240px}}
.footer-band{background:var(--ink);color:#fff;padding:36px 0 44px}
.footer-row{display:grid;gap:24px}
.footer-row .wm{font-size:28px}
.footer-row nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.footer-row nav a{color:#fff;text-decoration:none;font-weight:800}
.footer-row nav a:hover{text-decoration:underline}
.footer-row .mono{color:#C9CCD3;line-height:1.6}
@media (min-width:900px){.footer-row{grid-template-columns:1.2fr 1fr 1fr;align-items:start}.footer-row nav{grid-template-columns:repeat(4,auto);justify-content:start;gap:28px}}
/* Lab head photo */
.lead-card img.lead-photo{width:120px;height:140px;object-fit:cover;object-position:top;filter:grayscale(1) contrast(1.05);transition:filter .3s}
.lead-card:hover img.lead-photo{filter:none}
@media (min-width:900px){.lead-card img.lead-photo{width:200px;height:240px}}

/* Team biographies */
.person-btn{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;width:100%;cursor:pointer}
.person-btn:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.person-btn img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--paper-2);filter:grayscale(1) contrast(1.05);transition:filter .3s;margin-bottom:8px}
.person-btn:hover img,.person-btn:focus-visible img{filter:none}
.person-name{font-weight:800;font-size:17px;letter-spacing:-0.01em;line-height:1.2}
.bio-link{font:800 14px var(--sans);color:var(--ink);text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:4px;margin-top:6px}
button.lead-bio{background:none;border:0;padding:0;cursor:pointer;min-height:44px;margin-top:4px}
dialog.bio{width:min(860px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:1.5px solid var(--ink);background:var(--paper);color:var(--ink)}
dialog.bio::backdrop{background:rgba(22,24,29,.6)}
.bio-close{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;background:var(--paper);font:400 30px/1 var(--sans);color:var(--ink);cursor:pointer}
.bio-body{display:grid;gap:20px;padding:24px}
.bio-body img{width:160px;aspect-ratio:4/5;object-fit:cover}
.bio-body h2{font-weight:900;font-size:clamp(28px,4vw,40px);letter-spacing:-0.04em;margin:6px 0 14px}
.bio-text{color:var(--body);font-size:17px;line-height:1.6}
@media (min-width:900px){.person-name{font-size:21px}.bio-body{grid-template-columns:240px minmax(0,1fr);gap:36px;padding:40px}.bio-body img{width:240px}}

/* News thumbnails */
.news-item.has-thumb{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:start}
.news-thumb{width:100%;aspect-ratio:1;object-fit:cover;background:var(--paper-2)}
.news-thumb.illo{object-fit:contain;padding:10px}
.news-text{display:flex;flex-direction:column;gap:6px}
.news-page .news-item.has-thumb{grid-template-columns:minmax(0,1fr);gap:14px}
.news-page .news-thumb{aspect-ratio:3/2}
.news-page .news-thumb.illo{padding:24px}
@media (min-width:900px){
  .news-page .news-item.has-thumb{display:grid;grid-template-columns:320px minmax(0,1fr);column-gap:40px;padding:32px 0}
  .news-page .news-item.has-thumb .meta{grid-row:auto}
}

/* Funding */
.funders{list-style:none;margin:0;padding:0;display:grid}
.funders li{display:flex;flex-direction:column;gap:6px;padding:20px 0;border-bottom:1px solid var(--ink)}
.funder{font-weight:900;font-size:22px;letter-spacing:-0.03em;line-height:1.15}
@media (min-width:900px){.funders{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.funders li{border-bottom:0;border-top:4px solid var(--ink);padding:20px 0 0}.funder{font-size:26px}}

/* Alumni */
.alumni{list-style:none;margin:0;padding:24px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
.alum{display:flex;flex-direction:column;gap:4px}
.alum img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--paper-2);filter:grayscale(1) contrast(1.05);margin-bottom:8px;transition:filter .3s}
.alum:hover img{filter:none}
@media (min-width:900px){.alumni{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}}

.bio-text+.bio-text{margin-top:14px}
.alum .person-btn img{aspect-ratio:4/5}

.funding-intro{display:flex;flex-direction:column;gap:14px;padding:28px 0 8px}
.funding-intro h3{font-weight:900;font-size:clamp(32px,4.4vw,56px);letter-spacing:-0.045em;line-height:1}
.funders li p{color:var(--body);font-size:15px;line-height:1.5}
@media (min-width:900px){.funders{row-gap:40px;padding-top:24px}}

/* Lab head: stacked, larger photo */
.lead-card{flex-direction:column;align-items:flex-start;gap:20px;padding:20px}
.lead-card img.lead-photo{width:100%;max-width:440px;height:auto;aspect-ratio:4/5;object-position:top}
@media (min-width:900px){.lead-card{padding:36px;gap:28px}.lead-card img.lead-photo{width:440px;height:auto}}

/* Hero: 4-cell banner */
.hero.hero-banner{grid-template-columns:1fr;gap:32px}
.hero-banner .hero-text{order:2;max-width:820px}
.hero-banner .hero-art{order:1}
.hero-banner .hero-art img{width:100%}
@media (min-width:900px){.hero.hero-banner{gap:48px;padding-bottom:72px}}

/* Homepage: large wordmark */
@media (max-width:899px){
  .home .header-row{height:auto;flex-wrap:wrap;padding-top:10px;padding-bottom:10px;row-gap:6px}
  .home .header-row .menu{order:1;margin-left:auto}
  .home .header-row .brand{order:2;flex:1 1 100%;display:block}
}
@media (min-width:900px){
  .home .header-row{height:112px}
  .home .site-header .wm{font-size:52px}
}

/* Homepage: banner sits close to the wordmark */
.home .hero.hero-banner{padding-top:12px}
@media (min-width:900px){.home .hero.hero-banner{padding-top:24px}}

/* Homepage: tighter gap between banner and text */
.home .hero.hero-banner{gap:18px}
@media (min-width:900px){.home .hero.hero-banner{gap:30px}}

/* Homepage: gray headline */
.home .hero h1{color:#7A7D85}

/* Homepage: two-column hero (option A) */
.hero-split .hero-head,.hero-split .hero-body{display:flex;flex-direction:column;gap:22px}
@media (min-width:900px){
  .home .hero.hero-banner{gap:36px}
  .hero-banner .hero-text.hero-split{max-width:none;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px;align-items:end}
  .hero-split .hero-body{gap:24px}
  .hero-split h1{font-size:76px;text-wrap:balance}
}

/* Homepage: banner picture wrapper */
.hero-art picture{display:block}

/* Desktop: larger navigation */
@media (min-width:900px){
  .nav-desktop{gap:36px}
  .nav-desktop a{font-size:18px}
  .home .nav-desktop{gap:40px}
  .home .nav-desktop a{font-size:20px}
}

/* Desktop: larger homepage logo */
@media (min-width:900px){
  .home .header-row{height:140px;gap:48px}
  .home .site-header .wm{font-size:72px}
  .home .nav-desktop{align-self:center;padding-top:6px}
}

/* Narrow desktops: keep header on one line */
@media (min-width:900px) and (max-width:1149px){
  .home .header-row{height:112px;gap:32px}
  .home .site-header .wm{font-size:52px}
  .home .nav-desktop{gap:28px}
  .home .nav-desktop a{font-size:18px}
}

/* Team: lab head bio beside photo */
.lead-card.with-bio > div{display:flex;flex-direction:column;gap:6px}
.lead-bio-text{margin-top:18px;padding-top:18px;border-top:1px solid var(--ink)}
.lead-bio-text .bio-text+.bio-text{margin-top:14px}
@media (min-width:900px){
  .lead-card.with-bio{flex-direction:row;align-items:flex-start;gap:48px}
  .lead-card.with-bio img.lead-photo{width:380px;flex:none}
  .lead-card.with-bio > div{flex:1;min-width:0}
}

/* Team: bio aligned with photo (desktop) */
@media (min-width:900px){
  .lead-card.with-bio{display:grid;grid-template-columns:400px minmax(0,1fr);align-items:stretch;gap:48px}
  .lead-card.with-bio img.lead-photo{width:100%;height:100%;min-height:500px;aspect-ratio:auto;object-fit:cover;object-position:center top}
  .lead-card.with-bio .lead-inst{display:none}
  .lead-bio-text .bio-text{text-align:justify;hyphens:auto;-webkit-hyphens:auto}
}

/* Team: larger section heading; lab head photo stays black and white on desktop */
.team-head{font-family:var(--sans);font-weight:900;font-size:32px;letter-spacing:-0.035em;line-height:1;margin:0}
@media (min-width:900px){
  .team-head{font-size:44px}
  .lead-card.with-bio img.lead-photo,.lead-card.with-bio:hover img.lead-photo{filter:grayscale(1) contrast(1.05)}
}

/* Subpages: mid-size logo (between subpage and homepage sizes) */
body:not(.home) .site-header .wm{font-size:34px}
@media (min-width:900px){
  body:not(.home) .header-row{height:96px}
  body:not(.home) .site-header .wm{font-size:48px}
}

/* Homepage mobile: centred kicker, justified lede */
@media (max-width:899px){
  .home .hero-split .kicker{text-align:center}
  .home .hero-split .lede{text-align:justify;hyphens:auto;-webkit-hyphens:auto}
}

/* Homepage mobile: centred headline */
@media (max-width:899px){
  .home .hero-split h1{text-align:center}
}

/* Homepage mobile: optical centring of kicker (offsets trailing letter-spacing) */
@media (max-width:899px){
  .home .hero-split .kicker{text-indent:0.14em}
}
