:root {
  color-scheme: dark;
  --ink: #100f0e;
  --paper: #f5eee6;
  --muted: #d2c6bb;
  --red: #f0837e;
  --line: #3b302e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 5rem; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.6 var(--sans); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: inherit; text-underline-offset: .32em; }
a:hover { color: var(--red); }
a:focus-visible { outline: 2px solid #ffaaa1; outline-offset: 5px; }
.skip { position: fixed; top: .5rem; left: 1rem; z-index: 5; padding: .65rem 1rem; background: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead { position: sticky; top: 0; z-index: 2; background: #100f0e; border-bottom: 1px solid var(--line); }
.masthead-inner { max-width: 96rem; min-height: 4.2rem; margin: auto; padding: .45rem clamp(1rem, 4vw, 4rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { font: 700 1.12rem/1.2 ui-monospace, monospace; text-decoration: none; white-space: nowrap; }
.brand span { margin-right: .35rem; color: var(--red); }
nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2.4rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: none; }
nav a:last-child { color: var(--red); }
.hero { display: grid; position: relative; align-items: center; grid-template-columns: 54% 46%; min-height: max(38rem, min(56.28vw, 56rem)); isolation: isolate; background: #191412; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: left center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 36%, #140f0d28 47%, #12100ee8 100%); }
.hero-copy { grid-column: 2; max-width: 48rem; padding: 3.5rem clamp(1.4rem, 4vw, 4rem) 3.5rem 0; }
.label, .button, .text-link { font: 650 .875rem/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.label { color: var(--red); }
h1 { font: 400 clamp(2rem, 3.5vw, 4rem)/1.08 var(--serif); letter-spacing: -.065em; margin: 1.35rem 0 1.5rem; }
h1 em { color: #efd2c9; font-size: .82em; font-weight: 400; }
.hero-copy > p:not(.label) { max-width: 39ch; font-size: .9375rem; color: var(--muted); }
.hero-copy > p + p { margin-top: .6rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.35rem; margin: 1.55rem 0 1.05rem; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
.button { background: #ad343a; color: white; padding: .8rem 1.15rem; text-decoration: none; }
.button:hover { background: #bd4045; color: white; }
.date { font-size: .875rem; }
.section { padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.story { max-width: 67rem; margin: auto; display: grid; grid-template-columns: 1fr 3fr; gap: 1.25rem 3rem; }
.story .label { padding-top: .55rem; }
.prose { max-width: 63ch; font: 1.125rem/1.65 var(--serif); }
.prose p + p { margin-top: 1rem; }
.prose p:first-of-type { font-size: 1.45em; line-height: 1.16; }
.excerpt { background: #211817; }
.excerpt-inner { max-width: 51rem; margin: auto; }
.excerpt figure { padding-left: clamp(1rem, 3vw, 2.3rem); border-left: 2px solid #b84948; }
.excerpt figure + figure { margin-top: 1.65rem; }
blockquote { font: italic clamp(1.35rem, 2.8vw, 2.15rem)/1.46 var(--serif); }
figcaption { color: var(--muted); margin-top: 1.15rem; }
.editions { max-width: 67rem; margin: auto; display: grid; align-items: center; grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); }
.cover img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.editions h2, .authors h2 { font: 400 clamp(2rem, 4.5vw, 3.8rem)/1.1 var(--serif); letter-spacing: -.035em; }
.edition { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.35rem; }
.edition h3 { font: 400 1.55rem/1.2 var(--serif); margin-bottom: .35rem; }
.edition .button { margin-top: .85rem; }
.edition p, .authors p { color: var(--muted); }
.authors { text-align: center; background: #171413; }
.authors h2 a { text-decoration-color: var(--red); text-decoration-thickness: 1px; }
.authors p { margin-top: .85rem; }
footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding: 1rem clamp(1rem, 4vw, 4rem); color: var(--muted); font-size: .875rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1000px) and (min-width: 761px) {
  .hero { min-height: 34rem; }
}
@media (max-width: 760px) {
  .hero { display: block; min-height: auto; background: #191412; }
  .hero-art { display: block; position: static; aspect-ratio: 900 / 941; overflow: hidden; max-height: 27rem; }
  .hero-art img { object-fit: cover; object-position: left center; }
  .hero::after { content: none; }
  .hero-copy { margin: auto; padding: 1.9rem 1.25rem 2.65rem; }
  h1 { font-size: clamp(2.25rem, 8vw, 4rem); line-height: 1.04; }
  .story { grid-template-columns: 1fr; }
}
@media (min-width: 460px) and (max-width: 760px) {
  .hero-art { aspect-ratio: auto; height: 27rem; }
  .hero-art img { object-fit: contain; object-position: center; }
}
@media (max-width: 440px) {
  .editions { grid-template-columns: 1fr; }
  .cover { width: min(10rem, 52%); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 459px) {
  .hero-art { max-height: min(82vw, 20rem); }
  .hero-art img { object-fit: contain; object-position: center; }
  .hero-copy { padding-top: 1.45rem; }
  .actions { margin-top: 1.15rem; }
}
@media (max-width: 345px) {
  .nav-story { display: none; }
}
