/* =========================================================================
   NICK BRONZE · INTERNATIONAL AUTHOR — front-end styles (Concept A)
   Simple. Classy. Timeless. Professional.
   ========================================================================= */

/* ---------- Tokens ------------------------------------------------------ */
:root {
	--nb-paper: #fbf8f3;
	--nb-white: #ffffff;
	--nb-ink: #141414;
	--nb-charcoal: #2d2d2d;
	--nb-muted: #6d675f;
	--nb-rule: #e4ddd1;
	--nb-rule-strong: #cfc5b5;
	--nb-red: #9e1b1e;
	--nb-red-link: #b3201f;
	--nb-red-footer: #a3161a;
	--nb-bronze: #96683c;
	--nb-gold: #b89a5e;
	--nb-night: #01081b;

	--nb-display: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
	--nb-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

	--nb-wrap: 1200px;
	--nb-narrow: 760px;
	--nb-gutter: clamp(16px, 4vw, 48px);
	--nb-section: clamp(64px, 9vw, 128px);
	--nb-ease: cubic-bezier(.22, .61, .36, 1);
	--nb-admin-bar: 0px;
}
.admin-bar { --nb-admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --nb-admin-bar: 46px; } }

/* ---------- Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--nb-paper);
	color: var(--nb-ink);
	font-family: var(--nb-body);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--nb-display);
	font-weight: 600;
	line-height: 1.15;
	color: var(--nb-ink);
	margin: 0 0 .5em;
}
p { margin: 0 0 1.25em; }
:focus-visible { outline: 2px solid var(--nb-bronze); outline-offset: 3px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nb-skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--nb-ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.nb-skip-link:focus { top: calc(var(--nb-admin-bar) + 8px); }

.nb-wrap { width: 100%; max-width: var(--nb-wrap); margin: 0 auto; padding: 0 var(--nb-gutter); }
.nb-narrow { max-width: calc(var(--nb-narrow) + 2 * var(--nb-gutter)); }
.nb-center { text-align: center; }
.nb-section { padding: var(--nb-section) 0; }
.nb-section--tight { padding-top: clamp(32px, 5vw, 64px); }
.nb-section + .nb-section--tight { padding-top: 0; }
.nb-empty { text-align: center; color: var(--nb-muted); font-style: italic; }

/* ---------- Header & navigation ---------------------------------------- */
.nb-header { position: relative; z-index: 50; background: var(--nb-paper); padding-top: 34px; text-align: center; }
.nb-header__bar { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.nb-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; text-decoration: none; line-height: 1; }
.nb-brand__name { font-family: var(--nb-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 40px); letter-spacing: .2em; padding-left: .2em; text-transform: uppercase; color: var(--nb-ink); }
.nb-brand__tag { font-family: var(--nb-body); font-size: 11px; font-weight: 700; letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: var(--nb-bronze); }
.nb-brand--logo img { max-height: 90px; width: auto; }

.nb-nav { width: 100%; border-top: 1px solid var(--nb-rule); border-bottom: 1px solid var(--nb-rule); }
.nb-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.nb-menu li { display: flex; align-items: center; }
.nb-menu li + li::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--nb-rule-strong); }
.nb-menu a { display: block; padding: 15px 22px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--nb-charcoal); transition: color .25s var(--nb-ease); }
.nb-menu a:hover { color: var(--nb-red); }
.nb-menu .current-menu-item > a, .nb-menu .current_page_item > a, .nb-menu a[aria-current="page"] { color: var(--nb-red); box-shadow: inset 0 -2px 0 var(--nb-red); }

.nb-menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nb-menu-toggle span { display: block; height: 1.5px; margin: 6px 0; background: var(--nb-ink); transition: transform .3s var(--nb-ease), opacity .3s; }
.nb-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nb-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nb-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
	.nb-header { position: sticky; top: var(--nb-admin-bar); padding: 0; border-bottom: 1px solid var(--nb-rule); text-align: left; }
	.nb-header__bar { flex-direction: row; justify-content: space-between; height: 68px; gap: 12px; }
	.nb-brand { align-items: flex-start; gap: 5px; }
	.nb-brand__name { font-size: 22px; letter-spacing: .16em; padding-left: 0; }
	.nb-brand__tag { font-size: 9px; letter-spacing: .34em; padding-left: 0; }
	.nb-brand--logo img { max-height: 48px; }
	.nb-menu-toggle { display: block; }
	.nb-nav {
		position: fixed; inset: calc(68px + var(--nb-admin-bar)) 0 0 0; z-index: 60; overflow-y: auto;
		background: var(--nb-paper); border: 0; padding: 28px var(--nb-gutter);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s var(--nb-ease), transform .3s var(--nb-ease), visibility .3s;
	}
	.nb-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nb-menu { flex-direction: column; }
	.nb-menu li { display: block; border-bottom: 1px solid var(--nb-rule); }
	.nb-menu li + li::before { display: none; }
	.nb-menu a { padding: 18px 0; text-align: center; font-family: var(--nb-display); font-size: 26px; font-weight: 600; letter-spacing: .04em; text-transform: none; box-shadow: none !important; }
	@media (max-width: 782px) { .admin-bar .nb-header { top: 0; } }
}
@media (max-width: 600px) { .admin-bar .nb-header { position: relative; } .admin-bar .nb-nav { position: absolute; top: 68px; height: calc(100vh - 68px); } }

/* ---------- Typographic furniture -------------------------------------- */
.nb-eyebrow { display: block; font-family: var(--nb-body); font-size: 11.5px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--nb-bronze); margin: 0 0 18px; }
.nb-ornament, .wp-block-separator.is-style-nb-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--nb-gold); margin: 22px auto 0; }
.nb-ornament::before, .nb-ornament::after { content: ""; width: 64px; height: 1px; background: currentColor; opacity: .7; }
.nb-ornament i { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }
.wp-block-separator.is-style-nb-ornament { border: 0; height: 9px; width: 160px; max-width: 160px; background:
	linear-gradient(currentColor, currentColor) left center / 64px 1px no-repeat,
	linear-gradient(currentColor, currentColor) right center / 64px 1px no-repeat;
	position: relative; opacity: 1; }
.wp-block-separator.is-style-nb-ornament::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border: 1px solid currentColor; transform: translate(-50%, -50%) rotate(45deg); }

.nb-section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.nb-section-head__title { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin: 0; }
h1.nb-section-head__title { font-size: clamp(40px, 5.6vw, 68px); }

/* ---------- Buttons & links -------------------------------------------- */
.nb-btn, .wp-block-button.is-style-nb-outline .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 0 24px; border: 1px solid var(--nb-ink); border-radius: 0;
	background: transparent; color: var(--nb-ink); text-decoration: none; cursor: pointer;
	font-family: var(--nb-body); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2;
	transition: background .25s var(--nb-ease), color .25s var(--nb-ease), border-color .25s var(--nb-ease);
}
.nb-btn:hover, .wp-block-button.is-style-nb-outline .wp-block-button__link:hover { background: var(--nb-ink); color: #fff; }
.nb-btn--solid { background: var(--nb-ink); color: #fff; }
.nb-btn--solid:hover { background: var(--nb-red); border-color: var(--nb-red); }
.nb-cta { text-align: center; margin: 56px 0 0; }
.nb-text-link { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--nb-ink); border-bottom: 1px solid var(--nb-red); padding-bottom: 4px; transition: color .2s; }
.nb-text-link:hover { color: var(--nb-red); }
.nb-round-btn { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; transition: background .2s; }
.nb-round-btn:hover { background: rgba(0,0,0,.6); }
.nb-round-btn svg { width: 13px; height: 13px; fill: currentColor; }

/* ---------- Homepage sequence (edge to edge) --------------------------- */
.nb-seq { position: relative; width: 100%; background: #000; }
.nb-seq__stage { position: relative; width: 100%; overflow: hidden; isolation: isolate; }
.nb-seq__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.nb-seq__pause, .nb-page-seq__pause { position: absolute; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 5; opacity: .75; }
.nb-seq__pause:hover, .nb-seq__pause:focus-visible, .nb-page-seq__pause:hover, .nb-page-seq__pause:focus-visible { opacity: 1; }

.nb-seq--slides .nb-seq__stage { aspect-ratio: 16 / 9; background: #050505; }
@media (max-width: 640px) { .nb-seq--slides .nb-seq__stage { aspect-ratio: 1 / 1; } }
.nb-slide { position: absolute; inset: 0; background: var(--bg, #000); opacity: 0; visibility: hidden; transition: opacity 1s var(--nb-ease), visibility 0s linear 1s; display: flex; align-items: center; justify-content: center; }
.nb-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--nb-ease), visibility 0s; z-index: 2; }
.nb-slide__img, .nb-slide__video { width: 100%; height: 100%; object-fit: cover; }
.nb-slide--fit-contain .nb-slide__img { width: auto; height: auto; max-width: 88%; max-height: 88%; object-fit: contain; }
.nb-slide--t-zoom.is-active .nb-slide__img, .nb-slide--t-zoom.is-active .nb-slide__video { animation: nb-kenburns 7s var(--nb-ease) both; }
@keyframes nb-kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.nb-slide--cover .nb-slide__bg { position: absolute; inset: -10%; background:
	radial-gradient(40% 55% at 28% 38%, var(--g1) 0%, transparent 70%),
	radial-gradient(38% 50% at 74% 66%, var(--g2) 0%, transparent 72%),
	linear-gradient(160deg, var(--bg), #050508 85%); opacity: .92; }
.nb-slide--cover.is-active .nb-slide__bg { animation: nb-drift 9s ease-in-out both; }
@keyframes nb-drift { from { transform: translate3d(-2%, 1%, 0) scale(1.02); } to { transform: translate3d(2%, -1%, 0) scale(1.08); } }
.nb-slide__beam { position: absolute; left: 50%; top: -20%; width: 46%; height: 140%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.16), transparent 70%); pointer-events: none; }
.nb-slide--cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 75% at 50% 50%, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.nb-slide__cover { position: relative; z-index: 1; height: 84%; width: auto; max-width: 72%; object-fit: contain; box-shadow: 0 28px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.nb-slide--t-rise .nb-slide__cover, .nb-slide--t-rise .nb-slide__img { opacity: 0; transform: translateY(22px) scale(.94); }
.nb-slide--t-rise.is-active .nb-slide__cover, .nb-slide--t-rise.is-active .nb-slide__img { animation: nb-rise 1.4s var(--nb-ease) .15s forwards; }
@keyframes nb-rise { to { opacity: 1; transform: none; } }

.nb-seq__ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 16px clamp(14px, 3vw, 28px); background: linear-gradient(transparent, rgba(0,0,0,.42)); opacity: 0; transition: opacity .35s var(--nb-ease); }
.nb-seq:hover .nb-seq__ui, .nb-seq:focus-within .nb-seq__ui, .nb-seq.is-paused .nb-seq__ui { opacity: 1; }
@media (hover: none) { .nb-seq__ui { opacity: 1; } }
.nb-seq__progress { flex: 1; display: flex; gap: 6px; }
.nb-seq__progress button { flex: 1; height: 16px; padding: 7px 0; border: 0; background: none; cursor: pointer; }
.nb-seq__progress span { display: block; height: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.nb-seq__progress i { position: absolute; inset: 0; width: 0; background: #fff; }
.nb-seq__label { max-width: 32%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgba(255,255,255,.85); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 640px) { .nb-seq__label { display: none; } }

/* ---------- Page header sequences (edge to edge, never cropped) -------- */
.nb-page-seq { position: relative; margin: 0; width: 100%; background: #000; }
.nb-page-seq__stage { position: relative; width: 100%; overflow: hidden; }
.nb-page-seq__video, .nb-page-seq__poster { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Media strip: voice over + red links + ticker --------------- */
.nb-media-strip { text-align: center; }
.nb-media-strip__row { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 34px var(--nb-gutter) 30px; }
.nb-red-links { margin: 0; font-family: var(--nb-display); font-style: italic; font-size: 19px; }
.nb-red-links a { color: var(--nb-red-link); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nb-red-links a:hover, .nb-red-links a:focus-visible { border-color: currentColor; }
.nb-red-links__sep { color: var(--nb-red-link); opacity: .55; margin: 0 .6em; }

.nb-ticker { position: relative; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--nb-rule); border-bottom: 1px solid var(--nb-rule); font-family: var(--nb-display); font-style: italic; font-size: 21px; color: var(--nb-charcoal); }
.nb-ticker__track { display: inline-flex; animation: nb-tick var(--nb-tick, 60s) linear infinite; will-change: transform; }
.nb-ticker:hover .nb-ticker__track, .nb-ticker:focus .nb-ticker__track, .nb-ticker:focus-within .nb-ticker__track { animation-play-state: paused; }
.nb-ticker__group { display: inline-flex; align-items: center; }
.nb-ticker__item { display: inline-flex; align-items: center; padding: 14px 0; }
.nb-ticker__item::after { content: ""; flex: none; width: 6px; height: 6px; margin: 0 34px; border: 1px solid var(--nb-gold); transform: rotate(45deg); }
@keyframes nb-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Voiceover player ------------------------------------------- */
.nb-vo { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.nb-vo__icon { width: 18px; height: 18px; display: grid; place-items: center; }
.nb-vo__icon svg { width: 11px; height: 11px; fill: currentColor; }
.nb-vo.is-playing .nb-vo__btn { background: var(--nb-red); border-color: var(--nb-red); color: #fff; }
.nb-vo__ui { display: flex; align-items: center; gap: 12px; width: min(340px, 86vw); font-size: 12px; color: var(--nb-muted); font-variant-numeric: tabular-nums; }
.nb-vo__ui[hidden] { display: none; }
.nb-vo__time { min-width: 76px; text-align: right; }
.nb-vo__vol-icon { width: 14px; height: 14px; flex: none; fill: currentColor; }
.nb-vo input[type="range"] { -webkit-appearance: none; appearance: none; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.nb-vo__seek { flex: 1; min-width: 80px; }
.nb-vo__vol { width: 64px; }
.nb-vo input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--nb-red) var(--p, 0%), var(--nb-rule-strong) var(--p, 0%)); }
.nb-vo input[type="range"]::-moz-range-track { height: 2px; background: var(--nb-rule-strong); }
.nb-vo input[type="range"]::-moz-range-progress { height: 2px; background: var(--nb-red); }
.nb-vo input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border: 0; border-radius: 50%; background: var(--nb-red); }
.nb-vo input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--nb-red); }

/* ---------- Homepage introduction -------------------------------------- */
.nb-intro__title { font-size: clamp(44px, 6vw, 76px); margin: 0; }
.nb-intro__text { margin-top: 34px; }
.nb-intro__text p { font-size: 17.5px; color: var(--nb-charcoal); }
.nb-intro__text p:first-child { font-family: var(--nb-display); font-weight: 500; font-size: clamp(22px, 2.3vw, 26px); line-height: 1.55; color: var(--nb-ink); }
.nb-intro__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 32px; margin-top: 34px; }
@media (max-width: 640px) { .nb-intro__text p { text-align: left; } .nb-intro__text p:first-child { font-size: 21px; } }

/* ---------- Book covers & galleries ------------------------------------ */
.nb-cover { position: relative; display: block; aspect-ratio: var(--ratio, 3 / 5); height: var(--cover-h, 520px); width: auto; max-width: 100%; margin: 0 auto; overflow: hidden; background: #e9e4dc; box-shadow: 0 1px 0 var(--nb-rule), 0 18px 34px -20px rgba(20,20,20,.5); }
.nb-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nb-cover--missing { display: flex; align-items: center; justify-content: center; width: calc(var(--cover-h, 520px) * .6); padding: 16px; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--nb-muted); background: repeating-linear-gradient(45deg, #efeae2 0 12px, #f6f2ec 12px 24px); }

.nb-books { --cover-h: clamp(440px, 38vw, 540px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 88px clamp(28px, 4vw, 64px); text-align: center; }
.nb-book__media { display: block; text-decoration: none; transition: transform .5s var(--nb-ease); }
.nb-book__media:hover { transform: translateY(-6px); }
.nb-book__title { font-size: 32px; line-height: 1.15; margin: 28px 0 14px; }
.nb-book__title a { text-decoration: none; }
.nb-book__title a:hover { color: var(--nb-red); }
.nb-book__status { display: block; margin: -6px 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--nb-bronze); }
.nb-book__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nb-book--buy .nb-book__title { font-size: 30px; margin-top: 26px; }
.nb-buy__links { display: flex; flex-direction: column; gap: 10px; max-width: 300px; margin: 0 auto; }
.nb-buy__links .nb-btn { width: 100%; }
.nb-buy__links--row { flex-direction: row; flex-wrap: wrap; max-width: none; margin: 28px 0 0; }
.nb-buy__links--row .nb-btn { width: auto; }
.nb-buy__soon { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--nb-muted); }

.nb-shelf { --cover-h: clamp(300px, 31vw, 450px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); text-align: center; }
.nb-shelf__item { display: block; text-decoration: none; }
.nb-shelf__item .nb-cover { transition: transform .5s var(--nb-ease); }
.nb-shelf__item:hover .nb-cover { transform: translateY(-6px); }
.nb-shelf__title { display: block; margin-top: 20px; font-family: var(--nb-display); font-size: 24px; line-height: 1.2; }

@media (max-width: 900px) {
	.nb-books { --cover-h: min(460px, calc((100vw - 80px) / 2 / .6)); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
	.nb-shelf { --cover-h: calc((100vw - 64px) / 2 / .62); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 18px; }
	.nb-book__title { font-size: 26px; }
}
@media (max-width: 600px) {
	.nb-books { --cover-h: min(560px, calc((100vw - 64px) / .62)); grid-template-columns: minmax(0, 1fr); }
	.nb-shelf { --cover-h: calc((100vw - 50px) / 2 / .62); }
	.nb-shelf__title { font-size: 19px; }
}

/* Single book */
.nb-book-single__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.nb-book-single__cover { --cover-h: clamp(420px, 46vw, 640px); }
.nb-book-single__title { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.nb-book-single__author { font-family: var(--nb-display); font-style: italic; font-size: 21px; color: var(--nb-charcoal); }
.nb-book-single__lead { font-family: var(--nb-display); font-size: 24px; line-height: 1.5; }
.nb-book-single__actions { margin: 8px 0 28px; }
.nb-book-single__actions .nb-vo { align-items: flex-start; }
.nb-book-single__premise { border-top: 1px solid var(--nb-rule); padding-top: 22px; margin-top: 8px; }
.nb-book-single__trailer { margin-top: var(--nb-section); }
@media (max-width: 800px) { .nb-book-single__grid { grid-template-columns: 1fr; text-align: center; } .nb-book-single__actions .nb-vo { align-items: center; } .nb-buy__links--row { justify-content: center; } }

/* ---------- Trailers ---------------------------------------------------- */
.nb-trailer { margin: 0 auto; }
.nb-trailer--featured { max-width: 1040px; }
.nb-trailer__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0b0b; box-shadow: 0 0 0 1px var(--nb-rule), 0 0 0 9px var(--nb-paper), 0 0 0 10px var(--nb-gold); }
.nb-trailer--card .nb-trailer__stage { box-shadow: 0 0 0 1px var(--nb-rule); }
.nb-trailer__stage video, .nb-trailer__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.nb-trailer__facade { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.nb-trailer__facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.nb-trailer__facade:hover img { opacity: 1; }
.nb-trailer__play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; }
.nb-trailer__play svg { width: 20px; height: 20px; margin-left: 4px; fill: currentColor; }
.nb-trailer__soon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 64px); padding: 6%; color: #fff; }
.nb-trailer__blur { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(42px) brightness(.45) saturate(1.2); }
.nb-trailer__soon img { position: relative; height: 80%; width: auto; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.nb-trailer__soon-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.nb-trailer__tag { display: inline-block; padding: 7px 11px; border: 1px solid rgba(255,255,255,.6); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; }
.nb-trailer__soon-title { font-family: var(--nb-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; }
.nb-trailer__caption { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 26px; text-align: center; }
.nb-trailer__title { font-size: 30px; margin: 0; }
.nb-trailer__desc, .nb-trailer__more { margin: 0; color: var(--nb-muted); max-width: 640px; }
.nb-trailer__caption .nb-vo { margin-top: 12px; }
.nb-trailer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin-top: 80px; }
.nb-trailer--card .nb-trailer__title { font-size: 23px; }
.nb-trailer--card .nb-trailer__soon-copy { align-items: center; }
@media (max-width: 900px) { .nb-trailer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.nb-trailer-grid { grid-template-columns: 1fr; }
	.nb-trailer__stage { box-shadow: 0 0 0 1px var(--nb-rule); }
	.nb-trailer__soon { flex-direction: column; gap: 10px; padding: 18px; text-align: center; }
	.nb-trailer__soon img { height: 54%; }
	.nb-trailer__soon-copy { align-items: center; }
	.nb-trailer__soon-title { display: none; }
}

/* ---------- Author profile (Book Smart Think Tank card style) ---------- */
.nb-profile { max-width: 800px; margin: 0 auto; }
.nb-profile__head { display: flex; align-items: center; gap: 28px; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--nb-rule-strong); }
.nb-profile__logo { flex: none; width: 128px; height: 128px; object-fit: contain; }
.nb-profile__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--nb-muted); }
.nb-profile__name { font-size: clamp(40px, 5vw, 56px); line-height: 1.05; margin: 0 0 10px; }
.nb-profile__role { margin: 0; font-family: var(--nb-display); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--nb-charcoal); }
.nb-profile .nb-content p { font-size: 17.5px; line-height: 1.9; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.nb-profile .nb-profile__photo { float: right; width: min(320px, 42%); max-width: 320px; margin: 6px 0 22px 36px; box-shadow: 0 0 0 1px var(--nb-rule), 0 18px 36px -22px rgba(0,0,0,.45); }
.nb-profile__body::after { content: ""; display: table; clear: both; }
.nb-profile.is-collapsible .nb-profile__preview { position: relative; }
.nb-profile.is-collapsible:not(.is-open) .nb-profile__preview::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1; background: linear-gradient(rgba(251,248,243,0), var(--nb-paper)); pointer-events: none; }
.nb-profile__toggle { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 0 0 3px; background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-family: var(--nb-display); font-style: italic; font-weight: 600; font-size: 20px; color: var(--nb-red); }
.nb-profile__toggle i { font-style: normal; display: inline-block; transition: transform .3s var(--nb-ease); }
.nb-profile.is-open .nb-profile__toggle i { transform: rotate(180deg); }
.nb-profile__more h2 { font-size: 28px; margin: 52px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--nb-rule); }
.nb-profile.is-collapsible.js-ready:not(.is-open) .nb-profile__more { display: none; }
@media (max-width: 640px) {
	.nb-profile__head { flex-direction: column; text-align: center; gap: 18px; }
	.nb-profile .nb-profile__photo { float: none; display: block; width: 100%; max-width: 360px; margin: 0 auto 28px; }
	.nb-profile .nb-content p { text-align: left; hyphens: manual; }
}

/* Media logo wall */
.nb-logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--nb-rule); border-left: 1px solid var(--nb-rule); }
.nb-logo-wall li { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 18px 16px; border-right: 1px solid var(--nb-rule); border-bottom: 1px solid var(--nb-rule); }
.nb-logo-wall a { display: contents; }
.nb-logo-wall img { width: auto; max-width: 100%; max-height: 64px; object-fit: contain; transition: transform .35s var(--nb-ease); }
.nb-logo-wall li:hover img { transform: scale(1.06); }
@media (max-width: 1000px) { .nb-logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nb-logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nb-logo-wall img { max-height: 52px; } }

/* ---------- Editor content (pages, extra sections, legal) ------------- */
.nb-content > * { max-width: var(--nb-narrow); margin-left: auto; margin-right: auto; }
.nb-content > .alignwide { max-width: var(--nb-wrap); }
.nb-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.nb-content h2 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 1.6em; }
.nb-content h3 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.4em; }
.nb-content p, .nb-content li { color: var(--nb-charcoal); }
.nb-content a { color: var(--nb-red-link); text-underline-offset: 3px; }
.nb-content ul, .nb-content ol { padding-left: 1.3em; }
.nb-content blockquote { margin: 2em auto; padding: 0 0 0 24px; border-left: 2px solid var(--nb-red); font-family: var(--nb-display); font-size: 24px; line-height: 1.5; }
.nb-content .wp-block-quote.is-style-nb-statement { border: 0; padding: clamp(32px, 5vw, 64px) 0; text-align: center; font-size: clamp(26px, 3vw, 36px); line-height: 1.35; color: var(--nb-ink); }
.nb-content .wp-block-quote.is-style-nb-statement::before, .nb-content .wp-block-quote.is-style-nb-statement::after { content: ""; display: block; width: 40px; height: 1px; margin: 0 auto 28px; background: var(--nb-red); }
.nb-content .wp-block-quote.is-style-nb-statement::after { margin: 28px auto 0; }
.nb-content .wp-block-quote cite { display: block; margin-top: 12px; font-family: var(--nb-body); font-size: 12px; font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--nb-muted); }
.nb-content figure { margin: 2em auto; }
.nb-content figcaption { font-size: 13px; color: var(--nb-muted); text-align: center; }
.wp-block-image.is-style-nb-framed img { box-shadow: 0 0 0 1px var(--nb-rule), 0 0 0 9px var(--nb-paper), 0 0 0 10px var(--nb-gold); }
.nb-content .wp-block-list.is-style-nb-tags, .nb-content ul.is-style-nb-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.nb-content .is-style-nb-tags li { margin: 0; padding: 3px 12px; background: #fff; border: 1px solid var(--nb-rule); font-family: var(--nb-display); font-style: italic; font-size: 17px; }
.nb-content .wp-block-button__link { border-radius: 0; background: var(--nb-ink); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 15px 26px; }
.nb-content .wp-block-button__link:hover { background: var(--nb-red); }
.nb-content .nb-eyebrow { margin-bottom: 14px; }
.nb-content .nb-pattern-head { text-align: center; margin-bottom: 48px; }
.nb-content .nb-section-head__title { margin-top: 0; }
.nb-content .wp-block-columns { gap: clamp(24px, 4vw, 64px); }
.nb-content .nb-section { padding: clamp(40px, 6vw, 80px) 0; }
.nb-content .nb-section:first-child { padding-top: 0; }
.nb-extra { padding-top: 0; }
.nb-content .nb-center { text-align: center; }

/* Legal documents */
.nb-legal__head { text-align: center; margin-bottom: 48px; }
.nb-legal__title { font-size: clamp(40px, 5vw, 60px); }
.nb-legal__body h2 { font-family: var(--nb-display); font-size: 26px; margin: 2.1em auto .5em; }
.nb-legal__body p, .nb-legal__body li { font-size: 16.5px; line-height: 1.8; }

/* Archives */
.nb-entries { display: grid; gap: 48px; }
.nb-entry { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding-bottom: 48px; border-bottom: 1px solid var(--nb-rule); }
.nb-entry:not(:has(.nb-entry__thumb)) { grid-template-columns: 1fr; }
.nb-entry__title { font-size: 30px; }
.nb-entry__title a { text-decoration: none; }
.nb-pagination { margin-top: 48px; text-align: center; }
.nb-pagination .page-numbers { display: inline-block; padding: 6px 12px; text-decoration: none; }
.nb-pagination .current { color: var(--nb-red); }
@media (max-width: 640px) { .nb-entry { grid-template-columns: 1fr; } }
.search-form { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; }
.search-form input[type="search"] { padding: 12px 14px; border: 1px solid var(--nb-rule-strong); background: #fff; font: inherit; min-width: 0; flex: 1; max-width: 420px; }
.search-form .search-submit { border: 1px solid var(--nb-ink); background: var(--nb-ink); color: #fff; padding: 0 20px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }

/* ---------- Footer: the red signature section --------------------------- */
.nb-footer { background: var(--nb-red-footer); color: #fff; text-align: center; padding: clamp(64px, 8vw, 104px) 0 36px; }
.js .nb-footer__brand { opacity: 0; transform: translateY(18px) scale(.97); transition: opacity 1.1s var(--nb-ease), transform 1.1s var(--nb-ease); }
.js .nb-footer__brand.is-in { opacity: 1; transform: none; }
.nb-footer__logo { display: block; position: relative; overflow: hidden; width: min(var(--logo, 300px), 78vw); aspect-ratio: 1; margin: 0 auto; background: var(--nb-night); box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.nb-footer__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nb-footer__logo::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,231,180,.28), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
.nb-anim-both.is-in .nb-footer__logo img, .nb-anim-breathe.is-in .nb-footer__logo img { animation: nb-breathe 7s ease-in-out infinite; }
.nb-anim-both.is-in .nb-footer__logo::after, .nb-anim-sheen.is-in .nb-footer__logo::after { animation: nb-sheen 7s ease-in-out 1.2s infinite; }
@keyframes nb-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes nb-sheen { 0% { left: -60%; opacity: 0; } 8% { opacity: 1; } 30% { left: 130%; opacity: 0; } 100% { left: 130%; opacity: 0; } }
.nb-footer__caption { display: block; margin-top: 18px; font-size: 10.5px; letter-spacing: .4em; text-transform: uppercase; opacity: .85; }
.nb-social { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.nb-social a { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transition: background .25s, color .25s, border-color .25s; }
.nb-social a:hover, .nb-social a:focus-visible { background: #fff; color: var(--nb-red-footer); border-color: #fff; }
.nb-social svg { width: 17px; height: 17px; fill: currentColor; }
.nb-social img { width: 20px; height: 20px; object-fit: contain; }
.nb-legal-links { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; }
.nb-legal-links a { color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; }
.nb-legal-links a:hover, .nb-legal-links a:focus-visible { border-color: #fff; }
.nb-footer :focus-visible { outline-color: #fff; }
.nb-copyright { max-width: var(--nb-wrap); margin: 44px auto 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22); font-size: 12px; letter-spacing: .06em; opacity: .88; }

/* ---------- Scroll reveals (book covers only) -------------------------- */
.js .nb-reveal { opacity: 0; transition: opacity .9s var(--nb-ease); }
.js .nb-reveal.is-in { opacity: 1; }

/* ---------- Comments (if enabled) -------------------------------------- */
.comments-area { padding-bottom: var(--nb-section); }
.comment-list { list-style: none; padding: 0; }
.comment-respond textarea, .comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"] { width: 100%; padding: 10px; border: 1px solid var(--nb-rule-strong); background: #fff; font: inherit; }

/* ---------- Reduced motion -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.nb-slide--t-rise .nb-slide__cover, .nb-slide--t-rise .nb-slide__img, .js .nb-reveal, .nb-footer__brand { opacity: 1 !important; transform: none !important; }
	.nb-ticker { white-space: normal; text-align: center; }
	.nb-ticker__track { display: block; animation: none !important; }
	.nb-ticker__group + .nb-ticker__group { display: none; }
	.nb-ticker__item { padding: 8px 0; }
	.nb-ticker__item::after { margin: 0 18px; }
}

/* ---------- Print -------------------------------------------------------- */
@media print {
	.nb-header .nb-nav, .nb-menu-toggle, .nb-seq, .nb-page-seq, .nb-media-strip, .nb-footer__brand, .nb-social { display: none !important; }
	.nb-footer { background: none; color: #000; }
	.nb-legal-links a { color: #000; }
}
