/* ============================================================
   SILVER HALIDE — Fog Studies
   Darkroom palette: near-black, paper-white, safelight red.
   ============================================================ */

:root {
  --ink: #0c0c0c;
  --ink-2: #121212;
  --ink-3: #1a1a1a;
  --line: #2b2b2b;
  --paper: #e9e6e0;
  --paper-dim: #b9b5ac;
  --paper-faint: #8a867e;
  --safelight: #e03e2f;
  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --sprocket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='18' viewBox='0 0 38 18'%3E%3Crect width='38' height='18' fill='%23050505'/%3E%3Crect x='11' y='5' width='16' height='8' rx='2.5' fill='%230c0c0c' stroke='%23303030' stroke-width='1'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

::selection { background: var(--safelight); color: var(--ink); }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed;
  inset: -60px;
  z-index: 60;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.07;
  animation: grain-jitter 0.9s steps(4) infinite;
}
@keyframes grain-jitter {
  0% { transform: translate(0,0); }
  25% { transform: translate(-18px,12px); }
  50% { transform: translate(14px,-20px); }
  75% { transform: translate(-10px,-8px); }
  100% { transform: translate(0,0); }
}

/* ---------- sprocket strips ---------- */
.sprockets {
  display: block;
  height: 18px;
  background-image: var(--sprocket);
  background-repeat: repeat-x;
  background-position: center;
  flex: none;
}

/* ---------- masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12,12,12,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  white-space: nowrap;
}
.wordmark-frame { width: 24px; height: 17px; color: var(--safelight); }
.masthead-nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.masthead-nav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper-dim);
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.masthead-nav a:hover,
.masthead-nav a:focus-visible,
.masthead-nav a.is-active {
  color: var(--paper);
  border-color: var(--safelight);
}
.masthead-tag { color: var(--paper-faint); white-space: nowrap; }

/* ---------- hero ---------- */
.hero { padding: 0 0 6rem; }

.hero-filmstrip {
  border-bottom: 1px solid var(--line);
  background: #050505;
}
.hero-frame {
  position: relative;
  height: min(72vh, 760px);
  overflow: hidden;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(1.06);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,12,12,0.25) 0%, rgba(12,12,12,0) 30%, rgba(12,12,12,0) 62%, rgba(12,12,12,0.72) 100%);
}
.hero-edge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1.25rem;
  color: rgba(233,230,224,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
}
.hero-edge span:nth-child(even) { color: var(--safelight); }

.hero-titles {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem 4rem;
  align-items: end;
}

/* index of plates */
.hero-index {
  min-width: 300px;
  border-left: 1px solid var(--line);
  padding-left: 1.8rem;
  margin-bottom: 0.4rem;
}
.hero-index-head {
  color: var(--paper-faint);
  letter-spacing: 0.22em;
  font-size: 0.62rem;
  padding-bottom: 0.9rem;
}
.hero-index button {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  width: 100%;
  padding: 0.55rem 0.4rem 0.55rem 0;
  border-bottom: 1px dashed #242424;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  transition: color 0.2s, transform 0.2s;
  text-align: left;
}
.hero-index button:hover,
.hero-index button:focus-visible {
  color: var(--paper);
  transform: translateX(4px);
  outline: none;
}
.hero-index .hi-no { color: var(--safelight); flex: none; width: 2.6em; }
.hero-index .hi-name { flex: 1; }
.hero-index .hi-yr { color: var(--paper-faint); }
.hero-kicker {
  color: var(--paper-dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}
.tick {
  width: 34px; height: 2px;
  background: var(--safelight);
  display: inline-block;
}
.hero-title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(4rem, 13vw, 11.5rem);
  line-height: 0.86;
  letter-spacing: -0.015em;
  margin: 0 0 2.2rem;
}
.hero-dek {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--paper-dim);
  margin-bottom: 2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--paper-faint);
  margin-bottom: 3rem;
}
.hero-scroll {
  display: inline-block;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 0.85rem 1.5rem;
  letter-spacing: 0.14em;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.hero-scroll:hover,
.hero-scroll:focus-visible {
  border-color: var(--safelight);
  color: var(--safelight);
}

/* ---------- section scaffolding ---------- */
section { scroll-margin-top: 5rem; }
.section-head {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 2.6rem;
}
.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.section-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1;
}
.section-index { color: var(--safelight); white-space: nowrap; }
.section-note {
  max-width: 44em;
  color: var(--paper-dim);
  margin-top: 1.2rem;
  font-size: 0.98rem;
}

/* ---------- contact sheet ---------- */
.sheet { padding: 3rem 0 6.5rem; }

.sheet-label {
  max-width: 1280px;
  margin: 0 auto 1.1rem;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  color: var(--paper-faint);
  font-size: 0.66rem;
}

.contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 1.4rem;
}

.frame {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #050505;
  border: 1px solid #1f1f1f;
  padding: 0;
  text-align: left;
  cursor: crosshair;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), border-color 0.3s, box-shadow 0.3s;
}
.frame-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--ink-3);
}
.frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.96);
  transition: filter 0.35s, transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
}
.frame-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.8rem;
  background: #050505;
  border-top: 1px solid #1c1c1c;
  color: var(--paper-faint);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
.frame-no { color: var(--safelight); }
.frame-name { color: var(--paper-dim); }
.frame-mark {
  margin-left: auto;
  width: 8px; height: 8px;
  border: 1px solid #333;
  border-radius: 50%;
  transition: background 0.25s, border-color 0.25s;
}

.frame:hover,
.frame:focus-visible {
  transform: translateY(-4px);
  border-color: var(--safelight);
  box-shadow: 0 0 0 1px var(--safelight), 0 18px 46px rgba(0,0,0,0.65);
  outline: none;
}
.frame:hover .frame-img img,
.frame:focus-visible .frame-img img {
  filter: contrast(1.1) brightness(1.06);
  transform: scale(1.025);
}
.frame:hover .frame-mark,
.frame:focus-visible .frame-mark {
  background: var(--safelight);
  border-color: var(--safelight);
}

.grease {
  position: absolute;
  inset: 10px 8px 30px;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(224,62,47,0.35));
}

.sheet-footnote {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  color: var(--paper-faint);
  text-align: right;
}

/* reveal on scroll — hidden state only when JS is running (html.js),
   so content is never lost if the script fails */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- essay ---------- */
.essay {
  padding: 5rem 0 6.5rem;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.essay-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}
.essay-body > p { position: relative; }
.marginalia {
  position: absolute;
  top: 0.35em;
  left: -13.5rem;
  width: 10.5rem;
  text-align: right;
  color: var(--paper-faint);
  font-size: 0.62rem;
  line-height: 1.9;
  letter-spacing: 0.16em;
  border-right: 2px solid var(--safelight);
  padding-right: 0.9rem;
  display: none;
}
@media (min-width: 1180px) {
  .marginalia { display: block; }
}
.essay-body p {
  margin-bottom: 1.6rem;
  color: #cfccc5;
  font-size: 1.06rem;
  line-height: 1.75;
}
.essay-lede { font-size: 1.14rem; }
.dropcap {
  float: left;
  font-weight: 900;
  font-size: 4.6rem;
  line-height: 0.78;
  padding: 0.08em 0.12em 0 0;
  color: var(--paper);
}
.pullquote {
  margin: 3rem 0;
  padding: 2rem 0 1.6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.pullquote p {
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.35;
  color: var(--paper);
  margin-bottom: 0.9rem;
}
.pullquote cite {
  font-style: normal;
  color: var(--safelight);
  font-size: 0.68rem;
}
.essay-sig {
  color: var(--paper-faint);
  text-align: right;
  padding-top: 0.6rem;
}

/* ---------- negative strip divider ---------- */
.negstrip {
  background: #050505;
  border-bottom: 1px solid var(--line);
}
.negstrip-row {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.negstrip-row::-webkit-scrollbar { display: none; }
.negstrip-row button {
  position: relative;
  flex: 1 0 200px;
  padding: 0;
  border-right: 2px solid #050505;
  cursor: crosshair;
}
.negstrip-row img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.82);
  transition: filter 0.3s;
}
.negstrip-row span {
  position: absolute;
  right: 8px;
  bottom: 6px;
  color: var(--safelight);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}
.negstrip-row button:hover img,
.negstrip-row button:focus-visible img {
  filter: contrast(1.1) brightness(1.02);
}
.negstrip-row button:focus-visible { outline: 1px solid var(--safelight); outline-offset: -1px; }

/* ---------- editions ---------- */
.editions { padding: 5rem 0 5rem; }

.editions-list {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  border-top: 1px solid var(--line);
}
.edition {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 1.8rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.edition-thumb {
  display: block;
  padding: 4px;
  background: #050505;
  border: 1px solid #222;
  transition: border-color 0.25s, transform 0.25s;
}
.edition-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: contrast(1.05);
}
.edition-thumb:hover,
.edition-thumb:focus-visible {
  border-color: var(--safelight);
  transform: translateY(-2px);
  outline: none;
}
.edition-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.edition-spec { color: var(--paper-faint); margin-bottom: 0.45rem; }
.edition-avail { color: var(--paper-dim); display: flex; align-items: center; gap: 0.5rem; }
.edition-avail .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid var(--paper-dim);
  background: transparent;
  flex: none;
}
.edition-avail.is-low { color: var(--safelight); }
.edition-avail.is-low .dot { background: var(--safelight); border-color: var(--safelight); }
.edition-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}
.edition-price { font-size: 0.95rem; color: var(--paper); letter-spacing: 0.06em; }
.btn-enquire {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  padding: 0.6rem 1.3rem;
  transition: background 0.2s, color 0.2s;
}
.btn-enquire:hover,
.btn-enquire:focus-visible {
  background: var(--safelight);
  color: var(--paper);
}

.editions-note {
  max-width: 1280px;
  margin: 2.2rem auto 0;
  padding: 0 2rem;
}
.editions-note p {
  color: var(--paper-faint);
  max-width: 60em;
  line-height: 1.9;
  text-transform: none;
  letter-spacing: 0.04em;
}

/* ---------- colophon ---------- */
.colophon { padding: 3rem 0 6rem; }
.colophon-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 2.5rem;
}
.colophon-grid dt {
  color: var(--safelight);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}
.colophon-grid dd {
  color: var(--paper-dim);
  font-size: 0.78rem;
  line-height: 1.8;
  text-transform: none;
  letter-spacing: 0.03em;
}

.colophon-stamp {
  max-width: 1280px;
  margin: 3.5rem auto 0;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
}
.colophon-stamp span {
  color: var(--safelight);
  border: 1.5px solid var(--safelight);
  padding: 0.5rem 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  transform: rotate(-1.2deg);
  opacity: 0.75;
}
.colophon-stamp span:last-child { transform: rotate(0.8deg); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5,5,5,0.97);
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }

.lightbox-chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.6rem;
}
.lb-counter { color: var(--paper-faint); letter-spacing: 0.2em; }
.lb-close {
  color: var(--paper-dim);
  letter-spacing: 0.18em;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.lb-close:hover, .lb-close:focus-visible { color: var(--safelight); border-color: var(--safelight); outline: none; }

.lightbox-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0.5rem 1rem;
}
.lb-frame {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  height: 100%;
  background: transparent;
}
.lb-frame .sprockets { width: 100%; }
.lb-img-wrap {
  min-height: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030303;
  padding: 0.5rem 0;
}
.lb-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: contrast(1.05);
  transition: opacity 0.45s ease, filter 0.55s ease;
}
/* a print coming up in the developer bath */
.lb-img-wrap img.is-developing {
  opacity: 0.08;
  filter: contrast(0.65) brightness(0.35) blur(2px);
}
.lb-arrow {
  grid-row: 1;
  font-size: 1.4rem;
  color: var(--paper-dim);
  padding: 1.2rem 0.9rem;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  user-select: none;
}
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-arrow:hover, .lb-arrow:focus-visible { color: var(--safelight); border-color: var(--line); outline: none; }

.lb-caption {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1.4rem;
  padding-top: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--paper);
}
.lb-no { color: var(--safelight); }
.lb-note { color: var(--paper-faint); }
.lb-hint {
  text-align: center;
  color: var(--paper-faint);
  padding-top: 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

body.lb-locked { overflow: hidden; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: #080808; }
.footer-strip { background: #050505; }
.footer-strip-mid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.5rem;
  color: #76726b;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
}
.footer-strip-mid span:nth-child(2) { color: var(--safelight); }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 3.4rem;
  text-align: center;
}
.footer-brand {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}
.footer-line { color: var(--paper-dim); margin-bottom: 0.55rem; letter-spacing: 0.1em; }
.footer-line a { color: var(--paper); text-decoration-color: var(--safelight); text-underline-offset: 3px; }
.footer-line a:hover { color: var(--safelight); }
.footer-line.dim { color: var(--paper-faint); }

/* ---------- guide page ---------- */
.guide-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 4.5rem 2rem 5rem;
}
.guide-kicker { color: var(--safelight); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.75rem; }
.guide-title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.95;
  margin-bottom: 2.4rem;
}
.guide-wrap h2 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  margin: 2.8rem 0 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}
.guide-wrap h2 .idx { color: var(--safelight); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; }
.guide-wrap p { color: #cfccc5; margin-bottom: 1.2rem; line-height: 1.75; font-size: 1.02rem; }
.guide-wrap code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: #171717;
  border: 1px solid #262626;
  padding: 0.1em 0.4em;
  color: var(--paper);
}
.guide-list { list-style: none; margin: 0 0 1.2rem; }
.guide-list li {
  color: #cfccc5;
  line-height: 1.7;
  padding: 0.55rem 0 0.55rem 1.6rem;
  position: relative;
  border-bottom: 1px dashed #222;
  font-size: 0.98rem;
}
.guide-list li::before {
  content: "▸";
  position: absolute;
  left: 0.1rem;
  color: var(--safelight);
  font-family: var(--font-mono);
}
.guide-prompt {
  background: #101010;
  border: 1px solid #262626;
  border-left: 3px solid var(--safelight);
  padding: 1.3rem 1.5rem;
  margin: 1.4rem 0 1.8rem;
}
.guide-prompt p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--paper-dim);
  margin: 0;
}
.guide-back {
  display: inline-block;
  margin-top: 2.4rem;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.8rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.guide-back:hover, .guide-back:focus-visible { border-color: var(--safelight); color: var(--safelight); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .colophon-grid { grid-template-columns: repeat(2, 1fr); }
  .masthead-tag { display: none; }
  .hero-titles { grid-template-columns: 1fr; align-items: start; }
  .hero-index { min-width: 0; max-width: 420px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .masthead-inner { padding: 0.7rem 1.1rem; gap: 0.5rem 1rem; flex-wrap: wrap; }
  .wordmark { font-size: 0.8rem; letter-spacing: 0.1em; }
  .masthead-nav {
    flex-basis: 100%;
    justify-content: space-between;
    gap: 0.6rem;
    margin-left: 0;
    border-top: 1px solid #1c1c1c;
    padding-top: 0.5rem;
  }
  .masthead-nav a { font-size: 0.6rem; letter-spacing: 0.08em; }
  .hero-frame { height: 62vh; }
  .hero-edge { padding: 0.4rem 0.8rem; }
  .hero-edge span:nth-child(1), .hero-edge span:nth-child(5) { display: none; }
  .negstrip-row button { flex: 0 0 46%; }
  .negstrip-row img { height: 104px; }
  .hero-titles { padding: 3rem 1.25rem 0; }
  .section-head { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sheet-label, .contact-grid, .sheet-footnote, .editions-list, .editions-note, .colophon-grid { padding-left: 1.25rem; padding-right: 1.25rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .colophon-grid { grid-template-columns: 1fr; }
  .essay-body { padding: 0 1.25rem; }
  .edition {
    grid-template-columns: 96px 1fr;
    grid-template-areas: "thumb info" "thumb buy";
    gap: 0.4rem 1.1rem;
  }
  .edition-thumb { grid-area: thumb; align-self: start; }
  .edition-info { grid-area: info; }
  .edition-buy { grid-area: buy; flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; }
  .edition-title { font-size: 1.05rem; }
  .lightbox { padding: 0.75rem 0.6rem 0.9rem; }
  .lb-arrow { padding: 1rem 0.5rem; }
  .lb-caption { flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0.6rem 0.5rem 0; text-align: center; }
  .footer-strip-mid span:nth-child(2) { display: none; }
  .guide-wrap { padding: 3rem 1.25rem 4rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .frame, .frame-img img, .edition-thumb, .lightbox, .lb-img-wrap img { transition: none; }
  .lb-img-wrap img.is-developing { opacity: 1; filter: contrast(1.05); }
  .frame:hover { transform: none; }
}
