/* Readings and Reflections — layout: one calm reading column, catalogue-card metadata set in mono beside it. */
:root {
  --paper: #f5efe4;      /* warm library paper */
  --sheet: #fbf8f1;      /* raised surfaces */
  --ink: #231d18;        /* dark ink */
  --muted: #6b6157;
  --rule: #ddd2c1;
  --brass: #8a2b1d;      /* accent: oxblood */
  --sea: #3d5a40;        /* secondary: olive */
  --chip: #ece3d3;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1a1612; --sheet: #221d18; --ink: #eee6da; --muted: #ab9f90; --rule: #3a3129;
    --brass: #e3927f; --sea: #a9c29f; --chip: #2b241e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1a1612; --sheet: #221d18; --ink: #eee6da; --muted: #ab9f90; --rule: #3a3129;
  --brass: #e3927f; --sea: #a9c29f; --chip: #2b241e; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  font-optical-sizing: auto;
}
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--brass) 60%, transparent); text-underline-offset: 0.18em; }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }

/* masthead */
.mast { border-bottom: 1px solid var(--rule); background: var(--paper); }
.mast .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.1rem; }
.mark { font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.mark i { font-style: italic; font-weight: 500; color: var(--brass); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--muted); padding-block: 0.25rem; }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brass); }

.label { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* home hero */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; border-bottom: 1px solid var(--rule); }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 9vw, 6.6rem); letter-spacing: -0.025em; line-height: 0.95; }
.hero h1 em { color: var(--brass); }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); max-width: 36rem; margin: 1.4rem 0 0; }
.ledger { font-family: var(--mono); font-size: 0.85rem; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.ledger div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.ledger b { font-weight: 500; font-size: 1.05rem; }
.ledger a { text-decoration: none; }

section.block { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--rule); }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; margin-bottom: 1.8rem; }
.block-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.015em; }
.more { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* book cards */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 2.2rem 1.6rem; }
[hidden] { display: none !important; }
.card { display: flex; flex-direction: column; gap: 0.55rem; text-decoration: none; min-width: 0; }
.cover { aspect-ratio: 2 / 3; width: 100%; max-width: 100%; background: var(--chip); overflow: hidden; box-shadow: 0 1px 0 var(--rule), 0 10px 22px -16px rgba(10, 20, 30, 0.55); transition: transform 0.25s ease; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover.type { display: flex; flex-direction: column; justify-content: space-between; padding: 1rem 0.9rem; background: var(--sea); color: var(--paper); }
.cover.type span { font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.cover.type small { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.card:hover .cover { transform: translateY(-3px); }
.card h3 { font-family: var(--body); font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.card:hover h3 { color: var(--brass); }
.card .by { font-size: 0.9rem; color: var(--muted); line-height: 1.35; }
.card .meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: auto; }

/* topics band */
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); border-top: 1px solid var(--ink); }
.topic { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.2rem 1.2rem 1.4rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; min-width: 0; }
.topic + .topic { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
.topic h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; }
.topic p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.topic .n { font-family: var(--mono); font-size: 0.75rem; color: var(--brass); font-variant-numeric: tabular-nums; }
@media (max-width: 40rem) { .topic + .topic { padding-left: 0; border-left: 0; } }

/* papers */
.papers { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.paper { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.6rem 2rem; padding-block: 1.6rem; border-bottom: 1px solid var(--rule); }
.paper .where { font-family: var(--mono); font-size: 0.78rem; line-height: 1.5; color: var(--muted); }
.paper .where b { display: block; color: var(--ink); font-weight: 500; font-size: 0.86rem; }
.paper h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -0.01em; }
.paper p { margin: 0.6rem 0 0; max-width: 44rem; color: var(--ink); }
.paper .actions { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 0.9rem; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; }
.paper.compact p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 44rem) { .paper { grid-template-columns: minmax(0, 1fr); } }

.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border: 1px solid var(--ink); text-decoration: none; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.btn:hover { background: var(--ink); color: var(--paper); }

/* page header for inner pages */
.pagehead { padding-block: clamp(2.2rem, 6vw, 4rem) 1.8rem; border-bottom: 1px solid var(--rule); }
.pagehead h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 7vw, 4.6rem); letter-spacing: -0.02em; }
.pagehead p { max-width: 40rem; margin: 0.9rem 0 0; font-size: 1.1rem; color: var(--muted); }

/* filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding-block: 1.4rem; position: sticky; top: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 2; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font: 500 0.78rem/1 var(--mono); letter-spacing: 0.04em; padding: 0.55rem 0.8rem; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); cursor: pointer; border-radius: 999px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .c { opacity: 0.6; margin-left: 0.3rem; font-variant-numeric: tabular-nums; }
.search { margin-left: auto; flex: 1 1 14rem; max-width: 20rem; }
.search input { width: 100%; font: 400 0.95rem var(--body); padding: 0.55rem 0.8rem; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: 0; }
.empty { font-style: italic; color: var(--muted); }

/* review page */
.review { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2rem, 5vw, 3.5rem) 3rem; }
.review aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 1.5rem); align-self: start; display: grid; gap: 1.4rem; }
.review aside .cover { max-width: 15rem; }
.catalogue { font-family: var(--mono); font-size: 0.76rem; line-height: 1.45; border-top: 1px solid var(--ink); }
.catalogue div { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 0.6rem; padding-block: 0.45rem; border-bottom: 1px solid var(--rule); }
.catalogue dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.68rem; padding-top: 0.1rem; }
.catalogue dd { margin: 0; overflow-wrap: anywhere; }
.review article { min-width: 0; max-width: 42rem; }
.review .kicker { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-bottom: 1rem; }
.review .kicker a { color: var(--brass); text-decoration: none; }
.review h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.02em; line-height: 1.02; }
.review .sub { font-size: clamp(1.1rem, 2vw, 1.3rem); font-style: italic; color: var(--muted); margin: 0.7rem 0 0; line-height: 1.4; }
.review .author { margin: 1rem 0 0; font-size: 1.05rem; }
.pubnote { margin: 1.4rem 0 0; padding: 0.7rem 0.9rem; background: var(--sheet); border-left: 2px solid var(--brass); font-size: 0.92rem; }
.prose { margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.prose p { margin: 0 0 1.15em; hyphens: auto; }
.prose > p:first-child::first-letter { font-family: var(--display); float: left; font-size: 3.6em; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--brass); }
.prose h3 { font-family: var(--body); font-weight: 600; font-size: 1.15rem; margin: 1.8em 0 0.6em; }
.prose blockquote { margin: 0 0 1.4em; padding-left: 1.2rem; border-left: 2px solid var(--rule); font-style: italic; font-size: 1.1rem; color: var(--muted); }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.sign { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--ink); margin-top: 2.5rem; }
.pager a { padding-block: 1rem; text-decoration: none; display: grid; gap: 0.2rem; min-width: 0; }
.pager a:last-child { text-align: right; }
.pager span:last-child { font-family: var(--display); font-size: 1.2rem; line-height: 1.2; }
@media (max-width: 52rem) {
  .review { grid-template-columns: minmax(0, 1fr); }
  .review aside { position: static; grid-template-columns: 7rem minmax(0, 1fr); align-items: start; }
  .review aside .cover { max-width: 8rem; }
}

/* reading log */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2.5rem 3.5rem; }
.two > * { min-width: 0; }
.notes h3 { font-family: var(--display); font-weight: 500; font-size: 1.7rem; margin-bottom: 0.4rem; }
.notes .note { color: var(--muted); font-size: 0.95rem; margin: 0 0 1rem; }
.plain { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.plain li { padding-block: 0.6rem; border-bottom: 1px solid var(--rule); }
.plain li b { font-weight: 600; }
.plain li span { color: var(--muted); }
.plain li p { margin: 0.25rem 0 0; font-size: 0.93rem; color: var(--muted); }
.rules { padding-left: 1.2rem; margin: 0; }
.rules li { margin-bottom: 0.55rem; }
.years { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.year summary { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 4rem; align-items: center; gap: 1rem; padding-block: 0.85rem; cursor: pointer; list-style: none; border-bottom: 1px solid var(--rule); }
.year summary::-webkit-details-marker { display: none; }
.year summary .y { font-family: var(--display); font-size: 1.5rem; }
.year summary .bar { height: 0.5rem; background: var(--chip); position: relative; }
.year summary .bar i { position: absolute; inset: 0 auto 0 0; background: var(--sea); }
.year summary .n { font-family: var(--mono); font-size: 0.8rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.year[open] summary .y { color: var(--brass); }
.year ol { columns: 2 22rem; column-gap: 3rem; margin: 0; padding: 1rem 0 1.6rem 1.8rem; font-size: 0.95rem; }
.year ol li { break-inside: avoid; margin-bottom: 0.35rem; padding-left: 0.2rem; }
.year ol li::marker { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.year li a { color: var(--brass); }

/* about + footer */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem 4rem; }
.about p { margin: 0 0 1em; max-width: 40rem; }
.about .small { font-size: 0.9rem; color: var(--muted); }
.about .portrait { display: block; width: 100%; max-width: 16rem; height: auto; margin-top: 0; border: 1px solid var(--rule); }
@media (max-width: 48rem) { .hero, .about { grid-template-columns: minmax(0, 1fr); } }
footer { padding-block: 2.5rem 3rem; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.03em; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* book notes */
.aibadge { margin: 1.2rem 0 0; padding: 0.7rem 0.9rem; border: 1px dashed var(--muted); font-size: 0.9rem; color: var(--muted); max-width: 42rem; }
.aibadge b { color: var(--ink); font-weight: 600; }
.plain-start > p:first-child::first-letter { float: none; font: inherit; color: inherit; padding: 0; }
.note-page .cover.type { background: var(--chip); color: var(--ink); }
.nlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); column-gap: 2.5rem; border-top: 1px solid var(--ink); }
.nrow { display: grid; gap: 0.15rem; padding-block: 0.85rem; border-bottom: 1px solid var(--rule); text-decoration: none; }
.nrow .nt { font-weight: 600; line-height: 1.3; }
.nrow:hover .nt { color: var(--brass); }
.nrow .na { color: var(--muted); font-size: 0.93rem; }
.nrow .ny { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.year li a.nlink { color: var(--sea); }

/* reading page: guides */
.jump { display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; margin-top: 1.4rem; }
.jump a { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 0.4rem 0.7rem; border: 1px solid var(--rule); color: var(--ink); }
.jump a:hover { border-color: var(--brass); color: var(--brass); }
section[id] { scroll-margin-top: 1rem; }
.lead p { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.45; max-width: 46rem; margin: 0 0 2.2rem; }
.notes h3.mt { margin-top: 2rem; }
.mt2 { margin-top: 2.8rem; }
.tips { padding-left: 1.6rem; margin: 0; border-top: 1px solid var(--ink); }
.tips li { padding: 0.7rem 0 0.7rem 0.3rem; border-bottom: 1px solid var(--rule); }
.tips li::marker { font-family: var(--mono); font-size: 0.78rem; color: var(--brass); }
.tips li b { display: block; font-weight: 600; margin-bottom: 0.15rem; }
.tips li { color: var(--muted); }
.tips li b { color: var(--ink); }
.tips.cols { columns: 2 22rem; column-gap: 3.5rem; border-top: 0; }
.tips.cols li { break-inside: avoid; }
.defs { margin: 0; border-top: 1px solid var(--ink); }
.defs div { padding-block: 0.7rem; border-bottom: 1px solid var(--rule); }
.defs dt { font-weight: 600; }
.defs dd { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.95rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { font-size: 0.88rem; padding: 0.3rem 0.65rem; background: var(--chip); }
.bul { margin: 0; padding-left: 1.1rem; }
.bul li { margin-bottom: 0.7rem; }
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); border-top: 1px solid var(--ink); }
.levels .lvl { padding: 1.1rem 1.2rem 1.3rem 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.levels .lvl + .lvl { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
.levels h4 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; margin: 0.3rem 0 0.2rem; }
.levels .q { font-style: italic; color: var(--brass); margin: 0 0 0.5rem; }
.levels p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.levels .lvl p.q { color: var(--brass); }
@media (max-width: 48rem) { .levels .lvl + .lvl { padding-left: 0; border-left: 0; } }
.pull { margin: 0 0 2.4rem; padding: 0 0 0 1.2rem; border-left: 3px solid var(--brass); font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.4; max-width: 44rem; }
.pull cite { display: block; margin-top: 0.5rem; font-family: var(--mono); font-style: normal; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.plain li a.tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); margin-left: 0.3rem; }
.plain li a.tag.nlink { color: var(--sea); }
.kids { margin-top: 3rem; }

/* a reading life */
.fivegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 2.8rem 3.5rem; }
.fivelist { min-width: 0; }
.fivelist .label { margin: 0; color: var(--brass); }
.fivelist h3 { margin-top: 0.15rem; }
.five-ol li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.4rem; }
.five-ol .num { font-family: var(--display); font-size: 1.25rem; line-height: 1.3; color: var(--brass); }
.notes h3.mt2, .mt2 { margin-top: 2.6rem; }
.notes .note.mt { margin-top: 1.2rem; }
.two.mt { margin-top: 1rem; }
.filters.static { position: static; padding-block: 0.6rem 1rem; }
.shelf-list { list-style: none; padding: 0; margin: 0.6rem 0 0; columns: 3 17rem; column-gap: 2.5rem; font-size: 0.95rem; border-top: 1px solid var(--ink); }
.shelf-list li { break-inside: avoid; padding: 0.4rem 0; border-bottom: 1px solid var(--rule); }
.shelf-list li[hidden] { display: none; }
.shelf-list .yr { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--muted); margin-right: 0.35rem; }
.shelf-list li a { color: var(--brass); }
.shelf-list li a.nlink { color: var(--sea); }
.fbox { margin-top: 1.1rem; padding: 0.9rem 1rem 0.4rem; background: var(--sheet); border: 1px solid var(--rule); }
.fbox .label { margin: 0 0 0.3rem; color: var(--sea); }
.fbox .fby { margin: 0 0 0.5rem; font-size: 0.9rem; color: var(--muted); }
.fbox .fby b { color: var(--ink); font-weight: 600; }
.fbox .fby a { color: var(--sea); white-space: nowrap; }
.fb-rows { list-style: none; margin: 0; padding: 0; }
.fb-rows li { display: grid; grid-template-columns: 2.4rem 1.6rem minmax(0, 1fr); align-items: center; gap: 0.7rem; padding: 0.45rem 0; border-top: 1px solid var(--rule); }
.fb-rows li:first-child { border-top: 0; }
.fb-rows img { width: 2.4rem; height: auto; display: block; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.fb-rows .fbn { font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--brass); text-align: center; }
.fb-rows b { display: block; font-weight: 600; font-size: 0.93rem; line-height: 1.3; }
.fb-rows .fba { display: block; color: var(--muted); font-size: 0.88rem; font-style: italic; margin-top: 0.15rem; }
.fb-rows a.tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); }
.fb-rows a.tag.nlink { color: var(--sea); }
.topics { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.45rem 0.5rem; margin: 1.2rem 0 2.4rem; padding: 1rem 1.1rem; background: var(--sheet); border: 1px solid var(--rule); }
.topics .label { width: 100%; margin: 0 0 0.2rem; color: var(--brass); }
.topics a { padding: 0.28rem 0.7rem; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.88rem; text-decoration: none; color: var(--ink); background: var(--paper, #fff); }
.topics a:hover { border-color: var(--brass); color: var(--brass); }
.fivelist { scroll-margin-top: 1rem; }

/* reading-life graphics */
.gfx { margin: 0 0 2rem; max-width: 46rem; }
.gfx.narrow { max-width: 40rem; }
.gfx svg { width: 100%; height: auto; display: block; overflow: visible; }
.g-t { font-family: var(--mono); fill: var(--ink); }
.g-b { font-size: 13px; font-weight: 500; }
.g-s { font-size: 11.5px; fill: var(--muted); }
.g-n { font-family: var(--display); font-size: 24px; fill: var(--ink); }
.g-big { font-family: var(--display); font-size: 26px; }
.g-op { font-family: var(--display); font-size: 28px; fill: var(--muted); }
.g-t.inv { fill: var(--paper); }
.g-step { fill: var(--chip); stroke: var(--rule); }
.g-step.hi { fill: color-mix(in srgb, var(--sea) 28%, var(--chip)); stroke: var(--sea); }
.g-arrow, .g-rule { stroke: var(--muted); stroke-width: 1.4; fill: none; }
.g-head { fill: var(--muted); }
.g-dot { fill: var(--sheet); stroke: var(--brass); stroke-width: 2; }
.g-dot.hi { fill: var(--sea); stroke: var(--sea); }
.g-dot.hi + .g-n { fill: var(--paper); }
.g-seg { fill: var(--chip); stroke: var(--paper); stroke-width: 2; }
.g-seg.mid { fill: color-mix(in srgb, var(--muted) 30%, var(--chip)); }
.g-seg.hi { fill: var(--brass); }
.g-clock { fill: var(--sheet); stroke: var(--sea); stroke-width: 2; }
.g-hand { stroke: var(--sea); stroke-width: 2; stroke-linecap: round; fill: none; }
.g-book { fill: var(--chip); stroke: var(--muted); }
.g-book.hi { fill: var(--brass); stroke: var(--brass); }
.g-book2 { fill: var(--brass); }
.g-page { fill: var(--sheet); stroke: var(--rule); }
.g-line { fill: var(--rule); }
.g-ul { stroke: var(--brass); stroke-width: 2.5; }
.g-mark { stroke: var(--sea); stroke-width: 3; stroke-linecap: round; fill: none; }
.g-mark.thin { stroke-width: 1.5; }
.g-star { font-size: 18px; fill: var(--brass); }
.g-num { font-family: var(--display); font-size: 16px; fill: var(--sea); font-style: italic; }
.g-hand2 { font-family: var(--display); font-style: italic; font-size: 16px; fill: var(--sea); }
.g-pin { fill: var(--brass); }
.g-node { fill: var(--sheet); stroke: var(--rule); }
/* covers on the reading life page */
.cv { display: block; text-decoration: none; }
.cv .cover { box-shadow: 0 1px 0 var(--rule), 0 8px 16px -12px rgba(10,20,30,.6); }
.cv .cover.type { padding: 0.45rem 0.4rem; }
.cv .cover.type span { font-size: 0.72rem; line-height: 1.1; }
.cv .cover.type small { font-size: 0.5rem; }
a.cv:hover .cover { transform: translateY(-3px); }
.coverstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; margin: 0 0 1.1rem; }
.plain li.withthumb { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.plain li.withthumb > div p { margin-top: 0.2rem; }
.coverwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); gap: 0.7rem; margin: 0.4rem 0 1.4rem; }
.plain li .cover.type span, .plain li .cover.type small { color: var(--paper); }

/* at a glance */
.glance { margin: 1.4rem 0 2rem; padding: 1.1rem 1.2rem 1.2rem; background: var(--sheet); border: 1px solid var(--rule); border-left: 3px solid var(--brass); }
.glance .label { margin: 0 0 0.4rem; color: var(--brass); }
.glance dl { margin: 0; display: grid; gap: 0.5rem; }
.glance dl div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.8rem; }
.glance dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.glance dd { margin: 0; }
.glance .nxl { margin-top: 1rem; }
.nxs { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.8rem; }
.nx { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.7rem; align-items: center; text-decoration: none; }
.nx .cover.type { padding: 0.3rem; } .nx .cover.type span { font-size: 0.55rem; } .nx .cover.type small { display: none; }
.nx b { display: block; font-weight: 600; line-height: 1.25; }
.nx small { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.nx:hover b { color: var(--brass); }
@media (max-width: 30rem) { .glance dl div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; } }

/* follow band + forms */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.follow { border-top: 1px solid var(--rule); background: var(--sheet); }
.follow .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem 3rem; align-items: center; padding-block: 2.4rem; }
.follow h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0.2rem 0 0.3rem; }
.follow p { margin: 0; color: var(--muted); }
.subform .row { display: flex; gap: 0.5rem; }
.subform input, .contact input, .contact textarea { font: 400 1rem var(--body); padding: 0.65rem 0.8rem; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 0; width: 100%; }
.subform input { flex: 1; min-width: 0; }
.subform button, .contact button { font: 500 0.8rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.8rem 1.1rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }
.subform button:hover, .contact button:hover { background: var(--brass); border-color: var(--brass); }
.subform .fine { font-size: 0.85rem; margin-top: 0.6rem; }
.contact { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); max-width: 40rem; }
.contact h3 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; margin-bottom: 0.3rem; }
.contact .note { color: var(--muted); margin: 0 0 1rem; }
.contact form { display: grid; gap: 0.8rem; }
.contact label { display: grid; gap: 0.3rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact button { justify-self: start; }
@media (max-width: 48rem) { .follow .wrap { grid-template-columns: minmax(0, 1fr); } }

/* year in reading */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); border-top: 1px solid var(--ink); }
.tiles div { padding: 1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--rule); }
.tiles b { display: block; font-family: var(--display); font-weight: 500; font-size: 2.6rem; line-height: 1; }
.tiles span { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--muted); }
h3.ch { font-family: var(--display); font-weight: 500; font-size: 1.4rem; margin: 0 0 0.6rem; }
.chart { margin: 0; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .ax { stroke: var(--rule); stroke-width: 1; }
.chart .bar path { fill: var(--sea); }
.chart .bar:hover path { fill: var(--brass); }
.chart .v { font: 500 13px var(--mono); fill: var(--ink); }
.chart .k { font: 400 11px var(--mono); fill: var(--muted); }
.hbars { display: grid; gap: 0.5rem; max-width: 40rem; }
.hb { display: grid; grid-template-columns: 13rem minmax(0, 1fr) 2.5rem; gap: 0.8rem; align-items: center; font-size: 0.95rem; }
.ht { height: 0.75rem; background: var(--chip); border-radius: 0 4px 4px 0; overflow: hidden; }
.ht i { display: block; height: 100%; background: var(--sea); border-radius: 0 4px 4px 0; }
.hv { font-family: var(--mono); font-size: 0.85rem; text-align: right; }
@media (max-width: 30rem) { .hb { grid-template-columns: 8rem minmax(0, 1fr) 2rem; font-size: 0.85rem; } }
.yr-block { padding-block: 2rem; border-top: 1px solid var(--rule); }
.yr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1rem; margin-bottom: 1rem; }
.yr-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); }
.yr-block h3 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; margin: 0 0 0.5rem; }
.yr-block .note { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.5rem; }
.yr-block summary { cursor: pointer; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink); padding-block: 0.4rem; }
.ylist { columns: 2 22rem; column-gap: 3rem; font-size: 0.95rem; padding-left: 1.6rem; }
.ylist li { break-inside: avoid; margin-bottom: 0.3rem; }
.ylist li a { color: var(--brass); } .ylist li a.nlink { color: var(--sea); }
.picks { margin-bottom: 1.2rem; }
.ch.mt2 { margin-top: 2.6rem; }
/* bookshelf thumbnails */
.shelf-list li.th { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: 0.6rem; align-items: center; }
.shelf-list li.th .cover { box-shadow: 0 1px 0 var(--rule); }
.shelf-list li.th .cover.type { padding: 0.15rem; } .shelf-list li.th .cover.type span { font-size: 0.4rem; } .shelf-list li.th .cover.type small { display: none; }

/* ===== design D (October 2026) ===== */
.mast { border-bottom: 4px solid var(--ink); background: var(--paper); }
.topstrip { border-bottom: 1px solid var(--ink); }
.topstrip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1.5rem; padding-block: 0.55rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mast .wrap.mast-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; padding-block: 1.5rem 1.1rem; }
.mark { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 500; line-height: 0.95; }
.nav a { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brass); box-shadow: inset 0 -2px 0 var(--brass); }
.intro { font-size: clamp(1.1rem, 1.7vw, 1.25rem); max-width: 46rem; margin: 2.2rem 0 0; }
.lead { display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; padding-block: 2.4rem 3rem; border-bottom: 1px solid var(--rule); }
.lead-story { flex: 999 1 32rem; min-width: 0; display: flex; flex-wrap: wrap; gap: 1.75rem; text-decoration: none; }
.lead-story .cover { width: 14rem; flex: none; align-self: flex-start; }
.ls-text { flex: 1 1 16rem; min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.ls-text .label { color: var(--brass); }
.ls-title { font-family: var(--display); font-size: clamp(2.2rem, 4.5vw, 3.3rem); line-height: 1; margin-top: 0.4rem; }
.ls-by { color: var(--muted); }
.ls-line { font-size: 1.2rem; line-height: 1.5; margin-top: 0.8rem; }
.ls-more { margin-top: 1rem; align-self: flex-start; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 2px solid var(--brass); }
.lead-story:hover .ls-title { color: var(--brass); }
.lead-side { flex: 1 1 17rem; border-left: 1px solid var(--rule); padding-left: 2rem; }
.lead-side > .label { margin: 0 0 0.7rem; }
@media (max-width: 48rem) { .lead-side { border-left: 0; padding-left: 0; } .lead-story .cover { width: 9rem; } }
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); border-bottom: 1px solid var(--rule); }
.door { padding: 2.2rem 1.8rem 2.2rem 0; text-decoration: none; min-width: 0; }
.door + .door { padding-left: 1.8rem; border-left: 1px solid var(--rule); }
.door .label { color: var(--brass); }
.door h3 { font-family: var(--display); font-weight: 500; font-size: 1.9rem; margin: 0.5rem 0 0.35rem; }
.door p { margin: 0; color: var(--muted); }
.door:hover h3 { color: var(--brass); }
@media (max-width: 48rem) { .door + .door { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }
.follow { background: #3a1f1a; color: #f5efe4; border-top: 0; }
.follow .label, .follow p, .follow .fine { color: #e2d3c4; }
.follow .fine a { color: #f5efe4; }
.follow h2 { color: #f5efe4; }
.follow .subform input { background: #f5efe4; color: #231d18; border-color: #f5efe4; }
.follow .subform button { background: #d9a35b; border-color: #d9a35b; color: #3a1f1a; }
.follow .subform button:hover { background: #f5efe4; border-color: #f5efe4; }
.lead-side > p.label { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 30rem) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; }
  .topstrip .wrap span:last-child { display: none; }
}
@media (min-width: 70rem) { .mark { font-size: 3.2rem; } }

/* ===== On Reading: parts, chapters, contents ===== */
.or-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.or-part { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.3rem 1.4rem 1.2rem; background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--ink); text-decoration: none; min-width: 0; }
.or-part .label { color: var(--brass); }
.or-part h3 { font-family: var(--display); font-weight: 500; font-size: 1.55rem; line-height: 1.15; }
.or-part p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.or-part .cnt { margin-top: auto; padding-top: 0.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.or-part:hover { border-top-color: var(--brass); }
.or-part:hover h3 { color: var(--brass); }
.or-wrap { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; margin-top: 2.5rem; }
.or-toc { position: sticky; top: 1rem; align-self: start; max-height: calc(100vh - 2rem); overflow-y: auto; padding-right: 0.5rem; font-size: 0.88rem; line-height: 1.35; }
.or-toc .pt0 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.4rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--ink); }
.or-toc .pt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); margin: 1.1rem 0 0.15rem; }
.or-toc a { display: block; padding: 0.22rem 0; color: var(--muted); text-decoration: none; }
.or-toc a.tp { color: var(--ink); font-family: var(--display); font-size: 1.05rem; padding-bottom: 0.35rem; }
.or-toc a:hover { color: var(--brass); }
@media (max-width: 64rem) { .or-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; } .or-toc { display: none; } }
.or-parthead { padding: 2.6rem 0 1.4rem; border-top: 4px solid var(--ink); margin-top: 1rem; }
.or-main > .or-parthead:first-child { margin-top: 0; }
.or-parthead .label { color: var(--brass); margin: 0; }
.or-parthead h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; margin: 0.3rem 0 0.6rem; }
.or-parthead > p { margin: 0; max-width: 42rem; font-size: 1.12rem; color: var(--muted); }
.or-chlist { margin: 1.2rem 0 0; padding-left: 1.4rem; columns: 2 16rem; column-gap: 2rem; font-size: 0.95rem; }
.or-chlist li { break-inside: avoid; margin-bottom: 0.3rem; }
.or-chlist li::marker { font-family: var(--mono); font-size: 0.75rem; color: var(--brass); }
.or-chlist a { text-decoration: none; } .or-chlist a:hover { color: var(--brass); }
.chap { padding: 2.2rem 0 1.6rem; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.chap > .label { margin: 0 0 0.3rem; }
.notes .chap > h3 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 0.9rem; }
.notes h4 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin: 1.6rem 0 0.6rem; }
.notes h4.mt, .notes h4.mt2 { margin-top: 1.8rem; }
.chap .two > div > h4:first-child { margin-top: 0.4rem; }
.prose-sm p { margin: 0 0 0.9rem; max-width: 42rem; }
.chap .lead p { margin-bottom: 1.2rem; }
.chap .pull { margin-block: 0.4rem 1.6rem; }
.up { display: inline-block; margin-top: 1.4rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.up:hover { color: var(--brass); }
.or-parthead, .or-parts .or-part { scroll-margin-top: 1rem; }

.or-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.2rem; margin: 1rem 0 0.4rem; }
.or-sum > div { padding: 1rem 1.1rem 0.4rem; background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--ink); min-width: 0; }
.or-sum .label { color: var(--brass); text-decoration: none; }
.notes .or-sum h4 { margin: 0.2rem 0 0.5rem; }
.or-sum h4 a { text-decoration: none; color: var(--ink); }
.or-sum h4 a:hover { color: var(--brass); }
.or-sum .bul { font-size: 0.93rem; }
.or-sum > div { position: relative; overflow: hidden; }
.or-num { position: absolute; right: 0.6rem; top: -0.4rem; font-family: var(--display); font-size: 4.2rem; line-height: 1; color: var(--brass); opacity: 0.16; pointer-events: none; }
.ticks { list-style: none; margin: 0 0 0.6rem; padding: 0; font-size: 0.93rem; }
.ticks li { position: relative; padding: 0.35rem 0 0.35rem 1.5rem; border-top: 1px solid var(--rule); line-height: 1.4; }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.72rem; width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }
.g-road { stroke: var(--rule); stroke-width: 10; stroke-linecap: round; fill: none; }
.or-sum + .pull { margin-top: 2rem; }

/* on the desk (home) */
.desk .sub { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); margin: 0 0 0.3rem; }
.desk ul { list-style: none; margin: 0 0 1.3rem; padding: 0; border-top: 1px solid var(--ink); }
.desk li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0.9rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.desk img { width: 3.6rem; height: auto; display: block; box-shadow: 0 1px 0 var(--rule), 0 8px 16px -10px rgba(30,20,10,.6); }
.desk b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.05rem; line-height: 1.2; }
.desk .au { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.88rem; font-style: italic; }
.desk .last { margin: 0 0 0.9rem; padding-top: 0.5rem; border-top: 1px solid var(--ink); font-size: 0.95rem; }
.desk .more { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sea); text-decoration: none; }

/* quotes */
.qband { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin: 0; padding: 2.4rem 0 2.6rem; border-bottom: 1px solid var(--rule); }
.qband figure { margin: 0; flex: 1 1 32rem; max-width: 52rem; }
.qband blockquote { margin: 0; padding-left: 1.2rem; border-left: 3px solid var(--brass); font-family: var(--display); font-size: clamp(1.35rem, 2.8vw, 1.85rem); line-height: 1.35; }
.qband figcaption { margin: 0.7rem 0 0 1.2rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.qband .more { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sea); text-decoration: none; }
.qgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.1rem; margin-top: 1rem; }
.qcard { margin: 0; padding: 1.1rem 1.2rem 1rem; background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--brass); display: flex; flex-direction: column; justify-content: space-between; gap: 0.8rem; }
.qcard blockquote { margin: 0; font-family: var(--display); font-size: 1.12rem; line-height: 1.4; }
.qcard figcaption { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.qcard figcaption i { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 0.85rem; }

/* home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem 3.5rem; align-items: center; padding: 2.8rem 0 2.6rem; border-bottom: 1px solid var(--rule); }
.hero .label { margin: 0; color: var(--brass); }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 4vw, 3.05rem); line-height: 1.06; margin: 0.4rem 0 1rem; letter-spacing: -0.01em; }
.hero-text > p:not(.label) { margin: 0; max-width: 34rem; font-size: 1.15rem; color: var(--muted); }
.hero-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1.5rem; }
.hero-links a { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding-bottom: 0.2rem; border-bottom: 2px solid var(--brass); }
.hero-links a:hover { color: var(--brass); }
.hero-photo { margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto; border: 7px solid var(--sheet); box-shadow: 0 1px 0 var(--rule), 0 22px 40px -26px rgba(40, 20, 10, 0.6); transform: rotate(0.6deg); }
.hero-photo figcaption { margin-top: 0.7rem; text-align: right; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 52rem) { .hero { grid-template-columns: minmax(0, 1fr); padding-top: 2rem; } .hero-photo img { transform: none; } }

/* review reading: drop cap, pull quote, progress */
.prose > p:first-child::first-letter { font-size: 4.3em; line-height: 0.8; padding: 0.05em 0.12em 0 0; }
.prose > p:first-child::first-line { font-variant: small-caps; letter-spacing: 0.03em; }
.plain-start > p:first-child::first-line { font-variant: normal; letter-spacing: normal; }
.pullq { display: block; margin: 1.8rem 0 2rem; padding: 1.2rem 0.5rem 1.1rem; border-top: 2px solid var(--brass); border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: clamp(1.35rem, 2.7vw, 1.75rem); line-height: 1.35; text-align: center; color: var(--ink); }
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.readbar span { display: block; height: 100%; width: 0; background: var(--brass); }

/* home hero: cover collage */
.hero-covers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.7rem; align-self: center; padding-bottom: 1.4rem; }
.hero-covers a { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--chip); box-shadow: 0 1px 0 var(--rule), 0 10px 18px -12px rgba(40, 20, 10, 0.55); transition: transform 0.2s ease; }
.hero-covers a:nth-child(even) { transform: translateY(1.4rem); }
.hero-covers a:hover { transform: translateY(-4px); }
.hero-covers a:nth-child(even):hover { transform: translateY(calc(1.4rem - 4px)); }
.hero-covers img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 52rem) { .hero-covers { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hero-covers a:nth-child(n+9) { display: none; } }

/* home: rotating quotes (my own) */
.qband { display: block; }
.qslides { display: grid; }
.qslide { grid-area: 1 / 1; margin: 0; max-width: 52rem; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s; }
.qslide.on { opacity: 1; visibility: visible; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.qdots { display: flex; gap: 0.5rem; }
.qdots button { width: 0.6rem; height: 0.6rem; padding: 0; border-radius: 50%; border: 1px solid var(--brass); background: transparent; cursor: pointer; }
.qdots button[aria-current="true"] { background: var(--brass); }
@media (prefers-reduced-motion: reduce) { .qslide { transition: none; } }
/* On Reading: quotes by others, with portrait or cover */
.qcard { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.qcard > img { width: 4.2rem; height: 4.2rem; object-fit: cover; border-radius: 50%; display: block; box-shadow: 0 0 0 3px var(--sheet), 0 0 0 4px var(--rule); }
.qcard.qbook > img { height: auto; aspect-ratio: 2 / 3; border-radius: 0; box-shadow: 0 1px 0 var(--rule), 0 8px 14px -10px rgba(40, 20, 10, 0.6); }
.qcard figcaption { margin-top: 0.7rem; }
.credits { margin-top: 1.2rem; font-size: 0.78rem; color: var(--muted); }

.qlabel { margin: 0 0 0.9rem; color: var(--brass); }
.qslide { transition: opacity 1.2s ease, visibility 1.2s; }

/* back to top */
.totop { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 50; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--brass); color: var(--paper); font-size: 1.3rem; line-height: 1; text-decoration: none; box-shadow: 0 6px 16px -6px rgba(40, 20, 10, 0.6); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; }
.totop.show { opacity: 0.85; visibility: visible; transform: none; }
.totop:hover, .totop:focus-visible { opacity: 1; color: var(--paper); }
@media print { .totop { display: none; } }

/* essays */
.essay { max-width: 44rem; margin: 2.8rem auto 3.5rem; }
.essay h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.1; margin: 0.4rem 0 0.8rem; }
.essay .dek { font-size: 1.2rem; color: var(--muted); margin: 0; }
.ephoto { margin: 1.8rem 0 2rem; }
.ephoto img { width: 100%; height: auto; display: block; box-shadow: 0 1px 0 var(--rule), 0 16px 30px -22px rgba(40, 20, 10, 0.6); }
.ephoto figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); font-style: italic; }
.essay-list { display: grid; gap: 1.2rem; }
.essay-card { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1.4rem; align-items: center; text-decoration: none; padding: 1rem; background: var(--sheet); border: 1px solid var(--rule); }
.essay-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.essay-card b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; margin: 0.3rem 0 0.4rem; }
.essay-card .label { color: var(--brass); }
.essay-card .dek { color: var(--muted); }
.essay-card:hover b { color: var(--brass); }
@media (max-width: 40rem) { .essay-card { grid-template-columns: minmax(0, 1fr); } }
.essay .kicker { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }

.essay-tile { display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; aspect-ratio: 4 / 3; padding: 1rem 1.1rem; background: #3a1f1a; color: #f5efe4; font-family: var(--display); font-style: italic; font-size: 1.02rem; line-height: 1.25; }
.essay .prose h2 { font-family: var(--display); font-weight: 500; font-size: 1.55rem; line-height: 1.2; margin: 2.2rem 0 0.7rem; }
.etriad { margin: 1.4rem 0 1.6rem; padding: 0.4rem 0 0.4rem 1.4rem; border-left: 3px solid var(--brass); font-family: var(--display); font-style: italic; font-size: 1.3rem; line-height: 1.4; }
.etriad p { margin: 0.2rem 0; }
.etable { overflow-x: auto; margin: 1.4rem 0 1.6rem; }
.etable table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.etable th { text-align: left; font-weight: 600; padding: 0.55rem 0.7rem; border-bottom: 2px solid var(--ink, currentColor); }
.etable td { padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.essay .prose blockquote.etriad { border-left: 3px solid var(--brass); color: var(--ink, inherit); font-size: 1.3rem; padding-left: 1.4rem; }
/* pull quote sits in the text flow; never sticky like the review sidebar */
.review .prose .pullq { position: static; top: auto; display: block; align-self: auto; }
