/* Theme Name: ZeroY Starter */
/* Base --------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
:root{font-family:var(--font-body);color:var(--color-ink);background:var(--color-background);-webkit-text-size-adjust:100%}
html{scroll-behavior:smooth;overflow-x:clip}
body{margin:0;font-size:1.1875rem;line-height:1.68;background:var(--color-background);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:700;line-height:1.06;letter-spacing:.005em;margin:0 0 .5em;color:var(--color-ink)}
h1{font-size:clamp(3.2rem,5.4vw,5.4rem)}
h2{font-size:clamp(2.1rem,3.4vw,3.2rem)}
h3{font-size:1.75rem;line-height:1.2}
p{margin:0 0 1.1em;max-width:64ch}
ul,ol{padding-inline-start:1.2em}
:focus-visible{outline:3px solid var(--color-focus);outline-offset:3px;border-radius:2px}
::selection{background:var(--color-brand);color:#fff}

/* Buttons ------------------------------------------------------------ */
.button{display:inline-flex;align-items:center;justify-content:center;gap:.5em;padding:20px 38px;border:0;border-radius:var(--radius-control);background:var(--color-ink);color:#fff;font:inherit;font-weight:600;font-size:1.12rem;line-height:1.2;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background var(--transition),color var(--transition)}
.button:hover{background:#000}
.button--accent{background:var(--color-accent)}
.button--accent:hover{background:var(--color-accent-deep)}
.button--block{display:flex;width:100%}

/* Utilities ---------------------------------------------------------- */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link{position:absolute;left:16px;top:-60px;z-index:100;padding:10px 16px;background:var(--color-ink);color:#fff;text-decoration:none;border-radius:var(--radius-control);transition:top var(--transition)}
.skip-link:focus{top:12px}

/* Header ------------------------------------------------------------- */
.site-header{position:sticky;top:0;z-index:50;background:var(--color-background);border-bottom:1px solid var(--color-border);box-shadow:var(--shadow-header)}
/* No transform, filter or backdrop-filter here on purpose: any of them would make the header the
   containing block of the mobile drawer's fixed <dialog>, which must be positioned to the viewport. */
.site-header__bar{display:flex;align-items:center;gap:24px;max-width:var(--container);min-height:var(--header-height);margin:0 auto;padding:12px var(--space-inline)}
.brand{display:flex;align-items:center;gap:14px;flex:0 0 auto;margin-inline-end:auto;text-decoration:none}
.brand__logo{display:block;width:auto;height:56px}
.brand__name{font-family:var(--font-display);font-size:2rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--color-brand);white-space:nowrap}
.header-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}

/* Desktop navigation */
.site-nav{display:none;flex:0 0 auto}
.site-nav__list{display:flex;align-items:center;gap:clamp(20px,1.6vw,38px);margin:0;padding:0;list-style:none}
.site-nav__list li{flex:0 0 auto}
.site-nav__list a{position:relative;display:inline-block;padding-block:8px;font-size:1.1rem;font-weight:500;white-space:nowrap;color:var(--color-ink-soft);text-decoration:none}
.site-nav__list a::after{content:"";position:absolute;left:0;right:100%;bottom:2px;height:2px;background:var(--color-accent);transition:right var(--transition)}
.site-nav__list a:hover,.site-nav__list a:focus-visible{color:var(--color-brand)}
.site-nav__list a:hover::after,.site-nav__list a:focus-visible::after{right:0}
.site-nav__list .current-menu-item>a,.site-nav__list .current_page_item>a{color:var(--color-brand);font-weight:600}
.site-nav__list .current-menu-item>a::after,.site-nav__list .current_page_item>a::after{right:0}

.site-header__toggle{display:inline-flex}
@media (min-width:1200px){
	/* Three bands in one row: the brand on the left, the menu on the page's centre line, the call to
	   action on the right. The row wraps instead of squeezing: a menu that cannot fit drops to its own
	   line, centred, and the logo is never clipped away — which is what happened when the brand was
	   given flex:1 1 0 with overflow:hidden in a narrower box. */
	.site-header__bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px clamp(16px,2vw,40px)}
	.brand{flex:0 1 auto;margin-inline-end:0}
	.site-nav{display:flex;flex:1 1 auto;justify-content:center;min-width:0}
	.site-nav__list{flex-wrap:wrap;justify-content:center}
	.header-actions{flex:0 1 auto;justify-content:flex-end;margin-inline-start:0}
	.site-header__toggle{display:none}
	.header-actions > .button{display:inline-flex}
}
@media (min-width:1200px) and (max-width:1399px){
	/* The narrowest windows that still fit the whole menu: tighten the row rather than crowd it. */
	.site-header__bar{gap:20px}
	.brand__logo{height:48px}
	.brand__name{font-size:1.8rem}
	.site-nav__list{gap:16px}
	.site-nav__list a{font-size:1rem}
	.header-actions > .button{padding:16px 26px;font-size:1.02rem}
}
@media (max-width:1199px){
	/* The bar's own CTA folds into the drawer, whose button is nested deeper and must stay visible. */
	.header-actions > .button{display:none}
}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--color-border);border-radius:var(--radius-control);background:#fff;color:var(--color-ink);cursor:pointer;transition:border-color var(--transition),color var(--transition)}
.icon-button:hover{border-color:var(--color-brand);color:var(--color-brand)}
.icon-button svg{width:22px;height:22px;display:block}

/* Mobile drawer menu -------------------------------------------------- */
.menu-drawer{position:fixed;inset-block:0;inset-inline-end:0;inset-inline-start:auto;width:min(88vw,380px);max-width:100%;height:100%;max-height:100%;margin:0;padding:0;border:0;background:var(--color-background);color:var(--color-ink);box-shadow:var(--shadow-drawer);overflow-y:auto}
.menu-drawer::backdrop{background:rgba(11,11,59,.52)}
.menu-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--color-border)}
.menu-drawer__title{font-family:var(--font-display);font-size:1.1rem;letter-spacing:.14em;text-transform:uppercase;color:var(--color-brand);margin:0}
.menu-drawer__list{margin:0;padding:8px 0;list-style:none}
.menu-drawer__list a{display:block;padding:16px 22px;font-size:1.06rem;font-weight:500;text-decoration:none;color:var(--color-ink);border-bottom:1px solid var(--color-border)}
.menu-drawer__list a:hover,.menu-drawer__list a:focus-visible{color:var(--color-accent);background:var(--color-surface)}
.menu-drawer__list .current-menu-item>a{color:var(--color-brand);font-weight:600}
.menu-drawer__foot{padding:22px 20px 28px;display:grid;gap:14px}
.menu-drawer__mail{font-size:.9rem;color:var(--color-muted);text-decoration:none}
.menu-drawer__mail:hover{color:var(--color-brand)}

/* Content ------------------------------------------------------------- */
main{display:block;max-width:var(--container);margin-inline:auto;padding:clamp(36px,5vw,72px) var(--space-inline)}
#main,#contact{scroll-margin-top:calc(var(--header-height) + 16px)}
.entry{max-width:1100px;margin-inline:auto}
.entry__header{margin-bottom:var(--space-block)}
.entry__eyebrow{margin:0 0 .4em;font-size:.78rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--color-accent)}
.entry__content a{color:var(--color-brand);text-underline-offset:3px}
.entry__content a:hover{color:var(--color-accent)}
/* Long-form pages — policies, terms — are read top to bottom, so a section needs air above it and a
   list needs a line of space between items, or the whole document reads as one block of text. */
.entry__content h2,.entry__content h3{margin-top:1.6em}
.entry__content ul,.entry__content ol{display:grid;gap:.5em;margin:0 0 1.3em;padding-inline-start:1.25em;max-width:64ch}
.entry__content li{margin:0}
.entry__content .page-meta{margin:0 0 2.4em;font-size:.82rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--color-accent)}

/* A list page is read by scanning, so the heading is sized for a page rather than a poster. */
.post-list{list-style:none;padding:0;margin:0;display:grid;gap:var(--space-section)}
.post-list h2{margin:0 0 .4em;font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.15;letter-spacing:-.01em}
.post-list h2 a{text-decoration:none}
.post-list h2 a:hover{color:var(--color-brand)}
.post-list__image{display:block;margin-bottom:1rem}
.pagination{display:flex;gap:1rem;margin-top:var(--space-section)}
/* Breadcrumbs are structure, not decoration: quiet text, a separator, no bullets. */
.zeroy-breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.5em;padding:0;margin:0 0 1.5rem;font-size:.9rem;opacity:.8}
.zeroy-breadcrumbs li+li::before{content:"/";margin-right:.5em;opacity:.5}

/* Footer -------------------------------------------------------------- */
.site-footer{margin-top:var(--space-section);background:var(--color-brand-deep);border-top:3px solid var(--color-accent);color:var(--color-on-dark)}
.site-footer__inner{display:grid;gap:40px;max-width:var(--container);margin:0 auto;padding:clamp(44px,6vw,76px) var(--space-inline) 0}
@media (min-width:860px){.site-footer__inner{grid-template-columns:1.7fr 1fr 1.2fr}}
.footer-brand{display:grid;gap:16px;align-content:start}
.footer-brand__logo{display:inline-block;width:max-content;background:#fff;border-radius:8px;padding:8px 12px}
.footer-brand__logo img{width:auto;height:34px}
.footer-brand p{margin:0;max-width:46ch;font-size:1rem;color:var(--color-on-dark-soft)}
.footer-col h2{margin:0 0 18px;font-family:var(--font-display);font-size:1.05rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#fff}
.footer-col ul{display:grid;gap:12px;margin:0;padding:0;list-style:none;font-size:1rem}
.site-footer a{color:var(--color-on-dark-soft);text-decoration:none;transition:color var(--transition)}
.site-footer a:hover,.site-footer a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
.footer-contact__mail{font-weight:600;color:#fff!important}
.footer-contact__note{margin:14px 0 0;font-size:.88rem;line-height:1.6;color:var(--color-on-dark-soft)}
.site-footer__bottom{max-width:var(--container);margin:clamp(32px,4vw,52px) auto 0;padding:20px var(--space-inline) 28px;border-top:1px solid rgba(255,255,255,.14)}
.site-footer__bottom p{margin:0;max-width:none;font-size:.92rem;color:var(--color-on-dark-soft)}

/* Enquiry form -------------------------------------------------------- */
/* The form sits under the page's own words, separated by a rule rather than a box: it is the same
   document, continued. Two columns from 760px, one below; the wide fields span both. */
.inquiry{max-width:940px;margin-top:calc(var(--space-section) * .6);padding-top:var(--space-block);border-top:1px solid var(--color-border)}
.inquiry__title{margin:0 0 .35em;font-size:clamp(1.9rem,2.8vw,2.7rem)}
.inquiry__lead{margin:0 0 32px;max-width:62ch;font-size:1.05rem;color:var(--color-ink-soft)}
.inquiry__grid{display:grid;gap:20px 24px}
@media (min-width:760px){.inquiry__grid{grid-template-columns:1fr 1fr}}
.field{display:grid;gap:8px;align-content:start}
.field--wide{grid-column:1/-1}
.field__label{font-size:.8rem;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--color-ink)}
.field__req{color:var(--color-accent)}
.field input,.field select,.field textarea{width:100%;padding:14px 16px;border:1px solid var(--color-border);border-radius:var(--radius-control);background:#fff;color:var(--color-ink);font:inherit;font-size:1rem;line-height:1.4;transition:border-color var(--transition),box-shadow var(--transition)}
.field textarea{min-height:140px;resize:vertical}
.field select{appearance:none;background-image:linear-gradient(45deg,transparent 49%,var(--color-muted) 50%),linear-gradient(-45deg,transparent 49%,var(--color-muted) 50%);background-size:6px 6px,6px 6px;background-position:calc(100% - 20px) 55%,calc(100% - 14px) 55%;background-repeat:no-repeat}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--color-focus);outline-offset:1px;border-color:var(--color-brand)}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"],.field select[aria-invalid="true"]{border-color:var(--color-accent);box-shadow:0 0 0 1px var(--color-accent)}
.field input[type="file"]{padding:12px;background:var(--color-surface);cursor:pointer}
.field__hint{font-size:.86rem;line-height:1.5;color:var(--color-muted)}
.inquiry__actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px 26px;margin-top:30px}
.inquiry__progress{width:200px;height:8px;border:0;border-radius:99px;background:var(--color-surface);overflow:hidden;appearance:none}
.inquiry__progress::-webkit-progress-bar{background:var(--color-surface)}
.inquiry__progress::-webkit-progress-value{background:var(--color-brand)}
.inquiry__progress::-moz-progress-bar{background:var(--color-brand)}
.inquiry__status{margin:0;font-size:.95rem;color:var(--color-ink-soft)}
.inquiry__status:empty{display:none}
.inquiry__status[data-state="error"]{color:var(--color-accent-deep)}
.inquiry__alt{margin:26px 0 0;font-size:.98rem;color:var(--color-ink-soft)}

/* WhatsApp ------------------------------------------------------------- */
/* One inline glyph serves the floating button and the footer link; both carry a text label, and on
   narrow screens that label is only visually hidden, so the accessible name never goes away. */
.wa-icon,.wa-fab__icon{display:block;flex:none;fill:currentColor;width:1.15em;height:1.15em}

.wa-fab{position:fixed;right:clamp(14px,2.2vw,28px);bottom:calc(clamp(14px,2.2vw,28px) + env(safe-area-inset-bottom,0px));z-index:60;display:inline-flex;align-items:center;gap:10px;padding:14px 22px 14px 18px;border-radius:999px;background:#25d366;color:#08210f;font-size:1rem;font-weight:600;line-height:1;text-decoration:none;box-shadow:0 10px 28px rgba(8,20,48,.26);transition:transform var(--transition),box-shadow var(--transition),background-color var(--transition)}
.wa-fab:hover,.wa-fab:focus-visible{background-color:#1fbe5a;color:#04150a;transform:translateY(-2px);box-shadow:0 14px 32px rgba(8,20,48,.32)}
.wa-fab:focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}
.wa-fab__icon{width:22px;height:22px}
@media (max-width:560px){
	.wa-fab{padding:14px}
	.wa-fab__text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

/* The footer's own WhatsApp line sits with the email address, understated rather than coloured. */
.footer-contact__wa{display:inline-flex;align-items:center;gap:8px;margin-top:10px;color:inherit;font-size:1rem;text-decoration:none}
.footer-contact__wa .wa-icon{width:18px;height:18px;color:#25d366}
.footer-contact__wa:hover,.footer-contact__wa:focus-visible{text-decoration:underline;text-underline-offset:3px}

/* -------------------------------------------------------------------------------------------
 * Library: books and authors
 *
 * One grid rhythm for covers and portraits, one card contract for each, and a detail layout that
 * puts the object (cover, portrait) first on a phone and beside the text on a wide screen.
 * ----------------------------------------------------------------------------------------- */

.library__head { margin-bottom: clamp(20px, 3vw, 32px); }
.library__intro { max-width: 68ch; color: var(--color-ink-soft); font-size: 1.08rem; }
.library__intro p:last-child { margin-bottom: 0; }
.library__count { margin: 0 0 clamp(20px, 2.6vw, 30px); color: var(--color-muted); font-size: .95rem; letter-spacing: .01em; }
.library__empty { color: var(--color-muted); }

.book-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: clamp(22px, 2.6vw, 38px) clamp(18px, 2.2vw, 32px);
}
.book-grid--author { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }

.book-card { display: flex; flex-direction: column; }

.book-card__frame {
	display: block;
	aspect-ratio: 2 / 3;
	border-radius: 3px;
	overflow: hidden;
	background: var(--color-surface);
	box-shadow: 0 14px 30px -16px rgba(11, 11, 59, .55), 0 2px 0 rgba(11, 11, 59, .06);
	transition: transform var(--transition), box-shadow var(--transition);
}
.book-card__frame:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(11, 11, 59, .6); }
.book-card__cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.book-card__cover--blank { background: linear-gradient(160deg, var(--color-brand) 0%, var(--color-brand-deep) 100%); }

.book-card__title {
	margin: 14px 0 5px;
	font-family: var(--font-display);
	font-size: 1.22rem;
	line-height: 1.16;
	letter-spacing: .005em;
}
.book-card__title a { color: inherit; text-decoration: none; }
.book-card__title a:hover, .book-card__title a:focus-visible { color: var(--color-accent); }

.book-card__meta { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: .9rem; color: var(--color-muted); }
.book-card__author { color: var(--color-ink-soft); text-decoration: none; border-bottom: 1px solid var(--color-border); }
.book-card__author:hover, .book-card__author:focus-visible { color: var(--color-accent); border-color: currentColor; }
.book-card__year { margin-left: auto; font-variant-numeric: tabular-nums; }

/* Authors: a portrait, a name, two facts. */
.author-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
}
.author-card { text-align: center; }
.author-card__frame { display: inline-block; border-radius: 50%; }
.author-card__portrait {
	display: block;
	width: 128px;
	height: 128px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto;
	box-shadow: 0 12px 26px -14px rgba(11, 11, 59, .6);
	transition: transform var(--transition);
}
.author-card__frame:hover .author-card__portrait { transform: translateY(-3px); }
.author-card__name { margin: 16px 0 6px; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; }
.author-card__name a { color: inherit; text-decoration: none; }
.author-card__name a:hover, .author-card__name a:focus-visible { color: var(--color-accent); }
.author-card__meta { margin: 0; font-size: .9rem; color: var(--color-muted); }
.author-card__count { margin: 6px 0 0; font-size: .85rem; color: var(--color-muted); letter-spacing: .02em; text-transform: uppercase; }

/* One book: cover, then the facts, then the description and the author it belongs to. */
.book-detail__grid {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}
.book-detail__cover { margin: 0; border-radius: 3px; overflow: hidden; box-shadow: 0 22px 50px -24px rgba(11, 11, 59, .7); }
.book-detail__image { display: block; width: 100%; height: auto; }
.book-detail__body h1 { margin: .1em 0 .35em; font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.04; }
.book-detail__lede { max-width: 58ch; font-size: 1.16rem; line-height: 1.5; color: var(--color-ink-soft); }
.book-detail__content { max-width: 70ch; margin-top: clamp(32px, 5vw, 56px); }

.author-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	padding: 5px 16px 5px 5px;
	max-width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: var(--color-background);
	color: var(--color-ink-soft);
	text-decoration: none;
	transition: border-color var(--transition), color var(--transition);
}
.author-chip:hover, .author-chip:focus-visible { border-color: var(--color-accent); color: var(--color-ink); }
.author-chip__portrait { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.author-chip__text { font-size: .98rem; }

.book-facts { max-width: 440px; margin: 26px 0 0; border-top: 1px solid var(--color-border); }
.book-facts__row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--color-border); }
.book-facts dt { color: var(--color-muted); font-size: .93rem; }
.book-facts dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.author-panel {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.6vw, 30px);
	margin-top: clamp(40px, 6vw, 76px);
	padding: clamp(20px, 3vw, 34px);
	background: var(--color-surface);
	border-radius: var(--radius-panel);
}
.author-panel__portrait { width: clamp(72px, 9vw, 104px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; flex: none; }
.author-panel__body { min-width: 0; }
.author-panel__name { margin: .05em 0 .35em; font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2rem); }
.author-panel__name a { color: inherit; text-decoration: none; }
.author-panel__name a:hover, .author-panel__name a:focus-visible { color: var(--color-accent); }
.author-panel__bio { max-width: 62ch; margin: 0 0 .7em; color: var(--color-ink-soft); }
.author-panel__more { margin: 0; }
.link-more { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.link-more:hover, .link-more:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* One author: portrait and biography, then their shelf. */
.author-hero { display: flex; align-items: center; gap: clamp(22px, 4vw, 44px); margin-bottom: clamp(24px, 4vw, 40px); }
.author-hero__portrait { margin: 0; flex: none; }
.author-hero__image {
	display: block;
	width: clamp(112px, 14vw, 168px);
	height: auto;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 18px 40px -20px rgba(11, 11, 59, .65);
}
.author-hero__body { min-width: 0; }
.author-hero__body h1 { margin: .08em 0 .3em; font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: 1.03; }
.author-hero__meta { margin: 0 0 14px; color: var(--color-muted); }
.author-hero__lede { max-width: 56ch; margin: 0; font-size: 1.14rem; line-height: 1.5; color: var(--color-ink-soft); }
.author-hero__link { margin: 14px 0 0; }
.author-hero__link a { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.author-hero__link a:hover, .author-hero__link a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.author-detail__bio { max-width: 70ch; }

.author-books { margin-top: clamp(40px, 6vw, 76px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--color-border); }
.author-books__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: clamp(20px, 2.6vw, 30px); }
.author-books__head h2 { margin: 0; font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.author-books__count { margin: 0; color: var(--color-muted); font-size: .95rem; }

@media (max-width: 760px) {
	.book-detail__grid { grid-template-columns: minmax(0, 1fr); }
	.book-detail__cover { max-width: 240px; }
	.author-hero { flex-direction: column; align-items: flex-start; text-align: left; }
	.author-panel { flex-direction: column; align-items: flex-start; }
	.book-grid, .book-grid--author { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
	.author-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
	.author-card__portrait { width: 104px; height: 104px; }
}
