/* Shared dimensions keep logo, menu markers and content on the same grid.
   Page-specific rules override --inset instead of introducing new offsets. */
:root {
  color-scheme: light;
  --ink: #161616;
  --red: #d5261e;
  --line: #8b8b8b;
  --paper: #fff;
  --edge: 30px;
  --inset: 150px;
  --nav-column: 150px;
  --nav-marker: 18px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.desktop-menu {
  display: contents;
}
.mobile-menu {
  display: none;
}
body.site {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 580px;
}
a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration: underline;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
a:focus-visible,
button:focus-visible,
main:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  inset: 6px auto auto 6px;
  padding: 10px 16px;
  background: var(--paper);
  z-index: 20;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.masthead {
  flex: none;
  margin-inline: var(--edge);
  border-bottom: 1px solid var(--line);
}
.brand-row {
  padding-top: 30px;
  padding-bottom: 96px;
}
.brand {
  display: inline-flex;
  vertical-align: top;
}
.brand img {
  display: block;
  width: 180px;
  height: 30px;
}
.project-name {
  font:
    700 27px/1.1 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -0.4px;
  color: var(--red);
  margin: 2px 0 0;
}
.project-page .brand-row {
  padding-bottom: 64px;
}
.navigation {
  display: grid;
  grid-template-columns: var(--nav-column) 310px minmax(150px, 1fr);
  column-gap: 0;
  padding: 10px var(--edge) 14px;
  flex: none;
  border-bottom: 1px solid var(--line);
  margin-inline: var(--edge);
  padding-inline: 0;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.45;
}
.nav-list li {
  padding: 0.5px 0;
}
.nav-list a {
  display: inline-block;
  position: relative;
  margin-inline-start: var(--nav-marker);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
/* A separate marker keeps the dash outside the link's hover underline. */
.nav-list a::before {
  content: "—";
  position: absolute;
  inset-inline-start: calc(0px - var(--nav-marker));
  top: 0;
  width: var(--nav-marker);
  font-weight: 400;
  text-decoration: none;
}
.nav-list a:hover {
  text-decoration: underline;
}
.nav-list [aria-current] {
  font-weight: 700;
}
.primary-nav .news-link {
  color: var(--red);
}
.nav-extra {
  font-size: 13px;
  padding-top: 3px;
}
.nav-extra a {
  color: var(--ink);
}
.navigation.home-navigation {
  min-height: 112px;
}
.ribbon {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 48px 24px var(--inset);
  scrollbar-width: none;
  scrollbar-color: var(--line) var(--paper);
  overscroll-behavior-x: contain;
  scroll-padding-inline-start: var(--inset);
}
/* Keep scrolling native; the shared arrow controls replace its visual bar.
   scrollbar-width covers Firefox; this pseudo-element covers older WebKit. */
.ribbon::-webkit-scrollbar {
  height: 0;
}
.ribbon:focus-visible {
  outline-offset: -3px;
}
.ribbon > * {
  flex-shrink: 0;
}
.claim {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: 1;
}
.claim a {
  position: relative;
  display: block;
  width: 1697px;
  height: 240px;
}
.claim img {
  display: block;
  width: 1697px;
  height: 240px;
  max-width: none;
}
.claim .claim-red {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.claim a:hover .claim-red,
.claim a:focus-visible .claim-red {
  opacity: 1;
}
.scroll-tools {
  flex: none;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  margin-inline: var(--edge);
  font-size: 12px;
}
.scroll-hint {
  min-width: 112px;
}
.scroll-progress {
  flex: 1;
  height: 1px;
  background: #ddd;
}
.scroll-progress span {
  display: block;
  height: 1px;
  background: var(--red);
  width: 0;
}
.scroll-tools[data-overflow="false"] .scroll-progress {
  visibility: hidden;
}
.scroll-tools button {
  background: none;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  font-size: 20px;
  padding: 0 8px;
}
.category-strip {
  display: contents;
}
.category-card {
  width: max-content;
  margin: 0;
}
.gateway .category-card {
  display: none;
}
.gateway .category-card.is-preview {
  display: block;
}
.category-card h2 {
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 18px;
}
.category-card h2 a {
  color: var(--ink);
}
.category-card img {
  display: block;
  height: 150px;
  width: auto;
  max-width: none;
}
@media (min-width: 761px) {
  /* These strips contain fixed-height pictures or the four team rows, rather
     than height-paginated prose. Let the document grow on shallow desktops
     instead of clipping their bottoms to the remaining viewport space. */
  .gateway .ribbon,
  .overview .ribbon,
  .profile-page[data-profile-kind="team"] .ribbon {
    min-height: min-content;
  }
  .gateway .ribbon {
    padding-inline-start: calc(var(--edge) + var(--nav-column) + var(--nav-marker));
    scroll-padding-inline-start: calc(var(--edge) + var(--nav-column) + var(--nav-marker));
    padding-top: 10px;
  }
  .gateway .category-card h2 {
    margin-bottom: 12px;
  }
}
.project-entry {
  display: grid;
  grid-template-columns: 60px max-content;
  gap: 0;
  margin: 0;
  padding-right: 12px;
}
.entry-year {
  margin: 0;
  font-size: 14px;
}
.entry-content {
  min-width: 210px;
  max-width: 350px;
}
.project-entry h2 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.project-entry h2 a {
  color: var(--ink);
}
.entry-description {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.entry-photo {
  display: block;
  width: max-content;
}
.entry-photo img {
  display: block;
  height: 128px;
  width: auto;
  max-width: none;
}
.project-facts {
  flex: none;
  display: grid;
  grid-template-columns: 60px minmax(250px, 400px) 1fr;
  gap: 0;
  padding: 14px var(--edge) 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  margin-inline: var(--edge);
  padding-inline: 0;
}
.project-facts p {
  margin: 0;
}
.project-text-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 13px;
}
.project-text-links a {
  min-height: 25px;
}
.project-text-links button {
  border: 0;
  background: none;
  padding: 0;
  min-height: 25px;
  font: inherit;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
}
.project-text-links [hidden] {
  display: none;
}
.project-text-links [aria-current="true"],
.project-text-links [aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
}
.project-reading-ribbon {
  display: block;
}
.project-inline-text {
  width: 340px;
  height: 100%;
  columns: 340px;
  column-gap: 48px;
  column-fill: auto;
  overflow-wrap: break-word;
}
.project-inline-text p {
  margin: 0 0 1.25em;
  orphans: 3;
  widows: 3;
}
.project-inline-text h2 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 20px;
  break-after: avoid;
}
.project-inline-text img {
  display: block;
  max-width: 100%;
  max-height: calc(var(--flow-height, 300px) - 24px);
  height: auto;
  width: auto;
  break-inside: avoid;
}
.project-inline-text .byline {
  white-space: nowrap;
}
.project-inline-text.is-paginated {
  display: flex;
  gap: 48px;
  columns: auto;
  width: max-content;
  height: var(--flow-height);
}
.project-copy-column,
.reader-copy-column {
  display: flow-root;
  flex: none;
  width: 340px;
  height: var(--flow-height);
}
.project-copy-column > :last-child,
.reader-copy-column > :last-child {
  margin-bottom: 0;
}
.project-page .ribbon {
  --inset: var(--edge);
}
.gallery-ribbon {
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.photo-figure {
  margin: 0;
  width: max-content;
}
.photo-figure a {
  display: block;
  width: max-content;
}
.photo-figure img {
  display: block;
  height: min(var(--photo-height, 220px), 350px);
  width: auto;
  max-width: none;
}
.photo-figure figcaption {
  font-size: 12px;
  line-height: 1.4;
  padding-top: 6px;
}
.project-navigation {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  margin-top: 8px;
  grid-template-columns: 150px 310px 1fr;
}
.project-navigation .nav-list {
  font-size: 13px;
  line-height: 1.4;
}
.reader-page .brand-row {
  padding-bottom: 24px;
}
.reader-nav {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-inline: var(--edge);
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.reader-nav a {
  color: var(--ink);
}
.reading-ribbon {
  --inset: var(--edge);
  display: block;
  padding-block: 24px;
}
.reader-text {
  width: 340px;
  height: 100%;
  columns: 340px;
  column-gap: 64px;
  column-fill: auto;
}
.reader-text h1 {
  color: var(--red);
  font:
    700 25px/1.2 Arial,
    Helvetica,
    sans-serif;
  margin: 0 0 24px;
}
.reader-text p {
  margin: 0 0 1.4em;
  orphans: 3;
  widows: 3;
}
.reader-text .byline {
  white-space: nowrap;
}
.interview-reader p {
  margin: 0 0 1.25em;
}
/* Verdana has no medium face; the fine stroke supplies a subtle intermediate emphasis. */
.interview-reader .interview-question {
  font-weight: 500;
  -webkit-text-stroke: 0.18px currentColor;
}
.interview-reader.is-paginated {
  display: flex;
  gap: 64px;
  columns: auto;
  width: max-content;
  height: var(--flow-height);
}
.project-link {
  color: var(--ink);
  text-decoration: underline;
}
.accent {
  color: var(--red);
}
/* Inline custom-property URLs resolve relative to this stylesheet (assets/).
   The content-box origin keeps the original raster watermark on the text edge. */
.editorial-band {
  --flow-width: 320px;
  background-image: var(--band-watermark, none);
  background-repeat: repeat-x;
  background-position: 0 0;
  background-origin: content-box;
  background-clip: content-box;
  background-attachment: local;
}
.layout-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex: none;
  width: max-content;
}
.editorial-entry {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: none;
}
.flow-extent {
  width: var(--flow-width, 320px);
  height: var(--flow-height, 300px);
  flex: none;
}
.text-flow {
  width: var(--flow-width, 320px);
  height: var(--flow-height, 300px);
  columns: var(--flow-width, 320px);
  column-gap: 44px;
  column-fill: auto;
  overflow-wrap: anywhere;
}
.text-flow > div {
  min-width: 0;
}
.text-flow p {
  margin: 0 0 1.25em;
}
.text-flow h2 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 16px;
  break-after: avoid;
}
.text-flow img {
  display: block;
  max-width: 100%;
  max-height: calc(var(--flow-height, 300px) - 48px);
  width: var(--source-width, auto);
  height: auto;
  object-fit: contain;
  object-position: left top;
  break-inside: avoid;
}
.news-page .editorial-band {
  --inset: var(--edge);
}
.news-page .news-title {
  font-size: inherit;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink);
  break-after: avoid;
}
.news-page .news-title a,
.news-page .news-title .accent {
  color: inherit;
}
.news-page .text-flow p {
  margin: 0 0 18px;
}
.news-page .news-figure {
  margin: 0 0 18px;
  break-inside: avoid;
}
.news-page .news-figure figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}
.news-page .text-flow > :last-child {
  margin-bottom: 0;
}
.contact-page .editorial-band {
  --inset: var(--edge);
  min-height: 326px;
}
.contact-panel {
  flex: 0 0 320px;
  width: 320px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-heading {
  font: inherit;
  font-weight: 700;
  margin: 0 0 18px;
}
.contact-panel p,
.contact-panel address {
  margin: 0 0 18px;
  font-style: normal;
}
.contact-identity {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-identity .contact-heading {
  min-width: 0;
  margin: 0;
}
.contact-emblem {
  order: 1;
  flex: none;
  display: block;
  width: 44px;
  height: 35px;
}
.contact-panel > :last-child {
  margin-bottom: 0;
}
.profile-page .editorial-band {
  --inset: var(--edge);
}
.profile-page .profile-heading {
  font: inherit;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink);
  break-after: avoid;
}
.profile-page .profile-heading a,
.profile-page .profile-heading .accent {
  color: inherit;
}
.profile-page .text-flow p {
  margin: 0 0 18px;
}
.profile-page[data-profile-kind="cv"] .text-flow p,
.profile-page[data-profile-kind="cv_e"] .text-flow p,
.profile-page[data-profile-kind="mission"] .text-flow p {
  break-inside: avoid;
}
.profile-page .news-figure {
  margin: 0 0 18px;
  break-inside: avoid;
}
.profile-page .news-figure img {
  max-height: calc(var(--flow-height, 300px) - 24px);
}
.profile-page .text-flow img {
  aspect-ratio: var(--profile-image-ratio, auto);
}
.profile-page .news-figure:has(figcaption) img {
  max-height: calc(var(--flow-height, 300px) - 72px);
}
.profile-page .news-figure figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}
.profile-page .text-flow > :last-child {
  margin-bottom: 0;
}
.profile-page audio {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
}
.profile-local-nav {
  flex: none;
  margin-inline: var(--edge);
  padding-block: 6px;
  border-bottom: 1px solid var(--line);
}
.profile-local-nav .content-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  width: auto;
  font-size: 13px;
}
.profile-local-nav .content-link-row {
  margin: 0;
  min-height: 28px;
  align-items: center;
}
.publications-page .navigation {
  grid-template-columns: var(--nav-column) var(--nav-column) minmax(150px, 1fr);
}
/* Four rows follow the original's spacer-image groups. Do not apply the
   editorial multicolumn rules here: that would change the visual reading order. */
.team-composition {
  --team-alternate: #555;
  display: grid;
  width: max-content;
  min-width: 100%;
}
.team-row {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0 0 18px;
}
.team-row + .team-row {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.team-row:last-child {
  padding-bottom: 0;
}
.team-row li {
  flex: none;
  white-space: nowrap;
}
.team-alternate {
  color: var(--team-alternate);
}
.profile-reader p {
  margin: 0 0 18px;
}
.reader-text.profile-reader img {
  width: min(100%, var(--reader-image-width, 340px));
  height: auto;
  aspect-ratio: var(--reader-image-ratio, auto);
  max-height: calc(var(--flow-height, 300px) - 24px);
  object-fit: contain;
}
.profile-reader.is-paginated {
  display: flex;
  gap: 64px;
  columns: auto;
  width: max-content;
  height: var(--flow-height);
}
.profile-copy.is-paginated {
  display: flex;
  gap: 44px;
  columns: auto;
  width: max-content;
  height: var(--flow-height);
}
.editorial-copy-column {
  flex: none;
  display: flow-root;
  width: var(--flow-width, 320px);
  height: var(--flow-height);
}
.editorial-copy-column > :last-child {
  margin-bottom: 0;
}
.text-flow hr,
.reader-text hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: 16px;
}
.content-meta {
  flex: none;
  width: 48px;
  margin: 0;
  font-size: 14px;
}
.content-links {
  flex: none;
  width: 120px;
  font-size: 14px;
}
.content-link-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}
.content-link-row > div:first-child {
  flex: none;
}
.flow-extent + .content-meta {
  margin-left: 20px;
}
.full-project-facts {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}
.fact-cells {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex: none;
}
.fact-cell {
  max-width: 530px;
}
.fact-cell:first-child {
  width: 48px;
  flex: none;
}
.dense-facts .brand-row {
  padding-bottom: 24px;
}
.project-page .gallery-ribbon,
.project-page .project-reading-ribbon {
  min-height: 140px;
}
@media (min-width: 761px) {
  /* Some original headings consist of two paragraphs kept with their sentence.
     Their minimum height exceeds 100px even at infinite column width. Reserve
     enough strip height rather than widening a column that can never fit. */
  .project-page .gallery-ribbon,
  .project-page .project-reading-ribbon {
    min-height: 180px;
  }
}
.reader-text img {
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  display: block;
  break-inside: avoid;
}
.image-page .brand-row {
  padding-bottom: 24px;
}
.image-page .photo-figure > img {
  display: block;
}
.lightbox {
  padding: 0;
  border: 0;
  width: min(1100px, 94vw);
  max-width: 94vw;
  height: 92vh;
  height: 92dvh;
  max-height: 92dvh;
  color: var(--ink);
  background: var(--paper);
}
.lightbox::backdrop {
  background: rgb(0 0 0 / 0.65);
}
.lightbox-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: 12px 20px;
}
.lightbox form {
  margin: 0;
  display: flex;
  justify-content: flex-end;
}
.lightbox button {
  min-height: 44px;
  min-width: 44px;
  padding: 6px 12px;
  background: none;
  border: 0;
  font-size: 14px;
}
.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
}
.lightbox-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.lightbox-caption {
  margin-right: auto;
}
/* The breakpoint also appears in verticalReader() in v2.js. Change both when
   adjusting the switch between horizontal desktop text and mobile reading. */
@media (max-width: 760px) {
  :root {
    --edge: 22px;
    --inset: 22px;
    font-size: 16px;
  }
  body.site {
    min-height: 520px;
  }
  .brand-row {
    padding-top: 22px;
    padding-bottom: 28px;
  }
  .project-page .brand-row {
    padding-bottom: 22px;
  }
  .project-name {
    font-size: 25px;
  }
  .navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-block: 10px 12px;
  }
  .primary-nav {
    width: 100%;
  }
  .primary-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .nav-list {
    font-size: 14px;
  }
  .primary-nav li {
    padding: 0;
  }
  .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .nav-list a::before {
    top: 50%;
    transform: translateY(-50%);
  }
  .navigation.home-navigation {
    min-height: auto;
  }
  .desktop-menu {
    display: none;
  }
  .mobile-menu {
    display: block;
    flex: none;
    margin-inline: var(--edge);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding-block: 8px;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary::after {
    content: "+";
    font-size: 22px;
  }
  .mobile-menu[open] summary::after {
    content: "−";
  }
  .mobile-menu .navigation {
    display: block;
    margin: 0;
    padding-block: 0 12px;
    border: 0;
  }
  .mobile-menu .nav-list,
  .mobile-menu .primary-nav ul,
  .mobile-menu .secondary-nav ul {
    display: block;
  }
  .mobile-menu .nav-list li,
  .mobile-menu .secondary-nav li {
    display: block;
    padding: 0;
  }
  .mobile-menu .nav-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    white-space: normal;
  }
  .mobile-menu .secondary-nav {
    display: block;
    padding-top: 8px;
  }
  .mobile-menu .nav-extra {
    padding-top: 12px;
  }
  body.site:has(.mobile-menu[open]) {
    height: auto;
    min-height: 100dvh;
  }
  .site:has(.mobile-menu[open]) .ribbon {
    flex: none;
    min-height: 300px;
  }
  .gateway .mobile-menu .secondary-nav {
    display: block;
  }
  .overview .mobile-menu .nav-extra {
    display: block;
  }
  .secondary-nav {
    width: 100%;
  }
  .secondary-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
  }
  .secondary-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .gateway .secondary-nav {
    display: none;
  }
  .nav-extra {
    padding: 0;
  }
  .ribbon {
    gap: 28px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-inline-end: 22px;
    scroll-snap-type: x proximity;
  }
  .snap-panel {
    scroll-snap-align: start;
  }
  .ribbon .snap-panel:last-child {
    margin-right: 20px;
  }
  .claim a,
  .claim img {
    height: 180px;
    width: 1272.75px;
  }
  .scroll-tools {
    gap: 10px;
    font-size: 12px;
  }
  .scroll-hint {
    min-width: 86px;
  }
  .scroll-tools button {
    padding-inline: 4px;
  }
  .category-strip {
    display: contents;
  }
  .gateway .category-card,
  .gateway .category-card.is-preview {
    display: block;
    width: calc(100vw - 64px);
  }
  .category-card h2 {
    font-size: 17px;
    margin-bottom: 24px;
  }
  .category-card img {
    max-width: 100%;
    width: auto;
    max-height: 220px;
    height: auto;
  }
  .project-entry {
    width: calc(100vw - 64px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }
  .entry-year {
    font-size: 14px;
  }
  .entry-content {
    min-width: 0;
    max-width: none;
  }
  .project-entry h2,
  .entry-description {
    font-size: 16px;
  }
  .entry-description {
    margin-bottom: 20px;
  }
  .entry-photo {
    max-width: 100%;
  }
  .entry-photo img {
    height: clamp(80px, calc(100dvh - 530px), 150px);
    max-width: 100%;
    width: auto;
    object-fit: contain;
    object-position: left top;
  }
  .overview .secondary-nav ul {
    display: block;
  }
  .overview .secondary-nav li {
    display: none;
  }
  .overview .secondary-nav li:has([aria-current]) {
    display: block;
  }
  .overview .secondary-nav a {
    min-height: 30px;
    font-size: 14px;
  }
  .overview .nav-extra {
    display: none;
  }
  .project-facts {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0 12px;
    padding-block: 14px;
    font-size: 15px;
  }
  .project-text-links {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 18px;
  }
  .project-text-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
  }
  .project-text-links button {
    min-height: 44px;
    font-size: 14px;
  }
  .gallery-ribbon {
    padding-top: 20px;
  }
  .photo-figure {
    width: calc(100vw - 64px);
  }
  .project-page .photo-figure {
    width: calc(100vw - var(--inset) - 42px);
  }
  .photo-figure a {
    width: 100%;
  }
  .photo-figure img {
    width: 100%;
    height: auto;
    max-height: var(--photo-height, 300px);
    object-fit: contain;
    object-position: left top;
  }
  .photo-figure figcaption {
    font-size: 12px;
  }
  .project-navigation {
    padding-block: 6px;
    margin-top: 0;
  }
  .project-navigation .secondary-nav,
  .project-navigation .nav-extra {
    display: none;
  }
  .project-navigation .primary-nav .nav-list {
    font-size: 14px;
  }
  .project-navigation .primary-nav a {
    min-height: 40px;
  }
  .reader-page .brand-row {
    padding-bottom: 22px;
  }
  .reader-nav {
    gap: 10px 20px;
    padding-block: 6px;
    font-size: 14px;
  }
  .reader-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .reading-ribbon {
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
    padding-block: 24px;
  }
  .reading-ribbon,
  .project-reading-ribbon {
    scrollbar-width: thin;
  }
  .project-reading-ribbon {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: none;
  }
  .project-inline-text {
    width: 100%;
    height: auto;
    columns: auto;
    font-size: 16px;
    line-height: 1.6;
  }
  .project-page.is-reading .scroll-tools {
    display: none;
  }
  .reader-text {
    width: 100%;
    height: auto;
    columns: auto;
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: break-word;
  }
  .reader-text h1 {
    font-size: 25px;
    margin-bottom: 24px;
  }
  .reader-page .scroll-tools {
    display: none;
  }
  .image-page .scroll-tools {
    display: flex;
  }
  .editorial-band,
  .gallery-ribbon {
    --flow-width: calc(100vw - 64px);
  }
  .news-page .editorial-band {
    --flow-width: calc(100vw - 2 * var(--edge) - 62px);
  }
  .contact-panel {
    flex-basis: calc(100vw - 2 * var(--edge));
    width: calc(100vw - 2 * var(--edge));
  }
  .profile-page .editorial-band {
    --flow-width: calc(100vw - 2 * var(--edge));
  }
  .profile-page[data-profile-dated] .editorial-band {
    --flow-width: calc(100vw - 2 * var(--edge) - 62px);
  }
  .profile-local-nav .content-link-row {
    min-height: 44px;
  }
  .editorial-band {
    scroll-snap-type: none;
  }
  .layout-row {
    gap: 24px;
  }
  .content-meta {
    width: 42px;
  }
  .text-flow {
    font-size: 16px;
    line-height: 1.5;
    column-gap: 28px;
  }
  .full-project-facts {
    display: block;
  }
  .fact-cells {
    gap: 12px;
  }
  .fact-cell {
    flex: 1;
    max-width: none;
    min-width: 0;
  }
  .fact-cell:first-child {
    flex: none;
    width: 48px;
  }
  .full-project-facts .project-text-links {
    margin-left: 60px;
  }
  .dense-facts .brand-row {
    padding-bottom: 22px;
  }
  .overview .mobile-menu .secondary-nav li {
    display: block;
  }
  .mobile-menu .project-navigation .secondary-nav,
  .mobile-menu .project-navigation .nav-extra {
    display: block;
  }
  .mobile-menu .project-navigation .nav-list a {
    min-height: 44px;
  }
  /* Each indentation level follows the menu marker's 18px grid. Text gets
     subtly smaller, while the 44px touch targets remain unchanged. */
  .mobile-menu .mobile-nav-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }
  .mobile-menu .mobile-submenu-toggle {
    width: 44px;
    min-height: 44px;
    border: 0;
    padding: 0;
    background: none;
    font:
      400 21px/1 Verdana,
      Arial,
      sans-serif;
  }
  .mobile-menu .mobile-submenu-toggle[hidden],
  .mobile-menu .mobile-submenu[hidden] {
    display: none;
  }
  .mobile-menu .mobile-submenu {
    padding-inline-start: 18px;
  }
  .mobile-menu .mobile-submenu a {
    font-size: 14px;
  }
  .mobile-menu .mobile-submenu .mobile-submenu a {
    font-size: 13px;
  }
  .mobile-menu .mobile-nav-extra {
    padding-top: 8px;
    font-size: 14px;
  }
  .mobile-menu .mobile-nav-extra > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-inline-start: var(--nav-marker);
  }
  .image-page .gallery-ribbon {
    min-height: 140px;
  }
  .lightbox-layout {
    padding-inline: 12px;
  }
}
/* On shallow windows, give the strip a useful minimum height and let the
   document grow instead of clipping the content between header and controls. */
@media (max-height: 580px) {
  body.site {
    height: auto;
    min-height: 100dvh;
  }
  .brand-row {
    padding-bottom: 28px;
  }
  .project-page .brand-row {
    padding-bottom: 22px;
  }
  .ribbon {
    min-height: 300px;
    flex: none;
  }
  .reading-ribbon {
    overflow-y: visible;
  }
  .reader-text {
    height: auto;
    columns: auto;
    width: min(100%, 42rem);
  }
  .photo-figure img {
    max-height: 240px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/* A shared gallery credit follows the viewport while the pictures scroll. */
.gallery-ribbon.has-shared-credit > .photo-figure figcaption {
  visibility: hidden;
}
.gallery-shared-credit {
  position: sticky;
  left: 0;
  z-index: 1;
  align-self: stretch;
  width: 0;
  margin-right: -24px;
  pointer-events: none;
}
.gallery-shared-credit span {
  position: absolute;
  left: 0;
  bottom: 0;
  white-space: nowrap;
  background: var(--paper, #fff);
  font-size: 12px;
  line-height: 1.4;
}

/* Desktop rules follow the shared left edge. The upper rule is one golden
   ratio of the viewport; the lower navigation rule bleeds to the right edge. */
@media (min-width: 761px) {
  .masthead, .desktop-menu .navigation { position: relative; }
  .masthead { border-bottom-color: transparent; }
  .masthead::after, .desktop-menu .project-navigation::before {
    content: "";
    position: absolute;
    left: 0;
    width: min(61.8034vw, 100%);
    border-top: 1px solid var(--line);
    pointer-events: none;
  }
  .masthead::after { bottom: -1px; }
  .desktop-menu .navigation:not(.project-navigation) { border-bottom-color: transparent; }
  .desktop-menu .navigation:not(.project-navigation)::after {
    content: "";
    position: absolute;
    left: 0;
    right: calc(-1 * var(--edge));
    bottom: -1px;
    border-top: 1px solid var(--line);
    pointer-events: none;
  }
  .desktop-menu .project-navigation { border-top-color: transparent; }
  .desktop-menu .project-navigation::before { top: -1px; }
}

/* Clip scrolling content at the common left edge without a gradient. */
.ribbon.has-left-overflow {
  -webkit-mask-image: linear-gradient(to right, transparent var(--edge), #000 var(--edge));
  mask-image: linear-gradient(to right, transparent var(--edge), #000 var(--edge));
}
.ribbon.has-left-overflow .gallery-shared-credit { left: 0; }
/* Keep progress and its label on the same left-hand grid line. */
.scroll-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px;
  grid-template-rows: 1px 44px;
  column-gap: 18px;
  row-gap: 4px;
}
.scroll-progress { grid-column: 1 / -1; grid-row: 1; width: 100%; }
.scroll-hint { grid-column: 1; grid-row: 2; }
.scroll-tools [data-scroll="previous"] { grid-column: 2; grid-row: 2; }
.scroll-tools [data-scroll="next"] { grid-column: 3; grid-row: 2; }
@media (max-width: 760px) { .scroll-tools { column-gap: 10px; row-gap: 4px; } }

/* The publication periods branch from the fourth biography menu row.
   Retain the main menu's row rhythm while making the sublevel smaller. */
@media (min-width: 761px) {
  .publications-page .desktop-menu .publication-nav { padding-top: 63.9px; }
  .publications-page .desktop-menu .publication-nav .nav-list {
    font-size: 12px;
    line-height: 20.3px;
  }
}

/* On desktop the CV language switch belongs with its PDF download. */
@media (min-width: 761px) {
  .profile-page[data-profile-kind="cv"] > .profile-local-nav,
  .profile-page[data-profile-kind="cv_e"] > .profile-local-nav { display: none; }
  .cv-language .content-links { display: flex; gap: 18px; width: auto; }
  .cv-language .content-link-row { margin: 0; }
  .cv-language { margin-bottom: 8px; }
}

/* CV languages form a vertical submenu; the available language is red. */
.cv-language .content-links,
.profile-page[data-profile-kind="cv"] > .profile-local-nav .content-links,
.profile-page[data-profile-kind="cv_e"] > .profile-local-nav .content-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.cv-language .content-link-row:has(a),
.profile-page[data-profile-kind="cv"] > .profile-local-nav .content-link-row:has(a),
.profile-page[data-profile-kind="cv_e"] > .profile-local-nav .content-link-row:has(a),
.desktop-menu .cv-language a { color: var(--red); }

/* On narrow screens keep additional fact cells below the project description.
   Long URLs may wrap instead of widening the entire page. */
@media (max-width: 760px) {
  .full-project-facts .fact-cells {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 0;
  }
  .full-project-facts .fact-cell:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .full-project-facts .fact-cell:not(:first-child) { grid-column: 2; overflow-wrap: anywhere; }
}
