:root {
  --bg: #fbf7f3;
  --panel: #ffffff;
  --panel-2: #f4ece6;
  --line: #e6d9d0;
  --text: #2b1d26;
  --soft: #5a4651;
  --muted: #8b7682;
  --ink: #2b1d26;
  --accent: #a3196e;
  --accent-2: #3f7d3a;
  --purple: var(--accent);
  --purple-2: color-mix(in srgb, var(--accent) 82%, white);
  --cyan: var(--accent);
  --teal: var(--accent-2);
  --display: "Garamond Site", "EB Garamond", Garamond, Georgia, serif;
  --wide: 1120px;
  --measure: 66ch;
}

html, body.author-site { background: var(--bg); }
body.author-site { color: var(--text); font-family: var(--serif); font-size: 18px; }
.author-site a { color: var(--accent); }
.author-site a:hover { color: color-mix(in srgb, var(--accent) 70%, black); }

.author-site .site-header { background: var(--bg); border-bottom: 0; }
.masthead { padding: 36px 20px 18px; text-align: center; }
.masthead-link { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.masthead-link:hover { color: var(--ink); }
.masthead-link img { height: 64px; width: auto; display: block; }
.masthead-name { font-family: var(--display); font-weight: 400; font-style: italic; font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: 0.01em; color: var(--ink); }
.masthead-slogan { margin: 8px 0 0; font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.author-site .site-nav { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-site .site-nav .wrap { width: min(var(--wide), calc(100% - 32px)); }
.author-site .bar { display: flex; justify-content: center; align-items: center; min-height: 54px; }
.author-site .menu { justify-content: center; margin: 0; gap: 4px; }
.author-site .menu a, .author-site .menu .menu-label { color: var(--ink); font-family: var(--sans); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 14px; border-radius: 0; }
.author-site .menu a:hover, .author-site .menu .menu-label:hover, .author-site .menu li:focus-within > a { color: var(--accent); background: none; }
.author-site .menu a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.author-site .submenu { background: var(--panel); border: 1px solid var(--line); box-shadow: 0 12px 30px -18px rgba(43, 29, 38, 0.5); }

.author-site main { width: min(var(--wide), calc(100% - 32px)); padding: 44px 0 72px; }
.author-site .page-title, .author-site .post-head h1, .author-site .event-heading, .author-site .serial-head h1, .author-site .chapter-head h1 { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--ink); }
.author-site .page-title { font-size: clamp(2.2rem, 4.5vw, 3rem); text-align: center; margin: 0 0 10px; }
.author-site .section-title { font-family: var(--display); font-style: italic; color: var(--ink); justify-content: center; font-size: 2.1rem; }
.author-site .section-title::after { display: none; }
.author-site .prose { color: var(--text); font-size: 1.22rem; }
.author-site .prose h2, .author-site .prose h3 { color: var(--ink); font-style: italic; }
.author-site .prose blockquote { color: var(--soft); border-left-color: var(--accent); }
.author-site .prose th { color: var(--ink); }
.author-site .card { background: var(--panel); border: 1px solid var(--line); }
.author-site .card:hover { border-color: var(--accent); box-shadow: 0 14px 30px -22px rgba(43, 29, 38, 0.6); }
.author-site .card-title a, .author-site .event-title a, .author-site .serial-tile-title a, .author-site .post-nav .title,
.author-site .gate-title, .author-site .search-group, .author-site .search-results a, .author-site .bug-checks strong,
.author-site .wa-toc-title, .author-site .warning-title { color: var(--ink); }
.author-site .card-title { font-family: var(--display); font-style: italic; }
.author-site .excerpt, .author-site .search-results p, .author-site .serial-tile-latest { color: var(--soft); }
.author-site .kind { background: var(--panel-2); color: var(--soft); border: 1px solid var(--line); }
.author-site .button { background: var(--accent); border-color: var(--accent); color: #fff; border-radius: 999px; font-family: var(--sans); }
.author-site .button:hover { background: color-mix(in srgb, var(--accent) 80%, black); color: #fff; }
.author-site .button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.author-site mark { background: color-mix(in srgb, var(--accent) 22%, white); color: var(--ink); }
.author-site .bug-page { color: var(--soft); font-family: var(--sans); }
.author-site .bug-form { background: var(--panel); border-left-color: var(--accent); }
.author-site .bug-form input[type="text"], .author-site .bug-form input[type="email"], .author-site .bug-form select, .author-site .bug-form textarea { background: #fff; color: var(--ink); border-color: var(--line); }
.author-site .bug-form input:focus, .author-site .bug-form textarea:focus { border-color: var(--accent); }

.lead-in { max-width: 42em; margin: 0 auto 40px; text-align: center; font-size: 1.25rem; line-height: 1.6; color: var(--soft); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 30px; color: var(--accent); font-size: 1.1rem; }
.ornament::before, .ornament::after { content: ""; width: 70px; height: 1px; background: var(--line); }

.feature-book { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: center; margin: 0 auto 64px; max-width: 960px; }
.feature-book .label { margin: 0 0 8px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); }
.feature-book h2 { margin: 0 0 6px; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3.1rem); line-height: 1.08; color: var(--ink); }
.feature-book .series { margin: 0 0 16px; color: var(--muted); font-size: 1.05rem; }
.feature-book .blurb { margin: 0 0 22px; font-size: 1.2rem; line-height: 1.65; color: var(--soft); }
.feature-book .line-badge { width: 110px; margin: 0 0 16px; display: block; }
.feature-book h2 a { color: inherit; text-decoration: none; }
.feature-book h2 a:hover { color: var(--accent); }
.feature-book .book-when { margin: 0 0 14px; font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.cover-link { display: block; }
.book-facts { margin: 0 0 8px; color: var(--soft); line-height: 1.55; }
.book-facts span { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-right: 4px; }
.feature-book .book-facts:last-of-type { margin-bottom: 22px; }
.feature-book .book-more { margin: 0 0 18px; }
.book-back { margin: -24px 0 0; text-align: center; font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.cover { position: relative; aspect-ratio: 2 / 3; border-radius: 3px; overflow: hidden; background: var(--panel-2); box-shadow: 0 18px 36px -20px rgba(43, 29, 38, 0.7), 0 2px 6px rgba(43, 29, 38, 0.15); }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, white), var(--panel-2)); border: 1px solid var(--line); }
.cover.placeholder span { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--muted); }

.buy { display: flex; flex-wrap: wrap; gap: 10px; }
.buy a { display: inline-block; padding: 10px 20px; border-radius: 999px; font-family: var(--sans); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; background: var(--accent); color: #fff; }
.buy a:hover { background: color-mix(in srgb, var(--accent) 80%, black); color: #fff; }
.buy a.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.buy a.ghost:hover { background: var(--accent); color: #fff; }

.shelf { margin: 0 0 64px; }
.shelf-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 0 28px; }
.shelf-head img { width: 220px; height: auto; }
.shelf-head h2 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 2rem; color: var(--ink); }
.shelf-head p { margin: 6px 0 0; color: var(--muted); }
.books { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 28px; }
.book { width: 200px; text-align: center; }
.book a { text-decoration: none; color: inherit; }
.book .cover { margin: 0 0 14px; transition: transform 0.2s ease; }
.book a:hover .cover { transform: translateY(-4px); }
.book h3 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.book .meta { margin: 4px 0 0; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.book .date { color: var(--accent-2); font-weight: 700; }
.book .genres { margin: 6px 0 0; font-size: 0.95rem; line-height: 1.4; color: var(--soft); }
.book .tile-badge { display: block; width: 84px; margin: 8px auto 0; }
.book .listen { margin: 10px 0 0; }
.book .listen .button { padding: 6px 18px; font-size: 0.85rem; }
.book-more { margin: 8px 0 0; font-family: var(--sans); font-size: 0.82rem; }
.book-more summary { display: inline-block; cursor: pointer; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; list-style: none; }
.book-more summary::-webkit-details-marker { display: none; }
.book-more summary:hover { border-color: var(--accent); }
.book-more[open] summary { background: var(--accent); border-color: var(--accent); color: #fff; }
.book-more p { margin: 8px 0 0; font-family: var(--serif); font-size: 0.98rem; line-height: 1.5; color: var(--soft); text-align: left; }
.book-more.warnings summary { color: #9a4a12; }
.book-more.warnings[open] summary { background: #9a4a12; border-color: #9a4a12; color: #fff; }
.author-site .empty { text-align: center; color: var(--muted); font-style: italic; }
.series-shelf .shelf-head { margin-bottom: 22px; }

.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.line-card { padding: 30px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; text-align: center; }
.line-card img { width: 230px; height: auto; margin: 0 auto 10px; display: block; }
.line-card .heat { margin: 0 0 12px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.line-card p { margin: 0 0 14px; color: var(--soft); line-height: 1.6; }
.line-card a { font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.newsletter { margin: 0 auto 64px; max-width: 760px; padding: 36px 32px; text-align: center; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; }
.newsletter h2 { margin: 0 0 8px; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 2rem; color: var(--ink); }
.newsletter p { margin: 0 0 20px; color: var(--soft); }

.news { margin-top: 8px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-grid .card { margin: 0; }
.news-more { margin: 24px 0 0; text-align: center; }

.author-site .site-footer { background: var(--panel-2); border-top: 1px solid var(--line); color: var(--soft); }
.author-site .site-footer a { color: var(--ink); }
.author-site .footer-links a { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 959px) {
  .author-site .bar { justify-content: flex-end; padding: 8px 0; flex-wrap: wrap; }
  .author-site .menu-button { display: block; margin: 0 auto; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font: inherit; font-family: var(--sans); font-weight: 600; }
  .author-site .menu { display: none; flex-basis: 100%; flex-direction: column; align-items: center; }
  .author-site .site-nav.open .menu { display: flex; }
  .feature-book { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .feature-book .cover { max-width: 260px; margin: 0 auto; }
  .feature-book .line-badge { margin: 0 auto 18px; }
  .buy { justify-content: center; }
  .lines, .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .books { gap: 26px 16px; }
  .book { width: calc(50% - 8px); }
  .masthead-link img { height: 48px; }
}
.cover-link, .cover-link:hover { text-decoration: none; }
.book .meta { display: block; justify-content: center; text-align: center; }
