:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #272c28;
  --deep: #253e35;
  --muted: #4c5c53;
  --accent: #9b422e;
  --line: #d5dde1;
  --wash: #f0f4f6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: var(--deep); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
.skip { position: absolute; z-index: 5; top: 0; left: .75rem; transform: translateY(-160%); background: var(--paper); padding: .6rem 1rem; }
.skip:focus { transform: translateY(.4rem); }
.container { width: min(100% - 4rem, 70rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { font: 700 1.43rem/1 var(--serif); letter-spacing: -.035em; text-decoration: none; color: var(--deep); }
.site-nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(.9rem, 3vw, 2.15rem); font-size: .9375rem; }
.site-nav a { text-decoration: none; padding: .45rem 0; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }
.site-footer { margin-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 1.25rem; padding-block: .6rem; }
.footer-inner a { padding-block: .2rem; color: var(--muted); font-size: .875rem; }
.footer-inner a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--deep); font-family: var(--serif); font-weight: 400; line-height: 1.09; text-wrap: pretty; }
h1 { font-size: clamp(2.9rem, 7.8vw, 6.7rem); margin: 0; letter-spacing: -.065em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); letter-spacing: -.035em; }
h3 { font-size: 1.55rem; letter-spacing: -.025em; }
h4 { font-size: 1.35rem; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; min-height: clamp(24rem, 41vw, 35.5rem); margin-top: 2.1rem; padding: clamp(2rem, 4.7vw, 4.4rem); gap: 1rem 2rem; background: var(--wash); }
.home-hero h1 { font-size: clamp(3.8rem, 8.65vw, 7.6rem); margin-left: -.055em; }
.home-hero p { margin: 1.35rem 0 0; font-size: 1.05rem; }
.home-hero p span { margin-inline: .42rem; color: var(--muted); }
.home-portrait { width: min(100%, 21rem); justify-self: end; }
.home-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 2.85rem 0 0; list-style: none; border-block: 1px solid var(--line); }
.home-directory > li + li { border-inline-start: 1px solid var(--line); }
.home-directory a { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 1.25rem 1.05rem 1.45rem; gap: .45rem; text-decoration: none; }
.home-directory a:hover, .home-directory a:focus-visible { background: var(--wash); }
.home-directory .label { color: var(--accent); font-size: .875rem; font-weight: 650; }
.home-directory .entry-title { font: 1.45rem/1.16 var(--serif); color: var(--deep); text-wrap: pretty; }
.home-directory a:hover .entry-title { text-decoration: underline; text-decoration-thickness: 1px; }
.page-header { padding: clamp(3rem, 8vw, 6.3rem) 0 2rem; border-bottom: 1px solid var(--line); }
.page-header h1 { max-width: 16ch; }
.page-header p { color: var(--muted); margin: 0 0 .7rem; font-size: .9375rem; }
.reading, .profile-content { width: min(100%, 43rem); }
.reading { margin: 2.1rem auto 0; }
.profile-content { margin: 2rem 0 0; }
.prose { overflow-wrap: break-word; }
.prose mark { background: var(--wash); color: inherit; }
.prose p { margin: 0 0 1.15em; }
.prose :is(ul, ol) { padding-inline-start: 1.5rem; margin: 0 0 1.3rem; }
.prose li + li { margin-top: .35em; }
.prose :is(h2,h3,h4) { margin: 1.6em 0 .5em; }
.prose > :first-child, .prose section > :first-child { margin-top: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.7rem 0; }
.prose blockquote { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.2rem; border-inline-start: 2px solid var(--accent); }
.prose figure { margin: 2rem 0; }
.prose figure img { margin-inline: auto; }
.prose img { border-radius: .15rem; }
.prose figcaption { font: .9rem/1.45 var(--sans); color: var(--muted); margin-top: .55rem; text-align: center; }
.prose img + br { display: none; }
.prose .has-text-align-center { text-align: center; }
.prose .has-text-align-right { text-align: right; }
.prose .wp-block-media-text { display: grid; gap: 1.3rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; margin-block: 2rem; }
.prose .wp-block-media-text figure { margin: 0; }
.prose .wp-block-media-text.has-media-on-the-right figure { order: 1; }
.prose .wp-block-media-text__content > p:last-child { margin-bottom: 0; }
.profile-content .wp-block-image:first-child { margin: 0 0 1.85rem; }
.profile-content .wp-block-image:first-child img { margin-inline: 0; max-height: 12rem; width: auto; }
.profile-content h2 { margin-top: 1.4em; }
.profile-content h2.first-heading { margin-top: 0; }
.profile-content .work-contact { margin-top: 2rem; padding: 1.6rem; background: var(--wash); }
.profile-content .work-contact h2 { margin: 0 0 .65rem; font-size: 1.75rem; }
.profile-content .work-contact p { margin: 0; }
.remix { --deep: #57372c; --muted: #624c43; --accent: #953e24; --line: #e1dad7; --wash: #f5f2f1; }
.remix-hero { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 1.6rem 2.5rem; background: var(--wash); padding: clamp(2.25rem, 5vw, 4.25rem); margin-top: 2rem; }
.remix-hero h1 { font-size: clamp(3.3rem, 8.5vw, 7.1rem); }
.remix-hero .series-name { color: var(--accent); margin: 0 0 .7rem; font-size: .9375rem; }
.remix-hero blockquote { margin: 0; color: var(--deep); font: clamp(1.35rem, 2.5vw, 2rem)/1.35 var(--serif); }
.remix-hero blockquote p { margin: 0 0 .65rem; }
.remix-hero cite { display: block; font: .9375rem/1.5 var(--sans); color: var(--muted); }
.chapter-layout { display: grid; grid-template-columns: 1fr 2.1fr; gap: 1rem 3rem; margin-top: 3.2rem; align-items: start; }
.chapter-layout h2 { margin: 0 0 .55rem; }
.chapter-layout .intro-link { margin: 0; }
.chapter-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.chapter-list li { border-bottom: 1px solid var(--line); }
.chapter-list a { display: block; padding: 1.05rem .5rem 1.2rem; text-decoration: none; }
.chapter-list a:hover { background: var(--wash); }
.chapter-list h3 { margin: 0 0 .3rem; }
.chapter-list a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.chapter-list p { margin: 0; color: var(--ink); }
.chapter-header { max-width: 55rem; margin-inline: auto; }
.chapter-header h1 { font-size: clamp(2.7rem, 6vw, 5.1rem); max-width: 19ch; }
.chapter { font: clamp(1.15rem, 2vw, 1.25rem)/1.64 var(--serif); }
.chapter .image-link { display: block; }
.chapter-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.1rem; margin: 2.6rem auto 0; padding-top: 1.1rem; border-top: 1px solid var(--line); font: .95rem/1.45 var(--sans); }
.chapter-nav p { margin: 0; }
.chapter-nav small { display: block; margin-bottom: .2rem; color: var(--muted); font-size: .875rem; }
.chapter-nav .index { text-align: center; }
.chapter-nav .next { text-align: right; }
@media (max-width: 54rem) {
  .home-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-directory > li:nth-child(3) { border-inline-start: 0; }
  .home-directory > li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 43rem) {
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: auto; padding: .82rem 0; flex-wrap: wrap; gap: .5rem 1.5rem; }
  .site-nav { gap: .15rem 1rem; }
  .home-hero { margin-top: 1.15rem; min-height: 0; padding: 1.5rem 1rem; grid-template-columns: 1fr; gap: 1.5rem; }
  .home-hero h1 { font-size: clamp(3.25rem, 13.4vw, 6.5rem); }
  .home-hero p { margin-top: .85rem; }
  .home-portrait { justify-self: center; width: min(100%, 14rem); }
  .home-directory { margin-top: 1.7rem; }
  .home-directory a { padding: .85rem .65rem 1rem; gap: .35rem; }
  .home-directory .entry-title { font-size: 1.2rem; }
  .remix-hero { grid-template-columns: 1fr; margin-top: 1.15rem; gap: 1.8rem; }
  .remix-hero h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .chapter-layout { grid-template-columns: 1fr; margin-top: 2rem; }
  .prose .wp-block-media-text { grid-template-columns: 1fr; }
  .prose .wp-block-media-text.has-media-on-the-right figure { order: 0; }
  .chapter-nav { gap: .55rem; }
}
