/* BookTok marketing for authors. Arranges the shared landing system; the concept is the bookshelf
   (readers search by trope and comp title), drawn as the hero illustration, not as page chrome. */
.bespoke-for-authors .au-hero-copy{display:flex;flex-direction:column}
.bespoke-for-authors .au-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:22px 0 0;font-size:15px;color:var(--ls-text)}
.bespoke-for-authors .au-hero-meta .ls-tag{margin-left:6px}
.bespoke-for-authors .au-hero-meta .ls-tag:first-child{margin-left:0}

/* hero illustration: a search bar over a shelf of books and a mug */
.bespoke-for-authors figure{margin:0}
.bespoke-for-authors .au-o *{stroke:var(--ls-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}
.bespoke-for-authors .au-o .f-paper{fill:var(--ls-paper)}
.bespoke-for-authors .au-o .f-blue{fill:var(--ls-blue)}
.bespoke-for-authors .au-o .f-peach{fill:var(--ls-peach)}
.bespoke-for-authors .au-o .f-yellow{fill:var(--ls-yellow)}
.bespoke-for-authors .au-o .f-mint{fill:var(--ls-mint)}
.bespoke-for-authors .au-o .f-lavender{fill:var(--ls-lavender)}
.bespoke-for-authors .au-t text{font-family:var(--ls-font);fill:var(--ls-ink)}
.bespoke-for-authors .au-t .au-t-q{font-size:21px;font-weight:800}
.bespoke-for-authors .au-t .au-t-n{font-size:19px;font-weight:800}
.bespoke-for-authors .au-t .au-t-s{font-size:19px;font-weight:600}

.bespoke-for-authors .ls-prompt{margin-top:28px}
.bespoke-for-authors .ls-prompt p{margin:0 0 14px}

/* chapter numbers */
.bespoke-for-authors .au-no{display:inline-block;margin-bottom:10px;font:800 14px/1 var(--ls-mono);letter-spacing:.08em;color:var(--ls-muted)}

/* 01: copy in two columns over a full-width shelf chart, then the comp-title gap */
.bespoke-for-authors .au-shelf-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;max-width:1000px}
.bespoke-for-authors .au-shelf{background:var(--ls-cream);border:2px solid var(--ls-ink);border-radius:var(--ls-radius);padding:24px 26px 16px;margin:14px 0 36px}
.bespoke-for-authors .au-shelf h3{margin:0 0 16px}
.bespoke-for-authors .au-bars{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px}
.bespoke-for-authors .au-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:end;gap:6px 12px;font-size:14px}
.bespoke-for-authors .au-bar-label{color:var(--ls-text);line-height:1.3}
.bespoke-for-authors .au-bar-track{grid-column:1/-1;grid-row:2;height:18px;border-radius:6px;background:var(--ls-blue-tint)}
.bespoke-for-authors .au-bar-fill{display:block;height:100%;border-radius:6px;background:var(--ls-blue-deep)}
.bespoke-for-authors .au-bar--gap .au-bar-fill{background:var(--ls-peach-deep)}
.bespoke-for-authors .au-bar-val{font-weight:800;text-align:right;font-variant-numeric:tabular-nums;line-height:1.2}
.bespoke-for-authors .au-bar-val small{font-weight:500;font-size:12px;color:var(--ls-muted);margin-left:6px}
.bespoke-for-authors .au-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0 4px;font-size:13px;color:var(--ls-muted)}
.bespoke-for-authors .au-key{display:inline-block;width:14px;height:14px;border-radius:4px;margin-left:8px}
.bespoke-for-authors .au-key:first-child{margin-left:0}
.bespoke-for-authors .au-key--deep{background:var(--ls-blue-deep)}
.bespoke-for-authors .au-key--gap{background:var(--ls-peach-deep)}
.bespoke-for-authors .au-comp{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px;align-items:start}
.bespoke-for-authors .au-comp-copy h3{margin-top:0}
.bespoke-for-authors .au-gaps{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.bespoke-for-authors .au-gaps li{display:flex;flex-direction:column;gap:4px;background:var(--ls-peach-tint);border-radius:var(--ls-radius-sm);padding:16px 20px}
.bespoke-for-authors .au-gaps b{font-size:30px;font-weight:800;line-height:1;letter-spacing:-.02em;color:var(--ls-ink);font-variant-numeric:tabular-nums}
.bespoke-for-authors .au-gaps span{font-size:15px;color:var(--ls-text)}

/* 02: three audience cards */
.bespoke-for-authors .au-who{margin:24px 0 6px;align-items:stretch;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr)}
.bespoke-for-authors .au-card h3{margin:0 0 16px}
.bespoke-for-authors .au-cols{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-items:end;height:190px;padding-top:22px;border-bottom:1.5px solid var(--ls-line)}
.bespoke-for-authors .au-col{position:relative;display:block;height:var(--h);min-height:4px;background:var(--ls-blue-deep);border-radius:6px 6px 0 0}
.bespoke-for-authors .au-col--unk{background:var(--ls-line)}
.bespoke-for-authors .au-col i{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding-bottom:4px;font-style:normal;font-size:12px;font-weight:800;color:var(--ls-ink);white-space:nowrap}
.bespoke-for-authors .au-col em{position:absolute;top:100%;left:50%;transform:translateX(-50%);padding-top:6px;font-style:normal;font-size:12px;line-height:1.2;color:var(--ls-muted);text-align:center;width:max-content;max-width:64px}
.bespoke-for-authors .au-cols{margin-bottom:40px}
.bespoke-for-authors .au-split{display:flex;height:28px;border-radius:8px;overflow:hidden;border:1.5px solid var(--ls-ink)}
.bespoke-for-authors .au-seg{display:block;height:100%}
.bespoke-for-authors .au-seg--a{background:var(--ls-blue-deep)}
.bespoke-for-authors .au-seg--b{background:var(--ls-blue)}
.bespoke-for-authors .au-seg--z{background:var(--ls-line)}
.bespoke-for-authors .au-keylist{list-style:none;margin:16px 0;padding:0;display:grid;gap:8px;font-size:15px}
.bespoke-for-authors .au-keylist li{display:flex;align-items:center;gap:10px}
.bespoke-for-authors .au-keylist b{margin-left:auto}
.bespoke-for-authors .au-sw{display:inline-block;width:14px;height:14px;border-radius:4px}
.bespoke-for-authors .au-countries{list-style:none;margin:0 0 16px;padding:0;counter-reset:au}
.bespoke-for-authors .au-countries li{counter-increment:au;display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--ls-line);font-size:15px}
.bespoke-for-authors .au-countries li::before{content:counter(au);font:800 13px/1 var(--ls-mono);color:var(--ls-muted);width:16px}
.bespoke-for-authors .au-countries b{margin-left:auto;font-variant-numeric:tabular-nums}

/* 03: stat row, table beside a rhythm card */
.bespoke-for-authors .au-stats{margin:18px 0 32px}
.bespoke-for-authors .au-covers{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;align-items:start}
.bespoke-for-authors .au-date{display:inline-block;font-size:12px;color:var(--ls-muted);white-space:nowrap}
.bespoke-for-authors .au-rhythm{display:flex;flex-direction:column;gap:4px;background:var(--ls-paper)}
.bespoke-for-authors .au-rhythm .ls-tag{align-self:flex-start;margin-bottom:10px}
.bespoke-for-authors .au-rhythm p{font-size:16px}

/* 04: copy beside a spike strip of 20 posts */
.bespoke-for-authors .au-feed{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px;align-items:start}
.bespoke-for-authors .au-feed-prompt{grid-column:1/-1;margin-top:0}
.bespoke-for-authors .au-spike-fig{background:var(--ls-paper);border:2px solid var(--ls-ink);border-radius:var(--ls-radius);padding:22px 22px 16px}
.bespoke-for-authors .au-spike-fig h3{margin:0 0 12px}
.bespoke-for-authors .au-spikes{list-style:none;margin:0;padding:28px 0 0;height:260px;display:flex;align-items:flex-end;gap:5px;border-bottom:1.5px solid var(--ls-ink)}
.bespoke-for-authors .au-spike{position:relative;flex:1 1 0;min-width:0;height:var(--h);background:var(--ls-blue);border-radius:4px 4px 0 0}
.bespoke-for-authors .au-spike--mid{background:var(--ls-blue-deep)}
.bespoke-for-authors .au-spike--hit{background:var(--ls-peach-deep)}
.bespoke-for-authors .au-spike i{position:absolute;bottom:100%;left:50%;transform:translateX(-50%) rotate(-90deg);transform-origin:center;margin-bottom:24px;font-style:normal;font-size:11px;font-weight:700;color:var(--ls-muted);white-space:nowrap}
.bespoke-for-authors .au-spike--hit i{transform:none;margin-bottom:4px;font-size:13px;font-weight:800;color:var(--ls-ink);left:auto;right:0}
.bespoke-for-authors .au-axis{display:flex;justify-content:space-between;margin:6px 0 0;font-size:13px;color:var(--ls-muted)}
.bespoke-for-authors .au-medline{margin-top:14px;font-size:15px;color:var(--ls-text)}
.bespoke-for-authors .au-medline b{font-size:20px;font-weight:800;color:var(--ls-ink)}
.bespoke-for-authors .au-medline span{margin:0 6px;color:var(--ls-muted)}

/* 05: two comment threads with theme bars */
.bespoke-for-authors .au-threads{margin:24px 0 8px}
.bespoke-for-authors .au-threads .ls-tag{margin-bottom:12px}
.bespoke-for-authors .au-threads h3{margin:0 0 14px}
.bespoke-for-authors .au-themes{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:10px}
.bespoke-for-authors .au-themes li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;font-size:15px;line-height:1.35}
.bespoke-for-authors .au-themes b{font-variant-numeric:tabular-nums}
.bespoke-for-authors .au-tt{grid-column:1/-1;grid-row:2;height:10px;border-radius:5px;background:var(--ls-mint-tint)}
.bespoke-for-authors .au-tt span{display:block;height:100%;border-radius:5px;background:var(--ls-sage-deep)}
.bespoke-for-authors .au-threads p{font-size:16px}
.bespoke-for-authors .au-take{margin-top:20px;font-weight:600;color:var(--ls-ink)}

/* 06: steps beside the fit table */
.bespoke-for-authors .au-plan{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.bespoke-for-authors .au-plan-link{margin-top:20px}

@media(max-width:960px){
 .bespoke-for-authors .au-who{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .bespoke-for-authors .au-who > :first-child{grid-column:1/-1}
 .bespoke-for-authors .au-covers,.bespoke-for-authors .au-feed,.bespoke-for-authors .au-plan,.bespoke-for-authors .au-comp{grid-template-columns:minmax(0,1fr);gap:28px}
 .bespoke-for-authors .au-feed-prompt{grid-column:auto}
}
@media(max-width:600px){
 .bespoke-for-authors .au-hero-illo{padding:12px}
 .bespoke-for-authors .au-hero-meta{font-size:14px}
 .bespoke-for-authors .au-shelf-head{grid-template-columns:minmax(0,1fr);gap:0}
 .bespoke-for-authors .au-shelf{padding:18px 14px 12px}
 .bespoke-for-authors .au-bars{grid-template-columns:minmax(0,1fr)}
 .bespoke-for-authors .au-bar-val small{display:block;margin-left:0}
 .bespoke-for-authors .au-gaps b{font-size:26px}
 .bespoke-for-authors .au-who{grid-template-columns:minmax(0,1fr)}
 .bespoke-for-authors .au-cols{gap:5px}
 .bespoke-for-authors .au-col i{font-size:11px}
 .bespoke-for-authors .au-col em{font-size:11px;max-width:48px}
 .bespoke-for-authors .au-spike-fig{padding:16px 12px 12px}
 .bespoke-for-authors .au-spikes{height:220px;gap:3px}
 .bespoke-for-authors .au-spike i{display:none}
 .bespoke-for-authors .au-spike--hit i{display:block}
}
