/* About page (page-about.php). Builds on assets/home.css (.ph tokens and parts); enqueued in inc/home-page.php. */

/* Intro: copy left, company facts card right. No hero band, same white surface as the page. */
.pab-intro { padding: 56px 0 80px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .pab-intro { padding: 88px 0 104px; } }
.pab-intro__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .pab-intro__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; } }
.pab-h1 { max-width: 13em; margin-top: 16px; font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.pab-h1 span { color: var(--rose); }
.pab-capsule { margin-top: 22px; max-width: 37rem; }
.pab-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .pab-cta .ph-btn { flex: 1 1 100%; } }

.pab-glance { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-3); }
.pab-glance__head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--soft); }
.pab-glance__head img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--sh-1); }
.pab-glance__head b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.pab-glance__head span { display: block; margin-top: 1px; font-size: 13px; color: var(--mut); }
.pab-glance dl { margin: 0; padding: 4px 24px 8px; }
.pab-glance dl > div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.pab-glance dl > div:last-child { border-bottom: 0; }
.pab-glance dt { font-size: 13.5px; font-weight: 500; color: var(--mut); }
.pab-glance dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.pab-glance dd a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pab-glance dd a:hover { text-decoration-color: var(--rose); }
@media (max-width: 479px) { .pab-glance dl { padding: 4px 18px 8px; } .pab-glance dl > div { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; } }

/* Story: portrait, then the story, then the path on phones; portrait + path left of the story on desktop */
.pab-story { display: grid; gap: 40px; grid-template-areas: "founder" "copy" "path"; }
.pab-founder { grid-area: founder; } .pab-copy { grid-area: copy; } .pab-path { grid-area: path; }
@media (min-width: 1000px) { .pab-story { grid-template-columns: 380px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "founder copy" "path copy"; gap: 0 88px; align-items: start; } }
.pab-founder { max-width: 460px; }
.pab-portrait { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 22px; background: var(--ink); box-shadow: var(--sh-3); }
@media (min-width: 1000px) { .pab-portrait { aspect-ratio: 4 / 5; } }
.pab-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; filter: grayscale(1) contrast(1.1) brightness(.94); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .pab-founder:hover .pab-portrait img { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .pab-portrait img { transition: none; } .pab-founder:hover .pab-portrait img { transform: none; } }
.pab-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.pab-who b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.pab-who span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--mut); }
.pab-social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pab-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d9d9e1; border-radius: 10px; background: #fff; color: var(--ink-2); font-size: 16px; text-decoration: none; box-shadow: var(--sh-1); transition: border-color .15s ease, color .15s ease; }
.pab-social a:hover { border-color: #b9b9c4; color: var(--ink); }
.pab-social a:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.pab-path { max-width: 460px; margin: 0; padding: 0 0 0 2px; list-style: none; }
@media (min-width: 1000px) { .pab-path { margin-top: 36px; } }
.pab-path li { position: relative; padding: 0 0 18px 22px; border-left: 1px solid #d9d9e1; }
.pab-path li:last-child { padding-bottom: 0; border-left-color: transparent; }
.pab-path li::before { content: ""; position: absolute; top: 4px; left: -5px; width: 9px; height: 9px; border: 2px solid var(--rose); border-radius: 50%; background: var(--soft); }
.pab-path b { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; color: var(--rose); font-variant-numeric: tabular-nums; }
.pab-path span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.pab-copy .ph-h2 { margin-top: 12px; }
.pab-answer { margin-top: 22px; max-width: 42rem; font-size: clamp(1.15rem, 1.7vw, 1.32rem); font-weight: 500; line-height: 1.6; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.pab-copy .ph-lead { margin-top: 18px; max-width: 42rem; }
.pab-rules { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pab-rules li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pab-rules li > b { padding-top: 3px; font-size: 13px; font-weight: 700; color: var(--rose); font-variant-numeric: tabular-nums; }
.pab-rules h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.pab-rules p { margin-top: 8px; max-width: 38rem; font-size: .98rem; line-height: 1.65; color: var(--mut); }
.pab-rules .ph-link { margin-top: 12px; font-size: 14.5px; }
.pab-rules .ph-link i { font-size: 12px; }
.pab-note { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: .98rem; line-height: 1.6; color: var(--ink-2); box-shadow: var(--sh-1); }
.pab-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pab-note a:hover { text-decoration-color: var(--rose); }

/* Product rows are links */
.pab-products { margin-top: 0; }
.pab-products a.ph-extra { color: inherit; text-decoration: none; }
.pab-products a.ph-extra h3 { transition: color .15s ease; }
.pab-products a.ph-extra:hover h3 { color: var(--rose); }
.pab-products a.ph-extra:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; border-radius: 8px; }
