/* Typography and page elements */

@font-face {
  font-family: Pixelify;
  src: url("fonts/pixelifysans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Silkscreen;
  src: url("fonts/silkscreen.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: DotGothic;
  src: url("fonts/dotgothic16.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --display: Pixelify,DotGothic,monospace;
  --body: "DM Sans","Hiragino Sans",system-ui,sans-serif;
  --ink: #1d2237;
  --muted: #4e5566;
  --accent: #293bb9;
  --line: #c4cad6;
  --subtle: #eaf0ff;
  --paper: #fff;
  --page: 1320px;
  --pad: clamp(1rem,4.6vw,5rem);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.54 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

html {
  scroll-padding-top: .8rem;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.frame {
  width: min(calc(100% - 2 * var(--pad)),var(--page));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: .4rem;
  left: .4rem;
  z-index: 9;
  padding: .5rem 1rem;
  background: white;
  color: black;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.mast {
  border-bottom: 1px solid var(--line);
}

.mast>.frame {
  min-height: 3.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.identity {
  font: 600 1.22rem/1 var(--display);
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}

.sign {
  background: currentColor;
  color: var(--accent);
  width: 19px;
  height: 19px;
  flex: none;
  clip-path: polygon(0 0,65% 0,65% 34%,100% 34%,100% 100%,65% 100%,65% 67%,34% 67%,34% 34%,0 34%);
}

.mast nav {
  display: flex;
  gap: clamp(.8rem,2.1vw,2rem);
}

.mast nav a {
  font-weight: 560;
  font-size: .94rem;
  text-decoration: none;
}

.mast nav a:hover, .identity:hover {
  text-decoration: underline;
}

.profile {
  margin-top: 1.35rem;
}

.profile-inner {
  display: flex;
  position: relative;
  align-items: center;
  gap: clamp(1.2rem,2.8vw,3rem);
}

.portrait {
  flex: none;
  position: relative;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.profile h1, .gallery h2, .record h2, .paper-title h1, .paper-section h2 {
  font-family: var(--display);
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.profile h1 {
  font-size: clamp(2.8rem,5.5vw,5.6rem);
}

.profile-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.affiliation {
  display: block;
  font-weight: 610;
  font-size: 1rem;
}

.role {
  margin: .3rem 0 0;
}

.interests {
  font-size: clamp(1rem,1.22vw,1.2rem);
  line-height: 1.42;
  margin: .8rem 0;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.1rem;
}

.profile-links a {
  font-size: .93rem;
  font-weight: 580;
}

.biography summary {
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
  padding: .5rem 0;
}

.biography>div {
  max-width: 76ch;
  padding: .45rem 0 1rem;
}

.biography p+p {
  margin-top: .7rem;
}

.gallery {
  padding-top: clamp(1.5rem,3vw,2.8rem);
}

.gallery-head {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.2rem;
}

.gallery h2, .record h2 {
  font-size: clamp(2rem,3.6vw,3.4rem);
}

.total, .micro {
  font: 400 .96rem/1.4 var(--display);
  color: var(--muted);
}

.total {
  white-space: nowrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.45rem;
}

.project {
  min-width: 0;
}

.thumbnail {
  display: block;
  aspect-ratio: 1.88;
  background: white;
  overflow: hidden;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-copy {
  min-width: 0;
}

.card-copy h3, .card-copy h4 {
  font: 650 clamp(1.1rem,1.52vw,1.45rem)/1.23 var(--body);
  letter-spacing: -.029em;
  margin: .55rem 0 .45rem;
  overflow-wrap: break-word;
}

.card-copy h3 a, .card-copy h4 a {
  text-decoration: none;
}

.card-copy h3 a:hover, .card-copy h4 a:hover {
  text-decoration: underline;
}

.citation {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  font-weight: 660;
  line-height: 1.28;
  color: var(--accent);
}

.citation time {
  font: 500 1.12rem/1.1 var(--display);
  flex: none;
}

.journal, .authors {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.45;
}

.authors strong {
  font-weight: 600;
}

.award {
  display: inline-block;
  margin-top: .6rem;
  border: 1px solid currentColor;
  color: var(--accent);
  padding: .05rem .4rem;
  font-size: .84rem;
  font-weight: 610;
}

.record {
  margin: 3rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 1.65rem;
}

.record .section-head {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1rem;
}

.record>details {
  border-top: 1px solid var(--line);
}

.record>details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.record summary {
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 630;
  padding: .75rem 0;
}

.record summary .micro {
  margin-left: .6rem;
}

.record ul, .record ol {
  list-style: none;
  padding: 0 0 .9rem;
}

.record li {
  padding: .7rem 0;
  border-top: 1px dotted var(--line);
}

.record h4 {
  font-size: 1.03rem;
}

.morepub {
  margin-top: .85rem;
}

footer.frame {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0 2rem;
  margin-top: 3.25rem;
  font-size: .88rem;
  color: var(--muted);
}

.year-group {
  display: grid;
  grid-template-columns: clamp(66px,8vw,115px) minmax(0,1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.year-num {
  font: 400 clamp(1.6rem,2.7vw,2.6rem)/1 var(--display);
  color: var(--accent);
  padding-top: .35rem;
}

.detail .paper {
  width: min(calc(100% - 2 * var(--pad)),1030px);
  padding-top: 1.4rem;
}

.crumb {
  margin-bottom: 1.4rem;
  font-size: .94rem;
}

.paper-title {
  margin-bottom: 1.65rem;
}

.paper-title h1 {
  font-size: clamp(2rem,4.2vw,4.2rem);
  margin: .5rem 0 1rem;
  text-wrap: balance;
  max-width: 36ch;
}

.paper-venue {
  color: var(--accent);
  font-weight: 660;
}

.paper-info>div {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1rem;
  font-size: 1.12rem;
}

.paper-info ul, .paper-section ul {
  padding: 0;
  list-style: none;
}

.paper-info ul {
  margin: .4rem 0;
  color: var(--muted);
}

.mount {
  background: white;
  border: 1px solid #bac1c7;
  padding: clamp(8px,1.15vw,18px);
}

.mount a {
  display: grid;
  place-items: center;
  cursor: zoom-in;
}

.mount img {
  width: 100%;
  height: auto;
  max-height: 74vh;
  object-fit: contain;
  background: #fff;
}

.mount+.mount {
  margin-top: 1.1rem;
}

.paper-section {
  margin: 2rem 0;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.paper-section h2 {
  font-size: clamp(1.5rem,2.6vw,2.4rem);
  margin-bottom: .8rem;
}

.paper-section p {
  max-width: 83ch;
  line-height: 1.75;
}

.paper-section li {
  margin: .25rem 0;
}

.paper-section pre {
  background: var(--subtle);
  padding: .8rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 400 .92rem/1.6 ui-monospace,monospace;
}

.supplement {
  margin-top: .9rem;
}

.supplement summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 600;
}

.supplement video {
  margin-top: .7rem;
  max-width: 100%;
  height: auto;
}

.return {
  display: inline-block;
  margin: 1.3rem 0;
}

.figure-view {
  background: #fff;
  color: #1a2326;
  border: 1px solid #b7bdc6;
  padding: .65rem;
  width: fit-content;
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
}

.figure-view::backdrop {
  background: rgb(14 19 23 / .74);
}

.figure-view form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: .45rem;
}

.figure-view button {
  background: white;
  border: 1px solid #6c7173;
  padding: .25rem .7rem;
  font-size: .94rem;
}

.figure-view .enlarged {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 5.8rem);
  object-fit: contain;
  background: white;
}

@media (max-width:650px) {
  .mast>.frame {
    min-height: 3.15rem;
    gap: .75rem;
  }

  .mast nav {
    gap: .75rem;
  }

  .mast nav a {
    font-size: .88rem;
  }

  .identity {
    font-size: 1.02rem;
    gap: .4rem;
  }

  .sign {
    width: 16px;
    height: 16px;
  }

  .profile h1 {
    font-size: clamp(2.45rem,9vw,3.4rem);
  }

  .profile .role, .profile .affiliation {
    font-size: .94rem;
  }

  .profile-links {
    gap: .25rem .7rem;
  }

  .profile .interests {
    font-size: 1rem;
    margin: .5rem 0;
  }

  .gallery-head {
    gap: .5rem;
    margin-bottom: 1rem;
  }

  .gallery h2, .record h2 {
    font-size: clamp(1.85rem,6.5vw,2.4rem);
  }

  .cards {
    gap: .8rem;
  }

  .year-group {
    display: block;
  }

  .year-num {
    font-size: 1.8rem;
    margin-bottom: .8rem;
  }
}

@media (max-width:390px) {
  .mast>.frame {
    flex-wrap: wrap;
    gap: .4rem 1rem;
    padding: .62rem 0;
  }

  .mast nav {
    gap: .7rem;
  }

  .total {
    font-size: .83rem;
  }
}

@media print {
  .mast, .figure-view, footer a {
    display: none;
  }

  .project, .mount {
    break-inside: avoid;
  }
}

/* Year index and research entries */

@font-face {
  font-family: PressStart;
  src: url("fonts/pressstart2p.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

.edition {
  --ink: #392e36;
  --muted: #62545c;
  --accent: #794461;
  --line: #cabfc0;
  --subtle: #f5e9e8;
  --cream: #ffeed3;
  --rose: #f8d8d4;
  --mint: #cbe6df;
  --leaf: #dbe6b7;
  --lilac: #dcd3ed;
  --sun: #f9e9ac;
  --pixel: PressStart,Silkscreen,monospace;
  --display: Pixelify,DotGothic,monospace;
  --pad: clamp(1rem,3.7vw,3.8rem);
  --page: 1420px;
}

.tint-0 {
  --tint: var(--rose);
}

.tint-1 {
  --tint: var(--leaf);
}

.tint-2 {
  --tint: var(--sun);
}

.tint-3 {
  --tint: var(--lilac);
}

.tint-4 {
  --tint: var(--mint);
}

.edition .mast {
  background: white;
  border-bottom: 2px solid var(--ink);
}

.edition .identity {
  font: 400 .86rem/1.3 Silkscreen,monospace;
  letter-spacing: -.045em;
}

.edition .sign {
  color: #ab635a;
}

.edition .mast nav a {
  font: 500 1.05rem/1.4 Pixelify,monospace;
}

.edition .mast>.frame {
  min-height: 3.25rem;
}

.edition .profile h1, .edition .gallery h2, .edition .record h2, .edition .paper-section h2 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -.035em;
}

.edition .profile {
  margin: 0;
}

.edition .profile-copy {
  line-height: 1.45;
}

.edition .portrait {
  background: white;
  border: 2px solid #5d4850;
  padding: 3px;
}

.edition .affiliation {
  font-size: .96rem;
}

.edition .interests {
  font-size: 1.02rem;
  margin: .63rem 0;
}

.edition .profile-links {
  gap: .22rem .85rem;
}

.edition .profile-links a {
  font: 550 1rem/1.5 Pixelify,monospace;
  text-decoration-thickness: 1px;
}

.edition .biography summary {
  font: 550 1.03rem/1.45 Pixelify,monospace;
}

.edition .gallery {
  padding: 0;
}

.edition .gallery-head {
  margin-bottom: .8rem;
}

.edition .gallery h2, .edition .record h2 {
  font-size: clamp(2.15rem,3.5vw,3.75rem);
}

.edition .total, .edition .record .micro {
  font: 400 1rem/1.3 DotGothic,monospace;
}

.year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.year-nav a {
  font: 400 1.03rem/1.3 Pixelify,monospace;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--ink);
  min-height: 2rem;
  padding: .2rem .6rem;
  border: 1px solid #8a757e;
  background: var(--tint);
}

.year-nav a:hover {
  color: var(--ink);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.edition .year-group {
  border: 0;
  margin: 1.25rem 0 0;
  padding: 0;
  display: block;
  scroll-margin-top: .7rem;
}

.edition .year-num {
  color: var(--ink);
  font: 400 clamp(1rem,1.75vw,1.6rem)/1.4 var(--pixel);
  letter-spacing: -.06em;
  padding: 0;
}

.edition .cards {
  gap: 1rem;
}

.edition .project {
  color: var(--ink);
  background: white;
  min-width: 0;
}

.edition .card-copy h4 {
  font: 600 clamp(1.18rem,1.55vw,1.55rem)/1.18 Pixelify,var(--body);
  margin: .38rem 0 .36rem;
  letter-spacing: -.015em;
}

.edition .citation {
  color: #614656;
  font-size: .97rem;
}

.edition .citation time {
  font: 400 1.02rem/1.2 Silkscreen,monospace;
  letter-spacing: -.09em;
}

.resources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .44rem .5rem;
}

.res {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 1.85rem;
  padding: .17rem .48rem;
  text-decoration: none;
  color: #402f3d;
  background: #fff;
  border: 1px solid #76616d;
  box-shadow: 2px 2px #aa959d;
  font: 550 .97rem/1.22 Pixelify,var(--body);
}

.res i {
  width: 14px;
  height: 14px;
  flex: none;
  image-rendering: pixelated;
  background: url("resource-icons.png") 0 0/84px 14px no-repeat;
}

.res-page {
  background: var(--rose);
}

.res-page i {
  background-position-x: -14px;
}

.res-doi {
  background: var(--mint);
}

.res-pdf {
  background: var(--sun);
}

.res-pdf i {
  background-position-x: -28px;
}

.res-supp {
  background: var(--lilac);
}

.res-supp i {
  background-position-x: -28px;
}

.res-video {
  background: var(--leaf);
}

.res-video i {
  background-position-x: -56px;
}

.res-extra {
  background: #fff8ea;
}

.res-extra i {
  background-position-x: -70px;
}

.res:hover {
  box-shadow: 1px 1px #947584;
  color: #371e32;
  text-decoration: underline;
}

.res:active {
  box-shadow: none;
}

.edition .award {
  background: #fff1bd;
  color: #5e4532;
  font-size: .83rem;
}

.edition .record summary .micro {
  font-size: .85rem;
}

.edition .mount, .edition .figure-view .enlarged {
  background: white;
}

.edition .paper-title h1 {
  font: 650 clamp(2.15rem,4vw,4.4rem)/1.06 Pixelify,var(--body);
  letter-spacing: -.03em;
}

.edition .paper-section h2 {
  font-size: clamp(1.6rem,2.7vw,2.75rem);
}

.edition.detail .paper-venue {
  background: var(--leaf);
  display: inline-block;
  padding: .2rem .5rem;
  border-left: 4px solid #8c9e62;
}

.ledger-index h3 {
  font: 400 .89rem/1.4 Silkscreen,monospace;
  letter-spacing: -.05em;
}

.ledger {
  --paper: #fffdf9;
}

.ledger .profile {
  margin-top: 1.2rem;
  border-block: 2px solid #6d5661;
  background: var(--cream);
  position: relative;
}

.ledger .profile-inner {
  display: flex;
  gap: 1.2rem;
  padding: .9rem 1rem;
}

.ledger .portrait {
  width: clamp(85px,8vw,122px);
  aspect-ratio: 1;
  flex: none;
  box-shadow: 3px 3px #ceb398;
}

.ledger .profile-copy {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  gap: .4rem 2rem;
  flex: 1;
}

.ledger .affiliation {
  grid-area: 1/1;
}

.ledger .profile h1 {
  grid-area: 2/1;
  font-size: clamp(2.8rem,4.8vw,4.8rem);
  line-height: .9;
}

.ledger .role {
  grid-area: 3/1;
}

.ledger .interests {
  grid-area: 1/2/3/3;
  align-self: center;
  margin: 0;
}

.ledger .profile-links {
  grid-area: 3/2;
}

.ledger .biography {
  padding: 0 1rem;
  border-top: 1px dotted #aa8e84;
}

.ledger .biography summary {
  padding: .3rem 0;
}

.ledger .catalog {
  margin-top: 1.55rem;
}

.ledger .gallery {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  column-gap: 1.5rem;
  align-items: start;
}

.ledger .gallery-head {
  grid-column: 1/-1;
  border-bottom: 2px solid #67515e;
  padding-bottom: .65rem;
}

.ledger .gallery h2 {
  font: 400 clamp(1.35rem,2.5vw,2.55rem)/1.35 var(--pixel);
  letter-spacing: -.065em;
}

.ledger-index {
  position: sticky;
  top: 1rem;
}

.ledger-index h3 {
  margin: 0 0 .65rem;
}

.ledger .year-nav {
  display: grid;
  gap: .3rem;
}

.ledger .year-nav a {
  justify-content: start;
  background: white;
  border: 1px solid #b1a4a9;
}

.ledger .year-nav a:before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--tint);
  border: 1px solid #927983;
}

.ledger-list {
  min-width: 0;
}

.ledger .year-group {
  margin: 0 0 1.2rem;
  border: 1px solid #9e8b94;
}

.ledger .year-num {
  padding: .45rem .8rem;
  background: var(--tint);
  border-bottom: 1px solid #9e8b94;
}

.ledger .cards {
  display: block;
}

.ledger .project {
  display: grid;
  grid-template-columns: minmax(90px,.66fr) minmax(0,1.65fr) minmax(130px,.62fr);
  align-items: center;
  gap: 1.15rem;
  padding: .8rem;
}

.ledger .project+.project {
  border-top: 1px dashed #b8a7ae;
}

.ledger .thumbnail {
  aspect-ratio: 1.7;
  border: 1px solid #baafb1;
}

.ledger .card-copy h4 {
  font: 650 clamp(1.08rem,1.46vw,1.4rem)/1.22 var(--body);
  letter-spacing: -.025em;
}

.ledger .resources {
  padding-left: 1rem;
  border-left: 2px dotted #d2c4c7;
  align-content: center;
}

.ledger .citation time {
  font-size: .98rem;
}

.ledger .journal, .ledger .authors {
  font-size: .94rem;
}

@media (max-width:1000px) {
  .ledger .project {
    grid-template-columns: minmax(90px,.6fr) minmax(0,1.4fr);
    gap: .35rem 1rem;
  }

  .ledger .thumbnail {
    grid-row: 1/3;
  }

  .ledger .resources {
    grid-column: 2;
    border: 0;
    padding: 0;
  }
}

@media (max-width:740px) {
  .ledger-index {
    position: static;
  }

  .ledger .profile-copy {
    display: block;
  }

  .ledger .profile h1 {
    margin: .35rem 0;
  }

  .ledger .interests {
    margin: .45rem 0;
  }

  .ledger .gallery {
    display: block;
  }

  .ledger .year-nav {
    display: flex;
    gap: .3rem;
  }

  .ledger-index {
    margin-bottom: .85rem;
  }

  .ledger-index h3 {
    display: none;
  }

  .ledger .year-nav a {
    min-height: 1.7rem;
    padding: .12rem .45rem;
  }

  .ledger .year-nav a:before {
    width: 7px;
    height: 7px;
  }

  .edition .gallery-head {
    flex-wrap: wrap;
    gap: .3rem .6rem;
  }

  .edition .gallery h2, .edition .record h2 {
    font-size: clamp(1.92rem,6.6vw,2.75rem);
  }

  .ledger .gallery h2 {
    font-size: clamp(1.2rem,3.9vw,1.85rem);
  }

  .edition .year-group {
    margin-top: 1rem;
  }
}

@media (max-width:540px) {
  .edition .mast>.frame {
    padding: .5rem 0;
    min-height: 2.7rem;
    flex-wrap: wrap;
    gap: .3rem .9rem;
  }

  .edition .identity {
    font-size: .78rem;
  }

  .edition .mast nav {
    gap: .55rem;
  }

  .edition .mast nav a {
    font-size: .96rem;
  }

  .edition .profile .role, .edition .affiliation {
    font-size: .93rem;
  }

  .edition .profile .interests {
    font-size: .95rem;
  }

  .edition .biography summary {
    font-size: .98rem;
  }

  .ledger .profile-inner {
    gap: .9rem;
    padding: .75rem;
    align-items: start;
  }

  .ledger .portrait {
    width: 76px;
  }

  .ledger .project {
    padding: .65rem;
    grid-template-columns: minmax(68px,.48fr) minmax(0,1fr);
    align-items: start;
    gap: .55rem .7rem;
  }

  .ledger .thumbnail {
    grid-row: auto;
    aspect-ratio: 1.15;
  }

  .ledger .resources {
    grid-column: 1/-1;
  }

  .res {
    min-height: 2rem;
  }
}

@media print {
  .ledger-index {
    position: static;
  }

  .year-nav, .ledger-index {
    display: none;
  }

  .ledger .gallery {
    display: block;
  }

  .res {
    box-shadow: none;
  }
}

@media (max-width:540px) {
  .edition .gallery-head .total {
    display: none;
  }

  .edition .mast>.frame {
    flex-wrap: nowrap;
    gap: .45rem;
  }

  .edition .mast .identity {
    font-size: 0;
    gap: .3rem;
  }

  .edition .mast .identity:after {
    content: "NK";
    font: 400 .73rem/1.2 var(--pixel);
  }

  .edition .mast nav {
    gap: .7rem;
  }
}

@media (max-width:365px) {
  .edition .mast>.frame {
    flex-wrap: wrap;
  }

  .edition .mast .identity .sign {
    display: none;
  }

  .edition .mast nav {
    gap: .42rem;
  }

  .edition .mast nav a {
    font-size: .9rem;
  }
}

/* Publication gallery and activity dates */

.ledger-2026 {
  --rule: #ad99a2;
}

.ledger-2026 .thumbnail {
  background-color: white;
}

.ledger-2026 .thumbnail.enlarge {
  cursor: zoom-in;
}

.ledger-2026 .ja-title {
  font: 500 .91rem/1.55 var(--body);
  margin: .15rem 0 .38rem;
}

.ledger-2026 .card-copy h4 {
  text-wrap: pretty;
}

.ledger-2026 .project .award {
  display: inline-flex;
  gap: .46rem;
  align-items: center;
  margin: .43rem 0 0;
  padding: .16rem .5rem;
  background: #fff0b5;
  color: #4a3520;
  border: 1px solid #9b8140;
  box-shadow: 2px 2px #e4d5aa;
  font: 600 .98rem/1.25 Pixelify, var(--body);
}

.ledger-2026 .project .award::before {
  content: "";
  width: 14px;
  height: 16px;
  flex: none;
  background: currentColor;
  clip-path: polygon(29% 0,71% 0,71% 12.5%,86% 12.5%,86% 25%,100% 25%,100% 50%,86% 50%,86% 62.5%,71% 62.5%,86% 100%,57% 87.5%,50% 100%,43% 87.5%,14% 100%,29% 62.5%,14% 62.5%,14% 50%,0 50%,0 25%,14% 25%,14% 12.5%,29% 12.5%);
}

.ledger-2026 .thumbnail.pending {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  background-color: #faf8f5;
  background-image: radial-gradient(#d9cfd1 .75px, transparent .85px);
  background-size: 7px 7px;
  color: #65565e;
  text-align: center;
}

.pending i {
  width: 24px;
  height: 20px;
  border: 2px solid #918288;
  background: linear-gradient(135deg, transparent 55%, #baadb0 55% 66%, transparent 66%) 2px 4px / 10px 12px no-repeat,
              linear-gradient(135deg, transparent 50%, #baadb0 50% 61%, transparent 61%) 6px 4px / 13px 12px no-repeat, #faf8f5;
}

.pending span {
  padding: .08rem .22rem;
  background: #faf8f5;
  font: 500 .96rem/1.2 Pixelify, monospace;
}

.ledger-2026 .year-num {
  margin-bottom: 0;
}

.ledger-2026 .res {
  max-width: 100%;
}

.ledger-2026 .resources:empty {
  display: none;
}

.ledger-2026 .profile::before {
  content: "";
  display: block;
  height: 5px;
  background: repeating-linear-gradient(to right, #dab8ab 0 20px, #d2d4a7 20px 40px, #e7ce91 40px 60px, #cabbd6 60px 80px, #b7d0c4 80px 100px);
}

.ledger-2026 .year-nav a:hover {
  background: var(--tint);
}

.dated-list {
  --date-fill: var(--mint);
}

.dated-list.award-dates {
  --date-fill: var(--lilac);
}

.dated-list.funding-periods {
  --date-fill: var(--sun);
  --date-width: 11.5rem;
}

.dated-list li {
  display: grid;
  grid-template-columns: var(--date-width, 7.5rem) minmax(0, 1fr);
  align-items: baseline;
  gap: .4rem 1rem;
}

.funding-periods li > :only-child {
  grid-column: -2 / -1;
}

.dated-list li > :is(time, .period) {
  padding: .15rem .45rem;
  border: 1px solid #887680;
  box-shadow: 2px 2px #d6cdd1;
  background: var(--date-fill);
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
  font: 400 .95rem/1.35 Silkscreen, monospace;
  letter-spacing: -.06em;
}

@media (max-width: 540px) {
  .dated-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: .42rem;
  }

  .dated-list li > :is(time, .period) {
    justify-self: start;
  }
}

.option-standard .year-num {
  border-left: 6px solid #6e5360;
  padding-left: .72rem;
}

.option-standard .project {
  padding-block: .92rem;
}

@media (max-width: 540px) {
  .ledger-2026 .gallery-head .total {
    display: inline;
    font-size: .83rem;
  }

  .ledger-2026 .pending span {
    font-size: .83rem;
  }

  .ledger-2026 .profile-copy {
    min-width: 0;
  }

  .ledger-2026 .year-group {
    scroll-margin-top: .25rem;
  }
}
