/* Homepage proof section (src/components/home/ProofTimeline.astro): the case studies as a timeline on the left, the
   selected brand's page in a phone on one grey panel on the right, its stats, name and summary in one column beside it. Same grey frame and
   #0b0b0b panels as the other sections. */
.pt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px; margin: -8px -8px 0; padding: 8px; background: var(--hc, #171717); }
.pt-l { display: flex; align-items: center; padding: 48px; border-radius: 6px; background: #0b0b0b; }
.pt-ls { display: grid; gap: 0; width: 100%; margin: 0; padding: 0; list-style: none; }
.pt-b { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; padding: 20px 0 20px 22px; border: 0; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pt-b:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 4px; }
.pt-rl { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 1px; background: rgba(245, 245, 243, .16); overflow: hidden; }
.pt-rl i { position: absolute; inset: 0; background: #f5f5f3; transform-origin: top; transform: scaleY(var(--p, 0)); }
.pt-i:not(.on) .pt-rl i { transform: scaleY(0); }
.pt-hd { display: flex; align-items: center; gap: 16px; min-width: 0; }
.pt-pl { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(245, 245, 243, .18);
  font-size: 15px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; transition: background-color 300ms ease, color 300ms ease; }
.pt-br { min-width: 0; font-family: var(--display); font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; color: rgba(245, 245, 243, .55); transition: color 300ms ease; }
.pt-i.on .pt-br { color: var(--text); }
.pt-i.on .pt-pl { background: #f5f5f3; color: #0b0b0b; box-shadow: none; }
.pt-sm { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms cubic-bezier(.22, 1, .36, 1); }
.pt-sm > span { overflow: hidden; font-size: 16px; line-height: 24px; color: var(--muted); }
.pt-i.on .pt-sm { grid-template-rows: 1fr; }
.pt-i.on .pt-sm > span { padding-top: 12px; }
.pt-b:hover .pt-br { color: var(--text); }

.pt-r { position: relative; min-height: 640px; border-radius: 6px; overflow: hidden; background: #0b0b0b; }
.pt-p { position: absolute; inset: 0; background: #1c1c1c; opacity: 0; visibility: hidden; transition: opacity 500ms ease, visibility 0s 500ms; }
.pt-p.on { opacity: 1; visibility: visible; transition: opacity 500ms ease; }
/* the page scrolls slowly inside it while its study is selected */
.pt-ph { position: absolute; right: 56px; top: 64px; width: 280px; height: 606px; padding: 9px; border-radius: 46px; background: #0b0b0b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pt-scr { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; }
.pt-pg img { display: block; width: 100%; height: auto; }
.pt-p.on .pt-pg { animation: pt-scroll 7s cubic-bezier(.45, 0, .55, 1) both; }
@keyframes pt-scroll { 0%, 12% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(0, -40%, 0); } }
.pt-isl { position: absolute; left: 50%; top: 20px; width: 84px; height: 24px; margin-left: -42px; border-radius: 999px; background: #0b0b0b; }
/* the text column at the foot of the panel: stats, then the brand, then the summary, all left aligned */
.pt-tx { position: absolute; left: 48px; top: 48px; bottom: 48px; width: calc(100% - 280px - 56px - 48px - 48px); display: flex; flex-direction: column; justify-content: flex-end; }
.pt-st { margin: 0 0 32px; }
.pt-n { margin: 0; font-family: var(--display); font-size: 72px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums lining-nums; color: #fff; }
.pt-lb { margin: 12px 0 0; font-size: 17px; line-height: 24px; color: rgba(255, 255, 255, .72); }
.pt-mo { display: grid; gap: 8px; margin: 20px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .16); }
.pt-mo li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 15px; line-height: 20px; color: rgba(255, 255, 255, .72); }
.pt-mo b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.pt-bn { margin: 0 0 12px; font-family: var(--display); font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.pt-q { margin: 0; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .88); text-wrap: pretty; }

@media (max-width: 1199.98px) { .pt-l { padding: 32px; } .pt-ph { right: 32px; width: 240px; height: 520px; } .pt-n { font-size: 60px; }
  .pt-tx { left: 32px; top: 32px; bottom: 32px; width: calc(100% - 240px - 32px - 32px - 32px); } }
@media (max-width: 900px) {
  .pt { grid-template-columns: minmax(0, 1fr); margin-left: calc(var(--gutter, 24px) * -1); margin-right: calc(var(--gutter, 24px) * -1); }
  .pt-r { order: -1; min-height: 560px; }
  .pt-l { padding: 16px 24px; }
  .pt-r { min-height: 0; height: 600px; }
  .pt-ph { left: 50%; right: auto; top: 196px; width: 220px; height: 476px; margin-left: -110px; padding: 7px; border-radius: 36px; } .pt-scr { border-radius: 30px; } .pt-isl { top: 14px; width: 64px; height: 18px; margin-left: -32px; }
  .pt-tx { left: 24px; top: 24px; bottom: auto; width: calc(100% - 48px); justify-content: flex-start; }
  .pt-st { margin: 0; } .pt-n { font-size: 52px; } .pt-mo, .pt-bn, .pt-q { display: none; }
  .pt-br { font-size: 18px; line-height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .pt-p, .pt-sm { transition: none; } .pt-p.on .pt-pg { animation: none; } }
/* the grey frame runs into the next section's top line, no dark strip between them (Ajay, 28 Oct 2026) */
main.wrap > #results { padding-bottom: 0; }
