/* Search landing pages and About: shared layout on top of style.css + home.css. */
.lp-hero { padding: 4.5rem 0 3rem; text-align: center; }
.lp-hero .container { max-width: 900px; }
.lp-hero h1 { font-size: clamp(2rem, 3vw + 1rem, 3.1rem); line-height: 1.12; margin: 0.6rem 0 1rem; }
.lp-hero .lead { max-width: 44rem; margin: 0 auto; }
.lp-hero .hero-actions { justify-content: center; margin-top: 1.6rem; }
.lp-crumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.lp-crumbs a { color: var(--text-muted); }
.lp-prose { max-width: 760px; margin: 0 auto; }
.lp-prose p { line-height: 1.65; margin: 0 0 1rem; }
.lp-prose p.lp-src { font-size: 0.88rem; color: var(--text-muted); }
.lp-checklist { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.lp-checklist li { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 0.9rem 1.1rem; line-height: 1.55; }
.lp-checklist li strong { display: block; margin-bottom: 0.2rem; }
.lp-table-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.lp-table th, .lp-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.lp-table th { color: var(--brand); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.lp-related { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lp-related a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; text-decoration: none; color: var(--text); }
.lp-related a:hover { border-color: var(--brand); }
.lp-related b { display: block; color: var(--brand); margin-bottom: 0.3rem; }
.lp-related span { font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; }
.lp-includes { list-style: none; padding: 0; margin: 1.2rem auto 0; max-width: 36rem; text-align: left; display: grid; gap: 0.5rem; }
.lp-includes li::before { content: "\2713"; color: var(--brand); font-weight: 700; margin-right: 0.6rem; }
.lp-person { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.lp-person h3 { margin: 0 0 0.2rem; }
.lp-person .lp-role { color: var(--brand); font-weight: 600; margin: 0 0 0.9rem; }
.lp-person p { line-height: 1.65; margin: 0 0 0.8rem; }
.lp-facts { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.lp-facts div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; }
.lp-facts b { display: block; color: var(--brand); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.lp-facts span { line-height: 1.5; font-size: 0.95rem; }
@media (max-width: 900px) {
  .lp-related, .lp-facts { grid-template-columns: 1fr; }
  .lp-hero { padding: 3rem 0 2rem; }
}
.lp-person-photo { display: grid; grid-template-columns: 200px 1fr; gap: 1.6rem; align-items: start; max-width: 900px; }
.lp-person-photo img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand); }
@media (max-width: 700px) { .lp-person-photo { grid-template-columns: 1fr; justify-items: center; text-align: center; } .lp-person-photo img { width: 160px; height: 160px; } }
.h-pillars.h-pillars-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .h-pillars.h-pillars-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .h-pillars.h-pillars-4 { grid-template-columns: 1fr; } }
.lp-cred { margin: 0 0 0.9rem; padding-left: 1.1rem; display: grid; gap: 0.35rem; line-height: 1.45; }
.lp-cred li::marker { color: var(--brand); }
.lp-hero .h-deep { margin-top: 1.2rem; }
@media (max-width: 700px) { .lp-cred { text-align: left; } }

/* ---- About: founder section --------------------------------------------- */
.ab-founder { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 2.5rem; align-items: start; max-width: 1100px; margin: 0 auto; }
.ab-card {
  position: sticky;
  top: 96px;
  text-align: center;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card-glass);
}
.ab-card img { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 3px solid var(--neon); box-shadow: 0 0 0 6px var(--neon-soft), var(--neon-glow); }
.ab-card h3 { margin: 1rem 0 0.2rem; font-size: 1.35rem; }
.ab-role { margin: 0; color: var(--neon); font: 600 0.82rem/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.ab-lead { margin: 0.8rem 0 1.1rem; color: var(--text); font-size: 1.02rem; line-height: 1.5; }
.ab-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 0; }
.ab-links .btn { gap: 0.45rem; padding: 8px 14px; font-size: 0.88rem; }
.ab-sub { margin: 0 0 0.8rem; font: 700 0.78rem/1.2 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--neon); }
.ab-disc { margin-bottom: 2rem; }
.ab-since { margin: 0 0 0.8rem; color: var(--text-muted); }
.ab-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.ab-chips li { padding: 0.4rem 0.75rem; border-radius: 999px; border: 1px solid var(--neon-soft); background: var(--card-glass); font-size: 0.86rem; color: var(--text); }

/* Timeline: a rail with a neon fill driven by --p (home.js), one node per role. */
.ab-timeline { --p: 0; position: relative; list-style: none; margin: 0; padding: 0 0 0 0; }
.ab-timeline::before,
.ab-timeline::after { content: ""; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--border-strong); }
.ab-timeline::after { background: linear-gradient(var(--neon), var(--neon-2)); box-shadow: var(--neon-glow); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.ab-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; padding: 0 0 1.4rem; }
.ab-badge {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  font: 700 0.74rem/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.04em;
  transition: border-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}
.ab-step.is-on .ab-badge { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 0 4px var(--neon-soft); }
.ab-step.is-on.is-pulse .ab-badge { animation: abPulse 900ms ease-out 1; }
@keyframes abPulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 var(--neon-soft), var(--neon-glow); } 40% { transform: scale(1.12); box-shadow: 0 0 0 10px transparent, 0 0 24px var(--neon); } 100% { transform: scale(1); } }
.ab-step-body { min-width: 0; padding-top: 0.1rem; }
.ab-when { margin: 0 0 0.15rem; font: 600 0.78rem/1.3 'JetBrains Mono', ui-monospace, monospace; color: var(--neon); }
.ab-step h4 { margin: 0; font-size: 1.04rem; line-height: 1.35; }
.ab-org { color: var(--text); }
.ab-title { display: block; font-weight: 500; font-size: 0.93rem; color: var(--text-muted); }
.ab-step p:not(.ab-when) { margin: 0.35rem 0 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.ab-step-found { padding-bottom: 0; }
.ab-found > summary { cursor: pointer; list-style: none; display: flex; gap: 0.6rem; align-items: baseline; flex-wrap: wrap; font-weight: 700; }
.ab-found > summary::-webkit-details-marker { display: none; }
.ab-found > summary::after { content: "+"; color: var(--neon); font-weight: 700; margin-left: 0.2rem; }
.ab-found[open] > summary::after { content: "\2212"; }
.ab-found ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; list-style: disc; }

/* Cards: Now, Education, Inventions, Recognition */
.ab-grid { max-width: 1100px; margin: 2.6rem auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ab-box { padding: 1.3rem 1.4rem; border: 1px solid var(--border); border-radius: 18px; background: var(--card-glass); }
.ab-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.ab-box li { position: relative; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.ab-box li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: var(--neon); }
.ab-box li b { color: var(--text); }
.ab-box a, .ab-inventor a { color: var(--brand); font-weight: 600; }
.ab-light { font-size: 0.88rem !important; opacity: 0.85; }
.ab-inventor { max-width: 1100px; margin: 1.6rem auto 0; padding: 1rem 1.2rem; border-left: 3px solid var(--neon); border-radius: 0 12px 12px 0; background: var(--card-glass); line-height: 1.6; }

@media (max-width: 900px) {
  .ab-founder { grid-template-columns: 1fr; gap: 2rem; }
  .ab-card { position: static; max-width: 420px; margin: 0 auto; }
  .ab-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .ab-step { grid-template-columns: 34px minmax(0, 1fr); gap: 0.75rem; }
  .ab-badge { width: 34px; height: 34px; font-size: 0.68rem; }
  .ab-timeline::before, .ab-timeline::after { left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-step.is-on.is-pulse .ab-badge { animation: none; }
}
