/* ==========================================================
   BNK GROUP — Leaders flip-book pages + leader chips
   (includes/leader-book.php — uses the shared book.css look)
   ========================================================== */

/* ---------- cover ---------- */
.lbk-cover__names {
  display: flex; flex-direction: column; gap: 1.6cqw;
  font-family: var(--font-display); font-size: 4.4cqw; letter-spacing: .08em; color: var(--cream);
}
.lbk-cover__names span + span::before { content: "◆"; display: block; font-size: 1.6cqw; color: var(--gold); margin-bottom: 1.4cqw; }

/* ---------- photo page ---------- */
.lbk-photo > img { object-position: center top; }
.lbk-photo__mono { position: absolute; inset: 0; }
.lbk-photo__mono .leader__mono { padding: 22% 16% 40%; }
.lbk-photo__no {
  position: absolute; z-index: 1; top: 7cqw; right: 8cqw;
  font-family: var(--font-display); font-size: 9cqw; line-height: 1; color: rgba(236,214,160,.55);
}
.lbk-photo .photo__cap { font-size: 8.6cqw; }
.lbk-photo .photo__cap small { font-size: 2.9cqw; }
.lbk-photo::before {          /* thin gold frame like a portrait mount */
  content: ""; position: absolute; inset: 4.5cqw; z-index: 1; pointer-events: none;
  border: 1px solid rgba(236,214,160,.45);
}

/* ---------- journey page ---------- */
.lbk-journey { padding-top: 12cqw; }
.lbk-journey .pg__eyebrow { font-size: 2.9cqw; }
.lbk-journey .pg__title { font-size: 8.6cqw; }
.lbk-journey .pg__run { font-size: 2.3cqw; }
.lbk-journey .pg__num { font-size: 3.2cqw; }
.lbk-journey .pg__title { margin-bottom: 1cqw; }
.lbk-journey__role {
  margin: 0 0 3.5cqw; font-size: 2.9cqw; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep);
}
.pg--dark .lbk-journey__role { color: var(--gold); }
.lbk-journey__quote {
  margin: 0 0 3cqw; padding-left: 3cqw; border-left: 2px solid var(--gold);
  font-family: var(--font-serif); font-style: italic; font-size: 5.4cqw; line-height: 1.3; color: var(--navy-800);
}
.pg--dark .lbk-journey__quote { color: var(--gold-light); }
.lbk-journey .pg__body { font-size: 3.9cqw; line-height: 1.55; }

.lbk-tl { list-style: none; margin: auto 0 0; padding: 0 0 0 3.4cqw; display: grid; gap: 3.4cqw; position: relative; }
.lbk-tl::before { content: ""; position: absolute; left: .7cqw; top: 1cqw; bottom: 1cqw; width: 1px; background: rgba(156,122,55,.5); }
.lbk-tl li { position: relative; display: grid; grid-template-columns: 12.5cqw 1fr; column-gap: 2.6cqw; }
.lbk-tl li::before {
  content: ""; position: absolute; left: -3.4cqw; top: 1.8cqw; width: 1.9cqw; height: 1.9cqw;
  background: var(--gold); transform: rotate(45deg);
}
.lbk-tl b { grid-row: span 2; font-family: var(--font-display); font-weight: 400; font-size: 4.6cqw; color: var(--gold-deep); line-height: 1.2; }
.lbk-tl strong { font-family: var(--font-display); font-weight: 400; font-size: 4.5cqw; color: var(--navy-900); line-height: 1.2; }
.lbk-tl span { font-size: 3.4cqw; color: rgba(19,32,46,.72); line-height: 1.4; }
.pg--dark .lbk-tl b { color: var(--gold); }
.pg--dark .lbk-tl strong { color: var(--cream); }
.pg--dark .lbk-tl span { color: rgba(246,241,231,.7); }

/* ---------- leader chips (jump to a leader) ---------- */
.lchips { display: flex; flex-wrap: wrap; gap: 10px; }
.lchip {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer; text-align: left;
  padding: 7px 18px 7px 7px; border-radius: 999px;
  border: 1px solid rgba(156,122,55,.45); background: rgba(255,255,255,.5);
  font: inherit; color: inherit; transition: background .35s, border-color .35s, transform .35s;
}
.lchip:hover { transform: translateY(-2px); border-color: var(--gold); }
.lchip.is-on { background: var(--navy-900); border-color: var(--gold); }
.lchip__av {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; background: var(--navy-800); border: 1px solid var(--gold);
  font-family: var(--font-display); font-size: .9rem; color: var(--gold-light);
}
.lchip__av img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lchip__txt { display: flex; flex-direction: column; line-height: 1.2; }
.lchip__txt b { font-family: var(--font-display); font-weight: 400; font-size: .98rem; color: var(--navy-900); }
.lchip__txt small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.lchip.is-on .lchip__txt b { color: var(--cream); }
.lchip.is-on .lchip__txt small { color: var(--gold); }

/* chips on dark sections */
.section--dark .lchip { background: rgba(8,18,28,.45); border-color: rgba(201,165,92,.45); }
.section--dark .lchip__txt b { color: var(--cream); }
.section--dark .lchip__txt small { color: var(--gold); }
.section--dark .lchip.is-on { background: var(--gold); }
.section--dark .lchip.is-on .lchip__txt b { color: var(--navy-900); }
.section--dark .lchip.is-on .lchip__txt small { color: var(--navy-800); }

@media (max-width: 600px) {
  .lchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .lchips::-webkit-scrollbar { display: none; }
  .lchip { flex-shrink: 0; gap: 8px; padding: 5px 14px 5px 5px; }
  .lchip__av { width: 34px; height: 34px; font-size: .78rem; }
  .lchip__txt b { font-size: .86rem; }
  .lchip__txt small { font-size: .56rem; }
}

/* ---------- never too small: minimum readable sizes on small books (laptops / phones) ---------- */
.lbk-journey .pg__eyebrow   { font-size: max(2.9cqw, 9.5px); }
.lbk-journey .pg__title     { font-size: max(8.6cqw, 22px); }
.lbk-journey__role          { font-size: max(2.9cqw, 9.5px); }
.lbk-journey__quote         { font-size: max(5.4cqw, 15px); }
.lbk-journey .pg__body      { font-size: max(3.9cqw, 12.5px); }
.lbk-tl b                   { font-size: max(4.6cqw, 14px); }
.lbk-tl strong              { font-size: max(4.5cqw, 14px); }
.lbk-tl span                { font-size: max(3.4cqw, 11.5px); }
.lbk-tl li                  { grid-template-columns: max(12.5cqw, 40px) 1fr; }
.lbk-photo .photo__cap      { font-size: max(8.6cqw, 22px); }
.lbk-photo .photo__cap small{ font-size: max(2.9cqw, 9.5px); }

/* ---------- short pages (small laptops / phones): tighter spacing so everything fits on the page ---------- */
@container (max-height: 480px) {
  .lbk-journey { padding-top: 10cqw; padding-bottom: 9cqw; }
  .lbk-journey .pg__title { font-size: max(7.6cqw, 19px); }
  .lbk-journey__role { margin-bottom: 2cqw; }
  .lbk-journey__quote { font-size: max(4.8cqw, 13.5px); margin-bottom: 2cqw; }
  .lbk-journey .pg__body { font-size: max(3.6cqw, 11.5px); line-height: 1.45; margin-bottom: 2cqw; }
  .lbk-tl { gap: 1.6cqw; }
  .lbk-tl b, .lbk-tl strong { font-size: max(4cqw, 12.5px); }
  .lbk-tl span { font-size: max(3.1cqw, 10.5px); line-height: 1.3; }
}
@container (max-height: 420px) {
  .lbk-journey .pg__run { display: none; }
  .lbk-journey { padding-top: 7cqw; }
  .lbk-tl span { display: none; }            /* year + title only on very small pages */
}
