:root {
  --paper: #fbf5ed;
  --ink: #211913;
  --muted: #74675e;
  --line: #dfd0c1;
  --accent: #ad4f24;
  --accent-soft: #ead0bd;
  --measure: 44rem;
}

* { box-sizing: border-box; }
html { color-scheme: light; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.68; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
img, video, iframe { max-width: 100%; }
img { height: auto; }
.wrap { width: min(calc(100% - 2.5rem), 68rem); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: baseline; padding-block: 2rem; border-bottom: 1px solid var(--line); }
.wordmark { flex: none; font-size: 2.1rem; font-weight: 600; line-height: 1; text-decoration: none; letter-spacing: -.025em; white-space: nowrap; }
nav { display: flex; gap: 1.2rem; font-size: 1rem; }
nav a { text-decoration: none; color: var(--muted); }

/* Homepage field notebook */
.home-main { overflow: clip; }
.journal-entry {
  position: relative;
  padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(4.5rem, 9vw, 7rem);
  background:
    radial-gradient(circle at 8% 18%, rgba(173, 79, 36, .08), transparent 20rem),
    radial-gradient(circle at 94% 78%, rgba(116, 103, 94, .1), transparent 23rem);
}
.journal-entry::before, .journal-entry::after {
  position: absolute;
  width: clamp(11rem, 22vw, 22rem);
  aspect-ratio: 1;
  border: 1px solid rgba(173, 79, 36, .08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.journal-entry::before { top: 8%; left: clamp(-13rem, -10vw, -5rem); }
.journal-entry::after { right: clamp(-14rem, -11vw, -6rem); bottom: 4%; }
.journal-heading { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.journal-heading p { margin: 0; color: var(--muted); font: 700 .78rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.book-stage { position: relative; z-index: 1; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem; gap: clamp(.1rem, .7vw, .5rem); align-items: center; }
.book-volume {
  position: relative;
  height: clamp(31rem, 49vw, 38rem);
  padding: clamp(.55rem, 1vw, .75rem);
  border: 1px solid #672e1d;
  border-radius: .45rem 1rem 1rem .45rem;
  background: #823b24;
  box-shadow: 0 2.5rem 4.5rem rgba(53, 35, 24, .2), 0 .6rem 1.2rem rgba(53, 35, 24, .18), inset 0 0 0 1px rgba(255, 239, 219, .18);
  perspective: 2200px;
}
.book-volume::before {
  position: absolute;
  inset: .7rem auto .7rem .35rem;
  width: .38rem;
  border-radius: .25rem;
  background: rgba(58, 20, 10, .28);
  box-shadow: .12rem 0 rgba(255, 255, 255, .1);
  content: "";
}
.book-edge { position: absolute; z-index: 4; left: 3%; width: 94%; height: .45rem; border-radius: 50%; background: repeating-linear-gradient(90deg, #efe1cc 0 5px, #d8c3a8 5px 6px); pointer-events: none; }
.book-edge-top { top: .35rem; }
.book-edge-bottom { bottom: .35rem; filter: brightness(.82); }
.book-pages { position: relative; height: 100%; outline: none; touch-action: pan-y; }
.book-pages:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: .85rem; }
.book-pages::after {
  position: absolute;
  z-index: 8;
  top: .1rem;
  bottom: .1rem;
  left: 50%;
  width: 1.1rem;
  background: linear-gradient(90deg, transparent, rgba(70, 44, 27, .17) 42%, rgba(70, 44, 27, .29) 50%, rgba(255, 255, 255, .35) 58%, transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}
.book-spread { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); transform-style: preserve-3d; }
.book-spread[hidden] { display: none; }
.book-spread.is-entering-next, .book-spread.is-entering-previous { z-index: 1; }
.book-spread.is-exiting-next, .book-spread.is-exiting-previous { z-index: 3; }
.book-page {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 3.7rem) clamp(1.75rem, 4vw, 3.8rem);
  overflow: hidden;
  background-color: #fffaf1;
  background-image:
    linear-gradient(rgba(139, 105, 76, .035) 1px, transparent 1px),
    radial-gradient(circle at 12% 12%, rgba(173, 79, 36, .055), transparent 17rem);
  background-size: 100% 1.75rem, auto;
  box-shadow: inset 0 0 2.8rem rgba(108, 77, 50, .07);
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.book-page-left { border-radius: .55rem 0 0 .55rem; background-image: linear-gradient(to left, rgba(91, 60, 39, .1), transparent 11%), linear-gradient(rgba(139, 105, 76, .035) 1px, transparent 1px), radial-gradient(circle at 12% 12%, rgba(173, 79, 36, .055), transparent 17rem); background-size: auto, 100% 1.75rem, auto; transform-origin: right center; }
.book-page-right { border-radius: 0 .55rem .55rem 0; background-image: linear-gradient(to right, rgba(91, 60, 39, .09), transparent 11%), linear-gradient(rgba(139, 105, 76, .035) 1px, transparent 1px), radial-gradient(circle at 88% 82%, rgba(173, 79, 36, .05), transparent 16rem); background-size: auto, 100% 1.75rem, auto; transform-origin: left center; }
.book-profile-page { align-items: center; justify-content: center; gap: clamp(1.4rem, 3vw, 2.4rem); text-align: center; }
.portrait-note { position: relative; width: min(70%, 13rem); padding: .65rem .65rem 1rem; background: #fffdf8; box-shadow: 0 .65rem 1.4rem rgba(67, 42, 25, .16); transform: rotate(-2deg); }
.portrait-note img { display: block; width: 100%; aspect-ratio: 1; border: 1px solid #e8ddcf; filter: sepia(.08) saturate(.86); object-fit: cover; }
.portrait-note p { margin: .8rem 0 0; font-size: .95rem; font-style: italic; line-height: 1.3; }
.portrait-note p span { color: var(--muted); font: 600 .67rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.portrait-tape { position: absolute; z-index: 1; top: -.75rem; left: 50%; width: 4.7rem; height: 1.3rem; background: rgba(222, 190, 150, .66); box-shadow: inset 0 0 .2rem rgba(91, 60, 39, .08); transform: translateX(-50%) rotate(2deg); }
.book-profile-page blockquote { max-width: 24ch; margin: 0; color: var(--muted); font-size: clamp(.94rem, 1.5vw, 1.1rem); font-style: italic; line-height: 1.5; }
.book-title-page { justify-content: center; }
.book-overline, .section-kicker { margin: 0 0 1rem; color: var(--accent); font: 700 .76rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.book-title-page h1 { max-width: 8ch; margin: 0 0 clamp(1.2rem, 2.5vw, 2rem); font-size: clamp(2.9rem, 5.4vw, 5.2rem); font-weight: 500; line-height: .9; letter-spacing: -.055em; }
.book-intro { max-width: 34ch; margin: 0; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.6; }
.book-open, .book-read { display: inline-flex; gap: .7rem; align-items: center; align-self: flex-start; margin-top: clamp(1.4rem, 3vw, 2.3rem); padding: 0 0 .25rem; border: 0; border-bottom: 1px solid currentColor; color: var(--accent); background: transparent; font: 700 .8rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.book-open svg, .book-read svg { width: 1.8rem; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s ease; }
.book-open:hover svg, .book-read:hover svg { transform: translateX(.25rem); }
.book-open:focus-visible, .book-read:focus-visible { outline: 2px solid var(--accent); outline-offset: .35rem; }
.book-page-meta { display: flex; gap: .8rem; justify-content: space-between; align-items: baseline; margin-bottom: clamp(2.5rem, 5vw, 4.8rem); color: var(--muted); font: 700 .7rem/1.3 ui-sans-serif, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.book-page-meta span { color: var(--accent); }
.book-page-meta time { text-align: right; }
.book-page h2 { max-width: 13ch; margin: 0; font-size: clamp(1.8rem, 3.4vw, 3.15rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.book-page h2 a { text-decoration: none; }
.book-page h2 a:hover { color: var(--accent); }
.book-page-summary { max-width: 30ch; margin: 1.4rem 0 0; color: var(--muted); font-size: clamp(.96rem, 1.4vw, 1.08rem); line-height: 1.55; }
.book-read { margin-top: auto; }
.book-arrow { position: relative; z-index: 20; display: grid; width: 3.5rem; height: 7rem; padding: 0; place-items: center; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; pointer-events: auto; touch-action: manipulation; transition: color .2s ease, background-color .2s ease, transform .2s ease, opacity .2s ease; -webkit-tap-highlight-color: transparent; }
.book-arrow svg { width: 1.05rem; height: 2.75rem; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.book-arrow:hover:not(:disabled) { color: var(--accent); background: rgba(173, 79, 36, .07); transform: scale(1.04); }
.book-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: .2rem; }
.book-arrow:disabled { opacity: .2; cursor: default; }
.is-turning .book-pages { pointer-events: none; }
.is-dragging-next .is-active .book-page-right { transform: rotateY(calc(var(--drag-progress) * -18deg)); box-shadow: -.8rem 0 1.3rem rgba(65, 41, 24, calc(var(--drag-progress) * .16)); }
.is-dragging-previous .is-active .book-page-left { transform: rotateY(calc(var(--drag-progress) * 18deg)); box-shadow: .8rem 0 1.3rem rgba(65, 41, 24, calc(var(--drag-progress) * .16)); }
.is-exiting-next .book-page-right { animation: book-turn-next .72s cubic-bezier(.58, .02, .24, 1) both; }
.is-exiting-next .book-page-left { animation: book-fade-left .72s linear both; }
.is-exiting-previous .book-page-left { animation: book-turn-previous .72s cubic-bezier(.58, .02, .24, 1) both; }
.is-exiting-previous .book-page-right { animation: book-fade-right .72s linear both; }
@keyframes book-turn-next { 0% { transform: rotateY(0); box-shadow: 0 0 0 rgba(65, 41, 24, 0); } 50% { box-shadow: -1.5rem 0 2rem rgba(65, 41, 24, .2); } 100% { transform: rotateY(-178deg); box-shadow: -2rem 0 2.5rem rgba(65, 41, 24, 0); } }
@keyframes book-turn-previous { 0% { transform: rotateY(0); box-shadow: 0 0 0 rgba(65, 41, 24, 0); } 50% { box-shadow: 1.5rem 0 2rem rgba(65, 41, 24, .2); } 100% { transform: rotateY(178deg); box-shadow: 2rem 0 2.5rem rgba(65, 41, 24, 0); } }
@keyframes book-fade-left { 0%, 44% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes book-fade-right { 0%, 44% { opacity: 1; } 52%, 100% { opacity: 0; } }

.writing { padding-block: clamp(5rem, 10vw, 8rem); }
.writing-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 32rem); gap: 2rem; align-items: start; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.writing-heading h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; line-height: .95; letter-spacing: -.04em; }
.writing-heading > p { justify-self: end; max-width: 32rem; margin: .1rem 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.5; text-align: right; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 6.5rem 8rem; gap: clamp(1rem, 3vw, 2rem); align-items: baseline; padding: 1.35rem 0; text-decoration: none; font-size: 1.35rem; line-height: 1.25; }
.post-number, .post-topic { color: var(--muted); font: 700 .76rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.post-topic { text-align: left; }
.post-title { transition: transform .2s ease; }
.post-list a:hover .post-title { transform: translateX(.3rem); }
.post-list time { color: var(--muted); font: .9rem/1.2 ui-sans-serif, system-ui, sans-serif; text-align: right; white-space: nowrap; }
.post { max-width: var(--measure); padding-block: clamp(4rem, 10vw, 8rem); }
.post-header { margin-bottom: 3.5rem; }
.post-header h1 { margin: .55rem 0 0; font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.prose h2, .prose h3 { margin: 2.5em 0 .6em; line-height: 1.15; letter-spacing: -.02em; }
.prose h1 { font-size: 1.8rem; }
.prose h2.post-deck { margin: -1.25rem 0 2.75rem; color: var(--muted); font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.post-figure { margin: 2.75rem 0; }
.post-figure img { display: block; width: 100%; border: 1px solid var(--line); border-radius: .4rem; background: #111; }
.post-figure-lightened img { filter: brightness(1.35); }
.post-figure figcaption { margin-top: .7rem; color: var(--muted); font: .78rem/1.5 ui-sans-serif, system-ui, sans-serif; text-align: center; }
.prose img[data-lightbox-ready="true"] { cursor: zoom-in; }
.prose img[data-lightbox-ready="true"]:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 54%, transparent); outline-offset: 4px; }
body.image-lightbox-open { overflow: hidden; }
.image-lightbox[hidden] { display: none; }
.image-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; width: 100vw; height: 100vh; height: 100dvh; padding: calc(3.8rem + env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: #000; overscroll-behavior: contain; touch-action: none; }
.image-lightbox-stage { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
.image-lightbox-media { display: grid; min-width: 0; min-height: 0; place-items: center; }
.image-lightbox-image { display: block; max-width: 100%; max-height: 100%; border: 0; border-radius: 0; background: transparent; object-fit: contain; cursor: zoom-out; }
.image-lightbox-caption { max-width: min(52rem, calc(100vw - 2rem)); margin: .8rem auto 0; color: rgba(255, 255, 255, .82); font: 400 .72rem/1.45 ui-sans-serif, system-ui, sans-serif; text-align: center; }
.image-lightbox-close { position: absolute; top: max(.65rem, env(safe-area-inset-top)); right: max(.65rem, env(safe-area-inset-right)); z-index: 1; display: grid; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, .42); border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .6); font: 300 2rem/1 ui-sans-serif, system-ui, sans-serif; cursor: pointer; touch-action: manipulation; }
.image-lightbox-close:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.image-lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.post-figure-phone { width: min(100%, 23rem); margin-inline: auto; }
.post-figure-wide { width: min(68rem, calc(100vw - 2.5rem)); margin-left: 50%; transform: translateX(-50%); }
.post-footnote { color: var(--muted); font: .76rem/1.5 ui-sans-serif, system-ui, sans-serif; }
.post-media-pair { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(12rem, .75fr); gap: 1.5rem; align-items: center; width: min(68rem, calc(100vw - 2.5rem)); margin: 2.75rem 0 2.75rem 50%; transform: translateX(-50%); }
.post-media-pair .post-figure { margin: 0; }
.post-media-pair-even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.post-media-pair-even .post-figure img { aspect-ratio: 2 / 3; object-fit: cover; }
.player-reactions { display: grid; gap: .75rem; width: min(60rem, calc(100vw - 2.5rem)); margin: 2.75rem 0 2.75rem 50%; transform: translateX(-50%); }
.player-reactions img { display: block; width: 100%; border: 1px solid #303038; border-radius: .4rem; background: #1e1f22; }
.video-embed { overflow: hidden; width: min(68rem, calc(100vw - 2.5rem)); aspect-ratio: 16 / 9; margin: 2.75rem 0 2.75rem 50%; transform: translateX(-50%); border: 1px solid var(--line); border-radius: .4rem; background: #111; }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.post-figure-compact { width: min(100%, 20rem); margin-inline: auto; }
.soundboard { margin: 2.75rem 0; padding: 1.15rem; border: 1px solid var(--line); border-radius: .75rem; background: color-mix(in srgb, var(--paper) 76%, var(--accent-soft)); }
.soundboard-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: .8rem; font-family: ui-sans-serif, system-ui, sans-serif; }
.soundboard-heading strong { font-size: .9rem; letter-spacing: .02em; }
.soundboard-heading span { color: var(--muted); font-size: .72rem; }
.sound-grid { display: grid; gap: .6rem; }
.sound-button { display: grid; grid-template-columns: 2.45rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; width: 100%; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .55rem; color: var(--ink); background: #fffaf4; text-align: left; cursor: pointer; }
.sound-button:hover { border-color: color-mix(in srgb, var(--accent) 58%, var(--line)); background: #fff; }
.sound-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 34%, transparent); outline-offset: 2px; }
.sound-icon { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; border-radius: 50%; color: #fff; background: var(--accent); }
.sound-icon svg { width: 1.25rem; fill: currentColor; }
.sound-meta { display: grid; min-width: 0; font-family: ui-sans-serif, system-ui, sans-serif; }
.sound-meta strong { overflow: hidden; font-size: .84rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.sound-meta small { color: var(--muted); font-size: .69rem; line-height: 1.35; }
.sound-status { color: var(--accent); font: 700 .68rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.sound-button.is-playing .sound-icon { animation: sound-pulse 1.1s ease-in-out infinite; background: var(--ink); }
@keyframes sound-pulse { 50% { transform: scale(1.07); box-shadow: 0 0 0 .35rem color-mix(in srgb, var(--accent) 20%, transparent); } }
.prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); color: var(--muted); }
.prose pre { overflow-x: auto; padding: 1rem; border: 1px solid var(--line); background: #eeebe4; font-size: .85rem; }
.prose hr { margin-block: 3.5rem; border: 0; border-top: 1px solid var(--line); }
.post-closing-question { margin: 3.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.footnote-ref { position: relative; display: inline-block; width: 1.9em; height: 1em; margin-left: .1em; font: 700 .75em/1 ui-sans-serif, system-ui, sans-serif; vertical-align: super; }
.footnote-ref a { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 0; color: var(--accent); background: transparent; box-shadow: none; text-decoration: none; transform: translate(-50%, -50%); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.footnote-ref a::before { margin-right: .06em; content: "["; }
.footnote-ref a::after { margin-left: .06em; content: "]"; }
.footnote-ref a:hover, .footnote-ref a:focus-visible { text-decoration: underline; text-underline-offset: .16em; }
.post-footnotes { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.prose .post-footnotes h2 { margin: 0 0 1.5rem; font-size: 1.25rem; }
.post-footnotes ol { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.post-footnotes li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: .7rem; align-items: start; margin: 0; scroll-margin-top: 2rem; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.post-footnotes li:target { color: var(--ink); }
.post-footnotes li p { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.footnote-backref { display: inline-flex; gap: .18rem; align-items: center; justify-content: center; width: 3.25rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); font: 700 .7rem/1 ui-sans-serif, system-ui, sans-serif; text-decoration: none; touch-action: manipulation; }
.footnote-return-icon { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footnote-backref:hover, .footnote-backref:focus-visible { color: #fff; background: var(--accent); border-color: var(--accent); }
.footnote-ref a:focus-visible { outline: none; text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .16em; }
.footnote-backref:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-comments { margin-top: 5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.post-comments-kicker { margin: 0 0 .35rem; color: var(--accent); font: 700 .72rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.prose .post-comments h2 { margin: 0 0 .8rem; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.post-comments-action { display: inline-flex; gap: .35rem; align-items: center; margin-top: .4rem; padding: .65rem .9rem; border: 1px solid var(--accent); border-radius: 999px; color: #fff; background: var(--accent); font: 700 .78rem/1 ui-sans-serif, system-ui, sans-serif; text-decoration: none; }
.post-comments-action:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 2rem; }
.section-permalink { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; margin-left: .12em; color: var(--accent); font: 700 .7em/1 ui-sans-serif, system-ui, sans-serif; text-decoration: none; vertical-align: .08em; opacity: .55; touch-action: manipulation; }
.section-permalink::before { position: absolute; top: 50%; left: 50%; width: 2.75rem; height: 2.75rem; content: ""; transform: translate(-50%, -50%); }
.section-permalink:hover, .section-permalink:focus-visible { color: var(--accent); opacity: 1; }
.section-permalink:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prose .head_anchor { display: none; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2rem 3rem; border-top: 1px solid var(--line); color: var(--muted); font: .88rem/1.5 ui-sans-serif, system-ui, sans-serif; }
.site-footer p { margin: 0; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-header { flex-wrap: wrap; gap: .65rem 1rem; align-items: center; }
  .site-header nav { margin-left: auto; }
  nav { gap: .8rem; }
  .journal-heading { display: grid; gap: .45rem; text-align: center; }
  .journal-entry { padding-top: 2rem; }
  .book-stage { display: block; width: min(calc(100% - 2rem), 31rem); }
  .book-volume { height: 39rem; padding: .5rem; border-radius: .45rem .8rem .8rem .45rem; }
  .book-volume::before { inset: .55rem auto .55rem .25rem; }
  .book-pages::after { top: 50%; right: .1rem; bottom: auto; left: .1rem; width: auto; height: 1rem; background: linear-gradient(transparent, rgba(70, 44, 27, .14) 43%, rgba(70, 44, 27, .24) 50%, rgba(255, 255, 255, .3) 58%, transparent); transform: translateY(-50%); }
  .book-spread { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .book-page { padding: 1.55rem 1.8rem; }
  .book-page-left { border-radius: .4rem .4rem 0 0; background-image: linear-gradient(to top, rgba(91, 60, 39, .09), transparent 14%), linear-gradient(rgba(139, 105, 76, .035) 1px, transparent 1px), radial-gradient(circle at 12% 12%, rgba(173, 79, 36, .055), transparent 17rem); background-size: auto, 100% 1.75rem, auto; transform-origin: center bottom; }
  .book-page-right { border-radius: 0 0 .4rem .4rem; background-image: linear-gradient(to bottom, rgba(91, 60, 39, .08), transparent 14%), linear-gradient(rgba(139, 105, 76, .035) 1px, transparent 1px), radial-gradient(circle at 88% 82%, rgba(173, 79, 36, .05), transparent 16rem); background-size: auto, 100% 1.75rem, auto; transform-origin: center top; }
  .book-profile-page { flex-direction: row; gap: 1rem; }
  .portrait-note { width: min(44%, 8rem); padding: .4rem .4rem .65rem; }
  .portrait-note p { margin-top: .45rem; font-size: .8rem; }
  .portrait-note p span { font-size: .54rem; }
  .portrait-tape { top: -.5rem; width: 3rem; height: .85rem; }
  .book-profile-page blockquote { max-width: 14ch; font-size: .9rem; text-align: left; }
  .book-title-page h1 { margin-bottom: .8rem; font-size: 2.65rem; }
  .book-intro { font-size: .9rem; line-height: 1.45; }
  .book-overline { margin-bottom: .55rem; font-size: .62rem; }
  .book-open { margin-top: 1rem; font-size: .66rem; }
  .book-page-meta { margin-bottom: 1rem; font-size: .58rem; }
  .book-page h2 { max-width: 18ch; font-size: clamp(1.45rem, 7vw, 1.85rem); }
  .book-page-summary { max-width: 37ch; margin-top: .7rem; font-size: .8rem; line-height: 1.4; }
  .book-read { margin-top: auto; font-size: .62rem; }
  .book-arrow { position: absolute; z-index: 20; top: 50%; width: 3.25rem; height: 5.5rem; border: 1px solid rgba(173, 79, 36, .15); border-radius: 999px; background: rgba(251, 245, 237, .9); box-shadow: 0 .3rem .8rem rgba(53, 35, 24, .08); transform: translateY(-50%); }
  .book-arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.04); }
  .book-arrow-previous { left: -1.05rem; }
  .book-arrow-next { right: -1.05rem; }
  .is-exiting-next .book-page-right, .is-exiting-next .book-page-left, .is-exiting-previous .book-page-left, .is-exiting-previous .book-page-right { animation: none; }
  .is-exiting-next { animation: mobile-book-next .55s ease both; }
  .is-exiting-previous { animation: mobile-book-previous .55s ease both; }
  .writing-heading { grid-template-columns: 1fr; gap: 1rem; }
  .writing-heading > p { justify-self: start; text-align: left; }
  .post-list a { grid-template-columns: 2rem minmax(0, 1fr); gap: .45rem 1rem; }
  .post-topic { grid-column: 2; }
  .post-list time { grid-column: 2; }
  .post-media-pair { grid-template-columns: 1fr; }
  .post-media-pair-even { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .soundboard-heading { display: grid; gap: .2rem; }
  .sound-button { grid-template-columns: 2.45rem minmax(0, 1fr); }
  .sound-status { display: none; }
  .site-footer { flex-direction: column; }
}

@keyframes mobile-book-next { to { opacity: 0; transform: translateX(-8%) rotate(-1deg); } }
@keyframes mobile-book-previous { to { opacity: 0; transform: translateX(8%) rotate(1deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .book-page, .book-spread, .book-arrow, .book-open svg, .book-read svg, .post-title { animation: none !important; transition: none !important; }
}
