@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500&display=swap');

:root {
  --paper: #f4ede2;
  --paper-deep: #ebe1d1;
  --ink: #3a2a1f;
  --ink-soft: #7a6352;
  --line: #d8cbb7;
  --moss: #5f6f47;
  --moss-soft: #8a9870;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

/* top bar on inner pages */
.bar {
  padding: 32px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.bar a:hover { color: var(--moss); }

/* homepage */
.home {
  flex: 1;
  display: flex;
  align-items: center;
}
.home h1 {
  font-weight: 400;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.home .is { color: var(--ink); }
.home ul { list-style: none; margin-top: 28px; }
.home li { font-size: clamp(26px, 4vw, 34px); line-height: 1.5; }
.home li a {
  font-style: italic;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.home li a:hover { color: var(--moss); border-color: var(--moss-soft); }
.home li a::after { content: '…'; color: var(--line); }
.home .note {
  margin-top: 40px;
  font-size: 23px;
  line-height: 1.45;
  color: var(--ink-soft);
  white-space: nowrap;
  min-height: 1.45em;
}
@media (max-width: 760px) {
  .home .note { white-space: normal; font-size: 20px; min-height: 2.9em; }
}

/* custom cursor (cursor.js) */
.has-cursor, .has-cursor * { cursor: none !important; }
.cur-dot, .cur-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}
.cur-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--moss);
  transition: opacity .2s;
}
.cur-dot.hide { opacity: 0 !important; }
.cur-ring {
  width: 30px; height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid rgba(95, 111, 71, .45);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width .3s cubic-bezier(.2,.7,.2,1), height .3s cubic-bezier(.2,.7,.2,1),
              margin .3s cubic-bezier(.2,.7,.2,1), background .3s, border-color .3s, opacity .2s;
}
.cur-ring.hover {
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border-color: var(--moss-soft);
  background: rgba(138, 152, 112, .08);
}
.cur-ring.down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.cur-ring.labeled {
  width: 96px; height: 34px;
  margin: -17px 0 0 -48px;
  border-color: transparent;
  background: rgba(244, 237, 226, .88);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.cur-ring span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s;
}
.cur-ring.labeled span { opacity: 1; }

/* interactive cover */
.cover { position: relative; overflow-x: hidden; }
.cover main, .cover footer { position: relative; z-index: 2; }
.glow {
  position: fixed;
  top: 0; left: 0;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 160, 112, 0.14), rgba(138, 152, 112, 0.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.16 0 0 0 0 0.12 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hidden-words { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.hidden-words span {
  position: absolute;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--moss);
  white-space: nowrap;
  opacity: 0;
}
.ink { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.typed {
  font-style: italic;
  color: var(--ink-soft);
  transition: color .3s;
}
.typed.linked { color: var(--moss); }
.typed-note { color: var(--ink); }
.caret.small { width: 1px; height: 0.95em; margin-left: 2px; }
.caret {
  display: inline-block;
  width: 2px;
  height: 0.8em;
  margin-left: 4px;
  vertical-align: -0.05em;
  background: var(--moss-soft);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
  .glow { display: none; }
}

/* inner pages */
.page { padding: 72px 0 96px; flex: 1; }
.page h1 {
  font-weight: 400;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.15;
}
.page h1 span { font-style: italic; color: var(--moss); }
.page .intro {
  margin-top: 16px;
  color: var(--ink-soft);
  max-width: 520px;
}

/* reading */
.books { list-style: none; margin-top: 56px; }
.book {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.book:last-child { border-bottom: 1px solid var(--line); }
.book h2 { font-weight: 500; font-size: 26px; line-height: 1.25; }
.book .author {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--moss);
  margin-top: 4px;
}
.book p { margin-top: 12px; }

/* reading: library shelf */
.lib { flex: 1; padding: 48px 0 80px; }
.lib-head { max-width: 720px; margin: 0 auto; padding: 0 28px; text-align: center; }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lib-head h1 {
  font-weight: 400;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.1;
  margin-top: 14px;
}
.lib-head h1 span { font-style: italic; color: var(--moss); }
.count {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
}
.filters { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.pill:hover { border-color: var(--moss-soft); color: var(--ink); }
.pill.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.shelf-wrap { position: relative; margin-top: 56px; }
.shelf {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  min-height: 300px;
  padding: 40px max(28px, calc(50vw - 480px)) 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.shelf::-webkit-scrollbar { display: none; }
.shelf > :first-child { margin-left: auto; }
.shelf > :last-child { margin-right: auto; }
.ledge {
  height: 14px;
  margin: 0 max(16px, calc(50vw - 500px));
  background: linear-gradient(#e2d6c2, #d4c5ad);
  border-radius: 2px;
  box-shadow: 0 10px 24px -10px rgba(58, 42, 31, 0.35);
}

.spine {
  flex: 0 0 auto;
  width: var(--w);
  height: var(--h);
  border: 0;
  border-radius: 2px 2px 1px 1px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.12), transparent 18%, transparent 82%, rgba(0,0,0,.18)),
    var(--c);
  color: #f4ede2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 10px;
  transform-origin: bottom center;
  transform: translateY(var(--lift, 0px)) rotate(var(--lean, 0deg));
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s, filter .3s;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.spine.light { color: var(--ink); }
.spine.long .spine-title { font-size: 13px; }
.spine-title, .spine-author {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spine-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 15px; max-height: 76%; }
.spine-author { font-family: 'Inter', sans-serif; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.spine:hover, .spine:focus-visible { --lift: -12px; outline: none; }
.shelf.has-active .spine { opacity: .45; filter: saturate(.7); }
.shelf.has-active .spine.out { opacity: 1; filter: none; --lift: -26px; }

.tip {
  position: absolute;
  width: 220px;
  padding: 12px 14px;
  background: #fbf7f0;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 30px -12px rgba(58, 42, 31, .35);
  pointer-events: none;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tip strong { font-weight: 500; font-size: 18px; line-height: 1.2; }
.tip .t-author, .tip .t-meta { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .06em; }
.tip .t-author { text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.tip .t-meta { color: var(--moss); }

.detail {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 0 28px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s, transform .4s;
}
.detail.show { opacity: 1; transform: none; }
.detail-cover { flex: 0 0 170px; }
.detail-cover img, .fake-cover {
  width: 170px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px 4px 4px 2px;
  box-shadow: 0 18px 36px -14px rgba(58, 42, 31, .5), inset 3px 0 0 rgba(0,0,0,.08);
  display: block;
}
.fake-cover {
  background: var(--c);
  color: #f4ede2;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fake-cover span { font-size: 22px; line-height: 1.15; }
.fake-cover small { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.detail-text h2 { font-weight: 400; font-size: 34px; line-height: 1.15; margin-top: 8px; }
.detail-author {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--moss);
  margin-top: 6px;
}
.detail-note { margin-top: 18px; max-width: 460px; }

@media (max-width: 560px) {
  .detail { flex-direction: column; gap: 20px; }
}

/* watching: a screening program */
.prog { flex: 1; padding: 56px 0 110px; }
.prog-head, .index, .films { max-width: 860px; margin: 0 auto; padding: 0 28px; }
.prog-head h1 { font-weight: 400; font-size: clamp(36px, 6vw, 52px); line-height: 1.15; }
.prog-head h1 span { font-style: italic; color: var(--moss); }
.prog-intro { margin-top: 24px; max-width: 600px; color: var(--ink-soft); }
.prog-intro p + p { margin-top: 12px; }

.index {
  margin-top: 52px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 237, 226, .94);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.index { transition: padding .3s; }
.index-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.index.stuck { padding-top: 12px; padding-bottom: 10px; border-top-color: transparent; }
.index.stuck .eyebrow { display: none; }
.index.stuck .index-list { margin-top: 0; gap: 2px 13px; }
.index.stuck .idx { font-size: 16px; }
.index.stuck .index-status { margin-top: 4px; }
.index.stuck .index-status:empty { display: none; }
.idx {
  border: 0; background: none; padding: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-style: italic;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .2s;
}
.idx sup { font-family: 'Inter', sans-serif; font-style: normal; font-size: 9px; margin-left: 2px; color: var(--moss); }
.idx:hover, .idx.on { color: var(--moss); }
.idx.on { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.index-status { margin-top: 10px; min-height: 18px; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--ink-soft); }
.index-status em { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 15px; color: var(--moss); }
.index-status .clear { border: 0; background: none; padding: 0; font: inherit; color: var(--moss); text-decoration: underline; cursor: pointer; }

.films { margin-top: 12px; }
.film {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .4s, filter .4s;
}
.film:last-child { border-bottom: 0; }
.focusing .film { opacity: .22; filter: saturate(.4); }
.focusing .film.lit { opacity: 1; filter: none; }
.film-no {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 44px;
  line-height: 1;
  color: var(--line);
  padding-top: 18px;
}
.film-meta { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.film-title { font-weight: 400; font-size: clamp(30px, 4.6vw, 42px); line-height: 1.12; margin-top: 8px; }
.film-desc { margin-top: 16px; max-width: 600px; }
.film-desc p + p { margin-top: 10px; }
.film-desc a { color: inherit; text-decoration: underline; text-decoration-color: var(--moss-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.film-desc a:hover { color: var(--moss); }
.film-label {
  margin-top: 26px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.film-ideas { margin-top: 8px; max-width: 620px; }
.idea {
  color: var(--ink);
  cursor: pointer;
  outline-offset: 3px;
  background-image: linear-gradient(var(--moss-soft), var(--moss-soft));
  background-size: 100% 1px;
  background-position: 0 92%;
  background-repeat: no-repeat;
  transition: color .2s, background-size .2s;
}
.idea:hover, .idea.on { color: var(--moss); background-image: linear-gradient(var(--moss), var(--moss)); }
.film-ideas sup, .film-note sup { color: var(--moss); font-family: 'Inter', sans-serif; font-size: 10px; }
.film-note { margin-top: 8px; font-size: 16px; color: var(--ink-soft); max-width: 560px; }
.film-closing {
  margin: 22px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--moss-soft);
  font-size: clamp(22px, 3vw, 27px);
  line-height: 1.35;
  font-style: italic;
  max-width: 640px;
}

@media (max-width: 640px) {
  .film { grid-template-columns: 1fr; padding: 40px 0; }
  .film-no { font-size: 34px; padding-top: 0; }
  .index { position: static; }
}

/* reminiscing: newspaper clippings */
.clips-page { flex: 1; padding: 56px 0 96px; }
.clips-head { max-width: 860px; margin: 0 auto; padding: 0 28px; }
.clips-head h1 { font-weight: 400; font-size: clamp(36px, 6vw, 52px); line-height: 1.15; }
.clips-head h1 span { font-style: italic; color: var(--moss); }

.clips {
  max-width: 860px;
  margin: 48px auto 0;
  padding: 0 28px;
}
.clip {
  position: relative;
  background: #fbf7f0;
  overflow: hidden;
  transition: height .55s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
  box-shadow: 0 1px 0 rgba(58,42,31,.06), 0 6px 18px -14px rgba(58,42,31,.35);
}
.clip + .clip { margin-top: 3px; }
.clip:hover { box-shadow: 0 1px 0 rgba(58,42,31,.08), 0 10px 24px -14px rgba(58,42,31,.45); }

.clip-face {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 16px 28px 0;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  position: relative;
  z-index: 1;
}
.clip-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.clip-title {
  display: block;
  margin-top: 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  transition: color .25s;
}
.clip:hover .clip-title { color: #2a1d14; }
.clip.open .clip-title { color: var(--ink); }
.clip-lede { color: #b3a28d; font-weight: 400; transition: opacity .3s; }
.clip.open .clip-lede { display: none; }
.wrap.wide { max-width: 860px; }

.clip-body { padding: 18px 28px 40px; max-width: 640px; position: relative; z-index: 1; }
.clip-body p { margin-top: 14px; }
.clip-body p:first-child { margin-top: 0; }

/* the reading lamp */
.clip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(255, 226, 170, .42), rgba(255, 226, 170, 0) 70%);
  opacity: 0;
  transition: opacity .4s;
}
.clip.lit::before { opacity: 1; }
.clip-ink {
  position: absolute;
  top: 0; left: 0; right: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .4s;
  -webkit-mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 35%, transparent 100%);
          mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 35%, transparent 100%);
}
.clip-ink .clip-lede { color: var(--ink-soft); }
.clip.lit .clip-ink { opacity: 1; }
.clip.open .clip-ink { display: none; }
@media (hover: none) { .clip-ink, .clip::before { display: none; } }

/* the dotted halftone edge where a clipping is cut */
.clip-edge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(rgba(251,247,240,0), #fbf7f0 75%);
  transition: opacity .3s;
}
.clip-edge::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 9px;
  background: radial-gradient(circle, rgba(58,42,31,.45) 0.65px, transparent 0.95px) 0 0 / 3px 3px;
}
.clip.open .clip-edge { opacity: 0; }

@media (max-width: 560px) {
  .clip-face { padding: 14px 18px 0; }
  .clip-body { padding: 14px 18px 32px; }
}

/* old timeline (unused) */
.memories { margin-top: 56px; }
.memory {
  position: relative;
  padding: 0 0 40px 28px;
  border-left: 1px solid var(--line);
}
.memory::before {
  content: '';
  position: absolute;
  left: -4px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--moss-soft);
}
.memory:last-child { padding-bottom: 0; }
.memory .when {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--moss);
}
.memory p { margin-top: 8px; max-width: 560px; }

/* documenting: full-bleed reel */
.doc { height: 100vh; overflow: hidden; display: block; }
.reel {
  height: 100vh;
  display: flex;
  gap: 14px;
  padding: 18px 0 18px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 18px;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel::after { content: ''; flex: 0 0 4px; }
.slide {
  flex: 0 0 calc(100vw - 72px);
  height: 100%;
  margin: 0;
  scroll-snap-align: start;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  background: var(--paper-deep);
}
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(58, 42, 31, .45);
}

.doc-label, .doc-caption {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(244, 237, 226, .82);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-radius: 2px;
  white-space: nowrap;
}
.doc-label {
  top: 32px;
  padding: 8px 16px;
  font-size: 20px;
  color: var(--ink);
}
.doc-label em { color: var(--moss); }
.doc-label:hover em { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc-caption {
  bottom: 32px;
  padding: 9px 16px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
}
.doc-caption strong { font-weight: 500; color: var(--ink); }
.doc-caption .num { color: var(--moss); letter-spacing: .06em; }

.doc-nav {
  position: fixed;
  top: 0; bottom: 0;
  width: 22vw;
  border: 0;
  background: transparent;
  z-index: 5;
}
.doc-nav.prev { left: 0; cursor: w-resize; }
.doc-nav.next { right: 0; cursor: e-resize; }

@media (max-width: 640px) {
  .reel { gap: 8px; padding: 10px 0 10px 10px; scroll-padding-left: 10px; }
  .slide { flex-basis: calc(100vw - 36px); }
  .doc-label { top: 22px; font-size: 17px; }
  .doc-caption { bottom: 22px; font-size: 11px; gap: 10px; }
  .doc-nav { display: none; }
}

/* old grid (unused) */
.photos {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.photos figure { margin: 0; display: flex; flex-direction: column; }
.photos figure > img, .photos figure > .ph { flex: 1; }
.photos .tall { grid-row: span 2; }
.photos img, .photos .ph {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.photos .ph { background: var(--paper-deep); }
.photos .ph.b { background: #ddd0bb; }
.photos .ph.g { background: #cfd3bd; }
.photos figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
}

footer {
  padding: 32px 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
}

@media (max-width: 560px) {
  .photos { grid-template-columns: 1fr; }
  .photos .tall { grid-row: auto; }
}
