/* Pygments: default */
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.artwork .hll { background-color: #ffffcc }
.artwork { background: #f8f8f8; }
.artwork .c { color: #3D7B7B; font-style: italic } /* Comment */
.artwork .err { border: 1px solid #F00 } /* Error */
.artwork .k { color: #008000; font-weight: bold } /* Keyword */
.artwork .o { color: #666 } /* Operator */
.artwork .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
.artwork .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
.artwork .cp { color: #9C6500 } /* Comment.Preproc */
.artwork .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
.artwork .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
.artwork .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.artwork .gd { color: #A00000 } /* Generic.Deleted */
.artwork .ge { font-style: italic } /* Generic.Emph */
.artwork .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.artwork .gr { color: #E40000 } /* Generic.Error */
.artwork .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.artwork .gi { color: #008400 } /* Generic.Inserted */
.artwork .go { color: #717171 } /* Generic.Output */
.artwork .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.artwork .gs { font-weight: bold } /* Generic.Strong */
.artwork .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.artwork .gt { color: #04D } /* Generic.Traceback */
.artwork .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.artwork .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.artwork .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.artwork .kp { color: #008000 } /* Keyword.Pseudo */
.artwork .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.artwork .kt { color: #B00040 } /* Keyword.Type */
.artwork .m { color: #666 } /* Literal.Number */
.artwork .s { color: #BA2121 } /* Literal.String */
.artwork .na { color: #687822 } /* Name.Attribute */
.artwork .nb { color: #008000 } /* Name.Builtin */
.artwork .nc { color: #00F; font-weight: bold } /* Name.Class */
.artwork .no { color: #800 } /* Name.Constant */
.artwork .nd { color: #A2F } /* Name.Decorator */
.artwork .ni { color: #717171; font-weight: bold } /* Name.Entity */
.artwork .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
.artwork .nf { color: #00F } /* Name.Function */
.artwork .nl { color: #767600 } /* Name.Label */
.artwork .nn { color: #00F; font-weight: bold } /* Name.Namespace */
.artwork .nt { color: #008000; font-weight: bold } /* Name.Tag */
.artwork .nv { color: #19177C } /* Name.Variable */
.artwork .ow { color: #A2F; font-weight: bold } /* Operator.Word */
.artwork .w { color: #BBB } /* Text.Whitespace */
.artwork .mb { color: #666 } /* Literal.Number.Bin */
.artwork .mf { color: #666 } /* Literal.Number.Float */
.artwork .mh { color: #666 } /* Literal.Number.Hex */
.artwork .mi { color: #666 } /* Literal.Number.Integer */
.artwork .mo { color: #666 } /* Literal.Number.Oct */
.artwork .sa { color: #BA2121 } /* Literal.String.Affix */
.artwork .sb { color: #BA2121 } /* Literal.String.Backtick */
.artwork .sc { color: #BA2121 } /* Literal.String.Char */
.artwork .dl { color: #BA2121 } /* Literal.String.Delimiter */
.artwork .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.artwork .s2 { color: #BA2121 } /* Literal.String.Double */
.artwork .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
.artwork .sh { color: #BA2121 } /* Literal.String.Heredoc */
.artwork .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
.artwork .sx { color: #008000 } /* Literal.String.Other */
.artwork .sr { color: #A45A77 } /* Literal.String.Regex */
.artwork .s1 { color: #BA2121 } /* Literal.String.Single */
.artwork .ss { color: #19177C } /* Literal.String.Symbol */
.artwork .bp { color: #008000 } /* Name.Builtin.Pseudo */
.artwork .fm { color: #00F } /* Name.Function.Magic */
.artwork .vc { color: #19177C } /* Name.Variable.Class */
.artwork .vg { color: #19177C } /* Name.Variable.Global */
.artwork .vi { color: #19177C } /* Name.Variable.Instance */
.artwork .vm { color: #19177C } /* Name.Variable.Magic */
.artwork .il { color: #666 } /* Literal.Number.Integer.Long */

/* Pygments: github-dark */
@media (prefers-color-scheme: dark) {
pre { line-height: 125%; }
td.linenos .normal { color: #6e7681; background-color: #0d1117; padding-left: 5px; padding-right: 5px; }
span.linenos { color: #6e7681; background-color: #0d1117; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #e6edf3; background-color: #6e7681; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #e6edf3; background-color: #6e7681; padding-left: 5px; padding-right: 5px; }
.artwork .hll { background-color: #6e7681 }
.artwork { background: #0d1117; color: #E6EDF3 }
.artwork .c { color: #8B949E; font-style: italic } /* Comment */
.artwork .err { color: #F85149 } /* Error */
.artwork .esc { color: #E6EDF3 } /* Escape */
.artwork .g { color: #E6EDF3 } /* Generic */
.artwork .k { color: #FF7B72 } /* Keyword */
.artwork .l { color: #A5D6FF } /* Literal */
.artwork .n { color: #E6EDF3 } /* Name */
.artwork .o { color: #FF7B72; font-weight: bold } /* Operator */
.artwork .x { color: #E6EDF3 } /* Other */
.artwork .p { color: #E6EDF3 } /* Punctuation */
.artwork .ch { color: #8B949E; font-style: italic } /* Comment.Hashbang */
.artwork .cm { color: #8B949E; font-style: italic } /* Comment.Multiline */
.artwork .cp { color: #8B949E; font-weight: bold; font-style: italic } /* Comment.Preproc */
.artwork .cpf { color: #8B949E; font-style: italic } /* Comment.PreprocFile */
.artwork .c1 { color: #8B949E; font-style: italic } /* Comment.Single */
.artwork .cs { color: #8B949E; font-weight: bold; font-style: italic } /* Comment.Special */
.artwork .gd { color: #FFA198; background-color: #490202 } /* Generic.Deleted */
.artwork .ge { color: #E6EDF3; font-style: italic } /* Generic.Emph */
.artwork .ges { color: #E6EDF3; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.artwork .gr { color: #FFA198 } /* Generic.Error */
.artwork .gh { color: #79C0FF; font-weight: bold } /* Generic.Heading */
.artwork .gi { color: #56D364; background-color: #0F5323 } /* Generic.Inserted */
.artwork .go { color: #8B949E } /* Generic.Output */
.artwork .gp { color: #8B949E } /* Generic.Prompt */
.artwork .gs { color: #E6EDF3; font-weight: bold } /* Generic.Strong */
.artwork .gu { color: #79C0FF } /* Generic.Subheading */
.artwork .gt { color: #FF7B72 } /* Generic.Traceback */
.artwork .g-Underline { color: #E6EDF3; text-decoration: underline } /* Generic.Underline */
.artwork .kc { color: #79C0FF } /* Keyword.Constant */
.artwork .kd { color: #FF7B72 } /* Keyword.Declaration */
.artwork .kn { color: #FF7B72 } /* Keyword.Namespace */
.artwork .kp { color: #79C0FF } /* Keyword.Pseudo */
.artwork .kr { color: #FF7B72 } /* Keyword.Reserved */
.artwork .kt { color: #FF7B72 } /* Keyword.Type */
.artwork .ld { color: #79C0FF } /* Literal.Date */
.artwork .m { color: #A5D6FF } /* Literal.Number */
.artwork .s { color: #A5D6FF } /* Literal.String */
.artwork .na { color: #E6EDF3 } /* Name.Attribute */
.artwork .nb { color: #E6EDF3 } /* Name.Builtin */
.artwork .nc { color: #F0883E; font-weight: bold } /* Name.Class */
.artwork .no { color: #79C0FF; font-weight: bold } /* Name.Constant */
.artwork .nd { color: #D2A8FF; font-weight: bold } /* Name.Decorator */
.artwork .ni { color: #FFA657 } /* Name.Entity */
.artwork .ne { color: #F0883E; font-weight: bold } /* Name.Exception */
.artwork .nf { color: #D2A8FF; font-weight: bold } /* Name.Function */
.artwork .nl { color: #79C0FF; font-weight: bold } /* Name.Label */
.artwork .nn { color: #FF7B72 } /* Name.Namespace */
.artwork .nx { color: #E6EDF3 } /* Name.Other */
.artwork .py { color: #79C0FF } /* Name.Property */
.artwork .nt { color: #7EE787 } /* Name.Tag */
.artwork .nv { color: #79C0FF } /* Name.Variable */
.artwork .ow { color: #FF7B72; font-weight: bold } /* Operator.Word */
.artwork .pm { color: #E6EDF3 } /* Punctuation.Marker */
.artwork .w { color: #6E7681 } /* Text.Whitespace */
.artwork .mb { color: #A5D6FF } /* Literal.Number.Bin */
.artwork .mf { color: #A5D6FF } /* Literal.Number.Float */
.artwork .mh { color: #A5D6FF } /* Literal.Number.Hex */
.artwork .mi { color: #A5D6FF } /* Literal.Number.Integer */
.artwork .mo { color: #A5D6FF } /* Literal.Number.Oct */
.artwork .sa { color: #79C0FF } /* Literal.String.Affix */
.artwork .sb { color: #A5D6FF } /* Literal.String.Backtick */
.artwork .sc { color: #A5D6FF } /* Literal.String.Char */
.artwork .dl { color: #79C0FF } /* Literal.String.Delimiter */
.artwork .sd { color: #A5D6FF } /* Literal.String.Doc */
.artwork .s2 { color: #A5D6FF } /* Literal.String.Double */
.artwork .se { color: #79C0FF } /* Literal.String.Escape */
.artwork .sh { color: #79C0FF } /* Literal.String.Heredoc */
.artwork .si { color: #A5D6FF } /* Literal.String.Interpol */
.artwork .sx { color: #A5D6FF } /* Literal.String.Other */
.artwork .sr { color: #79C0FF } /* Literal.String.Regex */
.artwork .s1 { color: #A5D6FF } /* Literal.String.Single */
.artwork .ss { color: #A5D6FF } /* Literal.String.Symbol */
.artwork .bp { color: #E6EDF3 } /* Name.Builtin.Pseudo */
.artwork .fm { color: #D2A8FF; font-weight: bold } /* Name.Function.Magic */
.artwork .vc { color: #79C0FF } /* Name.Variable.Class */
.artwork .vg { color: #79C0FF } /* Name.Variable.Global */
.artwork .vi { color: #79C0FF } /* Name.Variable.Instance */
.artwork .vm { color: #79C0FF } /* Name.Variable.Magic */
.artwork .il { color: #A5D6FF } /* Literal.Number.Integer.Long */
}

/* Museum */
/* A white-cube gallery. Walls, frames, mattes, labels. Nothing else. */

:root {
  color-scheme: light dark;
  --wall: #f3f1ec;
  --wall-deep: #e9e6df;
  --ink: #1c1b19;
  --muted: #5e5952;
  --accent: #7a2e2e;
  --frame: #2a2622;
  --matte: #fbfaf7;
  --hairline: #d6d1c6;
  --shadow: 0 18px 40px -24px rgba(30, 20, 10, .55), 0 2px 6px -2px rgba(30, 20, 10, .25);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  --gutter: clamp(1rem, 4vw, 3rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --wall: #141418;
    --wall-deep: #0e0e11;
    --ink: #e6e3dc;
    --muted: #a7a197;
    --accent: #d9a0a0;
    --frame: #d8d3c8;
    --matte: #1c1c21;
    --hairline: #33333a;
    --shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), 0 2px 8px -2px rgba(0, 0, 0, .6);
  }
}

/* --- walls ---------------------------------------------------------------- */

* { box-sizing: border-box; }

html { background: var(--wall); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* a faint plaster grain on the walls; inline SVG, no request */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; }

/* --- entrance ------------------------------------------------------------- */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.4rem var(--gutter);
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  color: var(--ink);
  font-variant-caps: small-caps;
  letter-spacing: .12em;
  font-size: 1.05rem;
}
.wordmark:hover { text-decoration: none; color: var(--accent); }
.wordmark-of { font-variant-caps: normal; font-style: italic; letter-spacing: 0; opacity: .7; }

.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  color: var(--muted);
  font-variant-caps: small-caps;
  letter-spacing: .1em;
  font-size: .95rem;
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }

.site-footer {
  padding: 3rem var(--gutter) 4rem;
  color: var(--muted);
  font-size: .85rem;
  max-width: 40rem;
}

main { padding: 0 var(--gutter); }

/* --- the hall (index) ----------------------------------------------------- */

.hall { padding: clamp(3rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 4rem); max-width: 46rem; }

.hall-kicker, .room-no, .placard-position, .walk-label, .placard-flag {
  font-variant-caps: small-caps;
  letter-spacing: .14em;
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

.hall-title {
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: .4rem 0 1.2rem;
}

.hall-lede {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
  max-width: 34rem;
}

.era-group {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--hairline);
}

.room-no { margin-bottom: .2rem; }

.era {
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  letter-spacing: -.01em;
  margin: 0 0 1.6rem;
}

.works {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.6rem 1.4rem;
}

.card { min-width: 0; }
.card a { color: var(--ink); display: block; min-width: 0; }
.card a:hover { text-decoration: none; }
.card a:hover .work-title { color: var(--accent); }

.card .preview {
  position: relative;
  min-width: 0;
  max-width: 100%;
  height: 8.6rem;
  overflow: hidden;
  background: var(--matte);
  border: 1px solid var(--frame);
  padding: .9rem 1rem;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card a:hover .preview { transform: translateY(-2px); }

.card .preview::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, var(--matte));
}

.preview .artwork { font-size: .66rem; line-height: 1.5; }
.preview .artwork pre { overflow: hidden; white-space: pre; }

.work-title { display: block; margin-top: .9rem; font-size: 1.15rem; line-height: 1.25; }
.work-author, .work-year { color: var(--muted); font-size: .95rem; }
.work-author::after { content: ","; }

/* --- the work ------------------------------------------------------------- */

.work { padding: clamp(2rem, 5vw, 4rem) 0 2rem; }

.frame {
  margin: 0 calc(-1 * var(--gutter) + 12px);
  border: 1px solid var(--frame);
  padding: 7px;
  background: var(--wall-deep);
  box-shadow: var(--shadow);
}

.matte {
  border: 1px solid var(--hairline);
  background: var(--matte);
  padding: clamp(.9rem, 3vw, 2.4rem) clamp(.9rem, 3vw, 2.6rem);
  min-width: 0;
}

.frame .artwork, .preview .artwork { background: transparent; }
.artwork { font-family: var(--mono); }
.frame .artwork { font-size: clamp(.78rem, 1.6vw, .95rem); line-height: 1.45; }
.artwork pre {
  margin: 0;
  overflow-x: auto;
  tab-size: 8;
  line-height: inherit;
  font-family: inherit;
}
.artwork code { font-family: inherit; }

.placard {
  max-width: 38rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--frame);
}

.placard-position { margin-bottom: .5rem; }

.placard-title {
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .5rem;
}

.placard-artist { margin: 0; font-size: 1.1rem; }
.placard-date { color: var(--muted); }
.placard-medium { margin: .15rem 0 0; font-style: italic; color: var(--muted); }

.placard-flag { margin-top: .9rem; color: var(--accent); }
.placard-flag::before { content: "\2731\00a0"; }

.placard-note { margin-top: 1.4rem; }
.placard-note p { margin: 0 0 1em; }
.placard-note code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--wall-deep);
  padding: .05em .3em;
}

.placard-meta {
  margin: 1.8rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .35rem 1.2rem;
  font-size: .85rem;
  color: var(--muted);
}
.placard-meta dt { font-variant-caps: small-caps; letter-spacing: .12em; }
.placard-meta dd { margin: 0; }

.walk {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
}
.walk a { display: block; color: var(--ink); max-width: 45%; }
.walk a:hover { text-decoration: none; }
.walk a:hover .walk-title { color: var(--accent); }
.walk a[rel="next"] { text-align: right; margin-left: auto; }
.walk-label { display: block; margin-bottom: .2rem; }
.walk-title { display: block; font-size: 1.15rem; line-height: 1.25; }
.walk-end { flex: 1; }

/* --- prose (about, 404) --------------------------------------------------- */

.prose { max-width: 38rem; padding: clamp(3rem, 8vw, 6rem) 0 3rem; font-size: 1.15rem; }
.prose h1 { font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1.5rem; }
.prose p { margin: 0 0 1.1em; }

/* --- motion: one quiet reveal on arrival ---------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .frame, .placard, .hall, .card { animation: settle .7s cubic-bezier(.2, .7, .2, 1) both; }
  .placard { animation-delay: .12s; }
  .card:nth-child(1) { animation-delay: .05s; }
  .card:nth-child(2) { animation-delay: .1s; }
  .card:nth-child(3) { animation-delay: .15s; }
  .card:nth-child(4) { animation-delay: .2s; }
  .card:nth-child(5) { animation-delay: .25s; }
  .card:nth-child(n+6) { animation-delay: .3s; }
}

@keyframes settle {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* --- phones --------------------------------------------------------------- */

@media (max-width: 48rem) {
  .site-header { flex-direction: column; align-items: flex-start; gap: .4rem; padding: 1.1rem var(--gutter); }
  .works { grid-template-columns: 1fr 1fr; gap: 1.2rem .9rem; }
  .card .preview { height: 7rem; padding: .7rem .8rem; }
  .preview .artwork { font-size: .58rem; }
  .walk { flex-direction: column; gap: 1.2rem; }
  .walk a { max-width: none; }
  .walk a[rel="next"] { text-align: left; margin-left: 0; }
  .walk-end { display: none; }
}

@media (max-width: 30rem) {
  .works { grid-template-columns: 1fr; }
}

