/* The collection pages (Journal, Gallery, Kind words): the site's look comes from /site.css (the look, the brand's
   tokens and the shared layer, as the built pages have them); this file adds only what these pages need. Phone first,
   tokens only (--paper --card --ink --soft --line --accent --warm, --display-font --text-font, --r the look's corner). */
.col-head { padding-block: 24px 40px; }
.col-head h1.display { font-size: clamp(44px, 8vw, 104px); line-height: 1; letter-spacing: -0.035em; max-width: 13ch; }
.col-head .lede { margin-top: 20px; }
@media (min-width: 900px) { .col-head { padding-block: 48px 72px; } }
.col-body { padding-block: 0 72px; }
@media (min-width: 900px) { .col-body { padding-bottom: 112px; } }

/* Chips: the Journal's categories, an entry's tags. 44 px to tap. */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 28px -20px 0; padding: 0 20px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chip:hover, .chip[aria-current] { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (min-width: 900px) { .chips { flex-wrap: wrap; margin: 32px 0 0; padding: 0; } }

/* The Journal list: one note a row, its picture first on a phone, beside the words from 900 px. */
.notes { display: grid; gap: 14px; }
.note { display: grid; overflow: hidden; border-radius: var(--r); background: var(--card); color: var(--ink); text-decoration: none; }
.note-pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--m-dark); }
.note-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.note:hover .note-pic img { transform: scale(1.03); }
.note-text { display: grid; gap: 10px; align-content: start; padding: 22px 22px 26px; }
.note-text h2 { font-family: var(--display-font); font-weight: 600; font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.note-text p { color: var(--soft); font-size: 17px; line-height: 1.55; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--soft); }
.meta .tag { font-weight: 600; color: var(--accent-text, var(--accent)); }
.note .go { margin-top: 4px; font-weight: 600; }
@media (min-width: 900px) {
  .notes { gap: 20px; }
  .note { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
  .note-pic { aspect-ratio: auto; min-height: 300px; }
  .note-text { padding: 44px 48px; align-content: center; }
  .note-text h2 { font-size: 36px; }
  .note:first-child { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .note:first-child .note-pic { min-height: 420px; }
  .note:first-child .note-text h2 { font-size: 46px; }
}
.feed { margin-top: 28px; }

/* One Journal note: a calm reading page, 68 characters a line. */
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--soft); }
.back:hover { color: var(--ink); }
.post-head { padding-block: 8px 32px; }
.post-head h1.display { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em; max-width: 17ch; margin: 14px 0 20px; }
.post-head .lede { color: var(--ink); }
.post-pic { margin: 0 0 40px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--m-dark); }
.post-pic img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .post-head { padding-block: 24px 48px; } .post-pic { aspect-ratio: 21 / 9; margin-bottom: 72px; } }
.prose { max-width: 680px; margin: 0 auto; font-size: 19px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--display-font); font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent-text, var(--accent)); }
.prose strong { font-weight: 700; }
.prose a { color: var(--accent-text, var(--accent)); }
.post-foot { max-width: 680px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.post-foot .chips { margin-top: 0; }
.next { max-width: 680px; margin: 40px auto 0; display: grid; gap: 14px; padding: 28px 24px; border-radius: var(--r); background: var(--card); }
.next h2 { font-family: var(--display-font); font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.next p { color: var(--soft); }
.next .btn { justify-self: start; }
@media (min-width: 900px) { .next { padding: 44px 48px; } }

/* The Gallery: pictures in their own shapes, two columns on a phone, three from 900 px. */
.wall { columns: 2; column-gap: 10px; }
.wall a { display: block; break-inside: avoid; margin-bottom: 10px; color: inherit; text-decoration: none; }
.wall img { width: 100%; height: auto; border-radius: calc(var(--r) * .6); background: var(--m-dark); transition: opacity .3s; }
.wall a:hover img { opacity: .9; }
.wall span { display: block; padding: 8px 2px 6px; font-size: 14px; line-height: 1.35; color: var(--soft); }
@media (min-width: 900px) { .wall { columns: 3; column-gap: 20px; } .wall a { margin-bottom: 20px; } .wall span { font-size: 15px; } }

/* One picture: as large as the screen lets it be, its words under it. */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: var(--r); background: var(--card); }
.photo figcaption { display: grid; gap: 8px; max-width: 680px; padding: 24px 0 0; }
.photo h1.display { font-size: clamp(34px, 5vw, 60px); }
.photo p { color: var(--soft); font-size: 19px; }

/* Kind words: quotes in the display type, one card each; two columns from 900 px. */
.words { columns: 1; column-gap: 20px; }
.word { break-inside: avoid; display: grid; gap: 22px; margin: 0 0 14px; padding: 30px 26px; border-radius: var(--r); background: var(--card); }
.word::before { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--warm); }
.word:nth-child(3n+2)::before { border-radius: 44px 44px 0 0; height: 24px; margin-top: 20px; background: var(--accent); }
.word:nth-child(3n)::before { border-radius: 22px 22px 6px 6px; width: 34px; background: var(--ink); }
.word blockquote { font-family: var(--display-font); font-weight: 500; font-size: 25px; line-height: 1.3; letter-spacing: -0.015em; text-wrap: pretty; }
.word figcaption { font-size: 15px; color: var(--soft); }
.word figcaption b { display: block; color: var(--ink); font-size: 17px; }
.word:first-child { background: var(--accent); color: var(--on-accent, #fff); }
.word:first-child figcaption, .word:first-child figcaption b { color: inherit; }
@media (min-width: 900px) { .words { columns: 2; } .word { margin-bottom: 20px; padding: 44px 44px 40px; } .word blockquote { font-size: 30px; } .word:first-child blockquote { font-size: 38px; } }
