@font-face {
  font-family: "Edition Roman";
  src: url("/assets/fonts/edition-roman.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Edition Roman";
  src: url("/assets/fonts/edition-italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #100f10;
  --paper: #f6ecdf;
  --body: #d8cfc6;
  --muted: #b4a89d;
  --gold: #d9b685;
  --edge: #38312e;
  --serif: "Edition Roman", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 7vw, 7.25rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #f5ce8e; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
::selection { color: #fff9ef; background: #764546; }
.wrap { width: 100%; max-width: 94rem; padding-inline: var(--gutter); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -8rem; z-index: 10; background: var(--gold); color: #1a1310; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
.icon { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.masthead { position: relative; z-index: 2; background: #100f10; border-bottom: 1px solid #3b3430; }
.mast-inner { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: max-content; color: #f1e6d7; }
.brand-mark { width: 2.75rem; height: 2.75rem; flex: none; }
.brand span { font: 400 2.12rem/1 var(--serif); letter-spacing: -.055em; white-space: nowrap; }
.navigation { display: flex; align-items: center; gap: clamp(1.5rem, 2.8vw, 3rem); }
.navigation a { position: relative; padding-block: .55rem; font-size: .9rem; letter-spacing: .012em; line-height: 1.5; color: #c7beb4; }
.navigation a[aria-current], .navigation a:hover { color: var(--paper); }
.navigation a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; bottom: .16rem; background: var(--gold); }
.hero { isolation: isolate; position: relative; display: grid; align-items: center; min-height: clamp(31rem, 42vw, 43.5rem); background: #171313; }
.hero-art, .hero::before, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: 68% 47%; }
.hero::before {
  content: ""; z-index: -1;
  background: linear-gradient(90deg, #100f11f5 0%, #100f11dd 22%, #100f1185 46%, #16121318 69%, transparent 87%),
              linear-gradient(0deg, #110f10b5, transparent 29%);
}
.hero-inner { padding-block: clamp(3.75rem, 6.8vw, 7rem); }
.eyebrow { font: 550 .85rem/1.4 var(--sans); letter-spacing: .13em; color: var(--gold); }
.featured-label { display: flex; align-items: center; gap: .9rem; }
.featured-label::before { content: ""; width: 2.3rem; height: 1px; background: var(--gold); }
.hero h1 { margin: 1.15rem 0 .5rem; font-size: clamp(2rem, 5.65vw, 5.8rem); line-height: 1.06; letter-spacing: -.055em; white-space: nowrap; }
.hero h1 em { font-weight: 400; letter-spacing: -.062em; }
.volume-line { display: flex; align-items: center; gap: 1rem; line-height: 1.3; color: var(--gold); }
.volume-line span { font: 550 .875rem/1.4 var(--sans); letter-spacing: .12em; }
.volume-line i { width: 1.6rem; height: 1px; background: #a88960; }
.volume-line em { font: italic 400 clamp(1.42rem, 1.95vw, 2rem)/1.2 var(--serif); letter-spacing: -.025em; }
.hero-summary { max-width: 30rem; margin-top: 1.5rem; color: #e7ded3; font-size: clamp(1rem, 1.17vw, 1.1rem); line-height: 1.68; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .64rem; border: 1px solid transparent; border-radius: .18rem; padding: .66rem 1.25rem; font-size: .94rem; font-weight: 550; line-height: 1.35; transition: background-color .18s, border-color .18s, color .18s; }
.primary { background: #dfc194; color: #201710; border-color: #e6cda4; }
.primary:hover { background: #f2d6ab; border-color: #f6dcb4; }
.secondary { background: #151112b5; color: #f2e6d8; border-color: #96816b; }
.secondary:hover { background: #392c26; border-color: #d9b98e; }
.books-section { position: relative; padding-block: clamp(3rem, 5vw, 5rem) clamp(3.25rem, 5.9vw, 6rem); border-top: 1px solid #6b5240; }
.section-heading { display: flex; align-items: center; gap: 1.7rem; margin-bottom: clamp(1.45rem, 2.3vw, 2.35rem); }
.section-heading h2, .author-copy h2 { font-size: clamp(2.35rem, 3.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.05em; }
.section-heading > span { height: 1px; flex: 1; background: linear-gradient(90deg, #645044, var(--edge)); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3.2rem); }
.book { min-width: 0; }
.poster-mount { position: relative; display: grid; place-items: center; isolation: isolate; height: clamp(18.5rem, 34vw, 31rem); padding: clamp(1.2rem, 2.1vw, 2.1rem); border: 1px solid #453334; }
.poster-mount.primordial { background: radial-gradient(ellipse at 50% 49%, #613039, #2d1a20 50%, #1a1417 91%); }
.poster-mount.beyond { border-color: #3e3548; background: radial-gradient(ellipse at 50% 49%, #4c365f, #272033 50%, #17151c 91%); }
.poster-mount img { height: 100%; width: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 .55rem .85rem #070609b0); }
.book figcaption { margin-top: 1.1rem; padding-bottom: 1.05rem; border-bottom: 1px solid var(--edge); }
.book h3 { font-size: clamp(1.6rem, 2.35vw, 2.5rem); letter-spacing: -.045em; line-height: 1.18; }
.book figcaption p { color: var(--gold); font-size: .875rem; margin-top: .3rem; }
.author-section { border-top: 1px solid #3b312f; border-bottom: 1px solid #352c2c; background: radial-gradient(ellipse at 12% 0, #2a1c20, transparent 61%), #171416; }
.author-inner { padding-block: clamp(3.25rem, 5.75vw, 5.9rem); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .72fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.author-copy .eyebrow, .preview .eyebrow, .reading-copy .eyebrow { letter-spacing: .11em; }
.author-copy h2 { margin: .9rem 0 .6rem; max-width: 17em; }
.author-line { max-width: 37rem; color: var(--body); line-height: 1.65; }
.socials { display: flex; gap: 1.4rem; margin-top: 1.15rem; flex-wrap: wrap; }
.socials a { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .5rem; color: #ddbf98; font-size: .9rem; }
.socials a:hover { color: #fff0d7; text-decoration: underline; text-underline-offset: .24em; }
.quotation { padding: .45rem 0 .45rem 1.5rem; border-left: 1px solid #9d7954; max-width: 23rem; }
.quotation blockquote { color: #e2d7c9; font: italic 400 1.15rem/1.48 var(--serif); text-wrap: pretty; }
.quotation figcaption { margin-top: .7rem; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.site-footer { padding: 1.55rem var(--gutter); text-align: center; color: var(--muted); font-size: .8125rem; }
.preview { position: fixed; inset: 0; max-width: min(39.5rem, calc(100vw - 2.5rem)); width: 100%; max-height: min(84dvh, 52rem); height: max-content; overflow-y: auto; overscroll-behavior: contain; margin: auto; padding: 0; color: var(--paper); border: 1px solid #7d6653; border-radius: .2rem; background: #1b1718; box-shadow: 0 2rem 8rem #0009; }
.preview::backdrop { background: #080608cc; backdrop-filter: blur(4px); }
body:has(.preview[open]) { overflow: hidden; }
.preview-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 4.2rem; padding: .75rem clamp(1.4rem, 3.5vw, 2.5rem); background: #1b1718; border-bottom: 1px solid #403634; }
.close { display: inline-grid; width: 2.65rem; height: 2.65rem; place-items: center; margin-right: -.55rem; background: transparent; border: 1px solid transparent; border-radius: 50%; cursor: pointer; }
.close:hover { border-color: var(--edge); background: #30292a; }
.close .icon { width: 1.2rem; height: 1.2rem; }
.preview-content { padding: 1.65rem clamp(1.4rem, 3.5vw, 2.5rem) 2.35rem; }
.preview h2, .reading-copy h1 { font-size: clamp(2.1rem, 3.35vw, 3.35rem); line-height: 1.1; letter-spacing: -.05em; }
.synopsis-text { max-width: 65ch; margin-top: 1.3rem; font-size: 1rem; line-height: 1.67; color: var(--body); }
.synopsis-text p + p { margin-top: .78rem; }
.synopsis-text p:first-child { font: italic 400 1.4rem/1.35 var(--serif); color: #e6c798; }
.reading-page { min-height: calc(100svh - 10rem); padding: clamp(2.7rem, 7vw, 6rem) var(--gutter); background: radial-gradient(ellipse at 50% 0, #2a1d21, transparent 76%); border-bottom: 1px solid var(--edge); }
.reading-copy { max-width: 39rem; margin-inline: auto; }
.reading-copy .eyebrow { margin-bottom: .75rem; }
.chapter-page { padding-block: clamp(2.4rem, 5.5vw, 5rem) clamp(3rem, 6vw, 6rem); background: radial-gradient(ellipse 55rem 35rem at 50% 0, #281d20 0, transparent 80%), var(--ink); }
.chapter { max-width: 39rem; margin-inline: auto; }
.chapter-heading { text-align: center; margin-bottom: clamp(1.65rem, 3.7vw, 2.9rem); }
.chapter-book { display: inline-block; padding: .3rem .1rem; color: var(--gold); }
.chapter-book:hover { text-decoration: underline; text-underline-offset: .25em; }
.chapter-heading h1 { font-size: clamp(3.15rem, 6.2vw, 5rem); line-height: 1.05; letter-spacing: -.055em; margin: .4rem 0 .65rem; }
.chapter-byline { display: flex; justify-content: center; align-items: center; gap: .85rem; color: var(--muted); font: 500 .875rem/1.5 var(--sans); letter-spacing: .09em; }
.chapter-byline::before, .chapter-byline::after { content: ""; width: 2rem; height: 1px; background: #786147; }
.chapter-prose { font: 400 clamp(1.2rem, 1.08rem + .55vw, 1.35rem)/1.65 var(--serif); color: #eee3d8; overflow-wrap: break-word; }
.chapter-prose p + p { margin-top: .8em; }
.chapter-end { margin-top: clamp(2.2rem, 5vw, 3.8rem); padding-top: 1.65rem; border-top: 1px solid var(--edge); text-align: center; }
.redirect { padding: 2rem; }
.redirect a { color: var(--gold); text-decoration: underline; }
@media (max-width: 900px) {
  :root { --gutter: clamp(1.35rem, 5.6vw, 3rem); }
  .hero::before { background: linear-gradient(90deg, #100f11e8, #100f11a8 44%, #100f113b 71%, transparent), linear-gradient(0deg, #110f10a6, transparent 50%); }
  .hero-summary { max-width: 25rem; }
  .author-inner { gap: 2.6rem; grid-template-columns: 1.15fr .8fr; }
}
@media (max-width: 680px) {
  :root { --gutter: clamp(1.1rem, 5.2vw, 1.65rem); }
  .mast-inner { min-height: 3.9rem; }
  .brand { gap: .45rem; }
  .brand-mark { width: 2.15rem; height: 2.15rem; }
  .brand span { font-size: 1.85rem; }
  .navigation { gap: clamp(.85rem, 3.9vw, 1.65rem); }
  .navigation a { font-size: .875rem; }
  .hero { display: block; min-height: 0; background: var(--ink); }
  .hero-art { height: clamp(15rem, 58vw, 23.5rem); }
  .hero-art img { object-position: 61% 36%; }
  .hero::before { height: calc(clamp(15rem, 58vw, 23.5rem) + 1px); background: linear-gradient(0deg, var(--ink) 0%, #100f10e0 15%, #100f1040 48%, transparent 77%); }
  .hero-inner { padding-top: clamp(10.7rem, 40vw, 16.5rem); padding-bottom: 2.25rem; }
  .featured-label { gap: .55rem; }
  .featured-label::before { width: 1.65rem; }
  .hero h1 { font-size: clamp(1.8rem, 9.05vw, 3.75rem); margin: .78rem 0 .38rem; letter-spacing: -.054em; }
  .volume-line { gap: .68rem; }
  .volume-line span { font-size: .875rem; }
  .volume-line i { width: 1.1rem; }
  .volume-line em { font-size: 1.4rem; }
  .hero-summary { margin-top: 1.1rem; max-width: 32rem; line-height: 1.63; }
  .actions { margin-top: 1.25rem; }
  .books-section { padding-block: 2.15rem 2.8rem; }
  .section-heading { gap: 1rem; margin-bottom: 1.25rem; }
  .section-heading h2, .author-copy h2 { font-size: 2.35rem; }
  .gallery { gap: 1rem; }
  .poster-mount { height: 39vw; padding: .65rem; }
  .book h3 { font-size: 1.65rem; }
  .author-inner { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2.8rem; }
  .author-copy h2 { margin-top: .7rem; }
  .socials { margin-top: .7rem; }
  .quotation { max-width: 29rem; padding-left: 1.05rem; }
  .quotation blockquote { font-size: 1.08rem; }
  .preview { max-height: 88dvh; max-width: calc(100vw - 1.5rem); }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; gap: 1.85rem; }
  .poster-mount { height: clamp(18rem, 90vw, 26rem); padding: 1.1rem; }
  .book figcaption { margin-top: .8rem; padding-bottom: .85rem; }
}
@media (max-width: 350px) {
  .navigation { gap: .7rem; }
  .actions { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: .45rem; }
  .button { padding: .62rem .33rem; gap: .32rem; font-size: .875rem; }
  .button .icon { width: .95rem; height: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
