:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --ink: #202b25;
  --muted: #545e54;
  --line: #c8cbc0;
  --forest: #1d3029;
  --amber: #efc577;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.5 var(--sans);
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 1rem;
  border-radius: 2px;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:hover:not(:disabled),
.paging button:hover {
  border-color: currentColor;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ad691c;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 5;
  background: white;
  padding: 1rem;
}
.mast,
footer {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.05rem clamp(1.25rem, 5vw, 6rem);
}
.mast {
  min-height: 74px;
  background: var(--paper);
}
.brand,
.wordmark {
  font: 600 1.6rem var(--serif);
  text-decoration: none;
  letter-spacing: -0.055em;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.iris {
  font: 2rem/1 var(--serif);
  color: #916822;
}
.mast nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.mast nav a,
footer a {
  font-size: 0.84rem;
  text-decoration: none;
}
.mast nav a:hover,
footer a:hover,
.cover-strip a:hover {
  text-decoration: underline;
}
.byline {
  text-decoration: none;
  padding-left: 1.6rem;
  border-left: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.byline span {
  padding: 0 0.3rem;
  color: #9a8969;
}
.cover {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: clamp(490px, 66vh, 790px);
  display: grid;
  align-content: center;
  background: var(--forest);
  color: #faf8ea;
}
.cover-art,
.cover-art::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cover-art img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 78%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cover-art::after {
  content: "";
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      #192c25 0%,
      #192c25 19%,
      rgba(25, 44, 37, 0.91) 29%,
      rgba(25, 44, 37, 0.23) 53%,
      transparent 70%
    ),
    linear-gradient(0deg, rgba(10, 20, 14, 0.76), transparent 20%);
}
.cover-body {
  padding: 3.8rem 6vw 6.5rem;
  width: fit-content;
  position: relative;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-transform: uppercase;
  font: 600 0.66rem/1.6 var(--mono);
  letter-spacing: 0.17em;
  color: var(--amber);
  margin: 0 0 1.1rem;
}
.kicker > span {
  width: 1.9rem;
  height: 1px;
  background: currentColor;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font: 400 clamp(5.6rem, 9vw, 10rem)/0.8 var(--serif);
  letter-spacing: -0.075em;
}
h1 i {
  font-weight: 400;
}
h1 b {
  color: var(--amber);
  font-weight: 400;
}
.credit {
  margin: 1.5rem 0 1.7rem;
  color: #f5f3e8;
  font: italic 1.1rem var(--serif);
}
.explore {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  border: 1px solid #d4c9a9;
  padding: 0.68rem 1rem;
  text-decoration: none;
  font-size: 0.84rem;
  background: #22352d;
}
.explore:hover {
  color: var(--ink);
  background: var(--amber);
}
.cover-strip {
  position: absolute;
  bottom: 0;
  left: 6vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #c6c8a480;
  padding: 0.7rem 0;
}
.cover-strip a {
  text-decoration: none;
  font: italic 1.04rem var(--serif);
}
.cover-strip small {
  font: 0.62rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-right: 0.9rem;
}
.feature-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font: 0.72rem var(--mono);
  white-space: nowrap;
}
.feature-controls button {
  border-color: transparent;
  color: white;
  min-height: 40px;
  padding: 0.4rem 0.65rem;
}
.archive {
  max-width: 1660px;
  margin: auto;
  padding: clamp(3rem, 6vw, 6rem) 6vw 5rem;
  scroll-margin-top: 1rem;
}
.ink {
  color: #76531c;
}
.archive-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
h2 {
  font: 400 clamp(2.8rem, 5vw, 5.4rem)/1.05 var(--serif);
  letter-spacing: -0.065em;
}
.status,
.gallery .subject,
.dialog-bar,
.detail-nav {
  color: var(--muted);
  font: 0.73rem/1.6 var(--mono);
}
#collections {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0 0 1.2rem;
  scroll-margin-top: 2rem;
}
#collections button {
  border-radius: 3rem;
  font-size: 0.83rem;
  padding: 0.52rem 1.05rem;
}
#collections [aria-pressed="true"] {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  border-block: 1px solid var(--line);
  padding: 0.7rem 0;
  font-size: 0.85rem;
}
.tools label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.tools select,
.tools input {
  background: var(--paper);
  border: none;
  border-radius: 0;
  min-height: 2.2rem;
}
.tools select {
  font-weight: 600;
  max-width: 100%;
}
.search {
  flex: 1 1 15rem;
}
.search span[aria-hidden] {
  font: 1.6rem var(--serif);
}
.search input {
  width: 100%;
  min-width: 0;
}
.status {
  padding: 0.75rem 0;
  min-height: 2.5rem;
}
.gallery {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem) clamp(1.4rem, 3vw, 3rem);
}
.card {
  display: block;
  text-decoration: none;
}
.card figure {
  margin: 0;
}
.frame {
  display: block;
  position: relative;
  background: #d8d7c9;
}
.frame img {
  width: 100%;
  height: auto;
  display: block;
}
.frame::after {
  content: "↗";
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.35rem 0.7rem;
  opacity: 0;
}
.card:hover .frame::after,
.card:focus-visible .frame::after {
  opacity: 1;
}
figcaption {
  padding: 0.8rem 0 0.7rem;
  border-bottom: 1px solid var(--line);
}
.gallery .subject {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.gallery h3 {
  font: 400 clamp(1.55rem, 2.4vw, 2.5rem)/1.2 var(--serif);
  letter-spacing: -0.035em;
  margin-top: 0.25rem;
}
.paging {
  text-align: center;
  padding-top: 1rem;
}
footer {
  background: var(--forest);
  color: var(--paper);
  padding-block: 2rem;
  flex-wrap: wrap;
}
footer .copyright {
  font-size: 0.8rem;
}
footer .copyright + a {
  margin-left: auto;
}
dialog {
  width: min(1160px, 96vw);
  max-height: 94dvh;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: none;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #0c1713e8;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-bar,
.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.3rem;
  gap: 1rem;
}
.dialog-bar {
  border-bottom: 1px solid var(--line);
}
.detail-nav {
  border-top: 1px solid var(--line);
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
}
.image-area {
  position: relative;
  display: grid;
  align-items: center;
  background: #17201b;
  min-height: 12rem;
}
#large img {
  display: block;
  height: min(64vh, 740px);
  width: 100%;
  object-fit: contain;
}
#expand {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  background: #1a2722ed;
  color: white;
  font-size: 0.85rem;
}
article {
  padding: clamp(1.4rem, 3vw, 3.4rem);
  overflow-wrap: anywhere;
}
article h2 {
  font-size: clamp(2rem, 3.4vw, 3.7rem);
}
article h3 {
  font: 600 0.69rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 1.4rem 0 0.5rem;
}
article p {
  margin-top: 1rem;
  line-height: 1.65;
}
article ul {
  padding-left: 1.1rem;
}
dl {
  margin: 0.5rem 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  font-size: 0.85rem;
}
dt,
dd {
  padding: 0.25rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
dt {
  color: var(--muted);
}
dialog.immersive {
  position: fixed;
  inset: 0;
  height: 100dvh;
  width: 100vw;
  max-height: none;
  max-width: none;
  margin: 0;
  background: #101813;
  color: white;
  display: flex;
  flex-direction: column;
}
.immersive #viewer {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #101813;
  color: white;
}
.immersive .dialog-bar,
.immersive .detail-nav {
  color: white;
  border-color: #485249;
}
.immersive .detail-layout,
.immersive .image-area,
.immersive #large {
  flex: 1;
  min-height: 0;
  display: flex;
  width: 100%;
}
.immersive #large img {
  height: 100%;
  min-height: 0;
}
.immersive article {
  display: none;
}
@media (max-width: 760px) {
  .byline {
    display: none;
  }
  .mast {
    min-height: 64px;
  }
  .cover {
    min-height: 540px;
  }
  .cover-body {
    align-self: end;
    padding: 6rem 5vw 5rem;
  }
  .cover-art img {
    width: 100%;
    height: 85%;
    object-position: 58% center;
  }
  .cover-art::after {
    background:
      linear-gradient(
        0deg,
        #182b24 4%,
        rgba(24, 43, 36, 0.92) 21%,
        rgba(20, 34, 28, 0.35) 64%,
        transparent
      ),
      linear-gradient(90deg, rgba(20, 35, 29, 0.6), transparent 60%);
  }
  .cover {
    align-content: end;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  #large img {
    max-height: 46dvh;
  }
  .immersive #large img {
    max-height: none;
  }
  .archive {
    padding-inline: 5vw;
  }
  .tools {
    gap: 0.4rem 1rem;
  }
  .search {
    flex-basis: 100%;
  }
}
@media (max-width: 520px) {
  .mast {
    gap: 0.75rem;
    padding-inline: 5vw;
  }
  .mast nav {
    gap: 0.8rem;
  }
  .mast nav a {
    font-size: 0.78rem;
  }
  .brand {
    font-size: 1.35rem;
  }
  .cover {
    min-height: 0;
    align-content: start;
  }
  .cover-art {
    position: relative;
    z-index: 0;
  }
  .cover-art::after {
    content: none;
  }
  .cover-art img {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    max-height: 42svh;
    object-fit: contain;
    object-position: center;
  }
  .cover-body {
    padding: 1.6rem 5vw;
  }
  .cover-strip {
    position: static;
    margin-inline: 5vw;
  }
  .cover-strip small {
    display: none;
  }
  .archive-head {
    align-items: end;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .tools select {
    max-width: 9.3rem;
  }
  footer {
    gap: 0.8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
  }
  footer .copyright {
    grid-column: 1;
    grid-row: 2;
  }
  footer a {
    text-align: right;
  }
}
