/* /books/ section: Business Guides. Builds on the site's main.9.css tokens and classes. */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Covers ─────────────────────────────────────────────────────────────── */
.book-cover {
  display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 3px 8px 8px 3px;
  outline: 1px solid rgba(255,255,255,.14); outline-offset: -1px;
  box-shadow: -5px 0 0 -3px rgba(0,0,0,.16), var(--sh-lg);
}
.book-cover-fallback {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12% 11%; background: linear-gradient(160deg, var(--navy-mid), var(--navy) 70%);
  color: #fff; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
}
.book-cover-fallback::before { content: ''; position: absolute; top: 9%; left: 11%; right: 11%; height: 4px; background: var(--orange); }
.bcf-title { font-family: var(--ff-head); font-size: clamp(1.4rem, 3.2vw, 2.3rem); line-height: 1.08; }
.bcf-rule { display: block; width: 36px; height: 2px; background: var(--orange); margin: 14px 0 10px; }
.bcf-author { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* Small quiet labels (used instead of orange eyebrows) */
.book-label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 10px; }
.book-label.dark { color: var(--g600); }

/* ── Hub hero ──────────────────────────────────────────────────────────── */
.guides-hero .h1 { max-width: 20ch; }
.guides-hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 14px; max-width: 640px; }
.guides-hero-p { color: rgba(255,255,255,.62); max-width: 640px; line-height: 1.75; margin: 0; }

/* ── Authority strip ───────────────────────────────────────────────────── */
.guides-strip { padding: 22px 0; background: #fff; border-bottom: 1px solid var(--g200); }
.guides-strip-inner { display: flex; align-items: center; gap: 18px; }
.guides-strip-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.guides-strip-name { font-weight: 700; color: var(--text); margin: 0 0 4px; font-size: 1.02rem; }
.guides-strip-name a:hover { color: var(--blue); }
.guides-strip-inner > div { overflow: hidden; }
/* each item carries its dot on the left; the dot that starts a line is clipped off */
.guides-strip-creds { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0 0 0 -20px; padding: 0; list-style: none; }
.guides-strip-creds li { position: relative; padding-left: 20px; font-size: .88rem; color: var(--g700); }
.guides-strip-creds li::before { content: '·'; position: absolute; left: 7px; color: var(--g400); }

/* ── Hub: guides ───────────────────────────────────────────────────────── */
.guides-list { padding: 72px 0 80px; }
.guides-list .container { display: grid; gap: 44px; }
.guide-card {
  display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: start;
  padding: 28px; border: 1px solid var(--g200); border-radius: var(--r-lg); background: #fff;
}
.guide-card-featured { grid-template-columns: 250px 1fr; gap: 52px; padding: 44px; align-items: center; box-shadow: var(--sh-sm); }
.guide-card-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g600); margin: 0 0 10px; }
.guide-card-title { font-family: var(--ff-head); font-weight: 400; font-size: 1.55rem; line-height: 1.15; margin: 0 0 8px; color: var(--text); }
.guide-card-featured .guide-card-title { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.guide-card-title a:hover { color: var(--blue); }
.guide-card-sub { font-family: var(--ff-head); font-style: italic; color: var(--g700); font-size: 1.12rem; line-height: 1.4; margin: 0 0 16px; }
.guide-card-problem { color: var(--g800); font-size: 1.02rem; line-height: 1.65; margin: 0 0 6px; max-width: 60ch; }
.guide-card-points { margin: 14px 0 20px; }
.guide-card-points li { font-size: .95rem; }
.guide-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.guide-facts li { font-size: .8rem; font-weight: 600; color: var(--g700); background: var(--g100); padding: 5px 12px; border-radius: var(--r-pill); }
.guide-card .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.guide-card-more { font-weight: 700; color: var(--blue); }
.guide-card-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 28px; }
.guide-card-cover .book-cover { box-shadow: -4px 0 0 -2px rgba(0,0,0,.15), var(--sh-md); }
.guide-card-cover .bcf-title { font-size: 1.2rem; }

.guides-coming { border: 1px dashed var(--g300); border-radius: var(--r-lg); padding: 30px 34px; max-width: 760px; }
.guides-coming-h { font-family: var(--ff-head); font-weight: 400; font-size: 1.4rem; margin: 0 0 8px; color: var(--text); }
.guides-coming p { color: var(--g700); margin: 0; line-height: 1.7; }

/* ── Guide hero ────────────────────────────────────────────────────────── */
.book-hero-grid { position: relative; display: grid; grid-template-columns: minmax(200px, 290px) 1fr; gap: 60px; align-items: center; }
.book-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 0 0 12px; }
.book-hero-text .h1 { color: #fff; margin-bottom: 10px; }
.book-subtitle { font-family: var(--ff-head); font-style: italic; font-size: 1.25rem; color: rgba(255,255,255,.8); margin-bottom: 22px; line-height: 1.4; max-width: 34em; }
.book-problem { max-width: 600px; margin-bottom: 24px; }
.book-problem p { color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.7; margin: 0 0 8px; }
.book-problem .book-problem-q { font-family: var(--ff-head); font-size: 1.45rem; color: #fff; margin: 0; }
.book-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.book-facts li { font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); padding: 5px 13px; border-radius: var(--r-pill); }
.book-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-note { font-weight: 500; opacity: .85; }
.book-soon { color: rgba(255,255,255,.7); font-size: .95rem; margin: 0; }
.guides-strip-tight { padding: 18px 0; }

/* ── Two-column content blocks ─────────────────────────────────────────── */
.book-two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.book-intro .section-h { margin-bottom: 16px; }
.book-intro .section-p + .section-p { margin-top: 12px; }
.book-audience, .book-outcomes { background: var(--cream); border: 1px solid var(--g200); border-radius: var(--r-lg); padding: 30px 32px; }
.book-audience h3, .book-outcomes h3 { font-family: var(--ff-head); font-weight: 400; font-size: 1.35rem; margin-bottom: 4px; }
.book-audience .check-list { margin-bottom: 0; }
.book-outcomes .check-list { margin-bottom: 22px; }

/* ── The Silent Shortlist ─────────────────────────────────────────────── */
.book-shortlist { padding: 88px 0; position: relative; overflow: hidden; }
.book-shortlist-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.book-shortlist .section-h { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.book-shortlist-p { color: rgba(255,255,255,.75); line-height: 1.75; margin: 0 0 14px; max-width: 56ch; }
/* One figure column for every row, as wide as the widest figure, so "14 of 30" never breaks onto two lines */
.book-stats { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0; }
.book-stat { grid-column: 1 / -1; display: grid; grid-template-columns: 120px 1fr; grid-template-columns: subgrid; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.book-stat:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.book-stat dt { white-space: nowrap; font-family: var(--ff-head); font-size: 2.6rem; line-height: 1; color: var(--orange-lt); }
.book-stat dd { margin: 0; color: rgba(255,255,255,.82); line-height: 1.5; }
.book-stats-source { font-size: .78rem; color: rgba(255,255,255,.45); margin: 12px 0 0; }

/* ── The Visibility Ladder ─────────────────────────────────────────────── */
.book-ladder { padding: 96px 0; }
.book-ladder .section-head { max-width: 720px; margin-bottom: 44px; }
.book-ladder .section-h { margin-bottom: 14px; }
.ladder { display: grid; grid-template-columns: repeat(var(--rungs), 1fr); gap: 12px; align-items: stretch; list-style: none; padding: 0; margin: 0; }
.ladder-rung { display: flex; flex-direction: column; }
.ladder-rung .ladder-step { margin-top: auto; }
.ladder-rung .ladder-text { min-height: 8.4em; }
.ladder-step {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  min-height: calc(110px + var(--i) * 46px); padding: 18px 18px 16px;
  border-radius: var(--r) var(--r) 0 0; background: var(--g100); color: var(--navy);
}
.ladder-rung:nth-child(2) .ladder-step { background: #dfe7f3; }
.ladder-rung:nth-child(3) .ladder-step { background: #a9bfe0; }
.ladder-rung:nth-child(4) .ladder-step { background: var(--blue); color: #fff; }
.ladder-rung:nth-child(5) .ladder-step { background: var(--navy); color: #fff; }
.ladder-num { font-size: .72rem; font-weight: 700; letter-spacing: .12em; opacity: .65; }
.ladder-name { font-family: var(--ff-head); font-size: 1.45rem; line-height: 1.1; }
.ladder-score { font-size: .8rem; font-weight: 600; opacity: .8; }
.ladder-text { font-size: .9rem; color: var(--g700); line-height: 1.55; margin: 0; padding: 14px 4px 0; border-top: 3px solid var(--g300); }
.ladder-rung:nth-child(5) .ladder-text { border-top-color: var(--orange); }
.ladder-note { margin: 30px 0 0; color: var(--g700); }
.ladder-note::before { content: '→'; color: var(--orange); font-weight: 700; margin-right: 8px; }

/* ── Tools ─────────────────────────────────────────────────────────────── */
.book-tools .section-head { margin-bottom: 40px; }
.tool-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 56px; }
.tool-page { margin: 0; }
.tool-page img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--g200); box-shadow: var(--sh-md); background: #fff; margin-bottom: 18px; }
.tool-page figcaption { display: grid; gap: 4px; }
.tool-page figcaption strong { font-size: 1.05rem; color: var(--text); }
.tool-page figcaption span { color: var(--g700); font-size: .93rem; line-height: 1.6; }
.tool-page figcaption em { font-style: normal; font-size: .82rem; color: var(--g600); }
.tool-sheets-h { font-family: var(--ff-head); font-weight: 400; font-size: 1.4rem; margin: 0 0 18px; color: var(--text); }
.tool-sheets { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.tool-sheet {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; gap: 6px 14px;
  background: #fff; border: 1px solid var(--g200); border-radius: var(--r); padding: 18px 20px;
}
.tool-sheet-type { grid-row: 1 / span 3; align-self: start; font-size: .64rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: #1d6f42; border-radius: 4px; padding: 6px 6px; }
.tool-sheet-name { font-weight: 700; color: var(--text); }
.tool-sheet-note { font-size: .86rem; color: var(--g600); line-height: 1.5; }
.tool-sheet-link { font-size: .9rem; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.tool-sheet-soon { font-size: .88rem; color: var(--g600); }

/* ── Contents ──────────────────────────────────────────────────────────── */
.book-contents .section-h { margin-bottom: 20px; }
.book-toc { border-top: 1px solid var(--g300); list-style: none; padding: 0; margin: 0; }
.book-toc li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline; padding: 13px 2px; border-bottom: 1px solid var(--g300); }
.toc-num { font-family: var(--ff-head); font-size: 1.2rem; color: var(--orange); }
.toc-title { font-size: 1rem; color: var(--g800); }
.book-toc-extra { border-top: none; }
.book-toc-extra:first-of-type { border-top: 1px solid var(--g300); }
.book-toc-extra .toc-title { color: var(--g700); font-style: italic; }
.book-toc-extra + .book-toc { border-top: none; }
.book-toc-head { font-family: var(--ff-body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g600); margin: 30px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--g300); }
.book-toc-head + .book-toc-extra { border-top: none; }
.book-contents .book-outcomes { position: sticky; top: calc(var(--nav-total, 70px) + 24px); }

/* ── Reader comments ───────────────────────────────────────────────────── */
.book-praise .section-h { margin-bottom: 28px; }
.book-praise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.book-quote { margin: 0; background: #fff; border: 1px solid var(--g200); border-radius: var(--r-lg); padding: 26px 28px; }
.book-quote blockquote { margin: 0; }
.book-quote blockquote p { font-family: var(--ff-head); font-size: 1.12rem; line-height: 1.5; color: var(--g800); margin-bottom: 16px; }
.book-quote figcaption { font-size: .88rem; color: var(--g700); }
.book-quote figcaption span { display: block; color: var(--g600); }

/* ── About Arun ────────────────────────────────────────────────────────── */
.book-author-inner { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; max-width: 960px; }
.book-author-inner.no-photo { grid-template-columns: 1fr; max-width: 760px; }
.book-author-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); }
.book-author .section-h { margin-bottom: 6px; }
.book-author-role { font-weight: 600; color: var(--g700); margin-bottom: 18px; }
.book-author .section-p { margin-bottom: 14px; }
.book-author-lead { font-family: var(--ff-head); font-size: 1.3rem; color: var(--text); line-height: 1.4; }
.book-author-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.book-author-link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── Editions and details ──────────────────────────────────────────────── */
.book-editions .section-h { margin-bottom: 14px; }
.book-current { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--orange); background: var(--cream); color: var(--g800); border-radius: 0 var(--r) var(--r) 0; }
.book-changelog { margin-bottom: 30px; list-style: none; padding: 0; }
.book-changelog > li { padding: 0 0 16px 18px; border-left: 2px solid var(--g200); position: relative; }
.book-changelog > li::before { content: ''; position: absolute; left: -6px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.cl-head { margin-bottom: 4px; color: var(--g800); }
.cl-head time { color: var(--g600); font-size: .9rem; margin-left: 6px; }
.book-changelog ul { list-style: disc; margin-left: 1.1em; color: var(--g700); font-size: .95rem; }
.book-details { width: 100%; border-collapse: collapse; font-size: .93rem; }
.book-details caption { text-align: left; font-family: var(--ff-head); font-size: 1.25rem; margin-bottom: 10px; color: var(--text); }
.book-details th, .book-details td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--g200); vertical-align: top; }
.book-details th { width: 38%; font-weight: 600; color: var(--g700); padding-right: 16px; }
.book-details td { color: var(--g800); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.book-faq .section-h { margin-bottom: 24px; }
.book-faq-item { background: #fff; border: 1px solid var(--g200); border-radius: var(--r); margin-bottom: 12px; }
.book-faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.book-faq-item summary::-webkit-details-marker { display: none; }
.book-faq-item summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--orange); line-height: 1; }
.book-faq-item[open] summary::after { content: '–'; }
.book-faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: var(--r); }
.book-faq-item p { padding: 0 22px 20px; color: var(--g700); margin: 0; }

/* ── Next step ─────────────────────────────────────────────────────────── */
.book-next { padding: 88px 0; border-top: 1px solid var(--g200); }
.book-next .section-h { margin-bottom: 16px; }
.book-next .section-p { color: var(--g700); margin-bottom: 12px; }
.book-next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.book-next-alt { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .book-hero-grid { grid-template-columns: 220px 1fr; gap: 40px; }
  .book-two-col, .book-shortlist-grid { grid-template-columns: 1fr; gap: 40px; }
  .book-contents .book-outcomes { position: static; }
  .guide-card-featured { grid-template-columns: 200px 1fr; gap: 36px; padding: 32px; }
  .ladder { grid-template-columns: 1fr; gap: 10px; }
  .ladder-rung { display: grid; grid-template-columns: minmax(170px, 34%) 1fr; gap: 0; align-items: stretch; }
  .ladder-step { min-height: 0; border-radius: var(--r) 0 0 var(--r); padding: 16px 18px; }
  .ladder-rung .ladder-text { min-height: 0; }
  .ladder-text { border-top: none; border-left: 3px solid var(--g300); padding: 14px 16px; background: #fff; border-radius: 0 var(--r) var(--r) 0; display: flex; align-items: center; }
  .ladder-rung:nth-child(5) .ladder-text { border-left-color: var(--orange); }
  .ladder { display: flex; flex-direction: column-reverse; }
  .tool-pages { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  .guides-list { padding: 48px 0 56px; }
  .guides-strip-inner { align-items: flex-start; }
  .guides-strip-photo { width: 52px; height: 52px; }
  .guides-strip-creds { flex-direction: column; }
  .book-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .book-hero-cover { max-width: 190px; }
  .guide-card, .guide-card-featured { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .guide-card-cover { max-width: 170px; }
  .guide-grid { grid-template-columns: 1fr; }
  .book-shortlist, .book-ladder { padding: 64px 0; }
  .book-stat { grid-template-columns: 92px 1fr; grid-template-columns: subgrid; }
  .book-stat dt { font-size: 2.1rem; }
  .ladder-rung { grid-template-columns: 1fr; }
  .ladder-step { border-radius: var(--r) var(--r) 0 0; }
  .ladder-text { border-left: none; border-top: 3px solid var(--g300); border-radius: 0 0 var(--r) var(--r); }
  .ladder-rung:nth-child(5) .ladder-text { border-top-color: var(--orange); }
  .tool-pages { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-bottom: 40px; }
  .tool-pages .tool-page:last-child { grid-column: 1 / -1; max-width: 50%; }
  .tool-page figcaption span { font-size: .86rem; }
  .book-author-inner { grid-template-columns: 1fr; gap: 24px; }
  .book-author-photo { max-width: 150px; }
  .book-audience, .book-outcomes { padding: 24px 22px; }
  .book-details th { width: 42%; }
  .book-next { padding: 64px 0; }
}
@media (max-width: 420px) {
  .book-actions .btn, .guide-card .btn-row .btn { width: 100%; }
  .tool-pages { grid-template-columns: 1fr; }
  .tool-pages .tool-page { max-width: 300px; }
  .tool-pages .tool-page:last-child { max-width: 300px; }
}
