.posts {
  container-type: inline-size;
  padding: .5rem max(clamp(1rem, 2.6vw, 2.6rem), calc((100% - 92rem) / 2)) clamp(3rem, 7vw, 7rem);
  background: #fff;
  scroll-margin-top: 6rem;
}
.post-grid {
  --columns: 4;
  --gutter: .5rem;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  grid-auto-rows: minmax(calc((100cqi + var(--gutter)) / var(--columns) - var(--gutter)), auto);
  grid-auto-flow: row dense;
  gap: var(--gutter);
}
.post-grid > li {min-width: 0; margin: 0; display: grid}
.post-grid > .wide {grid-column: span 2}
.post {
  --inset: clamp(1rem, 1.45vw, 1.5rem);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: var(--inset);
  color: #252723;
  background: #f7f7f5;
  border-radius: .55rem;
  text-decoration: none;
}
.post-label {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  color: #5d605c;
  font: 400 .82rem/1.4 "Inter", "Segoe UI", Arial, sans-serif;
}
.post-label span {padding-inline: .08em}
.post-caption {position: relative; z-index: 1; margin-top: auto; padding-top: 1rem}
.post h3 {
  margin: 0;
  font: 400 clamp(1.65rem, 2.1vw, 2.35rem)/1.08 var(--display);
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}
.post p {
  max-width: 35ch;
  margin: .65rem 0 0;
  color: #494c47;
  font: 400 .91rem/1.46 "Inter", "Segoe UI", Arial, sans-serif;
}
.post-state {
  display: table;
  width: fit-content;
  margin: 0 0 .55rem;
  padding: .16rem .36rem;
  border-radius: .2rem;
  font: 550 .72rem/1.25 "Inter", "Segoe UI", Arial, sans-serif;
}
.post-state.complete {background: #dcecdf; color: #295339}
.post-state.review {background: #fae4af; color: #614915}
.post-state.progress {background: #dde7f7; color: #354f77}
.post:is(:hover, :focus-visible) h3:not(.sr) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .11em;
}
.post:focus-visible {outline: 3px solid #865c29; outline-offset: 2px; z-index: 1}
.post-label {padding-right: 1.25rem}
.post:is(:hover, :focus-visible)::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(var(--inset) + .32rem);
  right: var(--inset);
  width: .45rem;
  height: .45rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  pointer-events: none;
}
.post-image {display: block; max-width: 100%}
.photo .post-image, .logo .post-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo {color: white; background: #454941}
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #10110fc4, transparent 30%, transparent 60%, #10110fcc);
}
.photo .post-label {color: white}
.photo h3 {
  font: 550 clamp(.87rem, 1.1vw, 1rem)/1.3 "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: -.015em;
}
.tile-chai .post-image {object-position: center 50%}
.tile-soccer .post-image {object-position: center 58%}
.tile-gakhill .post-image {object-position: center 37%}
.tile-running .post-image {object-position: center 58%}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .photo .post-image {transition: transform .28s ease-out}
  .photo:hover .post-image {transform: scale(1.025)}
}
.logo {background: #eff0f4}
.logo .post-image {object-fit: contain}
.logo .post-caption {align-self: flex-start}
.logo .post-caption p {display: inline; background: #f1f2f6e8; color: #262832}
.post-icon {
  display: block;
  flex: none;
  width: clamp(2.9rem, 4.1vw, 4rem);
  height: auto;
  color: var(--icon-ink, #526261);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.post-icon .icon-wash {fill: currentColor; fill-opacity: .12}
.note .post-icon {margin: auto 0}
.note .post-label {margin-bottom: .7rem}
.note .post-caption {margin-top: 0; padding-top: .7rem}
.tile-acadia, .tile-ml {--icon-ink: #326687}
.tile-mix, .tile-ada {--icon-ink: #71578b}
.tile-orientation, .tile-piggybank {--icon-ink: #946027}
.tile-government, .tile-embedded, .tile-arduino {--icon-ink: #42745c}
.tile-volunteering {--icon-ink: #a05261}
.print {background: #f5f2e9}
.print .post-image {
  width: 59%;
  align-self: center;
  margin-block: auto;
  box-shadow: 0 2px 5px #402f1b21;
}
.print .post-caption {margin-top: 0; padding-top: 0}
.books {background: #f3f0e9}
.book-pair {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 10%;
  padding: .9rem 4% .25rem;
}
.book-pair figure {margin: 0; min-width: 0}
.book-pair img {display: block; width: 100%; height: auto; box-shadow: 1px 3px 5px #392b1c28}
.book-pair figcaption {margin-top: .45em; color: #4d4c43; font: italic .85rem/1.25 var(--display)}
.books .post-caption {margin: 0; padding: .4rem 0 0}
.figure, .screen {
  display: grid;
  grid-template: auto 1fr / minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: center;
}
.figure .post-label, .screen .post-label {grid-column: 1 / -1}
.figure .post-caption, .screen .post-caption {grid-area: 2 / 1; align-self: end; margin: 0; padding: 0}
.figure .post-image, .screen .post-image {
  grid-area: 2 / 2;
  align-self: center;
  width: 100%;
  height: auto;
}
.figure {background: #eef1f5}
.figure .post-image {background: #12141a}
.screen {background: #efeee9}
.screen .post-image {
  width: 135%;
  max-width: none;
  border: 4px solid #fafaf9;
  border-radius: .3rem;
  box-shadow: 0 .3rem 1rem #26262026;
}
.instrument {background: #ebefe7}
.temperature-sample {
  display: flex;
  align-items: center;
  gap: .2em;
  margin-block: auto;
  color: #364d3d;
  font: 450 clamp(2.7rem, 4.5vw, 4.7rem)/1 "Courier New", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.09em;
}
.temperature-sample small {font-size: .42em; letter-spacing: -.04em}
.instrument .post-caption {margin-top: 0; padding-top: 0}
@media (max-width: 73rem) {.post-grid {--columns: 3}}
@media (max-width: 55rem) {.post-grid {--columns: 2}}
@media (max-width: 38rem) {
  .posts {padding-inline: clamp(1rem, 8.3vw, 2.25rem)}
  .post-grid {--columns: 1; grid-auto-rows: auto; grid-auto-flow: row}
  .post-grid > li {min-height: 100cqi}
  .post-grid > .wide {grid-column: auto; min-height: max(13rem, 64cqi)}
  .post {--inset: 1rem}
  .figure, .screen {grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: .65rem}
  .figure p, .screen p {font-size: .84rem}
  .book-pair {padding-inline: 9%}
  .temperature-sample {font-size: 3.9rem}
}
@media (forced-colors: active) {
  .post {border: 1px solid LinkText}
  .photo .post-label, .photo .post-caption, .post-state {background: Canvas; color: LinkText}
}
