:root {
  --paper: #f6eddc;
  --ink: #20201c;
  --teal: #17606a;
  --orange: #e34b21;
  --yellow: #f3bb31;
  --red: #b33228;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.125rem; line-height: 1.65; }
a { color: var(--teal); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--ink); }
.skip { position: absolute; top: -100px; left: 1rem; padding: .5rem 1rem; background: var(--paper); z-index: 10; }
.skip:focus { top: 1rem; }
.brand, nav, .quiet, .site-footer { font-family: 'Courier New', Courier, monospace; }
.brand { display: inline-block; color: var(--ink); font-size: 1.7rem; font-weight: bold; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.brand::after { content: ''; display: block; width: 4rem; height: 3px; background: var(--orange); margin-top: .5rem; transform: rotate(-1deg); }
nav { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; margin-top: 4rem; font-size: 1.15rem; }
nav a { display: inline-block; position: relative; color: var(--ink); text-decoration: none; padding-inline: .15rem; }
nav a:hover { text-decoration: underline; }
nav a[aria-current='page'] { background: var(--yellow); box-shadow: -.4rem 0 var(--yellow), .6rem 0 var(--yellow); font-weight: bold; }
/* Home: editable type over one screen-printed background. */
.home-body { position: relative; isolation: isolate; width: 100%; min-height: 0; aspect-ratio: 3 / 2; }
.home-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.home-body .site-header { position: absolute; top: 8%; left: 4%; }
.home-body .brand { font-size: clamp(1.5rem, 2.1vw, 2.1rem); }
.home-body nav { margin-top: clamp(3rem, 5.5vw, 5.5rem); font-size: clamp(1rem, 1.5vw, 1.5rem); }
.home { padding-top: 20%; margin-left: 17%; width: 37%; }
.home h1 { font-family: 'Courier New', Courier, monospace; font-size: clamp(1.8rem, 3.25vw, 3.4rem); font-weight: bold; line-height: 1.25; letter-spacing: -.025em; margin: 0; }
.home-quote { position: absolute; left: 4%; bottom: 9%; margin: 0; max-width: 29%; font-family: 'Courier New', Courier, monospace; font-size: clamp(.9375rem, 1.3vw, 1.35rem); line-height: 1.5; }
.home-quote::before { content: ''; display: block; width: 4rem; height: 3px; background: var(--orange); margin-bottom: 1.5rem; transform: rotate(-1deg); }
.home-quote p { margin: 0; }
/* Interior pages share the sidebar, with a quiet reading column. */
.interior-body { display: grid; grid-template-columns: 12rem minmax(0, 42rem); gap: 0 3rem; max-width: 78rem; padding: 4rem; margin-inline: auto; }
.interior-body .site-header { align-self: start; position: sticky; top: 3rem; grid-row: 1 / 3; }
.page { min-width: 0; margin: 0 0 5rem; padding-top: 6.5rem; }
.page h1 { margin: 0 0 2rem; font-size: clamp(2.75rem, 7vw, 4rem); font-weight: normal; letter-spacing: -.04em; line-height: 1.1; }
.page h1::after { content: ''; display: block; width: 3rem; height: 4px; margin-top: 1.25rem; background: var(--orange); }
.page h2 { margin-top: 2.5rem; font-size: 1.4rem; line-height: 1.3; }
.page p { margin: 0 0 1.3rem; }
.portrait { width: 9rem; height: 9rem; object-fit: cover; float: right; margin: .25rem 0 1.5rem 2rem; border: 1px solid var(--ink); }
.book { padding-block: 1.5rem; border-top: 1px solid var(--ink); }
.book h2 { margin: 0 0 .25rem; }
.book .author { font-size: 1rem; color: var(--teal); margin-bottom: .75rem; }
.quiet { font-size: .875rem; color: #575249; }
.site-footer { clear: both; grid-column: 2; border-top: 1px solid var(--ink); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .875rem; }
.site-footer a { color: var(--ink); }
@media (min-width: 1600px) { .home-body { max-width: 1600px; margin-inline: auto; } }
@media (max-width: 1000px) {
  .home-body { aspect-ratio: auto; min-height: 0; }
  .home-body .site-header, .interior-body .site-header { position: static; padding: 2rem 1.5rem 0; }
  .home-body .brand, .brand { font-size: 1.7rem; }
  nav, .home-body nav { flex-direction: row; flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 2rem; font-size: 1rem; }
  .home {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 2rem 0 0;
    padding: 4%;
    display: flex;
    align-items: center;
    background: var(--paper) url('assets/home-art.webp') center / 100% 100% no-repeat;
  }
  .home h1 {
    width: 49%;
    font-size: clamp(1rem, 4vw, 2rem);
    line-height: 1.3;
    overflow-wrap: break-word;
  }
  .desktop-break { display: none; }
  .home-art { display: none; }
  .home-quote { position: static; max-width: 28rem; margin: 2rem 1.5rem 3rem; font-size: 1rem; }
  .home-quote::before { margin-bottom: 1rem; }
  .interior-body { display: block; padding: 0; }
  .page { margin: 3rem auto 4rem; padding: 0 1.5rem; max-width: 42rem; }
  .site-footer { margin-inline: 1.5rem; }
  .portrait { width: 7rem; height: 7rem; margin-left: 1rem; }
}
@media (max-width: 360px) { .portrait { float: none; margin: 0 0 1.5rem; } }
