:root {
  color-scheme: light;
  --paper: #efe7d6;
  --paper-2: #fbf3e4;
  --paper-3: #e2d5bf;
  --ink: #151412;
  --ink-2: #3d3732;
  --muted: #786d64;
  --line: rgba(21, 20, 18, .15);
  --line-strong: rgba(21, 20, 18, .34);
  --vermilion: #c55148;
  --teal: #1c7775;
  --mustard: #c49335;
  --violet: #5e5978;
  --moss: #66745b;
  --surface: rgba(251, 243, 228, .78);
  --surface-strong: rgba(251, 243, 228, .94);
  --shadow: 0 24px 68px rgba(28, 23, 18, .16);
  --soft-shadow: 0 16px 42px rgba(28, 23, 18, .1);
  --progress: 0;
  --scroll-ratio: 0;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111113;
  --paper-2: #1b1a1d;
  --paper-3: #28242a;
  --ink: #f2eadf;
  --ink-2: #d8cec3;
  --muted: #aaa098;
  --line: rgba(242, 234, 223, .14);
  --line-strong: rgba(242, 234, 223, .32);
  --vermilion: #ee837c;
  --teal: #65c2bc;
  --mustard: #e1b65f;
  --violet: #aaa2d2;
  --moss: #aebd92;
  --surface: rgba(28, 27, 31, .76);
  --surface-strong: rgba(34, 32, 37, .95);
  --shadow: 0 28px 82px rgba(0, 0, 0, .48);
  --soft-shadow: 0 18px 50px rgba(0, 0, 0, .32);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(103deg, color-mix(in srgb, var(--paper-2) 72%, transparent) 0 18%, transparent 18.3% 100%),
    repeating-linear-gradient(112deg, color-mix(in srgb, var(--ink) 2.4%, transparent) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 86%, var(--moss)) 54%, color-mix(in srgb, var(--paper) 88%, var(--vermilion)) 100%);
  overflow-x: clip;
  transition: background-color 260ms ease, color 260ms ease, opacity 260ms ease, transform 260ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 11px, color-mix(in srgb, var(--ink) 2.8%, transparent) 12px, transparent 13px 41px),
    linear-gradient(90deg, color-mix(in srgb, var(--mustard) 9%, transparent), transparent 28%, transparent 74%, color-mix(in srgb, var(--teal) 8%, transparent));
  opacity: .72;
}

body::after {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  z-index: -1;
  width: clamp(36px, 5vw, 72px);
  pointer-events: none;
  background: linear-gradient(180deg, var(--vermilion), var(--violet), var(--teal));
  opacity: .2;
}

body.is-entering {
  animation: pageIn 520ms cubic-bezier(.2, .8, .2, 1) both;
}

body.is-leaving {
  opacity: 0;
  transform: translateY(18px) scale(.992);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: var(--ink);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--vermilion) 18%, transparent) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(112deg, color-mix(in srgb, var(--ink) 4%, transparent) 0 1px, transparent 1px 28px),
    var(--paper);
  transition: opacity 520ms ease, visibility 520ms ease, transform 520ms cubic-bezier(.2, .8, .2, 1);
}

.page-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 48%, color-mix(in srgb, var(--ink) 12%, transparent) 48% 48.2%, transparent 48.2%),
    linear-gradient(90deg, color-mix(in srgb, var(--paper-2) 68%, transparent), transparent 62%);
  transform-origin: left center;
  animation: loaderPage 900ms cubic-bezier(.2, .8, .2, 1) both;
}

.page-loader::after {
  content: "YORU NOTE";
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-weight: 900;
  letter-spacing: .16em;
  animation: loaderInk 900ms ease both;
}

body.is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  color: var(--paper-2);
  background: var(--vermilion);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(88deg, rgba(0, 0, 0, .03) 0 1px, transparent 1px 17px),
    repeating-linear-gradient(178deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 23px);
  background-size: 180px 180px;
  animation: paperDrift 14s steps(6, end) infinite;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 92%);
}

:root[data-theme="dark"] .site-noise {
  opacity: .11;
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 42;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--mustard), var(--vermilion), var(--violet));
  transform: scaleX(var(--progress));
  transform-origin: left center;
}

.zine-header,
main,
.site-footer {
  width: min(100% - 38px, 1240px);
  margin-inline: auto;
}

.zine-header {
  position: sticky;
  top: 0;
  z-index: 24;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 76px;
  padding: 12px 0;
}

.zine-header::before {
  content: "";
  position: absolute;
  inset: 9px -16px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  box-shadow: 0 10px 40px color-mix(in srgb, var(--ink) 7%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  width: 78px;
  gap: 1px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: .86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand span:last-child {
  color: var(--vermilion);
}

.zine-header nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.zine-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: .88rem;
  font-weight: 850;
}

.zine-header nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 2px;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.zine-header nav a:hover::after,
.zine-header nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.theme-toggle {
  position: relative;
  width: 56px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper-2) 48%, transparent);
}

.theme-toggle span {
  position: absolute;
  left: 6px;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
  transition: left 220ms ease, background 220ms ease, transform 220ms ease;
}

.theme-toggle:hover span {
  transform: translateY(-50%) scale(.9);
}

:root[data-theme="dark"] .theme-toggle span {
  left: 24px;
  background: var(--mustard);
}

.stamp,
.section-title span,
.meta,
.story-meta,
.section-kicker,
.mini-label {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, Georgia, serif;
  letter-spacing: 0;
}

p {
  color: var(--ink-2);
  line-height: 1.78;
}

.cover-scene {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 48px 0 72px;
}

.cover-scene::before {
  content: "YORU NOTE";
  position: absolute;
  left: clamp(-20px, -3vw, -6px);
  bottom: 4vh;
  z-index: -1;
  color: color-mix(in srgb, var(--ink) 6%, transparent);
  font-size: clamp(4.6rem, 18vw, 18rem);
  font-weight: 950;
  line-height: .8;
}

.spine-note {
  grid-column: 1 / 2;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 440px;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line);
  color: var(--muted);
  writing-mode: vertical-rl;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: .16em;
}

.cover-copy {
  grid-column: 2 / 6;
  z-index: 2;
}

.cover-copy h1 {
  max-width: 660px;
  margin-top: 14px;
  font-size: clamp(4.3rem, 9vw, 9.4rem);
  line-height: .84;
}

.type-line {
  min-height: 2.5em;
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: clamp(1.34rem, 2.25vw, 2.22rem);
  line-height: 1.25;
}

.type-line::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: .9em;
  margin-left: 4px;
  vertical-align: -.08em;
  background: var(--vermilion);
  animation: caret 1s steps(1, end) infinite;
}

.cover-actions,
.post-nav,
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.ink-link,
.read-more,
.letter-panel button,
.article-actions a,
.post-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--paper-2);
  background: var(--ink);
  font-size: .9rem;
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.ink-link:hover,
.read-more:hover,
.letter-panel button:hover,
.article-actions a:hover,
.post-nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 12%, transparent);
}

.ink-link.is-soft,
.article-actions a,
.post-nav a {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper-2) 58%, transparent);
}

.cover-board {
  position: relative;
  grid-column: 6 / 13;
  min-height: 700px;
  transform: translateY(calc(var(--scroll-ratio) * -28px));
}

.cover-board::before {
  content: "";
  position: absolute;
  inset: 28px 6px 42px 54px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper-2) 38%, transparent);
  transform: rotate(-1.5deg);
}

.cover-board::after {
  content: "room light / 23:48";
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.hero-photo {
  position: absolute;
  inset: 0 88px 32px 28px;
  margin: 0;
  transform: rotate(.75deg);
}

.hero-photo::before,
.tape-card::before,
.article-figure::before,
.gallery-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  width: 116px;
  height: 28px;
  border: 1px solid color-mix(in srgb, var(--ink) 13%, transparent);
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--mustard) 72%, transparent) 0 12px, color-mix(in srgb, var(--paper-2) 42%, transparent) 12px 14px);
  opacity: .9;
  transform: rotate(-4deg);
  pointer-events: none;
}

.hero-photo::before {
  left: 42px;
  top: -12px;
}

.hero-photo img,
.article-figure img,
.story-art img,
.scrap-photo img,
.film-strip img,
.about-polaroid img,
.quick-card img,
.darkroom-grid img,
.note-photo img,
.bookmark-image img,
.archive-wall img,
.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94) contrast(1.04);
}

.hero-photo img {
  height: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  clip-path: polygon(0 0, 92% 0, 100% 7%, 100% 100%, 8% 100%, 0 92%);
  box-shadow: var(--shadow);
}

.hero-photo figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 249, 237, .52);
  color: #fff9ed;
}

.tape-card {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 8px;
  width: 218px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper-2) 88%, transparent);
  box-shadow: var(--soft-shadow);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.tape-card:hover {
  box-shadow: var(--shadow);
}

.tape-card::before {
  left: 46px;
  top: -14px;
  width: 82px;
  height: 24px;
}

.tape-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 92% 100%, 0 100%);
}

.tape-card span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}

.card-a {
  left: 0;
  bottom: 54px;
  transform: rotate(-5deg);
}

.card-a:hover {
  transform: rotate(-3deg) translateY(-4px);
}

.card-b {
  right: 0;
  top: 74px;
  transform: rotate(4deg);
}

.card-b:hover {
  transform: rotate(2deg) translateY(-4px);
}

.running-index {
  grid-column: 2 / 13;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.running-index a {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  overflow: hidden;
}

.running-index a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--vermilion);
  transform: scaleY(var(--progress));
  transform-origin: top;
}

.running-index a:nth-child(2)::before { background: var(--teal); }
.running-index a:nth-child(3)::before { background: var(--mustard); }
.running-index a:nth-child(4)::before { background: var(--violet); }

.running-index time,
.archive-list time {
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.running-index strong {
  font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: 1.12rem;
  line-height: 1.34;
}

.running-index span,
.archive-list span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.film-section,
.latest-board,
.archive-page,
.about-page,
.post-page,
.gallery-page,
.notes-page,
.bookmarks-page,
.quick-pages,
.scene-ledger {
  padding: 76px 0;
}

.section-title {
  display: grid;
  grid-template-columns: 150px minmax(0, 780px);
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.section-title h2,
.letter-panel h2,
.page-title,
.article-title {
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 1.05;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--soft-shadow);
}

.quick-card img {
  position: absolute;
  inset: 0;
  opacity: .82;
  transition: transform 500ms ease, opacity 300ms ease;
}

.quick-card:hover img {
  transform: scale(1.06);
  opacity: .68;
}

.quick-card span,
.quick-card strong,
.quick-card small {
  position: relative;
  z-index: 2;
}

.quick-card span {
  display: inline-block;
  margin: 16px;
  padding: 4px 7px;
  color: var(--paper-2);
  background: rgba(0, 0, 0, .36);
  font-size: .78rem;
  font-weight: 900;
}

.quick-card strong {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 42px;
  color: #fff9ed;
  font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: clamp(1.5rem, 2.2vw, 2.35rem);
  line-height: 1.08;
}

.quick-card small {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: rgba(255, 249, 237, .78);
  font-weight: 800;
}

.quick-card:nth-child(2) {
  transform: translateY(22px);
}

.quick-card:nth-child(3) {
  transform: translateY(-12px);
}

.film-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  overflow: hidden;
}

.film-strip a {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--violet);
}

.film-strip a:nth-child(even) {
  transform: translateY(18px);
}

.film-strip a::before,
.film-strip a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 18px;
  background:
    linear-gradient(90deg, transparent 0 14px, rgba(255, 249, 237, .72) 14px 20px, transparent 20px 34px);
  background-size: 34px 18px;
  opacity: .5;
}

.film-strip a::before { top: 0; }
.film-strip a::after { bottom: 0; }

.film-strip img {
  transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
}

.film-strip a:hover img {
  transform: scale(1.08);
}

.film-strip span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 20px;
  z-index: 3;
  color: #fff9ed;
  font-size: .9rem;
  font-weight: 900;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
}

.feature-story,
.scrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.feature-story {
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(320px, .96fr) minmax(0, 1.04fr);
  min-height: 392px;
  overflow: hidden;
}

.story-art {
  overflow: hidden;
}

.story-art img {
  transition: transform 700ms ease;
}

.feature-story:hover .story-art img {
  transform: scale(1.045);
}

.story-copy {
  display: grid;
  align-content: center;
  padding: 36px;
}

.story-copy h3 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
}

.story-copy p,
.scrap p {
  margin: 16px 0 0;
}

.scrap {
  min-height: 290px;
  overflow: hidden;
}

.scrap-text {
  grid-column: span 3;
  padding: 26px;
  transform: translateY(28px);
}

.scrap h3 {
  font-size: 1.7rem;
  line-height: 1.15;
}

.scrap-photo {
  grid-column: span 3;
  display: grid;
  grid-template-rows: 210px 1fr;
}

.scrap-photo h3 {
  padding: 18px 20px 22px;
  font-size: 1.45rem;
  line-height: 1.22;
}

.scrap-photo.is-offset {
  grid-column: span 2;
  transform: translateY(-16px);
}

.scrap-text.is-ink {
  grid-column: span 3;
  color: var(--paper-2);
  background: var(--ink);
  transform: translateY(2px);
}

.scrap-text.is-ink p,
.scrap-text.is-ink .meta {
  color: color-mix(in srgb, var(--paper-2) 78%, transparent);
}

.scene-ledger {
  display: grid;
  gap: 18px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.ledger-row:last-child {
  border-bottom: 1px solid var(--line);
}

.ledger-row time {
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.ledger-row h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.7rem);
  line-height: 1.05;
}

.ledger-row p {
  margin: 6px 0 0;
}

.ledger-row img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  filter: saturate(.92) contrast(1.04);
}

.notebook-row,
.letter-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .52fr);
  gap: 30px;
  align-items: center;
  margin: 52px 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
  box-shadow: var(--soft-shadow);
}

.notebook-row p {
  max-width: 760px;
  margin: 10px 0 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.45;
}

.notebook-row a {
  justify-self: end;
  color: var(--teal);
  font-weight: 950;
}

.letter-panel form {
  display: grid;
  gap: 12px;
}

.letter-panel input,
.letter-panel button {
  min-height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.letter-panel input {
  width: 100%;
  padding: 0 18px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 64%, transparent);
  outline: none;
}

.letter-panel input:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent);
}

.letter-panel [data-form-note] {
  min-height: 22px;
  color: var(--teal);
  font-size: .86rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 46px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.page-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .55fr);
  gap: 34px;
  align-items: end;
  padding: 68px 0 34px;
}

.page-head p {
  margin: 0;
}

.archive-collage {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, .52fr);
  gap: 24px;
  align-items: start;
}

.archive-list {
  display: grid;
  gap: 12px;
}

.archive-list a {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  transition: padding-left 220ms ease, background 220ms ease;
}

.archive-list a:hover {
  padding-left: 28px;
  background: color-mix(in srgb, var(--paper-2) 45%, transparent);
}

.archive-list a:last-child {
  border-bottom: 1px solid var(--line);
}

.archive-list strong {
  font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: 1.32rem;
}

.archive-wall {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.archive-wall img,
.about-polaroid img {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.archive-wall img:nth-child(2) {
  transform: rotate(2deg);
}

.archive-wall img:nth-child(3) {
  transform: rotate(-2deg);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, .55fr) minmax(0, .95fr);
  gap: 34px;
  align-items: start;
}

.about-polaroid {
  position: sticky;
  top: 104px;
  margin: 0;
}

.about-polaroid img {
  height: 560px;
}

.about-copy {
  display: grid;
  gap: 20px;
}

.about-note {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.about-note h2 {
  font-size: 2rem;
}

.about-note ul {
  margin: 16px 0 0;
  padding-left: 1.1rem;
  color: var(--ink-2);
  line-height: 1.8;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, .78fr);
  gap: 34px;
  align-items: center;
  padding: 58px 0 44px;
}

.article-lede {
  margin-top: 20px;
  font-size: 1.1rem;
}

.article-figure {
  position: relative;
  margin: 0;
  transform: rotate(.7deg);
}

.article-figure::before {
  left: 38px;
  top: -12px;
}

.article-figure img {
  height: 560px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(250px, 320px);
  gap: 42px;
  align-items: start;
}

.article-body {
  display: grid;
  gap: 22px;
}

.article-body h2 {
  margin-top: 18px;
  font-size: 2.1rem;
}

.article-body p {
  margin: 0;
}

.article-body blockquote {
  margin: 8px 0;
  padding: 24px;
  border-left: 4px solid var(--vermilion);
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
  font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: 1.35rem;
  line-height: 1.55;
}

.inline-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 12px 0;
}

.inline-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.side-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.side-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: 1.3rem;
}

.side-card a {
  display: block;
  padding: 9px 0;
  color: var(--ink-2);
  font-weight: 800;
}

.darkroom-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 92px;
  gap: 12px;
}

.gallery-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--soft-shadow);
}

.gallery-frame::before {
  left: 22px;
  top: -10px;
  width: 76px;
  height: 20px;
}

.gallery-frame span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 3px 7px;
  color: #fff9ed;
  background: rgba(0, 0, 0, .38);
  font-size: .78rem;
  font-weight: 900;
}

.gallery-frame:nth-child(1) { grid-column: span 5; grid-row: span 5; }
.gallery-frame:nth-child(2) { grid-column: span 3; grid-row: span 3; }
.gallery-frame:nth-child(3) { grid-column: span 4; grid-row: span 4; }
.gallery-frame:nth-child(4) { grid-column: span 4; grid-row: span 3; }
.gallery-frame:nth-child(5) { grid-column: span 3; grid-row: span 4; }
.gallery-frame:nth-child(6) { grid-column: span 5; grid-row: span 3; }
.gallery-frame:nth-child(7) { grid-column: span 4; grid-row: span 4; }
.gallery-frame:nth-child(8) { grid-column: span 4; grid-row: span 4; }
.gallery-frame:nth-child(9) { grid-column: span 4; grid-row: span 4; }

.notes-layout,
.bookmarks-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .48fr);
  gap: 28px;
  align-items: start;
}

.note-stack {
  display: grid;
  gap: 14px;
}

.note-entry {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.note-entry time {
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.note-entry h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  line-height: 1.1;
}

.note-entry p {
  margin: 10px 0 0;
}

.note-photo,
.bookmark-image {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.note-photo img,
.bookmark-image img {
  height: 360px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bookmark-rack {
  display: grid;
  gap: 14px;
}

.bookmark-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.bookmark-item img {
  width: 120px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.bookmark-item h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.1;
}

.bookmark-item p {
  margin: 8px 0 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  clip-path: inset(8% 0 0 0);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(.2, .8, .2, 1),
    clip-path 760ms cubic-bezier(.2, .8, .2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

[data-reveal-delay="1"] { transition-delay: 90ms; }
[data-reveal-delay="2"] { transition-delay: 170ms; }
[data-reveal-delay="3"] { transition-delay: 250ms; }

@keyframes caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes paperDrift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-12px, 8px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.994);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes loaderPage {
  0% {
    clip-path: inset(0 0 0 0);
    transform: scaleX(1);
  }
  58% {
    clip-path: inset(0 0 0 0);
    transform: scaleX(.72);
  }
  100% {
    clip-path: inset(0 0 0 100%);
    transform: scaleX(.72);
  }
}

@keyframes loaderInk {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  28%, 72% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 1000px) {
  .cover-scene,
  .feature-story,
  .notebook-row,
  .letter-panel,
  .page-head,
  .archive-collage,
  .about-grid,
  .article-hero,
  .article-layout,
  .notes-layout,
  .bookmarks-layout {
    grid-template-columns: 1fr;
  }

  .spine-note {
    display: none;
  }

  .cover-copy,
  .cover-board,
  .running-index {
    grid-column: 1 / -1;
  }

  .cover-board {
    min-height: 680px;
  }

  .hero-photo {
    inset: 0 40px 0 40px;
  }

  .running-index,
  .section-title {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .film-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scrap,
  .scrap-text,
  .scrap-photo,
  .scrap-photo.is-offset,
  .scrap-text.is-ink {
    grid-column: span 1;
    transform: none;
  }

  .ledger-row {
    grid-template-columns: 120px 1fr;
  }

  .ledger-row img {
    grid-column: 1 / -1;
    height: 220px;
  }

  .article-side,
  .archive-wall,
  .about-polaroid,
  .note-photo,
  .bookmark-image {
    position: static;
  }

  .darkroom-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .zine-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1240px);
  }

  .zine-header {
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .zine-header nav {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .cover-scene {
    min-height: auto;
    padding: 32px 0 52px;
  }

  .cover-copy h1 {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }

  .type-line {
    font-size: 1.38rem;
  }

  .cover-board {
    min-height: 540px;
    transform: none;
  }

  .hero-photo {
    inset: 0;
    transform: none;
  }

  .hero-photo img {
    height: 420px;
  }

  .tape-card {
    width: 154px;
  }

  .tape-card img {
    height: 104px;
  }

  .card-a {
    bottom: 0;
  }

  .card-b {
    top: auto;
    right: 8px;
    bottom: 72px;
  }

  .running-index,
  .quick-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .film-section,
  .latest-board,
  .archive-page,
  .about-page,
  .post-page,
  .gallery-page,
  .notes-page,
  .bookmarks-page,
  .quick-pages,
  .scene-ledger {
    padding: 50px 0;
  }

  .quick-card {
    min-height: 260px;
    transform: none !important;
  }

  .film-strip {
    display: flex;
    overflow-x: auto;
  }

  .film-strip a {
    min-width: 210px;
    min-height: 260px;
  }

  .film-strip a:nth-child(even) {
    transform: none;
  }

  .feature-story,
  .scrap,
  .scrap-text,
  .scrap-photo,
  .scrap-photo.is-offset,
  .scrap-text.is-ink {
    grid-column: 1;
  }

  .story-copy {
    padding: 24px;
  }

  .notebook-row,
  .letter-panel {
    padding: 24px 20px;
  }

  .notebook-row a {
    justify-self: start;
  }

  .archive-list a {
    grid-template-columns: 74px 1fr;
  }

  .archive-list span {
    grid-column: 2;
  }

  .about-polaroid img,
  .article-figure img,
  .note-photo img,
  .bookmark-image img {
    height: 380px;
  }

  .inline-gallery {
    grid-template-columns: 1fr;
  }

  .darkroom-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-frame,
  .gallery-frame:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .note-entry,
  .bookmark-item {
    grid-template-columns: 1fr;
  }

  .bookmark-item img {
    width: 100%;
    height: 190px;
  }

  .ledger-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .cover-board {
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
