/* About-only foundations and timeline, extracted from the supplied stylesheet.
   Native details/summary provides disclosure behaviour; no app.js or system.js needed. */
.about-profile .profile-section { padding-block: var(--sp-5); }
.about-profile .profile-section + .profile-section { border-top: 1px solid var(--line); }
.about-profile .foundation-grid { align-items: stretch; }
.about-profile .foundation { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.about-profile .foundation > summary::-webkit-details-marker,
.about-profile .trajectory-entry summary::-webkit-details-marker { display: none; }
.about-profile .foundations h2 em { font-style: normal; color: inherit; }
.about-profile details[open] > summary .trajectory-disclosure svg { transform: rotate(45deg); }
.about-profile .trajectory-detail .text-link { margin-top: var(--sp-2); }
.about-profile .profile-actions { display:flex; flex-wrap:wrap; gap:var(--sp-4); padding-block:var(--sp-3) var(--sp-5); }
.about-profile .cat-research{--cat:var(--accent);--cat-ink:var(--surface)}
.about-profile .cat-design{--cat:var(--mustard);--cat-ink:var(--text)}
.about-profile .cat-consulting{--cat:var(--accent-soft);--cat-ink:var(--text)}
.about-profile .cat-teaching{--cat:var(--surface-2);--cat-ink:var(--text)}
.about-profile .foundations h2{max-width:900px;margin-bottom:36px}
.about-profile .foundation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.about-profile .foundation{background:var(--surface);border:1px solid var(--text);border-top:8px solid var(--cat)}
.about-profile .foundation>summary{display:block;padding:20px 20px 18px;cursor:pointer;list-style:none}
.about-profile .foundation>summary:focus-visible{outline:2px solid var(--text);outline-offset:-4px}
.about-profile .foundation-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.about-profile .foundation-heading h3{margin:0;font-size:clamp(20px,1.8vw,23px);line-height:1.2}
.about-profile .trajectory-disclosure{flex:none;display:grid;place-items:center;width:24px;height:24px;border:1.5px solid var(--text);border-radius:50%;color:var(--text)}
.about-profile .trajectory-disclosure svg{width:12px;height:12px;transition:transform .15s}
.about-profile details[open]>summary .trajectory-disclosure svg,.about-profile details[open]>summary>.trajectory-bar .trajectory-disclosure svg{transform:rotate(45deg)}
.about-profile .foundation>summary p{margin:12px 0 0;font-size:16px;line-height:1.45;color:var(--muted)}
.about-profile .foundation ul{list-style:none;margin:0;padding:0 20px 20px}
.about-profile .foundation li{padding:9px 0;border-top:1px solid var(--line);font-size:16px}
.about-profile .trajectory h2{margin-bottom:22px}
.about-profile .trajectory-legend{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-wrap:wrap;gap:8px 28px;font-size:14px}
.about-profile .trajectory-legend li{display:flex;align-items:center;gap:10px}
.about-profile .trajectory-legend li span{width:16px;height:16px;background:var(--cat);border:1.5px solid var(--text)}
.about-profile .trajectory-axis{position:relative;height:26px;border-bottom:1px solid var(--text);font-size:12px;color:var(--muted)}
.about-profile .trajectory-axis span{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
.about-profile .trajectory-list{list-style:none;margin:0;padding:0;background:linear-gradient(to right,#25282722 1px,transparent 1px) 0 0/var(--year-step) 100%}
.about-profile .trajectory-entry{padding:12px 0 6px;border-bottom:1px solid #25282722}
.about-profile .trajectory-entry summary{display:flex;flex-direction:column;gap:6px;cursor:pointer;list-style:none}
.about-profile .trajectory-entry summary:focus-visible{outline:2px solid var(--text);outline-offset:4px}
.about-profile .trajectory-period,.about-profile .trajectory-meta{margin-left:var(--start);font-size:14px;line-height:1.35;color:var(--muted)}
.about-profile .trajectory-period{order:1;font-weight:600;letter-spacing:.04em;color:var(--text)}
.about-profile .trajectory-bar{order:2;display:block;margin-left:var(--start);width:var(--duration);min-width:min(300px,calc(100% - var(--start)));max-width:calc(100% - var(--start));background:var(--cat);color:var(--cat-ink);border:1.5px solid var(--text)}
.about-profile .period-track{order:3;display:block;margin-left:var(--start);width:var(--duration);height:3px;background:var(--text)}
.about-profile .trajectory-meta{order:4;max-width:calc(100% - var(--start))}
.about-profile .trajectory-heading{display:flex;align-items:center;gap:10px;padding:10px 12px}
.about-profile .trajectory-heading strong{font:600 16px/1.35 'Inter',sans-serif}
.about-profile .trajectory-type-icon{flex:none;width:22px;height:22px}
.about-profile .trajectory-bar .trajectory-disclosure{margin-left:auto;border-color:currentColor;color:inherit}
.about-profile .trajectory-entry.ongoing .trajectory-bar{border-right-style:dashed}
.about-profile .trajectory-detail{margin:12px 0 8px max(0px,min(var(--start),calc(100% - 720px)));max-width:720px;padding:20px 24px;background:var(--surface-2);border-top:3px solid var(--text)}
.about-profile .trajectory-detail h3{margin:0 0 8px;font-size:clamp(19px,1.8vw,22px)}
.about-profile .trajectory-detail p{margin:10px 0 0;max-width:62ch}
.about-profile .trajectory-detail .small{color:var(--muted)}
.about-profile .trajectory-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px 8px;margin-top:20px;font-size:14px;color:var(--muted)}
.about-profile .trajectory-note svg{width:18px;height:18px;color:var(--text)}
.about-profile .trajectory-note span{margin-right:18px}

@media (min-width: 1025px) {
 .about-profile .foundation-heading h3 { min-height: 2.4em; }
}
@media (max-width: 1024px) {
 .about-profile .foundation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .about-profile .trajectory-axis span:not(:nth-child(5n+1)) { display: none; }
}
@media (max-width: 850px) {
 .about-profile .trajectory-axis, .about-profile .period-track { display: none; }
 .about-profile .trajectory-list { background: none; }
 .about-profile .trajectory-period, .about-profile .trajectory-meta { margin-left: 0; max-width: none; }
 .about-profile .trajectory-bar { margin-left: 0; width: 100%; min-width: 0; max-width: none; }
 .about-profile .trajectory-detail { margin-left: 0; max-width: none; padding: var(--sp-3); }
}
@media (max-width: 560px) {
 .about-profile .foundation-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
 .about-profile .trajectory-disclosure svg { transition: none; }
}

/* Bring the four foundations together before the career timeline. */
.about-profile .foundation-convergence {
  display: flex;
  justify-content: center;
  margin-block: var(--sp-3) var(--sp-2);
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
}
.about-profile .foundation-synthesis {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--accent);
  font-family: Spectral, Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
}
