
:root {
  --paper: #f4f0e6;
  --ink: #1a1a1a;
  --red: #8c3a32;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
}
a { color: inherit; }
a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.mast {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 0;
  text-align: center;
  position: relative;
}
.find {
  position: absolute;
  top: 0.85rem;
  right: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.find-open {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  opacity: 0.55;
  cursor: pointer;
}
.find-open:hover, .find-open:focus-visible { opacity: 1; }
.find-open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.find-input {
  width: 9.5rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.1rem 0;
}
.find-input:focus { outline: none; }

.mast h1 { margin: 0; font-weight: normal; font-size: inherit; }
.home-mark { display: block; line-height: 0; text-decoration: none; }
.home-mark:focus-visible { outline-offset: 6px; }
.mast h1 img {
  width: 100%;
  max-width: 920px;
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
}
.about-link {
  display: inline-block;
  margin-top: 0.35rem;
  line-height: 0;
}
.about-link img {
  height: 17px;
  width: auto;
  display: block;
}
.wall {
  margin: 1.6rem auto 0;
  max-width: 34rem;
  font-size: 1.05rem;
}
.archive {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.25rem 1.35rem 1rem;
}
.rail a {
  font-variant: small-caps;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ink);
}
.rail a[aria-current="true"] { color: var(--red); }
.year {
  margin: 0 0 1.6rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--ink);
  font-size: 2.6rem;
  font-weight: normal;
  letter-spacing: 0.16em;
  font-variant: small-caps;
  line-height: 1.1;
}
.year-block { margin: 0 0 4.5rem; }
.year-block:first-child { margin-top: 0.25rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr));
  gap: 2.8rem 1.7rem;
}
.release h2 {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: normal;
  font-style: italic;
  line-height: 1.3;
}
.release h2 a { text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.artist { margin: 0.65rem 0 0; font-size: 0.98rem; }
.sleeve { display: block; color: inherit; text-decoration: none; }
.cover, .frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
}
.cover { object-fit: cover; }
.frame {
  border: 1px solid rgba(26, 26, 26, 0.55);
  outline: 1px solid rgba(26, 26, 26, 0.28);
  outline-offset: -9px;
  background: transparent;
}
.also {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}
.also-label {
  font-variant: small-caps;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  margin-right: 0.35rem;
}
.person + .person::before { content: ", "; }
.person a { text-underline-offset: 0.12em; }
.person a + a { margin-left: 0.35rem; }
.sitefoot {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  text-align: center;
}
.sitefoot p { margin: 0.2rem 0; }
.sitefoot a { text-underline-offset: 0.15em; }
.about-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}
.lede {
  max-width: 38rem;
  margin: 0.4rem auto 0;
  text-align: center;
  font-size: 1.08rem;
}
.exhibits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 2.25rem 0 0;
}
.exhibits figure { margin: 0; min-width: 0; }
.stage {
  border: 1px solid var(--ink);
  overflow: hidden;
  background: #071422;
  aspect-ratio: 4 / 3;
  position: relative;
}
.stage img,
.stage canvas,
.stage iframe {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: block;
  object-fit: cover;
  border: 0;
}
.earth img {
  animation: drift 80s ease-in-out infinite alternate;
  transform-origin: 48% 42%;
}
@keyframes drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-2.2%, -1.4%, 0); }
}
.exhibits figcaption {
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.95rem;
}
.quiet {
  margin: 2rem 0 0;
  text-align: center;
}
.quiet a { text-underline-offset: 0.15em; }
@media (min-width: 801px) {
  .archive {
    display: grid;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .rail {
    position: sticky;
    top: 1.25rem;
    max-height: calc(100vh - 2.5rem);
    overflow: auto;
  }
  .rail a { display: block; padding: 0.16rem 0; }
}
@media (max-width: 800px) {
  .archive { display: block; }
  .rail {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    gap: 0.95rem;
    overflow-x: auto;
    background: var(--paper);
    padding: 0.55rem 0;
    margin: 0 0 1.4rem;
    border-bottom: 1px solid rgba(26, 26, 26, 0.25);
  }
  .rail a { flex: 0 0 auto; white-space: nowrap; }
  .year { font-size: 2.1rem; }
}
@media (max-width: 800px) {
  .exhibits { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .earth img { animation: none; }
}
