/* Research pages: concrete information, readable text, restrained hierarchy. */
:root { --muted: #606877; --line: #dce0e4; }
body { font-size: 15px; }
h1 { font-size: clamp(27px, 3vw, 36px); letter-spacing: -.02em; }
h2 { font-size: 23px; letter-spacing: -.015em; }
h3 { letter-spacing: 0; }
.header-inner, .site-main, .footer-inner { width: min(1100px, calc(100% - 80px)); }
.header-inner { min-height: 82px; gap: 24px; }
.site-logo { width: 140px; }
.site-nav { gap: 22px; }
.nav-list { gap: 20px; }
.nav-list>a { font-size: 12px; }
.site-main { padding-bottom: 56px; }
.page-intro { margin: 42px 0 30px; max-width: 850px; }
.page-intro h1 { margin-bottom: 14px; }
.page-intro .lead { font-size: 15px; color: var(--body); max-width: 50em; }
a:hover { text-decoration: underline; }
.button:hover { text-decoration: none; }
/* The introduction sits above the two halves of the research, shown side by side at equal size. */
.home-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 38px 0 30px; }
.home-intro-copy { min-width: 0; max-width: 46em; }
.home-intro h1 { margin-bottom: 19px; font-size: clamp(26px, 2.65vw, 34px); line-height: 1.6; }
.home-intro-copy>p { font-size: 14px; line-height: 2; color: var(--body); margin-bottom: 17px; }
.home-intro-copy>a { font-size: 12px; margin-right: 22px; }
/* Page for prospective students (/join/). */
.join-section { max-width: 860px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.join-section>h2 { margin-bottom: 14px; font-size: 22px; }
.join-lead, .join-note { color: var(--body); font-size: 14px; line-height: 2; max-width: 50em; }
.join-note { margin: 16px 0 0; }

.join-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.join-pillars h3 { margin-bottom: 8px; font-size: 17px; line-height: 1.65; }
.join-pillars p { color: var(--body); font-size: 14px; line-height: 2; margin-bottom: 8px; }
.join-pillars a { font-size: 12px; }
.join-pillars { margin-top: 20px; }
.join-topics { margin: 0 0 12px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 5px; }
.join-topics li { padding: 5px 11px; background: #f1ede4; border-left: 3px solid #be9449; color: var(--ink); font-size: 12.5px; line-height: 1.7; }
.join-first .button { margin-top: 14px; }
.join-list { margin: 0; padding-left: 1.3em; color: var(--body); font-size: 14px; line-height: 2.1; }
.join-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 14px 0 0; font-size: 13px; }
.home-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
.home-pillar { min-width: 0; }
.home-pillar-image { display: block; }
.home-pillar-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #e5e8eb; }
.home-pillar-caption { margin: 7px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.home-pillar h2 { margin: 0 0 9px; font-size: 20px; line-height: 1.65; }
.home-pillar h2 a { color: inherit; text-decoration: none; }
.home-pillar h2 a:hover { text-decoration: underline; }
.home-pillar>p:not(.home-pillar-caption):not(.home-pillar-affiliation) { margin: 0 0 12px; color: var(--body); font-size: 14px; line-height: 2; }
.home-pillar>a { font-size: 12px; }
.home-pillar>.home-pillar-affiliation { margin: -4px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.future-scenes { min-width: 0; margin-top: 20px; }
/* The research centre's pages under /qfsd/. */
.center-name { display: block; color: var(--ink); font-size: 19px; font-weight: 600; line-height: 1.5; text-decoration: none; text-wrap: balance; word-break: auto-phrase; }
.center-name span { display: block; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.center-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.center-nav a { padding-block: 9px; font-size: 12px; font-weight: 500; text-decoration: none; }
.center-nav a:hover { text-decoration: underline; }
.center-hero { max-width: 46em; padding: 46px 0 34px; }
.center-hero h1 { margin-bottom: 20px; font-size: clamp(26px, 3vw, 36px); line-height: 1.6; }
.center-hero p, .center-lead { color: var(--body); font-size: 14px; line-height: 2; max-width: 50em; }
.center-question { max-width: 46em; padding: 20px 24px; border-left: 3px solid #be9449; background: #f6f2e8; }
.center-question h2 { margin: 0 0 6px; color: #8a6a2c; font-size: 12px; letter-spacing: .06em; }
.center-question p { margin: 0; font-size: 18px; line-height: 1.8; }
.center-section { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.center-section>h2 { margin-bottom: 16px; font-size: 22px; }
.center-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 38px; }
.center-topics h3 { margin-bottom: 8px; font-size: 17px; line-height: 1.65; }
.center-topics p { margin: 0; color: var(--body); font-size: 14px; line-height: 2; }
.center-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; font-size: 13px; }
.center-page .footer-brand>p { margin: 0; font-size: 12px; }
.project-center-pointer { padding: 22px 24px; border: 1px solid var(--line); background: #fff; }
.project-center-pointer h2 { font-size: 19px; margin-bottom: 10px; }
.project-center-pointer p { color: var(--body); font-size: 14px; line-height: 2; }
.future-scene-tabs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.future-scene-tabs button { appearance: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 9px 0; min-height: 44px; background: transparent; color: var(--muted); font-size: 11px; line-height: 1.6; }
.future-scene-tabs button:hover { color: var(--ink); }
.future-scene-tabs button[aria-selected=true] { border-bottom-color: #be9449; color: var(--ink); font-weight: 600; }
.future-scene figure { margin: 0; }
.future-scene-stage { position: relative; overflow: hidden; background: #e5e8eb; }
.future-scene-stage img { display: block; width: 100%; height: 100%; object-fit: cover; will-change: filter, transform; }
.future-scene-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.future-scene-over { position: absolute; left: 4.5%; top: 7%; max-width: 74%; color: #fff; opacity: 0; transition: opacity 1s ease; text-shadow: 0 2px 14px rgba(0,0,0,.65); pointer-events: none; }
.future-scene-over b { display: block; font-size: clamp(16px, 3.1vw, 34px); line-height: 1.35; font-weight: 700; }
.future-scene-over span { display: block; margin-top: .4em; font-size: clamp(10px, 1.2vw, 14px); line-height: 1.6; }
.future-scene-stage.show .future-scene-over { opacity: 1; }
.future-scene-era { margin: 0 0 7px; color: #8a6a2c; font-size: 12px; letter-spacing: .04em; }
.future-scene-caption { padding-top: 13px; }
.future-scene-caption h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.65; }
.future-scene-caption>p { margin: 0; color: var(--body); font-size: 12px; line-height: 1.95; }
.future-scene-detail { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.future-scene-detail summary { width: fit-content; cursor: pointer; color: var(--ink); padding-block: 4px; }
.future-scene-detail p { margin: 7px 0; }
.future-scene-detail a { display: inline-block; padding-block: 4px; }
.future-scene-detail + .future-scene-detail { margin-top: 2px; }
.future-scene-controls { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 14px; }
.future-scene-controls[hidden] { display: none; }
.future-scene-controls button, .future-scene-controls label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; line-height: 1.6; cursor: pointer; }
.future-scene-controls button:disabled { color: var(--muted); cursor: default; }
.future-scene-controls button:focus-visible, .future-scene-controls label:focus-within { outline: 2px solid #be9449; outline-offset: 2px; }
.future-scenes-note { margin: 13px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
/* Entrance to the mixer, with the classroom picture. */
.mixer-entry { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 38px; align-items: center; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.mixer-entry img { display: block; width: 100%; height: auto; background: #e5e8eb; }
.mixer-entry h2 { margin: 0 0 14px; font-size: 21px; line-height: 1.7; }
.mixer-entry p { font-size: 14px; line-height: 2; color: var(--body); }
.mixer-entry-kicker { margin: 0 0 4px; color: #8a6a2c; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.mixer-entry .mixer-entry-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
/* Every future scene, listed on the quantum-futures project page. */
.project-scenes { margin-top: 44px; }
.project-scenes-lead { font-size: 14px; line-height: 2; color: var(--body); max-width: 50em; }
.future-scenes:not(.is-enhanced) .future-scene + .future-scene { margin-top: 28px; }
.future-scenes[data-layout=stack] .future-scene + .future-scene { margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); }
.future-scenes[data-layout=stack] .future-scene-controls { position: sticky; top: 0; z-index: 5; margin: 0 0 14px; padding: 8px 0; background: var(--paper); }
.is-enhanced .future-scene:not([hidden]) { animation: scene-reveal .2s ease-out; }
@keyframes scene-reveal { from { opacity: .4; } to { opacity: 1; } }
.home-overview { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 54px; align-items: start; border-top: 1px solid var(--line); padding-top: 28px; }
.home-projects>h2, .home-news>h2, .work-records>h2 { margin-bottom: 18px; font-size: 22px; }
.project-list { border-top: 1px solid var(--line); }
.project-entry { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.project-entry h2, .project-entry h3 { font-size: 20px; line-height: 1.65; margin: 0; }
.project-entry h2 a, .project-entry h3 a { text-decoration: none; }
.project-entry h2 a:hover, .project-entry h3 a:hover { text-decoration: underline; }
.project-entry-copy p { margin: 0 0 15px; font-size: 14px; line-height: 1.95; color: var(--body); }
.project-entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 20px; }
.project-entry-actions>a { font-size: 12px; }
.project-entry-actions .button { font-size: 12px; gap: 12px; padding: 10px 14px; }
.home-projects .project-list { border-top: 0; }
.home-projects .project-entry { grid-template-columns: 1fr; gap: 9px; padding: 20px 0 22px; }
.home-projects .project-entry:first-child { padding-top: 0; }
.home-projects .project-entry h3 { font-size: 19px; }
.home-projects .project-entry-copy p { font-size: 14px; margin-bottom: 11px; }
.home-news .news-row { display: block; padding: 14px 0; }
.home-news .news-row:first-child { padding-top: 0; border-top: 0; }
.home-news .news-row>time { display: block; margin-bottom: 4px; font-size: 11px; }
.home-news .news-row h3 { font-size: 13px; line-height: 1.85; }
.home-news .news-arrow { display: none; }
.archive-link { display: inline-block; margin-top: 17px; font-size: 12px; }
.work-records { padding-top: 40px; }
.research-record { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 38px; align-items: center; padding: 24px 0 30px; border-top: 1px solid var(--line); }
.research-record figure { margin: 0; }
.research-record img { width: 100%; height: auto; border: 1px solid var(--line); background: white; }
.research-record figcaption { color: var(--muted); font-size: 11px; line-height: 1.7; margin-top: 8px; }
.research-record h3, .dialogue-record h3 { font-size: 21px; line-height: 1.7; margin-bottom: 14px; }
.research-record p, .dialogue-record p { font-size: 14px; line-height: 2; color: var(--body); }
.research-record a, .dialogue-record a { font-size: 13px; }
.dialogue-record { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 38px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.dialogue-record .record-date { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.project-breadcrumb { margin-top: 26px; font-size: 11px; }
.project-document { max-width: 860px; }
.project-hero { margin: 28px 0 30px; }
.project-hero h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.65; margin-bottom: 20px; max-width: none; text-wrap: balance; word-break: auto-phrase; }
.project-hero>p { font-size: 15px; line-height: 2.1; color: var(--body); }
.project-document>section { margin-top: 32px; }
.project-document h2 { font-size: 22px; margin-bottom: 17px; }
.project-question { padding: 20px 0 20px 20px; border-left: 2px solid #be9449; background: transparent; }
.project-question h2 { font-size: 15px; margin-bottom: 8px; }
.project-question>p:last-child { font-size: 17px; color: var(--ink); line-height: 1.85; }
.project-topics { display: block; }
.project-topics>section { margin-top: 23px; }
.project-topics h3 { font-size: 17px; margin-bottom: 8px; }
.project-topics p { font-size: 14px; line-height: 2; color: var(--body); }
.document-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.document-section-heading>a { font-size: 12px; }
.project-related-list>article { padding: 20px 0; }
.project-related-list h3 { font-size: 16px; }
.project-related-list p { font-size: 13px; }
.project-next { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.project-next h2 { font-size: 17px; }
.project-other-links { display: flex; flex-direction: column; gap: 13px; }
.project-other-links>a { display: block; border: 0; padding: 0; font-size: 14px; }
.project-other-links>a span { margin-left: 12px; }
.project-play { padding: 22px 0; gap: 24px; }
.project-play>img { width: 118px; height: 118px; }
.project-play p { font-size: 14px; }
.news-article { margin-top: 38px!important; }
.news-article h1 { font-size: 30px; }
.news-article h2 { font-size: 23px; }
.members-grid { gap: 40px 32px; }
.member-comment { font-size: 13px; }
.member-activities { margin: 0 0 10px; padding: 0; list-style: none; color: var(--muted); font-size: 11.5px; line-height: 1.75; }
.member-activities li { position: relative; padding-left: 1em; word-break: normal; }
.member-activities li::before { content: '・'; position: absolute; left: 0; }
.member-activities .nowrap { white-space: nowrap; }
.member-activities:has(+ .member-more) { margin-bottom: 2px; }
.member-more { margin: 0 0 10px; color: var(--muted); font-size: 11.5px; line-height: 1.75; }
.member-more summary { display: inline-block; padding-left: 1em; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.member-more summary::-webkit-details-marker { display: none; }
.member-more[open] summary { display: none; }
.member-more .member-activities { margin: 0; }
.footer-inner { gap: 25px; padding: 28px 0 20px; }
.site-footer { background: transparent; }
.footer-logo { width: 110px; }
.copyright { padding-top: 16px; }
@media (max-width: 1120px) {
  .header-inner, .site-main, .footer-inner { width: calc(100% - 64px); }
  .nav-list { gap: 15px; }
  .site-nav { gap: 16px; }
}
@media (max-width: 900px) {
  .home-overview { grid-template-columns: minmax(0, 1fr) 230px; gap: 30px; }
  .home-intro { grid-template-columns: 1fr; gap: 22px; }
  .home-intro-copy { padding-top: 0; max-width: 650px; }
}
@media (max-width: 720px) {
  .header-inner, .site-main, .footer-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 20px; }
  .site-logo { width: 125px; }
  .home-intro { grid-template-columns: 1fr; gap: 18px; padding: 31px 0 27px; }
  .home-intro-copy { padding-top: 0; }
  .future-scene-tabs { gap: 2px 15px; }
  .future-scene-tabs button { font-size: 11px; }
  .future-scene-caption h3 { font-size: 17px; }
  .home-intro h1 { font-size: 27px; line-height: 1.6; margin-bottom: 14px; }
  .home-intro-copy>p { font-size: 14px; line-height: 1.95; }
  .home-overview { grid-template-columns: 1fr; gap: 32px; padding-top: 25px; }
  .home-projects>h2, .home-news>h2, .work-records>h2 { font-size: 21px; }
  .home-news .news-row { padding: 15px 0; }
  .home-news .news-row h3 { font-size: 14px; }
  .home-news .news-row:first-child { border-top: 1px solid var(--line); padding-top: 15px; }
  .project-entry { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
  .project-entry h2, .project-entry h3 { font-size: 19px; }
  .project-entry-copy p { font-size: 14px; }
  .project-entry-actions { gap: 13px 18px; }
  .mixer-entry { grid-template-columns: 1fr; gap: 18px; }
  .home-pillars { grid-template-columns: 1fr; gap: 30px; }
  .join-pillars { grid-template-columns: 1fr; gap: 22px; }
  .center-topics { grid-template-columns: 1fr; gap: 22px; }
  .center-page .header-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 14px; }
  .center-nav .center-home { padding-left: 0; border-left: 0; }
  .mixer-entry { margin-top: 30px; }
  .research-record, .dialogue-record { grid-template-columns: 1fr; gap: 20px; }
  .research-record figure { max-width: 500px; }
  .research-record h3, .dialogue-record h3 { font-size: 20px; }
  .dialogue-record { padding-top: 22px; }
  .work-records { padding-top: 33px; }
  .page-intro { margin: 32px 0 25px; }
  .page-intro h1 { font-size: 28px; }
  .project-hero { margin-top: 23px; }
  .project-hero h1 { font-size: 26px; }
  .project-hero>p { font-size: 14px; }
  .project-document h2 { font-size: 21px; }
  .project-question { padding-left: 16px; }
  .project-question h2 { font-size: 14px; }
  .project-question>p:last-child { font-size: 16px; }
  .project-topics>section { border: 0; padding: 0; }
  .project-topics h3 { margin-top: 0; }
  .project-play { flex-direction: row; align-items: start; gap: 18px; flex-wrap: wrap; }
  .project-play>img { width: 90px; height: 90px; }
  .project-play>div { flex: 1; min-width: 190px; }
  .member-comment { font-size: 12px; }
  .footer-inner { padding-top: 25px; }
}

.center-people { margin: 0 0 22px; display: grid; gap: 2px; max-width: 46em; }
.center-people>div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 4px 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.center-people dt { font-size: 13px; font-weight: 600; }
.center-people dd { margin: 0; color: var(--body); font-size: 14px; line-height: 1.9; }
@media (max-width: 640px) { .center-people>div { grid-template-columns: 1fr; } }

/* Visiting researchers (hosted by the centre), listed on the members page and on /qfsd/. */
.members-visiting { max-width: 860px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.members-visiting>h2 { margin-bottom: 10px; font-size: 22px; }
.members-visiting-lead { color: var(--body); font-size: 14px; line-height: 2; }
.members-visiting-list, .center-people-list { list-style: none; margin: 14px 0 0; padding: 0; }
.center-people-list { margin-top: 0; }
.members-visiting-list li, .center-people-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.center-people-list li:last-child { border-bottom: 0; }
.members-visiting-list b { display: block; font-weight: 600; }
.members-scholar { display: inline-block; margin-top: 2px; font-size: 12px; }
.member-link + .member-link { margin-left: 14px; }
.members-visiting-list span, .center-people-list span { display: block; color: var(--muted); font-size: 12px; line-height: 1.8; }

.footer-affiliation { margin-left: 1.2em; }
@media (max-width: 640px) { .footer-affiliation { display: block; margin: 4px 0 0; } }

/* Affiliation line under the header logo. */
.logo-link { flex-direction: column; align-items: flex-start; gap: 3px; }
.logo-affiliation { color: var(--muted); font-size: 10.5px; letter-spacing: .04em; line-height: 1.3; white-space: nowrap; }
@media (max-width: 720px) { .logo-affiliation { font-size: 9.5px; } .logo-affiliation-univ { display: none; } }

.pub-ids { display: block; margin-top: 3px; font-size: 12px; }
.pub-ids a { margin-right: 14px; }

/* The link back to the laboratory's site sits apart from the links within the page. */
.center-home { padding-left: 18px; border-left: 1px solid var(--line); }
.center-lang { padding-left: 18px; border-left: 1px solid var(--line); letter-spacing: .08em; }

/* Publication titles that link out: show them as links without waiting for hover. */
.pub-title a { text-decoration: underline; text-decoration-color: #b9b3a6; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pub-title a:hover { text-decoration-color: currentColor; }
.pub-title a::after { content: "\2197"; display: inline-block; margin-left: .35em; font-size: .8em; color: var(--muted); text-decoration: none; }

/* Home page, left pillar: one future scene with its animation. */
.home-pillar-image .future-scene-stage { display: block; }
.home-pillar-image .future-scene-stage img { aspect-ratio: auto; }
.home-pillar-scene .home-pillar-caption { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; justify-content: space-between; }
.home-pillar-scene [data-scene-controls][hidden] { display: none; }
.home-pillar-scene button { padding: 2px 9px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 10px; line-height: 1.8; cursor: pointer; }
.home-pillar-scene button:disabled { color: var(--muted); cursor: default; }
.home-pillar-scene button:focus-visible { outline: 2px solid #be9449; outline-offset: 2px; }

/* Grouped topics on a project page */
.project-group-title { margin: 44px 0 4px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 19px; }
.project-focus>h2 + .project-group-title { margin-top: 18px; border-top: 0; padding-top: 0; }
.project-topics h4 { font-size: 16px; margin: 0 0 8px; }
.project-overview-lead { margin: 6px 0 14px; color: var(--muted); font-size: 13px; }
.qnet-overview { margin: 0 0 8px; padding: 18px 14px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.qnet-overview-svg { width: 100%; min-width: 720px; height: auto; }
.project-topics-numbered { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 44px; }
.project-topics-numbered h4 { display: flex; align-items: center; gap: 10px; }
.project-topic-no { flex: 0 0 auto; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
@media (max-width: 760px) { .project-topics-numbered { grid-template-columns: 1fr; } }
.project-figure { margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); max-width: 520px; }
.project-figure-wide { padding-top: 0; border-top: 0; }
.project-figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.project-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.project-figure-wide { max-width: none; margin: 0 0 34px; }
.project-figure-wide img { aspect-ratio: 16 / 7; object-fit: cover; border: 0; }
.project-topic-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; }
.project-topics-numbered p, .project-topic-links { padding-left: 34px; }
.project-topics-numbered { gap: 4px 44px; }
.project-publications-link { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.article-figure { margin: 26px 0 30px; padding: 18px 16px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow-x: auto; }
.article-figure-svg { display: block; width: 100%; min-width: 560px; height: auto; }
.article-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-figure-paper img { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; }
.article-figure-credit { display: block; margin-top: 4px; font-size: 11px; }
.project-highlight { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 30px; align-items: start; margin: 0 0 40px; padding: 26px 30px; background: var(--ink); color: #fff; border-radius: 4px; }
.project-highlight-label { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: .02em; line-height: 1.3; white-space: nowrap; }
.project-highlight h2 { margin: 2px 0 8px; font-size: 18px; color: #fff; }
.project-highlight p { margin: 0; font-size: 14px; line-height: 2; color: rgba(255,255,255,.88); }
.project-highlight-links { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 12px !important; font-size: 13px !important; }
.project-highlight-links a { color: #fff; }
@media (max-width: 760px) { .project-highlight { grid-template-columns: 1fr; padding: 22px 20px; } }
.future-scene-tabs { flex-direction: column; gap: 0; }
.future-scene-tabgroup { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; }
.future-scene-tabgroup-label { min-width: 11em; }
.future-scene-tabgroup-label { margin-right: 2px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.future-scene-step { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.future-scene-step[hidden] { display: none; }
.future-scene-step button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
.future-scene-step button:hover { border-color: var(--ink); }
.future-scene-step button:focus-visible { outline: 2px solid #be9449; outline-offset: 2px; }
.future-scene-count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .future-scene-tabgroup-label { min-width: 100%; margin-top: 8px; } }
/* Centre header: on wide screens the menu stays on one line and the name wraps instead;
   below that the menu moves under the name, so no item is left alone on a second line. */
@media (min-width: 901px) {
  .center-nav { flex-wrap: nowrap; }
  .center-nav a { white-space: nowrap; }
}
@media (max-width: 900px) {
  .center-page .header-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 14px; }
  .center-nav .center-home { padding-left: 0; border-left: 0; }
}
