/* problem (v5, G13): stats in one row on an abstract motion-blur photo plate. Numbers use the heading font (.tb-num). */
.pb .wrap { text-align: center; }
.pb-h { max-width: 980px; margin: 0 auto; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; text-wrap: balance; }
.pb-num { display: inline-flex; align-items: baseline; font-size: clamp(44px, 4.6vw, 68px); line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums; }
.pb-num b { font-weight: inherit; }
.pb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pb-stat { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.pb-stat-t { margin: 14px auto 0; max-width: 240px; font: 400 15px/1.45 var(--font); color: var(--ink-2); text-wrap: balance; }
.pb-lab { display: inline-flex; height: 22px; align-items: center; margin: 14px 0 0; padding: 0 10px; border-radius: var(--r-pill);
  background: var(--pastel-lilac); font: 500 11.5px/1 var(--font); color: var(--ink-2); }
.pb sup { font-size: 10px; color: var(--faint); margin-left: 2px; font-weight: 500; }

/* photo plate (allowed in this section only) */
.pb-photo { position: relative; overflow: hidden; margin: 56px auto 0; padding: clamp(28px, 4.4vw, 64px); border-radius: 32px;
  background: #CDB9A4 center / cover no-repeat; }
.pb-photo-cards { background-image: url(../assets/img/blur-2.webp); }
.pb-photo-one { background-image: url(../assets/img/blur-1.webp); padding: clamp(40px, 6vw, 96px) clamp(20px, 4.4vw, 64px); }
.pb-photo-dark { margin-top: 0; padding: clamp(64px, 7vw, 104px) clamp(22px, 4.4vw, 64px) clamp(56px, 6vw, 88px);
  background-image: linear-gradient(rgba(18, 13, 9, .38), rgba(18, 13, 9, .5)), url(../assets/img/blur-4.webp); }

/* 1: white cards on photo (Ada) */
.pb-cards .pb-stats { gap: 16px; }
.pb-cards .pb-card { align-items: flex-start; text-align: left; padding: 26px 24px 24px; border-radius: 20px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 40px -22px rgba(40, 20, 6, .45); }
.pb-cards .pb-stat-t { margin-left: 0; }
.pb-icons .pb-lab { position: absolute; top: 22px; right: 20px; margin: 0; }

/* 2: one white card on photo (Unify) */
.pb-sheet { max-width: 1080px; margin: 0 auto; padding: 44px 8px; border-radius: 22px; background: #FFFDFB;
  box-shadow: 0 24px 60px -30px rgba(40, 20, 6, .5); }
.pb-one .pb-stat { padding: 4px 24px; align-items: flex-start; text-align: left; }
.pb-one .pb-stat::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: #EDB59F; }
.pb-one .pb-stat:first-child::before { display: none; }
.pb-one .pb-stat-t { margin-left: 0; }

/* 3: white text straight on a darkened photo */
.pb-dark .pb-h { color: #fff; }
.pb-dark .pb-stats { margin-top: 64px; }
.pb-dark .pb-stat { padding: 6px 22px; }
.pb-dark .pb-stat + .pb-stat { border-left: 1px solid rgba(255, 255, 255, .2); }
.pb-dark .pb-num { color: #fff; }
.pb-dark .pb-stat-t { color: rgba(255, 255, 255, .8); }
.pb-dark sup { color: rgba(255, 255, 255, .55); }
.pb-dark .pb-lab { background: rgba(255, 255, 255, .16); color: #fff; }

/* 4: light icon cards (Apollo), no photo */
.pb-icons .pb-stats { gap: 16px; margin-top: 56px; }
.pb-icons .pb-card { align-items: flex-start; text-align: left; min-height: 220px; padding: 22px 22px 22px; border-radius: 16px; background: var(--soft); }
.pb-icons .pb-num { margin-top: auto; }
.pb-icons .pb-stat-t { margin: 10px 0 0; font-size: 14.5px; }
.pb-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #FFE98A; color: var(--ink); margin-bottom: 40px; }
.pb-ic svg { width: 19px; height: 19px; }

.pb-sol { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 760px; margin: 56px auto 0;
  font: 450 clamp(17px, 1.5vw, 21px)/1.45 var(--font); color: var(--ink); text-align: left; text-wrap: pretty; }
/* v6 (v6-68): calm black mark, no colour and no lifted shadow, so the note reads as text */
.pb-mark { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.pb-notes { margin: 32px auto 0; max-width: 900px; font: 400 11.5px/1.6 var(--font); color: var(--faint); }
.pb-notes span { white-space: nowrap; margin: 0 6px; }
.pb-notes a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

@media (max-width: 1000px) {
  .pb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .pb-one .pb-stats { row-gap: 32px; }
  .pb-one .pb-stat:nth-child(3)::before { display: none; }
  .pb-dark .pb-stats { row-gap: 36px; }
  .pb-dark .pb-stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .pb-photo { margin-top: 36px; border-radius: 24px; }
  .pb-photo-dark { margin-top: 0; }
  .pb-stats, .pb-dark .pb-stats { grid-template-columns: 1fr; row-gap: 12px; }
  .pb-num { font-size: 44px; }
  .pb-stat-t { font-size: 14px; }
  .pb-cards .pb-card { padding: 20px 20px 18px; }
  .pb-sheet { padding: 8px 4px; }
  .pb-one .pb-stat { padding: 20px 18px; }
  .pb-one .pb-stat::before { display: none; }
  .pb-one .pb-stat + .pb-stat { border-top: 1px solid var(--line); }
  .pb-dark .pb-stats { margin-top: 40px; row-gap: 0; }
  .pb-dark .pb-stat { padding: 20px 0; border-left: 0; }
  .pb-dark .pb-stat + .pb-stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .pb-icons .pb-card { min-height: 0; }
  .pb-ic { margin-bottom: 22px; }
  .pb-sol { margin-top: 40px; font-size: 16.5px; align-items: flex-start; }
  .pb-notes span { white-space: normal; display: block; }
}
