/* About page (about.html). The opening sets the name, roles, a short bio and profile links beside a photo; a card links
   to the NASA spotlight interview; then education and the publication list, each with its heading on the left. */
.about-page main { padding-bottom: 8px; }

.ab-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px 72px; align-items: center; padding: 72px 0 80px; border-bottom: 1px solid var(--line); }
.ab-hero h1 { margin: 0; font: 500 clamp(2.6rem, 6.2vw, 4.8rem)/1 var(--head); letter-spacing: -.025em; color: var(--ink); }
/* Each role carries its "/" on its left; the wrapper clips the one that would start a line. */
.ab-roles-wrap { overflow: hidden; margin: 20px 0 0; }
.ab-roles { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 0 -1.4em; padding: 0; list-style: none; font-size: .98rem; color: var(--ink-2); }
.ab-roles li { position: relative; margin-left: 1.4em; }
.ab-roles li::before { content: "/"; position: absolute; left: -.95em; color: var(--line); }
.ab-bio { max-width: 54ch; margin: 24px 0 0; font-size: 1.16rem; line-height: 1.6; color: var(--ink); }
.ab-links { display: flex; flex-wrap: wrap; gap: 4px; margin: 26px 0 0 -9px; }
.ab-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); transition: color .15s, background-color .15s; }
.ab-links a:hover { color: var(--ink); background: var(--hover); }
.ab-links a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.ab-links svg { width: 21px; height: 21px; fill: currentColor; }

/* Photo */
.ab-photo { justify-self: end; width: min(100%, 340px); margin: 0; }
.ab-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 44px rgba(15,26,31,.18); }

/* Sections: number and heading on the left, text on the right */
.ab-sec { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px 48px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.ab-sec h2 { margin: 0; font: 500 1.35rem/1.25 var(--head); color: var(--ink); }
.ab-sec:first-of-type { border-top: 1px solid var(--line); margin-top: 32px; }
.ab-body { max-width: 68ch; }
.ab-body p { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.65; color: var(--ink); }
.ab-body a { color: var(--link); }
.ab-edu { margin: 0; padding: 0; list-style: none; }
.ab-edu li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.ab-edu li:first-child { border-top: 0; padding-top: 0; }
.ab-deg { font-weight: 500; color: var(--ink); }
.ab-where { font-size: .92rem; color: var(--ink-2); }

/* Publications, newest first, grouped by year */
.ab-count { color: var(--ink-2) !important; font-size: .95rem !important; }
.ab-year { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.ab-year > h3 { margin: 2px 0 0; font: 600 .95rem/1.4 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ab-year ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.ab-pub { display: block; }
.ab-chip { display: inline-block; margin-right: 7px; vertical-align: 1px; padding: 0 6px; border-radius: 3px; background: var(--jc); color: #fff; font: 600 .66rem/1.45 var(--sans); letter-spacing: .02em; white-space: nowrap; box-shadow: 0 0 0 1px var(--chip-ring); }
.ab-pub-title { font-weight: 500; line-height: 1.4; color: var(--ink) !important; text-decoration: none; }
.ab-pub-title:hover { color: var(--link) !important; text-decoration: underline; }
.ab-pub-meta { margin: 3px 0 0 !important; font-size: .88rem !important; line-height: 1.5 !important; color: var(--ink-2) !important; }
.ab-pub-meta b { font-weight: 600; color: var(--ink); }
.ab-pdf { margin-left: 6px; font-size: .8rem; font-weight: 600; }
/* The button under the recent years that shows the older papers. */
.ab-more { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 14px 0 0 72px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 .92rem/1.35 var(--sans); cursor: pointer; transition: border-color .15s, background-color .15s; }
.ab-more:hover { border-color: var(--ink-2); background: var(--hover); }
.ab-more:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.ab-more-n { font-weight: 400; font-size: .84rem; color: var(--ink-2); }


@media (max-width: 900px) {
  .ab-hero { grid-template-columns: 1fr; padding: 40px 0 48px; gap: 32px; }
  .ab-photo { justify-self: start; order: -1; width: min(70%, 280px); }
  .ab-sec { grid-template-columns: 1fr; padding: 44px 0; }
}
@media (max-width: 520px) {
  .ab-year { grid-template-columns: 1fr; gap: 6px; }
  .ab-more { margin-left: 0; }
}

/* Experience: a large card that leads to My journey, where the appointments are. */
.ab-jy { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pic pic" "text go"; align-items: end; gap: 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.ab-jy:hover { border-color: var(--link); box-shadow: 0 14px 32px rgba(15,26,31,.15); transform: translateY(-2px); }
.ab-jy:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.ab-jy-pic { grid-area: pic; display: block; width: 100%; height: auto; aspect-ratio: 1400 / 559; object-fit: cover; transition: transform .5s; }
.ab-jy:hover .ab-jy-pic { transform: scale(1.02); }
.ab-jy-text { grid-area: text; display: flex; flex-direction: column; gap: 6px; padding: 16px 0 18px 20px; min-width: 0; }
.ab-jy-title { font: 500 1.2rem/1.3 var(--head); color: var(--ink); }
.ab-jy-sub { font-size: .92rem; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.ab-jy-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ab-jy-logos img { display: block; height: 30px; width: auto; max-width: 70px; padding: 3px 5px; border: 1px solid var(--line); border-radius: 6px; background: #fff; object-fit: contain; }
.ab-jy-go { grid-area: go; align-self: center; margin-right: 20px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; white-space: nowrap; transition: transform .2s; }
.ab-jy:hover .ab-jy-go { transform: translateX(3px); }
@media (max-width: 640px) {
  .ab-jy { grid-template-columns: 1fr; grid-template-areas: "pic" "text" "go"; }
  .ab-jy-text { padding: 14px 16px 6px; }
  .ab-jy-go { justify-self: start; margin: 4px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .ab-jy, .ab-jy-pic, .ab-jy-go { transition: none; } .ab-jy:hover, .ab-jy:hover .ab-jy-pic { transform: none; } }


/* The Experience card fills its column (wider than the text sections), and the spotlight card sits in its own section. */
/* Experience: the heading above, then the My journey card across the full width of the page. */
.ab-jy-sec { grid-template-columns: 1fr; gap: 20px; }
.ab-jy-sec .ab-body { max-width: none; }
.ab-jy-pic { aspect-ratio: 1400 / 520; object-position: 50% 45%; }
.ab-spot-sec .ab-spot { margin: 0; }
@media (max-width: 640px) { .ab-jy-pic { aspect-ratio: 16 / 9; object-position: 40% 50%; } }
