@font-face { font-family: "Anton"; src: url("/fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/fonts/literata-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/fonts/literata-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --bg: #1b1033;
  --tile: #2c1b57;
  --pink: #ff5ea8;
  --gold: #ffd166;
  --text: #ffffff;
  --muted: #cbbfe8;
  --sans: "Anton", Impact, "Arial Narrow", sans-serif;
  --body-sans: "Helvetica Neue", Arial, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --read-size: 1.0625rem;
  --gutter: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body-sans); line-height: 1.5; }
a { color: var(--gold); }
a:hover { color: var(--pink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.spine { height: 4px; background: var(--pink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--gold); color: var(--bg); padding: 8px 12px; z-index: 10; }
.site-header { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; min-height: 56px; padding: 6px var(--gutter); max-width: 1120px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-tile { display: block; width: 32px; height: 32px; flex: none; }
.wordmark { font-family: var(--sans); font-size: 1.5rem; letter-spacing: .04em; line-height: 1; }
.wordmark .dot { color: var(--pink); }
.brand:hover .wordmark { color: var(--pink); }
nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .9rem; }
nav a:hover { color: var(--pink); }
main { max-width: 1120px; margin: 0 auto; padding: 8px var(--gutter) 48px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 400; letter-spacing: .02em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 8vw, 4.25rem); margin: .4em 0; }
.kicker { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.site-footer { border-top: 1px solid var(--tile); padding: 24px var(--gutter) 40px; max-width: 1120px; margin: 0 auto; }
.endorse { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 700; }
.endorse-tile { display: block; line-height: 0; }
.foot-tile { display: block; width: 24px; height: 24px; }
.family { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; padding: 0; }
.family a { color: var(--muted); text-decoration: none; padding-bottom: 2px; border-bottom: 3px solid transparent; }
.family a:hover { color: var(--text); border-bottom-color: var(--tile); }
.family a[aria-current="page"] { color: var(--text); border-bottom-color: var(--pink); }
.fine { color: var(--muted); font-size: .8rem; margin: 0; }
.tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .tiles { grid-template-columns: 1.4fr 1fr; } .tile.hero { grid-row: span 2; } }
.tile { background: var(--tile); padding: 18px; }
.tile.hero { background: var(--pink); color: var(--bg); }
.tile.hero a { color: var(--bg); }
.tile h2 { margin: .2em 0; font-size: 1.9rem; }
.button { display: inline-block; background: var(--bg); color: var(--text); padding: 8px 14px; font-weight: 800; text-decoration: none; margin: 6px 8px 0 0; }
.button:hover { color: var(--gold); }
.tile:not(.hero) .button { background: var(--pink); color: var(--bg); }
.cover { max-width: 260px; width: 100%; height: auto; border: 3px solid #f4ecdc; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.status { color: var(--pink); font-weight: 800; }
.reading { max-width: 65ch; margin: 0 auto; font-family: var(--serif); font-size: var(--read-size); line-height: 1.6; }
.reading p { margin: 0 0 1em; }
.reading h1, .reading h2 { font-family: var(--sans); }
.reading .meta, .reading .note { font-family: var(--body-sans); font-size: .9rem; color: var(--muted); }
.note { border-left: 4px solid var(--gold); padding: 6px 12px; background: var(--tile); }
.story-list { list-style: none; padding: 0; }
.story-list li { background: var(--tile); padding: 16px; margin-bottom: 12px; }
.story-list h2 { margin: 0 0 4px; font-size: 1.65rem; }
.novel { display: grid; gap: 24px; grid-template-columns: 1fr; padding-top: 12px; }
@media (min-width: 720px) { .novel { grid-template-columns: 260px 1fr; } }
.novel .button { background: var(--pink); color: var(--bg); }
.novel .button:hover { color: var(--bg); background: var(--gold); }
#prologue { margin-top: 48px; }
.dot { color: var(--pink); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.tile .cover { margin-bottom: 12px; }
.tile a { text-decoration-thickness: 2px; }
.tile h2 a { color: var(--text); }
.tile h2 a:hover { color: var(--pink); }
.tile.hero .kicker { color: var(--bg); }
.tile.hero .button { color: var(--text); }
.tile.hero .button:hover { color: var(--gold); }
.tile.hero a:focus-visible { outline-color: var(--bg); }

/* Home masthead: the logo stands in for the headline. */
.masthead { margin: 12px auto 8px; max-width: 520px; line-height: 0; }
.masthead-art { display: block; width: 100%; height: auto; }
@media (min-width: 720px) { :root { --read-size: 1.125rem; --gutter: 24px; } .site-header { min-height: 64px; } }
