/* Quiet Darkroom */
:root {
  --bg: #121211;
  --bg-2: #1a1a18;
  --ink: #dcd7cd;
  --ink-2: #a39d92;
  --muted: #7d776d;
  --rule: #2d2c29;
  --safe: #d0603f;
  --safe-soft: rgba(208, 96, 63, .16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --col: 720px;
  --wide: 1100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.7 var(--serif);
  font-feature-settings: "onum" 1;
}
img { max-width: 100%; height: auto; display: block; background: #0b0b0a; }
a { color: inherit; text-decoration-color: rgba(208, 96, 63, .55); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #fff; text-decoration-color: var(--safe); }
.meta, .section-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta a { text-decoration: none; color: var(--ink-2); }
.meta a:hover { color: var(--safe); }
.section-label { margin: 0 0 1.2rem; font-weight: normal; padding-bottom: .5rem; border-bottom: 1px solid var(--rule); }

/* masthead */
.masthead {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .6rem 2rem; max-width: 1240px; margin: 0 auto; padding: 1.6rem 1.25rem 1.2rem;
}
.wordmark {
  font-size: 1.05rem; letter-spacing: .28em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; gap: .7rem;
}
.wordmark .dot { width: .62rem; height: .62rem; border-radius: 50%; background: var(--safe); box-shadow: 0 0 14px 3px rgba(208, 96, 63, .45); }
.primary { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.primary a { text-decoration: none; color: var(--ink-2); padding: .2rem 0; border-bottom: 1px solid transparent; }
.primary a:hover, .primary a[aria-current] { color: var(--ink); border-bottom-color: var(--safe); }

/* home lead */
.lead { position: relative; max-width: 1240px; margin: 0 auto 3.5rem; }
.lead__image img { width: 100%; max-height: 78vh; object-fit: cover; }
.lead__caption {
  max-width: 640px; padding: 1.4rem 1.25rem 0;
}
@media (min-width: 900px) {
  .lead__caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 5rem 2.6rem 2.4rem;
    background: linear-gradient(to top, rgba(10,10,9,.9), rgba(10,10,9,.55) 60%, rgba(10,10,9,0));
    max-width: none;
  }
  .lead__caption > * { max-width: 720px; }
}
.lead h1 { font-weight: normal; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin: .3rem 0 .6rem; }
.lead h1 a { text-decoration: none; }
.lead p { margin: 0; color: var(--ink-2); }

/* columns */
.columns { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; display: grid; gap: 3rem; }
@media (min-width: 980px) { .columns { grid-template-columns: minmax(0, 1fr) 300px; gap: 4.5rem; } }
.note-row { display: grid; grid-template-columns: 34% 1fr; gap: 1.2rem; padding: 0 0 1.8rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) { .note-row { grid-template-columns: 220px 1fr; gap: 1.8rem; } }
.note-row__frame img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; filter: grayscale(.15); transition: filter .2s; }
.note-row__frame:hover img { filter: none; }
.note-row h3 { font-weight: normal; font-size: 1.32rem; line-height: 1.25; margin: .25rem 0 .45rem; }
.note-row h3 a { text-decoration: none; }
.note-row p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.note-row .meta { margin: 0; }
.more { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; }
.sidebar section { margin-bottom: 2.6rem; }
.sidebar p { color: var(--ink-2); font-size: .95rem; }
.counts { list-style: none; margin: 0; padding: 0; }
.counts li { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--rule); padding: .35rem 0; font-size: .98rem; }
.counts li span { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.counts a { text-decoration: none; }

/* series on home */
.series-block { max-width: 1240px; margin: 3rem auto 0; padding: 0 1.25rem; }
.series-cards { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.series-cards a { text-decoration: none; display: block; }
.series-cards img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.series-cards span { display: block; margin-top: .5rem; font-size: 1.05rem; }
.series-cards small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(6, 1fr); } }
.strip img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* single note */
.note { padding: 1rem 1.25rem 2rem; }
.note__head { max-width: var(--col); margin: 1.5rem auto 2rem; }
.note__head h1 { font-weight: normal; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: .4rem 0 1rem; letter-spacing: -.01em; }
.standfirst { font-size: 1.15rem; color: var(--ink-2); font-style: italic; margin: 0; }
.note__body { max-width: var(--col); margin: 0 auto; }
.note__body h2 { font-weight: normal; font-size: 1.45rem; margin: 2.4rem 0 .6rem; }
.note__body p { margin: 0 0 1.15rem; hyphens: auto; }
.note__body ul { padding-left: 1.2rem; margin: 0 0 1.3rem; }
.note__body li { margin-bottom: .45rem; }
.note__body li::marker { color: var(--safe); }
blockquote { margin: 1.8rem 0; padding: .2rem 0 .2rem 1.3rem; border-left: 2px solid var(--safe); color: var(--ink-2); font-style: italic; font-size: 1.1rem; }
.plate { margin: 2.2rem 0; }
.plate--wide { max-width: var(--wide); margin-left: auto; margin-right: auto; }
@media (min-width: 1180px) {
  .note__body .plate--wide { margin-left: calc((var(--col) - var(--wide)) / 2); margin-right: calc((var(--col) - var(--wide)) / 2); }
}
.plate--lead { margin-top: 0; }
.plate figcaption, .frame figcaption {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--muted); margin-top: .6rem; line-height: 1.5;
}
.chart { overflow-x: auto; margin: 1.6rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .7rem .55rem 0; border-bottom: 1px solid var(--rule); }
th { font-family: var(--mono); font-weight: normal; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
td:first-child { color: var(--ink); white-space: nowrap; }
.signoff { max-width: var(--col); margin: 2rem auto 0; color: var(--muted); font-style: italic; }
.pager { max-width: var(--col); margin: 3rem auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.pager a { text-decoration: none; font-size: 1rem; line-height: 1.35; }
.pager small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--safe); margin-bottom: .3rem; }
.pager__newer { text-align: right; }
.related { max-width: var(--col); margin: 3rem auto 0; }

/* index pages */
.index-page { max-width: 1000px; margin: 0 auto; padding: 1rem 1.25rem 2rem; }
.index-page__head { max-width: var(--col); margin: 1.5rem 0 2.6rem; }
.index-page__head h1 { font-weight: normal; font-size: clamp(2rem, 5vw, 2.8rem); margin: .3rem 0 .8rem; line-height: 1.1; }
.index-page__head p { color: var(--ink-2); }
.year h2 { font-family: var(--mono); font-weight: normal; font-size: .85rem; letter-spacing: .2em; color: var(--safe); margin: 2.4rem 0 .6rem; }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: 4.5rem 1fr; gap: .2rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .ledger li { grid-template-columns: 5rem 1fr 9rem; } }
.ledger time, .ledger .tag { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; padding-top: .3rem; text-transform: uppercase; }
.ledger a { text-decoration: none; font-size: 1.12rem; }
.ledger .tag { grid-column: 2; padding-top: 0; }
@media (min-width: 700px) { .ledger .tag { grid-column: auto; text-align: right; padding-top: .3rem; } }
.notes--full .note-row:last-child { border-bottom: 0; }
.topic-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem 1.6rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.topic-cards a { text-decoration: none; display: block; }
.topic-cards img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: .7rem; }
.topic-cards strong { font-weight: normal; font-size: 1.3rem; display: block; }
.topic-cards span { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.topic-cards p { margin: .4rem 0 0; color: var(--ink-2); font-size: .95rem; }
.by-film { margin-top: 3.5rem; max-width: 420px; }

/* series index */
.series-list { list-style: none; margin: 0; padding: 0; }
.series-row { display: grid; gap: 1.4rem; padding-bottom: 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--rule); }
@media (min-width: 860px) { .series-row { grid-template-columns: 520px 1fr; gap: 2.4rem; align-items: start; } }
.series-row__cover img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.series-row h2 { font-weight: normal; font-size: 1.7rem; margin: .2rem 0 .6rem; }
.series-row h2 a { text-decoration: none; }
.series-row p { color: var(--ink-2); }
.series-row__mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 1rem; }
.series-row__mini img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* a series page */
.roll { padding: 1rem 1.25rem 3rem; }
.roll__head { max-width: var(--col); margin: 1.5rem auto 2rem; }
.roll__head h1 { font-weight: normal; font-size: clamp(2.2rem, 6vw, 3.4rem); margin: .3rem 0 1rem; line-height: 1.05; }
.roll__head p { color: var(--ink-2); }
.contact {
  max-width: 1200px; margin: 0 auto 3rem; padding: .8rem; background: #0a0a09; border: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem;
}
.contact img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; opacity: .85; }
.contact a:hover img { opacity: 1; outline: 1px solid var(--safe); }
.roll__frames { max-width: 1200px; margin: 0 auto; }
.frame { margin: 0 0 3.4rem; scroll-margin-top: 1rem; }
.frame img { width: 100%; }
.frame figcaption { display: flex; gap: 1rem; }
.frame__no { color: var(--safe); }
.roll__next { max-width: var(--col); margin: 2rem auto 0; font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* kit, credits */
.kit-item { border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 2rem; }
.kit-item .plate { margin: 0 0 1rem; }
.kit-item h2 { margin-top: 0; }
.credits td { font-size: .8rem; word-break: break-word; }
.credits td:first-child { white-space: normal; font-family: var(--mono); font-size: .72rem; }
.lost { min-height: 50vh; }

/* footer */
.colophon { border-top: 1px solid var(--rule); margin-top: 4rem; }
.colophon__inner { max-width: 1240px; margin: 0 auto; padding: 1.8rem 1.25rem 3rem; font-size: .88rem; color: var(--muted); }
.colophon__links { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; }
.colophon a { color: var(--ink-2); }
