/* Bruce Jahandideh: book and article refinements.
   This final layer preserves the source content and existing navigation behaviour. */
.book-detail,
.article-page {
  --red: #C53B30;
  --paper: #F7F5EF;
  --ink: #171A19;
  --muted: #62665F;
  --line: #D8D9CF;
  color: var(--ink);
  background: var(--paper);
}
.book-detail main,
.article-page main { overflow: clip; }
.book-detail .detail-top,
.book-detail .detail-inside,
.book-detail .detail-praise,
.book-detail .related-books {
  background: var(--paper);
  padding-inline: max(5vw, calc((100vw - 1240px) / 2));
}
.book-detail .detail-top { padding-top: 30px; padding-bottom: 88px; }
.book-detail .book-back { font-size: 14px; margin-bottom: 40px; min-height: 44px; }
.book-detail .shelf-book {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 100px);
  background: none;
  align-items: center;
  overflow: visible;
}
.book-detail .shelf-stage {
  order: 0;
  padding: 0;
  gap: 24px;
  background: none;
  border: 0;
  min-height: 0;
  box-shadow: none;
  overflow: visible;
}
.book-detail .shelf-stage::before,
.book-detail .shelf-stage::after { content: none; }
.book-detail .shelf-stage .stage-label {
  position: static;
  font: 700 11px/1.5 Arial, Helvetica, sans-serif;
  color: var(--muted);
  letter-spacing: .1em;
}
.book-detail .shelf-stage .book-object {
  width: min(100%, 420px);
  max-width: 100%;
  background: none;
  transform: none;
  box-shadow: 0 8px 24px #171a191c;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.book-detail .shelf-stage .book-object img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}
.book-detail .shelf-stage .stage-footnote {
  position: static;
  font: italic 15px/1.5 Georgia, 'Times New Roman', serif;
  color: var(--muted);
  padding: 0;
  max-width: 38ch;
}
.book-detail .shelf-stage .book-object:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 7px;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .book-detail .shelf-stage .book-object:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 28px #171a1924;
  }
}
.book-detail .shelf-copy { padding: 0; min-width: 0; }
.book-detail .shelf-copy .pill {
  border: 0;
  border-radius: 0;
  padding: 0 0 0 11px;
  border-left: 3px solid var(--red);
  font: 700 11px/1.5 Arial, Helvetica, sans-serif;
  color: var(--muted);
  letter-spacing: .09em;
}
.book-detail .shelf-copy h1 {
  color: var(--ink);
  font: 600 clamp(42px, 4.8vw, 68px)/1.04 Arial, Helvetica, sans-serif;
  letter-spacing: -.045em;
  margin: 26px 0 0;
  max-width: 14ch;
  text-wrap: balance;
}
.book-detail .shelf-copy h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -.04em;
}
.book-detail .shelf-copy .book-subtitle {
  font: italic clamp(22px, 2vw, 27px)/1.4 Georgia, 'Times New Roman', serif;
  color: var(--ink);
  margin: 24px 0 0;
  max-width: 36ch;
}
.book-detail .featured-copy.shelf-copy > p.shelf-hook {
  font: 600 20px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 30px 0 14px;
  max-width: 42ch;
}
.book-detail .featured-copy.shelf-copy > p.shelf-description {
  font: 17px/1.7 Arial, Helvetica, sans-serif;
  color: var(--muted);
  max-width: 49ch;
  margin: 0 0 23px;
}
.book-detail .featured-copy.shelf-copy > p.shelf-credit {
  color: var(--muted);
  font: 14px/1.65 Arial, Helvetica, sans-serif;
  max-width: 54ch;
  margin: 0 0 28px;
}
.book-detail .shelf-actions { gap: 16px 24px; }
.book-detail .shelf-actions .text-link { font-size: 14px; min-height: 44px; }
.book-detail .detail-inside { padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.book-detail .detail-intro { grid-template-columns: .95fr 1.05fr; gap: 24px 8vw; }
.book-detail .detail-intro > .eyebrow { margin: 0 0 12px; color: var(--red); }
.book-detail .detail-intro h2,
.book-detail .detail-praise h2 {
  font: 600 clamp(38px, 4.3vw, 58px)/1.1 Arial, Helvetica, sans-serif;
  color: var(--ink);
  letter-spacing: -.04em;
}
.book-detail .detail-intro h2 em,
.book-detail .detail-praise h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--red); }
.book-detail .detail-intro .large-copy { font: 25px/1.45 Georgia, 'Times New Roman', serif; color: var(--ink); }
.book-detail .detail-intro > div > p:not(.large-copy) { font: 17px/1.75 Arial, Helvetica, sans-serif; color: var(--muted); margin-top: 23px; }
.book-detail .moment-framework { grid-template-columns: .95fr 1.05fr; gap: 8vw; margin-top: 68px; padding-top: 40px; border-color: var(--line); }
.book-detail .moment-framework .eyebrow { font-size: 11px; color: var(--muted); }
.book-detail .moment-framework h3 { font: 600 39px/1.1 Arial, Helvetica, sans-serif; letter-spacing: -.035em; }
.book-detail .moment-framework h3 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--red); }
.book-detail .moment-framework ol { gap: 20px; }
.book-detail .moment-framework li { font-size: 17px; line-height: 1.5; gap: 23px; }
.book-detail .moment-framework li b { background: none; color: var(--red); border-radius: 0; font: 600 30px/1 Arial, Helvetica, sans-serif; width: 34px; height: auto; }
.book-detail .manuscript-note { font: 14px/1.7 Arial, Helvetica, sans-serif; color: var(--muted); max-width: 75ch; margin-top: 50px; }
.book-detail .book-questions { margin-top: 55px; padding-top: 32px; }
.book-detail .book-questions h3 { font: 600 25px/1.25 Arial, Helvetica, sans-serif; }
.book-detail .book-questions ol { grid-template-columns: 1fr; gap: 21px; max-width: 74ch; margin-top: 27px; }
.book-detail .book-questions li { font: 23px/1.45 Georgia, 'Times New Roman', serif; position: relative; padding-left: 22px; }
.book-detail .book-questions li::before { content: ''; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; background: var(--red); margin: 0; }
.book-detail .detail-praise { padding-top: 72px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.book-detail .detail-praise > .eyebrow { color: var(--red); }
.book-detail .foreword-spotlight {
  background: none;
  color: var(--ink);
  padding: 0 0 48px;
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.8fr);
  gap: clamp(30px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
  margin: 0 0 44px;
}
.book-detail .foreword-person > img { width: 180px; height: 220px; border-radius: 0; border: 0; margin-bottom: 22px; }
.book-detail .foreword-person .eyebrow,
.book-detail .foreword-excerpts > .eyebrow { color: var(--red); font-size: 11px; letter-spacing: .1em; }
.book-detail .foreword-person strong { font-size: 21px; color: var(--ink); }
.book-detail .foreword-person span { font-size: 14px; line-height: 1.6; color: var(--muted); }
.book-detail .foreword-excerpts .foreword-lead { font: italic clamp(27px, 3vw, 40px)/1.3 Georgia, 'Times New Roman', serif; color: var(--ink); }
.book-detail .foreword-short-quotes { gap: 30px; border-color: var(--line); }
.book-detail .foreword-short-quotes blockquote { font-size: 22px; line-height: 1.5; color: var(--muted); }
/* Align each pair of attributions and place the rule beneath the complete endorsement. */
.book-detail .detail-praise .endorsement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; align-items: stretch; }
.book-detail .endorsement,
.book-detail .endorsement:nth-child(2) { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; min-height: 0; padding: 0 0 32px; background: none; border: 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.book-detail .endorsement .quote-mark { display: none; }
.book-detail .endorsement > blockquote { font: 21px/1.6 Georgia, 'Times New Roman', serif; letter-spacing: 0; color: var(--ink); margin: 0 0 24px; }
.book-detail .endorsement > blockquote p { line-height: 1.6; }
.book-detail .detail-praise .endorsement figcaption,
.book-detail .endorsement:nth-child(2) figcaption { display: flex; flex-direction: row; align-self: auto; align-items: center; flex-shrink: 0; min-height: 110px; gap: 20px; padding: 0; border: 0; margin: 0; }
.book-detail .detail-praise .endorsement figcaption > div { min-width: 0; }
.book-detail .detail-praise .endorsement figcaption .endorser-portrait { width: 110px; height: 110px; flex: 0 0 110px; }
.book-detail .detail-praise .endorsement figcaption strong { font-size: 16px; line-height: 1.4; }
.book-detail .detail-praise .endorsement figcaption span:not(.endorser-portrait) { color: var(--muted); font-size: 13px; line-height: 1.55; }
.book-detail .book-conversation { background: var(--ink); color: var(--paper); padding: 64px max(5vw, calc((100vw - 1240px) / 2)); }
.book-detail .book-conversation > .eyebrow { color: #ffb4a7; }
.book-detail .book-conversation h2 { color: var(--paper); font: 600 clamp(38px, 4.5vw, 61px)/1.1 Arial, Helvetica, sans-serif; letter-spacing: -.04em; margin-bottom: 28px; }
.book-detail .book-conversation h2 em { color: var(--paper); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.book-detail .book-conversation .button { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.book-detail .book-conversation .button:hover { background: #fff; border-color: #fff; color: var(--ink); }
.book-detail .book-conversation .button:focus-visible { outline-color: var(--paper); }
.book-detail .related-books { padding-top: 58px; padding-bottom: 65px; }
.book-detail .related-books > div { gap: 50px; }
.book-detail .related-books a { padding-top: 24px; min-height: 100px; }
.book-detail .related-books a > span { font-size: 11px; color: var(--muted); }
.book-detail .related-books h3 { font: 600 29px/1.2 Arial, Helvetica, sans-serif; letter-spacing: -.025em; }
.book-detail .related-books b { color: var(--red); }

/* Long-form reading: quiet navigation, readable copy, strong evidence. */
.article-page { --article-green: #171A19; --article-rust: #C53B30; --article-rule: #D8D9CF; }
.article-page .article-hero { max-width: 1180px; padding: 32px 40px 54px; }
.article-page .article-back { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.article-page .article-hero > .eyebrow { font-size: 11px; color: var(--red); margin-bottom: 24px; letter-spacing: .1em; }
.article-page .article-hero h1 { color: var(--ink); font: 600 clamp(43px, 5.7vw, 72px)/1.07 Arial, Helvetica, sans-serif; letter-spacing: -.045em; max-width: 1050px; }
.article-page .article-hero h1 em { color: var(--red); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.04em; }
.article-page .article-deck { font: 25px/1.5 Georgia, 'Times New Roman', serif; color: var(--muted); max-width: 53ch; margin-top: 28px; }
.article-page .article-byline strong { font-size: 14px; color: var(--ink); }
.article-page .article-meta { font-size: 12px; color: var(--muted); }
.article-page .article-byline > img { width: 60px; height: 60px; flex-basis: 60px; background: #e9e7df; }
.article-page .article-feature-image { background: none; margin-top: 38px; }
.article-page .article-reading-layout { width: calc(100% - 80px); max-width: 1100px; grid-template-columns: 210px minmax(0, 730px); gap: 70px; padding: 48px 0 80px; }
.article-page .article-outline { top: 120px; max-height: calc(100svh - 145px); }
.article-page .article-contents { border-color: var(--line); }
.article-page .article-contents > summary { color: var(--ink); font-size: 14px; }
.article-page .article-outline ol { counter-reset: none; }
.article-page .article-outline li { padding-left: 0; border-color: var(--line); }
.article-page .article-outline li::before { content: none; }
.article-page .article-outline li a { min-height: 44px; font: 14px/1.5 Arial, Helvetica, sans-serif; padding: 12px 0; color: var(--muted); }
.article-page .article-outline li a:hover,
.article-page .article-outline li a[aria-current] { color: var(--red); }
.article-page .outline-note { font: italic 22px/1.3 Georgia, 'Times New Roman', serif; transform: none; padding: 0; color: var(--muted); margin-top: 28px; }
.article-page .article-prose { max-width: 730px; font: 21px/1.72 Georgia, 'Times New Roman', serif; letter-spacing: 0; color: var(--ink); }
.article-page .article-prose p { line-height: 1.72; margin-bottom: 25px; }
.article-page .article-prose .article-lead { font-size: 23px; line-height: 1.65; color: var(--ink); }
.article-page .article-lead::first-letter { float: none; font: inherit; color: inherit; padding: 0; }
.article-page .article-prose h2 { color: var(--ink); font: 600 34px/1.17 Arial, Helvetica, sans-serif; letter-spacing: -.03em; margin-bottom: 24px; }
.article-page .article-prose h3 { color: var(--ink); font: 600 25px/1.3 Arial, Helvetica, sans-serif; letter-spacing: -.02em; }
.article-page .article-prose a:not(.text-link) { color: var(--red); }
.article-page .article-prose a:not(.text-link):hover { color: #972b23; }
.article-page .article-prose .article-pullquote { border-color: var(--red); color: var(--red); padding-left: 25px; font-size: 29px; line-height: 1.45; letter-spacing: -.02em; }
.article-page .article-prose .agency-test { background: none; color: var(--ink); box-shadow: none; border-left: 3px solid var(--red); padding: 8px 0 8px 26px; font-size: 23px; line-height: 1.6; }
.article-page .article-prose .agency-test a { color: var(--red); }
.article-page .article-prose [data-article-body] > .try-this { background: none; border-top: 2px solid var(--red); border-bottom: 1px solid var(--line); padding: 28px 0 8px; margin: 48px 0; }
.article-page .article-prose .try-this h2 { font-size: 32px; }
.article-page .article-prose .try-this p { font-size: 21px; line-height: 1.72; }
.article-page .article-prose .article-references p { font: 16px/1.7 Arial, Helvetica, sans-serif; color: var(--muted); }
.article-page .article-book-link { background: none; border: 0; border-top: 1px solid var(--line); padding: 36px 0 0; grid-template-columns: 150px minmax(0, 1fr); gap: 34px; }
.article-page .article-book-link > img { width: 150px; transform: none; box-shadow: 0 6px 18px #171a191a; }
.article-page .article-book-link .eyebrow { font-size: 11px; color: var(--muted); }
.article-page .article-book-link h2 { font-size: 35px; color: var(--ink); }
.article-page .article-book-link h2 em { color: var(--red); }
.article-page .article-book-link .text-link { font-size: 14px; min-height: 44px; color: var(--ink); }
.article-page .article-endnav .text-link { color: var(--muted); font-size: 14px; }
.article-page a:focus-visible,
.article-page summary:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

@media (max-width: 1000px) {
  .book-detail .shelf-book { gap: 40px; grid-template-columns: .9fr 1.1fr; }
  .book-detail .shelf-copy h1 { font-size: clamp(39px, 4.8vw, 50px); }
  .book-detail .shelf-copy .book-subtitle { font-size: 22px; }
  .book-detail .detail-praise .endorsement-grid { gap: 38px; }
  .article-page .article-reading-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 800px) {
  .book-detail .shelf-book { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .book-detail .shelf-stage .book-object { width: min(72vw, 380px); }
  .book-detail .shelf-copy { max-width: 640px; margin-inline: auto; }
  .book-detail .shelf-copy h1 { font-size: clamp(44px, 7.5vw, 58px); max-width: 18ch; }
  .book-detail .detail-top { padding-bottom: 60px; }
  .book-detail .detail-intro,
  .book-detail .moment-framework { grid-template-columns: 1fr; gap: 28px; }
  .book-detail .detail-intro h2 { max-width: 20ch; }
  .book-detail .detail-praise .endorsement-grid { grid-template-columns: 1fr; }
  .book-detail .detail-praise .endorsement { justify-content: flex-start; }
  .book-detail .detail-praise .endorsement figcaption { flex-direction: row; align-items: center; min-height: 0; margin-top: 0; }
  .book-detail .foreword-spotlight { grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
  .book-detail .foreword-short-quotes { grid-template-columns: 1fr; gap: 20px; }
  .article-page .article-hero { padding-inline: 28px; }
  .article-page .article-reading-layout { display: block; width: calc(100% - 56px); max-width: 730px; padding-top: 28px; }
  .article-page .article-outline { position: static; max-height: none; }
  .article-page .article-outline ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
  .article-page .article-outline li { padding-left: 0; }
  .article-page .article-outline li a { font-size: 14px; }
  .article-page .article-prose { font-size: 20px; }
  .article-page .article-prose [data-article-body] > section { scroll-margin-top: 110px; }
}
@media (max-width: 600px) {
  .book-detail .detail-top,
  .book-detail .detail-inside,
  .book-detail .detail-praise,
  .book-detail .related-books,
  .book-detail .book-conversation { padding-inline: 20px; }
  .book-detail .detail-top { padding-top: 20px; }
  .book-detail .book-back { margin-bottom: 28px; }
  .book-detail .shelf-stage { gap: 20px; }
  .book-detail .shelf-stage .book-object { width: min(78vw, 340px); }
  .book-detail .shelf-stage .stage-footnote { font-size: 14px; }
  .book-detail .shelf-copy h1 { font-size: clamp(39px, 10vw, 52px); }
  .book-detail .shelf-copy .book-subtitle { font-size: 23px; }
  .book-detail .featured-copy.shelf-copy > p.shelf-description { font-size: 17px; }
  .book-detail .shelf-actions { gap: 12px 23px; }
  .book-detail .detail-inside,
  .book-detail .detail-praise { padding-block: 48px; }
  .book-detail .detail-intro h2,
  .book-detail .detail-praise h2 { font-size: 39px; }
  .book-detail .detail-intro .large-copy { font-size: 24px; }
  .book-detail .moment-framework { margin-top: 40px; padding-top: 30px; }
  .book-detail .moment-framework h3 { font-size: 35px; }
  .book-detail .manuscript-note { margin-top: 35px; }
  .book-detail .foreword-spotlight { grid-template-columns: 1fr; padding-bottom: 34px; margin-bottom: 34px; }
  .book-detail .foreword-person { display: flex; gap: 20px; align-items: center; }
  .book-detail .foreword-person > img { width: 110px; height: 140px; margin: 0; flex: 0 0 110px; }
  .book-detail .foreword-person strong { font-size: 20px; }
  .book-detail .foreword-person span { font-size: 13px; }
  .book-detail .foreword-excerpts .foreword-lead { font-size: 29px; }
  .book-detail .foreword-short-quotes blockquote { font-size: 22px; }
  .book-detail .endorsement > blockquote { font-size: 20px; }
  .book-detail .detail-praise .endorsement figcaption .endorser-portrait { width: 100px; height: 100px; flex-basis: 100px; }
  .book-detail .detail-praise .endorsement figcaption { gap: 18px; }
  .book-detail .related-books > div { grid-template-columns: 1fr; gap: 28px; }
  .book-detail .related-books h3 { font-size: 28px; }
  .article-page .article-hero { padding: 22px 20px 34px; }
  .article-page .article-hero h1 { font-size: clamp(37px, 9.5vw, 49px); letter-spacing: -.04em; }
  .article-page .article-deck { font-size: 22px; }
  .article-page .article-hero > .eyebrow { font-size: 11px; margin-bottom: 20px; }
  .article-page .article-meta { font-size: 12px; }
  .article-page .article-reading-layout { width: calc(100% - 40px); padding-bottom: 48px; }
  .article-page .article-outline ol { grid-template-columns: 1fr; gap: 0; }
  .article-page .article-prose .article-lead { font-size: 21px; }
  .article-page .article-prose h2 { font-size: 30px; }
  .article-page .article-prose h3 { font-size: 24px; }
  .article-page .article-prose .article-pullquote { font-size: 26px; padding-left: 20px; }
  .article-page .article-prose .agency-test { font-size: 22px; padding-left: 20px; }
  .article-page .article-prose .try-this h2 { font-size: 30px; }
  .article-page .article-prose .try-this p { font-size: 20px; }
  .article-page .article-book-link { grid-template-columns: 100px minmax(0, 1fr); gap: 22px; }
  .article-page .article-book-link > img { width: 100px; }
  .article-page .article-book-link h2 { font-size: 29px; }
  .article-page .article-book-link .eyebrow { font-size: 10px; }
  .article-page .article-book-link .text-link { font-size: 14px; }
  .article-page .article-endnav { gap: 18px; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .book-detail .foreword-person { align-items: flex-start; flex-direction: column; }
  .book-detail .detail-praise .endorsement figcaption { flex-direction: column; align-items: flex-start; }
  .article-page .article-book-link { grid-template-columns: 82px minmax(0, 1fr); gap: 17px; }
  .article-page .article-book-link > img { width: 82px; }
  .article-page .article-book-link h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .book-detail .shelf-stage .book-object,
  .book-detail .shelf-stage .book-object:hover,
  .book-detail .shelf-stage .book-object:focus-visible { transition: none; transform: none; }
}
@media print {
  .book-detail .book-conversation { background: white; color: black; }
  .book-detail .book-conversation h2,
  .book-detail .book-conversation h2 em { color: black; }
  .article-page .article-outline { display: none; }
  .article-page .article-reading-layout { display: block; width: 100%; max-width: none; }
  .article-page .article-prose { max-width: none; font-size: 12pt; }
  .book-detail .book-object,
  .article-page .article-book-link > img { box-shadow: none; }
}

/* Four-book catalogue, with three related titles on each detail page. */
@media (min-width: 1001px) {
  .book-detail .related-books > div { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
}
.book-detail .moment-framework > div > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 40ch; }

/* Shared endorsement layout; author portraits align within each pair. */
.book-detail #endorsement-kelly-riggs { scroll-margin-top: 140px; }
.book-detail .endorsement .kelly-riggs img { object-position: 50% 10%; transform: scale(1.6); transform-origin: 47% 14%; }
.book-detail .endorsement figcaption a.endorser-portrait:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
@media (min-width: 801px) {
  @supports (grid-template-rows: subgrid) {
    .book-detail .detail-praise .endorsement {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: subgrid;
      grid-row: span 2;
      row-gap: 24px;
    }
    .book-detail .detail-praise .endorsement > blockquote { grid-column: 1; grid-row: 1; align-self: end; margin: 0; }
    .book-detail .detail-praise .endorsement figcaption { grid-column: 1; grid-row: 2; align-self: start; align-items: flex-start; }
  }
}
