/* press-v6.css — Centaurus Press in the livery of its own covers (18 Oct 2026, Evan: "the styling of the
   page should match the book cover style for centaurus press").
   The cover's grammar, applied to the page: a coloured frame with a fine cream rule inside it, a cream
   panel, Libre Caslon Text (bold titles, tracked capitals for the furniture), the short coloured rule,
   the Chiron coin as seal. Colour: Centaurus red on /press/map; on a title page, that book's own cover
   colour (press-v6.js copies the cover's --c to the page).
   Active only under html.cv6 (press-v6.js / the inline switch in the page head). Loaded after press-v4.css. */

html.cv6 body.press-v4 {
  --cv-paper: #f3ead6; --cv-sheet: #fbf7ee; --cv-ink: #23180f; --cv-ink2: #4d3c2d; --cv-c: #8a1f2e;
  --cv-rule: rgba(35,24,15,.2); --cv-line: rgba(243,234,214,.6);
  --cv-serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  background: var(--cv-paper) !important; color: var(--cv-ink);
}
/* one face, as on the covers (the work's text already is Caslon) */
html.cv6 body.press-v4 .page-wrap,
html.cv6 body.press-v4 .page-wrap :is(p,li,div,span,a,h1,h2,h3,h4,h5,h6,summary,time,label,input,button,td,th,blockquote,dd,dt,figcaption,em,strong,small):not(.cpc, .cpc *) {
  font-family: var(--cv-serif) !important;
}
html.cv6 body.press-v4 .page-wrap { color: var(--cv-ink); }
html:not(.cv6) .cv-only { display: none !important; }
html.cv6 .cv-hide { display: none !important; }
html.cv6 #reader-body { scroll-margin-top: 90px; }

/* the furniture: tracked capitals, the short rule */
html.cv6 .cv-caps { font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; }
html.cv6 body.press-v4 .cv-bar { display: block; width: 2.6rem; height: 4px; background: var(--cv-c); margin: 0 0 .7rem; }

/* ═══ /press/map ═══ */
/* the three presses: a slim strip of tabs above the hero */
html.cv6 body.press-v4 .press-bar { gap: 0 !important; border: 0 !important; background: none !important; margin: 22px 0 18px !important; }
html.cv6 body.press-v4 .press-bar a { min-height: 46px !important; font-size: .82rem !important; font-weight: 700 !important; letter-spacing: .2em !important;
  text-transform: uppercase; box-shadow: inset 0 0 0 5px var(--b), inset 0 0 0 6px var(--cv-line); }
html.cv6 body.press-v4 .press-bar a.light { box-shadow: inset 0 0 0 5px var(--b), inset 0 0 0 6px rgba(35,24,15,.35); }
html.cv6 body.press-v4 .press-bar a[aria-current] { text-decoration: none !important; }
html.cv6 body.press-v4 .press-bar a:not([aria-current]) { filter: saturate(.75) brightness(1.05); }

/* the hero is a cover laid on its side */
html.cv6 .cv-hero { display: block; background: var(--cv-c); padding: 16px; margin: 0 0 64px; position: relative; color: var(--cv-paper); }
.cv-hero .cv-in { border: 1px solid var(--cv-line); padding: 22px 22px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cv-hero .cv-top { color: var(--cv-paper); font-size: .82rem; font-weight: 700; letter-spacing: .34em; text-indent: .34em; text-transform: uppercase; }
.cv-hero .cv-coin { display: block; width: 118px; height: 118px; border-radius: 50%; border: 6px solid var(--cv-c); background: var(--cv-paper);
  object-fit: cover; margin: 18px 0 -64px; position: relative; z-index: 2; box-sizing: content-box; }
.cv-hero .cv-panel { background: var(--cv-paper); color: var(--cv-ink); width: 100%; padding: 86px clamp(22px, 6vw, 96px) 46px;
  display: flex; flex-direction: column; align-items: center; }
html.cv6 body.press-v4 .cv-hero h1.cv-title { font-size: clamp(2.9rem, 7.4vw, 6.2rem) !important; font-weight: 700 !important; line-height: 1 !important;
  letter-spacing: -.01em !important; color: var(--cv-ink) !important; margin: 0 !important; text-transform: none !important; text-wrap: balance; }
.cv-hero .cv-rule { width: 3.4rem; height: 4px; background: var(--cv-c); margin: 28px 0 26px; }
html.cv6 body.press-v4 .cv-hero p { font-size: clamp(1.15rem, 1.9vw, 1.42rem) !important; line-height: 1.5; color: var(--cv-ink); max-width: 36em; margin: 0 0 .55em; text-wrap: pretty; }
html.cv6 body.press-v4 .cv-hero p.cv-free { font-style: italic; color: var(--cv-ink2); }
.cv-hero .cv-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
html.cv6 body.press-v4 a.cv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 2px;
  background: var(--cv-c); color: var(--cv-paper) !important; font-weight: 700; font-size: 1rem !important; letter-spacing: .06em; text-decoration: none !important;
  box-shadow: inset 0 0 0 4px var(--cv-c), inset 0 0 0 5px var(--cv-line); }
html.cv6 body.press-v4 a.cv-btn.ghost { background: transparent; color: var(--cv-ink) !important; box-shadow: inset 0 0 0 2px var(--cv-ink); }
html.cv6 body.press-v4 a.cv-btn:hover, html.cv6 body.press-v4 a.cv-btn:focus-visible { filter: brightness(1.12); outline: none; }
html.cv6 body.press-v4 a.cv-btn.ghost:hover { background: var(--cv-ink); color: var(--cv-paper) !important; filter: none; }
.cv-hero .cv-foot { width: 100%; margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; color: var(--cv-paper);
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
html.cv6 body.press-v4 .cv-hero .cv-foot span { color: var(--cv-paper); font-size: .78rem !important; }

/* section heads, as the cover: Caslon bold over the short coloured rule */
html.cv6 body.press-v4 .sh-head, html.cv6 body.press-v4 .wall-bar { border-bottom: 1px solid var(--cv-rule); padding-bottom: 12px; }
html.cv6 body.press-v4 h2.sh-h { font-size: clamp(1.7rem, 2.6vw, 2.2rem) !important; font-weight: 700 !important; letter-spacing: -.005em; color: var(--cv-ink); }
html.cv6 body.press-v4 h2.sh-h::before { content: ''; display: block; width: 2.6rem; height: 4px; background: var(--cv-c); margin: 0 0 .6rem; }
html.cv6 body.press-v4 h2.sh-h small { font-family: var(--cv-serif) !important; font-weight: 700; letter-spacing: .18em; color: var(--cv-ink2); }
html.cv6 body.press-v4 a.sh-all, html.cv6 body.press-v4 #sh-view .sh-back { color: var(--cv-c); letter-spacing: .02em; }
html.cv6 body.press-v4 .sh-t a { color: var(--cv-ink); }
html.cv6 body.press-v4 .sh-a { color: var(--cv-ink2); }
html.cv6 #sh-new .sh-sec { margin-top: 0; }
html.cv6 #sh-new li.sh-book { flex-basis: 184px; width: 184px; }
html.cv6 #sh-new ol.sh-row { min-height: 380px; gap: 28px; }
html.cv6 body.press-v4 li.sh-more a { border: 1px solid var(--cv-ink); background: var(--cv-sheet); }
html.cv6 body.press-v4 button.sh-arrow { background: var(--cv-sheet); }

/* Self-Publish and the members' note: small covers of their own */
html.cv6 body.press-v4 a.sp-press-tile { border-radius: 0; margin: 0 0 22px; box-shadow: inset 0 0 0 7px var(--t), inset 0 0 0 8px var(--cv-line); padding: 26px 30px 24px; max-width: none; }
html.cv6 body.press-v4 a.sp-press-tile b { font-size: 1.5rem !important; }
html.cv6 body.press-v4 .patron-banner { background: var(--cv-sheet); border: 1px solid var(--cv-rule); border-left: 4px solid var(--cv-c); }
html.cv6 body.press-v4 .patron-banner a { color: var(--cv-c); }
html.cv6 .cv-mid { margin: 64px 0 0; }

/* catalogue count and search */
html.cv6 body.press-v4 .cp-total { font-size: .82rem; letter-spacing: .22em; color: var(--cv-ink2); text-transform: uppercase; }
html.cv6 body.press-v4 .v5-search input { background: var(--cv-sheet); border: 1px solid var(--cv-ink); border-radius: 2px; font-size: 1.1rem; padding: 13px 18px; }

/* the wall of shelves: every tile a small cover — colour, the fine cream rule, Caslon */
html.cv6 body.press-v4 .wall { border: 0; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); }
html.cv6 body.press-v4 a.tile { border: 0; min-height: 128px; padding: 18px 20px 15px; box-shadow: inset 0 0 0 6px var(--t), inset 0 0 0 7px var(--cv-line); }
html.cv6 body.press-v4 a.tile.light { box-shadow: inset 0 0 0 6px var(--t), inset 0 0 0 7px rgba(35,24,15,.3); }
html.cv6 body.press-v4 .tile-n { font-size: 1.18rem !important; font-weight: 700; }
html.cv6 body.press-v4 .tile-c { font-size: .72rem !important; font-weight: 700; letter-spacing: .2em; }
html.cv6 body.press-v4 h3.wall-g { letter-spacing: .24em; color: var(--cv-ink2); }
html.cv6 body.press-v4 .v5-toggle { border: 1px solid var(--cv-ink); border-radius: 2px; }
html.cv6 body.press-v4 .v5-toggle button { background: var(--cv-sheet); }
html.cv6 body.press-v4 .v5-toggle button[aria-pressed="true"] { background: var(--cv-ink); color: var(--cv-sheet); }
html.cv6 body.press-v4 ul.wall-list a { color: var(--cv-ink); }

/* ═══ /press/<slug> ═══ */
html.cv6 body.press-v4 a.back-link { color: var(--cv-c); font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
/* the head of the page wears the book's cover: frame, fine rule, cream sheet */
html.cv6 body.press-v4 .work-head { background: var(--cv-sheet); border: 16px solid var(--cv-c); outline: 1px solid var(--cv-line); outline-offset: -8px;
  padding: clamp(26px, 4vw, 52px); gap: clamp(28px, 4vw, 56px); margin-bottom: 72px; }
html.cv6 body.press-v4 .work-cover .cpc-link, html.cv6 body.press-v4 .work-cover .cpc-wrap { box-shadow: 0 10px 26px rgba(35,24,15,.28); }
html.cv6 body.press-v4 .title-series-label { font-size: .8rem; font-weight: 700; letter-spacing: .24em; color: var(--cv-c); }
html.cv6 body.press-v4 h1.work-title { font-size: clamp(2.4rem, 5vw, 4.1rem) !important; font-weight: 700 !important; line-height: 1.05 !important;
  letter-spacing: -.01em !important; color: var(--cv-ink) !important; text-wrap: balance; }
html.cv6 body.press-v4 h1.work-title::after { content: ''; display: block; width: 2.6rem; height: 4px; background: var(--cv-c); margin: 26px 0 0; }
html.cv6 body.press-v4 .work-author { font-size: 1.12rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cv-ink); line-height: 1.35; margin-bottom: 4px; }
html.cv6 body.press-v4 .work-author .wa-s { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; font-style: italic; color: var(--cv-ink2); font-size: 1.05rem; margin-top: 2px; }
html.cv6 body.press-v4 .work-meta { font-size: .78rem; font-weight: 700; letter-spacing: .22em; color: var(--cv-ink2); margin: 16px 0 22px; }
html.cv6 body.press-v4 p.work-desc { font-size: 1.16rem !important; line-height: 1.6; color: var(--cv-ink); }
/* the actions: two buttons, then the quieter rows (as Everand's title page) */
html.cv6 body.press-v4 .work-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; margin: 4px 0 0; }
html.cv6 body.press-v4 .work-actions a.btn-read, html.cv6 body.press-v4 .work-actions a.btn-free {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 18px; border-radius: 2px;
  font-size: 1.02rem !important; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
html.cv6 body.press-v4 .work-actions a.btn-read { background: var(--cv-c); border: 0; color: var(--cv-paper) !important;
  box-shadow: inset 0 0 0 4px var(--cv-c), inset 0 0 0 5px var(--cv-line); }
html.cv6 body.press-v4 .work-actions a.btn-read:hover, html.cv6 body.press-v4 .work-actions a.btn-read:focus-visible { background: var(--cv-c); filter: brightness(1.14); }
html.cv6 body.press-v4 .work-actions a.btn-free { background: transparent; color: var(--cv-ink) !important; box-shadow: inset 0 0 0 2px var(--cv-ink); }
html.cv6 body.press-v4 .work-actions a.btn-free:hover, html.cv6 body.press-v4 .work-actions a.btn-free:focus-visible { background: var(--cv-ink); color: var(--cv-sheet) !important; outline: none; }
html.cv6 body.press-v4 .work-actions .cv-rows { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px;
  border-top: 1px solid var(--cv-rule); margin-top: 10px; padding-top: 12px; }
html.cv6 body.press-v4 .work-actions a.btn-dl-members, html.cv6 body.press-v4 .work-actions a.btn-dl-primary {
  border: 0 !important; background: none !important; padding: 0 !important; min-height: 44px; color: var(--cv-ink) !important; font-weight: 700;
  font-size: 1rem !important; letter-spacing: .02em; text-decoration: none; }
html.cv6 body.press-v4 .work-actions a.btn-dl-members:hover, html.cv6 body.press-v4 .work-actions a.btn-dl-primary:hover { color: var(--cv-c) !important; text-decoration: underline; text-underline-offset: 4px; }
html.cv6 body.press-v4 .work-share { margin: 0 !important; }
/* the work, the catalogue record, the author */
html.cv6 body.press-v4 .page-wrap .reader-body :is(h1,h2,h3,h4) { font-family: var(--cv-serif) !important; font-weight: 700; letter-spacing: 0; }
html.cv6 body.press-v4 .reader-body h1 { text-align: center; }
html.cv6 body.press-v4 .reader-body h1::after { content: ''; display: block; width: 2.4rem; height: 3px; background: var(--cv-c); margin: .5em auto 0; }
html.cv6 body.press-v4 .reader-body a { color: var(--cv-c); }
html.cv6 body.press-v4 .work-cip, html.cv6 body.press-v4 .speak-author { border-top: 1px solid var(--cv-rule); }
html.cv6 body.press-v4 h2.cip-h { letter-spacing: .22em; font-size: .9rem !important; color: var(--cv-ink2); }
html.cv6 body.press-v4 dl.cip a, html.cv6 body.press-v4 .colophon a { color: var(--cv-c); }
html.cv6 body.press-v4 .speak-author { background: var(--cv-sheet); border: 12px solid var(--cv-c); outline: 1px solid var(--cv-line); outline-offset: -6px; padding: 34px 38px 30px; }
html.cv6 body.press-v4 .speak-author h2 { font-weight: 700; letter-spacing: 0; }
html.cv6 body.press-v4 a.speak-join { background: var(--cv-c); border-radius: 2px; box-shadow: inset 0 0 0 4px var(--cv-c), inset 0 0 0 5px var(--cv-line); }

@media (max-width: 640px) {
  html.cv6 .cv-hero { padding: 10px; margin-bottom: 48px; }
  .cv-hero .cv-in { padding: 16px 12px 12px; }
  .cv-hero .cv-coin { width: 84px; height: 84px; border-width: 5px; margin-bottom: -46px; }
  .cv-hero .cv-panel { padding: 62px 18px 32px; }
  .cv-hero .cv-foot { font-size: .66rem; letter-spacing: .14em; justify-content: center; text-align: center; }
  .cv-hero .cv-foot span:first-child { display: none; }
  html.cv6 body.press-v4 a.cv-btn { padding: 10px 18px; line-height: 1.3; text-align: center; }
  html.cv6 body.press-v4 .press-bar a { font-size: .68rem !important; letter-spacing: .1em !important; min-height: 44px !important; }
  html.cv6 body.press-v4 .work-head { border-width: 10px; outline-offset: -5px; padding: 22px 18px; }
  html.cv6 body.press-v4 .work-actions { grid-template-columns: minmax(0, 1fr); }
  html.cv6 #sh-new li.sh-book { flex-basis: 150px; width: 150px; }
  html.cv6 #sh-new ol.sh-row { min-height: 320px; }
  html.cv6 body.press-v4 .speak-author { border-width: 8px; padding: 24px 20px; }
}

/* 18 Oct 2026 (Evan): the map hero keeps one line; the members box sits under the cover on a title page */
html.cv6 body.press-v4 .cv-hero p.cv-lede { font-size: clamp(1.3rem, 2.3vw, 1.75rem) !important; line-height: 1.45; margin: 0; max-width: 30em; }
html.cv6 .cv-hero .cv-panel { padding-bottom: 52px; }
html:not(.cv6) .cv-members { display: none; }
html.cv6 body.press-v4 .work-head { grid-template-rows: auto 1fr; }
html.cv6 body.press-v4 .work-head > .work-cover { grid-column: 1; grid-row: 1; }
html.cv6 body.press-v4 .work-head > #title-block { grid-column: 2; grid-row: 1 / span 2; }
html.cv6 body.press-v4 .cv-members { grid-column: 1; grid-row: 2; align-self: start; background: var(--cv-paper);
  border: 1px solid var(--cv-rule); border-top: 4px solid var(--cv-c); padding: 18px 18px 18px; }
html.cv6 body.press-v4 .cv-members .cv-m-h { font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--cv-c); margin: 0 0 10px; }
html.cv6 body.press-v4 .cv-members p { font-size: 1.02rem !important; line-height: 1.5; color: var(--cv-ink); margin: 0 0 16px; }
html.cv6 body.press-v4 .cv-m-acts { display: flex; flex-direction: column; gap: 8px; }
html.cv6 body.press-v4 .cv-m-acts a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 14px;
  border-radius: 2px; background: var(--cv-c) !important; color: var(--cv-paper) !important; font-size: .98rem !important; font-weight: 700; letter-spacing: .03em;
  line-height: 1.25; text-decoration: none; border: 0 !important; box-shadow: inset 0 0 0 4px var(--cv-c), inset 0 0 0 5px var(--cv-line); }
html.cv6 body.press-v4 .cv-m-acts a:hover, html.cv6 body.press-v4 .cv-m-acts a:focus-visible { filter: brightness(1.14); outline: none; }
@media (max-width: 640px) {
  html.cv6 body.press-v4 .work-head > .work-cover, html.cv6 body.press-v4 .work-head > #title-block, html.cv6 body.press-v4 .cv-members { grid-column: 1; grid-row: auto; }
  html.cv6 body.press-v4 .work-head > #title-block { order: 2; }
  html.cv6 body.press-v4 .cv-members { order: 3; }
}

/* 18 Oct 2026 (Evan, to eyeball): Read as a book / Free to read above the title; Share alone below the blurb */
html.cv6 body.press-v4 #title-block > .work-actions { margin: 0 0 34px; }
html.cv6 body.press-v4 #title-block > .cv-rows { display: flex; align-items: center; margin-top: 4px; }
/* 18 Oct 2026 (Evan): Share centred under the text */
html.cv6 body.press-v4 #title-block > .cv-rows { justify-content: center; margin-top: 18px; }
html.cv6 body.press-v4 #title-block > .cv-rows .share-pop { left: 50%; transform: translateX(-50%); }
@media (max-width: 640px) { html.cv6 body.press-v4 #title-block > .cv-rows .share-pop { left: 8px; transform: none; } }
/* 18 Oct 2026 (Evan): the wall's group headings (By form, Fiction by genre, Subjects) were too small, lost in the tiles */
html.cv6 body.press-v4 h3.wall-g { font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important; font-weight: 700; letter-spacing: .14em; color: var(--cv-ink);
  margin: 46px 0 16px; }
html.cv6 body.press-v4 h3.wall-g::before { content: ''; display: block; width: 2.2rem; height: 4px; background: var(--cv-c); margin: 0 0 .55rem; }
html.cv6 body.press-v4 ul.wall-list .wall-swatch { border-color: var(--cv-ink); }
/* 18 Oct 2026 (Evan): breathing room between the blocs — about one tile's height of empty space before each group title */
html.cv6 body.press-v4 #wall h3.wall-g { margin-top: clamp(104px, 10vw, 140px); }
html.cv6 body.press-v4 #wall h3.wall-g:first-child { margin-top: 34px; }
