/* Profile pages of the three biographies (2 Dec 2026, Erik: Leslie Armour, Elizabeth Trott and William Sweet as university faculty-style
   profile pages). Loaded only by those three pages; every other file keeps its bytes. Built from the Library's own variables (reference.css),
   so the dark and light themes follow without new colours; the emblem is the Fields & Disciplines page emblem (area-emblem-off). */

/* ---------- the profile header, as on a faculty page ---------- */
.rp-hero { padding-bottom:0; }
.rp-id { display:flex; align-items:center; gap:28px; margin-top:18px; }
.rp-id .rp-portrait.area-emblem { flex:none; width:112px; height:112px; border-radius:50%; }
.rp-id .rp-portrait .emb-ic { width:54px; height:54px; }
.rp-id-text { min-width:0; }
.rp-id h1 { margin:0; }
.rp-desig { margin:8px 0 0; color:var(--ref-ink); font:400 17px/1.45 var(--ref-sans); }
.rp-affil { margin:2px 0 0; color:var(--ref-soft); font:400 15.5px/1.45 var(--ref-sans); }
@media (max-width:600px) { .rp-id { gap:16px; align-items:flex-start; } .rp-id .rp-portrait.area-emblem { width:72px; height:72px; } .rp-id .rp-portrait .emb-ic { width:34px; height:34px; } .rp-desig { font-size:16px; } }

/* ---------- the tab row and the panels ---------- */
.rp-tabs { margin:24px 0 0; border-bottom:1px solid var(--ref-rule); overflow-x:auto; scrollbar-width:none; }
.rp-tabs::-webkit-scrollbar { display:none; }
.rp-tablist { display:flex; gap:0 4px; margin:0; padding:0; list-style:none; white-space:nowrap; }
.rp-tablist li { margin:0; padding:0; }
.rp-tablist li::before { content:none; }
.ref-surface a.rp-tab { display:block; margin-bottom:-1px; padding:12px 16px 11px; border-bottom:2px solid transparent; color:var(--ref-soft); font:600 14.5px/1.3 var(--ref-sans); letter-spacing:.01em; text-decoration:none; }
.ref-surface .rp-tablist li:first-child a.rp-tab { padding-left:2px; }
.ref-surface a.rp-tab:hover { color:var(--nw-gold); }
.ref-surface a.rp-tab[aria-selected="true"] { border-bottom-color:var(--ref-accent); color:var(--ref-ink); }
.ref-surface a.rp-tab:focus-visible { outline:2px solid var(--ref-focus); outline-offset:-3px; border-radius:3px; }
html .ref-surface a.rp-tab:hover:not(:focus-visible) { outline:none !important; }
.rp-entry { max-width:780px; padding:30px 0 10px; }
.rp-panel { scroll-margin-top:16px; }
.rp-panel:focus-visible { outline:2px solid var(--ref-focus); outline-offset:8px; border-radius:2px; }
/* without the script each panel carries its name as a quiet label; with it the tab names the panel (the heading stays for screen readers) */
html .ref-surface .rp-entry .rp-panel-h { margin:0 0 14px; padding:0; border:0; color:var(--ref-accent); font:700 11px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.rp-panel + .rp-panel { margin-top:3em; padding-top:2em; border-top:1px solid var(--ref-rule); }
html.rp-tabbed .rp-panel + .rp-panel { margin-top:0; padding-top:0; border-top:0; }
html.rp-tabbed .ref-surface .rp-entry .rp-panel-h { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
@media print { .rp-panel[hidden] { display:block !important; content-visibility:visible !important; } .rp-tabs { display:none; } html.rp-tabbed .ref-surface .rp-entry .rp-panel-h { position:static; width:auto; height:auto; margin:0 0 14px; overflow:visible; clip:auto; } }
.rp-foot { max-width:780px; }

/* panel contents: the biography's own sections keep their article styles; the profile adds only spacing and the opening paragraph's weight */
.rp-entry .rp-panel > * + :is(section, .rp-sec) { margin-top:2.1em; }
.rp-entry .rp-panel > :is(section, .rp-sec) > h2:first-child { margin-top:0; }
.ref-surface .rp-entry .rp-lead p { font-size:1.08em; }
.rp-entry .rp-facts { margin:.4em 0 0; }
.rp-entry .enc-box { margin:.4em 0 0; }


/* ==========================================================================================================================================
   The research profile (3 Dec 2026; Leslie Armour as the prototype; docs/qa/research-profiles-2026-12-02/DESIGN.md). Scoped to .rp-hero-f
   and .rp-faculty: the two biographies not yet converted keep the styles above.
   ========================================================================================================================================== */

/* ---- identity header: a portrait-shaped frame (4:5, for a future photograph), name, designation with life dates, positions ---- */
.rp-hero-f { padding:22px 0 0; }
.rp-hero-f .rp-kicker { margin:0 0 18px; }
.rp-hero-f .rp-id { display:flex; align-items:flex-start; gap:24px; margin:0; }
.rp-hero-f .rp-portrait { flex:none; display:grid; place-items:center; width:104px; aspect-ratio:4/5; border:1px solid var(--ref-rule-2); border-radius:4px; background:var(--ref-panel-2); }
.rp-hero-f .rp-portrait .emb-ic { width:46px; height:46px; fill:none; stroke:var(--ref-faint); stroke-width:1.15; stroke-linecap:round; stroke-linejoin:round; }
.rp-hero-f .rp-id-text { min-width:0; padding-top:2px; }
html .ref-surface .rp-hero-f h1 { margin:0; color:var(--ref-ink); font:400 clamp(30px,3vw,40px)/1.1 var(--ref-serif); letter-spacing:-.005em; }
.rp-hero-f .rp-desig { margin:8px 0 0; color:var(--ref-ink); font:400 16px/1.4 var(--ref-sans); }
.rp-hero-f .rp-dates { display:inline-block; white-space:nowrap; margin-left:10px; padding-left:10px; border-left:1px solid var(--ref-rule-2); color:var(--ref-soft); font-variant-numeric:tabular-nums; }
.rp-hero-f .rp-positions { margin:10px 0 0; padding:0; list-style:none; }
.rp-hero-f .rp-positions li { margin:0 0 2px; padding:0; color:var(--ref-soft); font:400 14.5px/1.45 var(--ref-sans); }
.rp-hero-f .rp-positions li::before { content:none; }
.rp-hero-f .rp-positions b { color:var(--ref-ink); font-weight:600; }
.rp-hero-f .rp-pos-k { color:var(--ref-faint); font-size:12.5px; letter-spacing:.02em; }
@media (max-width:600px) { .rp-hero-f .rp-id { gap:16px; } .rp-hero-f .rp-portrait { width:76px; } .rp-hero-f .rp-portrait .emb-ic { width:34px; height:34px; } }

/* ---- tabs: the Library's own section tabs (reference.css .lib-tabs .lib-tab), the active tab open onto the panel ---- */
.rp-faculty .rp-tabs { margin:26px 0 0; padding:0; border-bottom:1px solid var(--ref-accent); overflow-x:auto; overflow-y:hidden; scrollbar-width:none; }
.rp-faculty .rp-tabs::-webkit-scrollbar { display:none; }
.rp-faculty .rp-tablist { display:flex; flex-wrap:nowrap; align-items:flex-end; gap:2px; margin:0; padding:0; list-style:none; }
.rp-faculty .rp-tablist li { margin:0; padding:0; }
.rp-faculty .rp-tablist li::before { content:none; }
.ref-surface .rp-faculty a.rp-tab { display:inline-flex; align-items:center; gap:7px; margin:0; padding:11px 16px 10px; border:1px solid var(--ref-rule); border-bottom:0; border-radius:4px 4px 0 0; color:var(--ref-soft); font:700 11.5px/1 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; text-decoration:none; white-space:nowrap; transition:color .15s; }
.ref-surface .rp-faculty .rp-tablist li:first-child a.rp-tab { padding-left:16px; }
.ref-surface .rp-faculty a.rp-tab:not([aria-selected="true"]):hover { border-color:var(--nw-coral); color:var(--nw-gold); }
.ref-surface .rp-faculty a.rp-tab[aria-selected="true"] { position:relative; z-index:1; margin-bottom:-1px; padding-bottom:11px; border-color:var(--ref-accent); background:var(--ref-panel); color:var(--ref-ink); }
.ref-surface .rp-faculty a.rp-tab:focus-visible { outline:2px solid var(--ref-focus); outline-offset:-3px; }
.rp-faculty .rp-tab-n { color:var(--ref-faint); font-weight:400; letter-spacing:.02em; }
@media (max-width:600px) { .ref-surface .rp-faculty a.rp-tab { padding:10px 12px 9px; letter-spacing:.1em; } }

/* ---- panels: a main column and a narrower side column, the full width of the page ---- */
.rp-faculty .rp-panels { padding:28px 0 40px; }
.rp-faculty .rp-panel { scroll-margin-top:16px; }
.rp-faculty .rp-panel + .rp-panel { margin-top:3em; padding-top:2em; border-top:1px solid var(--ref-rule); }
html.rp-tabbed .rp-faculty .rp-panel + .rp-panel { margin-top:0; padding-top:0; border-top:0; }
html .ref-surface .rp-faculty .rp-panel-h { margin:0 0 16px; padding:0; border:0; color:var(--ref-accent); font:700 11px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
html.rp-tabbed .ref-surface .rp-faculty .rp-panel-h { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
@media print { .rp-faculty .rp-panel[hidden] { display:block !important; content-visibility:visible !important; } .rp-faculty .rp-tabs { display:none; } }
.rp-faculty .rp-grid { display:grid; grid-template-columns:minmax(0,780px) minmax(240px,360px); gap:0 64px; align-items:start; justify-content:start; }
.rp-faculty .rp-main { min-width:0; max-width:780px; }
.rp-faculty .rp-side { min-width:0; padding-left:24px; border-left:1px solid var(--ref-rule); }
@media (max-width:900px) { .rp-faculty .rp-grid { grid-template-columns:1fr; } .rp-faculty .rp-side { margin-top:8px; padding:20px 0 0; border-left:0; border-top:1px solid var(--ref-rule); } }

/* ---- type: labelled sections (small capitals, the Library's label style), compact sans text, serif for titles ---- */
.rp-faculty, .rp-faculty p, .rp-faculty li { color:var(--ref-ink); font-family:var(--ref-sans); }
.rp-faculty .rp-block { margin:0 0 30px; }
.rp-faculty .rp-block:last-child { margin-bottom:0; }
html .ref-surface .rp-faculty h2.rp-h { margin:0 0 10px; padding:0; border:0; color:var(--ref-accent); font:700 11px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.rp-faculty .rp-n { margin-left:4px; color:var(--ref-faint); font-weight:400; letter-spacing:.04em; }
html .ref-surface .rp-faculty h3.rp-h3 { margin:0 0 8px; color:var(--ref-faint); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.rp-faculty .rp-meta { margin:10px 0 0; color:var(--ref-faint); font:400 13px/1.5 var(--ref-sans); }
.rp-faculty .rp-meta-k { margin:0 4px 0 6px; color:var(--ref-faint); font:700 10px/1 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; }
.ref-surface .rp-faculty .rp-meta a { color:var(--ref-soft); }
.ref-surface .rp-faculty .rp-meta a:hover { color:var(--nw-gold); }
.rp-faculty .rp-cite { margin-left:1px; font-size:.7em; line-height:0; vertical-align:super; }
.ref-surface .rp-faculty .rp-cite a { color:var(--ref-faint); text-decoration:none; }
.ref-surface .rp-faculty .rp-cite a:hover { color:var(--ref-link); }
.rp-faculty ul, .rp-faculty ol { margin:0; padding:0; list-style:none; }
.rp-faculty li::before { content:none !important; }

/* research interests: documented interests as quiet tags; those that match a Fields & Disciplines page link to it */
.rp-faculty .rp-interests { display:flex; flex-wrap:wrap; gap:7px; }
.rp-faculty .rp-interests li { margin:0; }
.ref-surface .rp-faculty .rp-interests li > :is(a, span) { display:inline-block; padding:5px 11px; border:1px solid var(--ref-rule-2); border-radius:3px; background:var(--ref-panel); color:var(--ref-ink); font:400 14px/1.3 var(--ref-sans); text-decoration:none; }
.ref-surface .rp-faculty .rp-interests li > a:hover { border-color:var(--nw-coral); color:var(--nw-gold); }
html .ref-surface .rp-faculty .rp-interests a:hover:not(:focus-visible) { outline:none !important; }

/* the introduction: one paragraph, a comfortable measure */
.rp-faculty .rp-intro p { margin:0; color:var(--ref-ink); font:400 16.5px/1.62 var(--ref-serif); }
.rp-faculty .rp-intro i { font-style:italic; }

/* bibliographic records: year aligned left, title, authors and type, where published, links */
.rp-faculty .rp-pubs { border-top:1px solid var(--ref-rule); }
.rp-faculty .rp-pub { display:grid; grid-template-columns:52px minmax(0,1fr); gap:0 14px; margin:0; padding:12px 0; border-bottom:1px solid var(--ref-rule); }
.rp-faculty .rp-pub:target { background:var(--ref-panel); }
.rp-faculty .rp-pub-year { padding-top:2px; color:var(--ref-soft); font:600 13.5px/1.4 var(--ref-sans); font-variant-numeric:tabular-nums; }
.rp-faculty .rp-pub-body p { margin:0; }
.rp-faculty p.rp-pub-title { color:var(--ref-ink); font:400 16.5px/1.35 var(--ref-serif); }
.rp-faculty p.rp-pub-by { margin-top:3px; color:var(--ref-soft); font:400 13.5px/1.45 var(--ref-sans); }
.rp-faculty .rp-pub-type { margin-left:10px; padding:1px 6px; border:1px solid var(--ref-rule-2); border-radius:3px; color:var(--ref-faint); font:700 9.5px/1.5 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; vertical-align:1px; }
.rp-faculty p.rp-pub-where { color:var(--ref-soft); font:400 13.5px/1.45 var(--ref-sans); }
.rp-faculty p.rp-pub-note { margin-top:2px; color:var(--ref-faint); font:400 13px/1.45 var(--ref-sans); }
.rp-faculty p.rp-pub-links { display:flex; flex-wrap:wrap; gap:4px 14px; margin-top:5px; }
.ref-surface .rp-faculty .rp-pub-links a { color:var(--ref-link); font:600 12.5px/1.4 var(--ref-sans); }
.ref-surface .rp-faculty .rp-pub-links a:hover { color:var(--nw-gold); }
.rp-faculty .rp-pubs-compact .rp-pub { padding:10px 0; }
.rp-faculty .rp-more { margin:10px 0 0; font:600 13px/1.4 var(--ref-sans); }

/* side column: link lists (label, then a quiet identifier or detail) */
.rp-faculty .rp-linklist li { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:0 10px; margin:0; padding:7px 0; border-bottom:1px solid var(--ref-rule); font:400 14px/1.4 var(--ref-sans); }
.rp-faculty .rp-linklist li:first-child { border-top:1px solid var(--ref-rule); }
.rp-faculty .rp-linklist li span { color:var(--ref-faint); font-size:12.5px; font-variant-numeric:tabular-nums; }
.rp-faculty .rp-side-p { margin:0; color:var(--ref-soft); font:400 14px/1.5 var(--ref-sans); }

/* background: compact columns (Life, Education, Career, Editorial and other work, Distinctions) */
.rp-faculty .rp-background { margin-top:40px; padding-top:22px; border-top:1px solid var(--ref-rule); }
.rp-faculty .rp-cols { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:18px 32px; }
.rp-faculty .rp-facts-list li { margin:0 0 9px; font:400 14px/1.45 var(--ref-sans); }
.rp-faculty .rp-fact { color:var(--ref-ink); }
.rp-faculty .rp-when { display:block; color:var(--ref-faint); font:400 12.5px/1.4 var(--ref-sans); font-variant-numeric:tabular-nums; }
.rp-faculty .rp-fact-d { display:block; color:var(--ref-soft); font:400 12.5px/1.4 var(--ref-sans); }

/* research: each area of work as a row, its title and key works beside the description */
.rp-faculty .rp-rsec { display:grid; grid-template-columns:minmax(200px,260px) minmax(0,760px); gap:0 48px; padding:24px 0; border-top:1px solid var(--ref-rule); }
.rp-faculty .rp-rsec:first-child { padding-top:4px; border-top:0; }
html .ref-surface .rp-faculty h2.rp-rh { margin:0 0 12px; padding:0; border:0; color:var(--ref-ink); font:400 21px/1.25 var(--ref-serif); }
.rp-faculty .rp-keyk { margin:0 0 6px; color:var(--ref-faint); font:700 10px/1.4 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.rp-faculty .rp-keyworks li { display:flex; justify-content:space-between; gap:10px; margin:0 0 5px; font:400 13.5px/1.4 var(--ref-sans); }
.rp-faculty .rp-keyworks li span { color:var(--ref-faint); font-variant-numeric:tabular-nums; }
.rp-faculty .rp-rsec-body p { margin:0 0 .9em; color:var(--ref-ink); font:400 16px/1.62 var(--ref-serif); }
.rp-faculty .rp-rsec-body p:last-child { margin-bottom:0; }
@media (max-width:820px) { .rp-faculty .rp-rsec { grid-template-columns:1fr; } .rp-faculty .rp-rsec-side { margin-bottom:10px; } }

/* publications: a summary with jump links by group (counts), groups, then types */
.rp-faculty .rp-pubhead { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:12px 40px; margin:0 0 26px; }
.rp-faculty .rp-pubnote { max-width:620px; margin:0; }
.rp-faculty .rp-pubjump { display:flex; flex-wrap:wrap; gap:6px; }
.ref-surface .rp-faculty .rp-pubjump a { padding:5px 10px; border:1px solid var(--ref-rule-2); border-radius:3px; color:var(--ref-soft); font:600 12px/1.3 var(--ref-sans); text-decoration:none; }
.ref-surface .rp-faculty .rp-pubjump a:hover { border-color:var(--nw-coral); color:var(--nw-gold); }
.rp-faculty .rp-pubjump span { margin-left:4px; color:var(--ref-faint); font-weight:400; }
.rp-faculty .rp-pubgroup { max-width:860px; margin:0 0 34px; scroll-margin-top:16px; }
html .ref-surface .rp-faculty h2.rp-pubgroup-h { margin:0 0 14px; padding:0; border:0; color:var(--ref-ink); font:400 21px/1.25 var(--ref-serif); }
.rp-faculty .rp-pubgroup h3.rp-h3 { margin-top:18px; }
.rp-faculty .rp-pubgroup h2 + h3.rp-h3 { margin-top:0; }

/* related: Integral [+] Facticity items as a scannable list (type, title, date) */
.rp-faculty .rp-relnote { margin:0 0 22px; }
.rp-faculty .rp-items { border-top:1px solid var(--ref-rule); }
.rp-faculty .rp-items li { display:grid; grid-template-columns:88px minmax(0,1fr) auto; gap:0 14px; align-items:baseline; margin:0; padding:9px 0; border-bottom:1px solid var(--ref-rule); }
.rp-faculty .rp-item-type { color:var(--ref-faint); font:700 10px/1.4 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; }
.ref-surface .rp-faculty .rp-items a { color:var(--ref-ink); font:400 16px/1.35 var(--ref-serif); }
.rp-faculty .rp-items time { color:var(--ref-faint); font:400 12.5px/1.4 var(--ref-sans); white-space:nowrap; }
@media (max-width:600px) { .rp-faculty .rp-items li { grid-template-columns:1fr; } .rp-faculty .rp-items time { margin-top:2px; } }

/* resources: sources, editorial information, records */
.rp-faculty .rp-sources { counter-reset:src; }
.rp-faculty .rp-sources li { position:relative; margin:0 0 12px; padding-left:28px; font:400 14px/1.5 var(--ref-sans); scroll-margin-top:16px; }
.rp-faculty .rp-sources li::after { counter-increment:src; content:counter(src); position:absolute; left:0; top:0; color:var(--ref-faint); font:600 13px/1.5 var(--ref-sans); font-variant-numeric:tabular-nums; }
.rp-faculty .rp-sources li:target { background:var(--ref-panel); }
.rp-faculty .rp-supports { display:block; margin-top:2px; color:var(--ref-faint); font-size:12.5px; }
.rp-faculty .rp-maint { margin:0 0 12px; color:var(--ref-soft); font:400 14px/1.5 var(--ref-sans); }
.rp-faculty .rp-dl { display:grid; gap:7px; margin:0; font:400 13.5px/1.45 var(--ref-sans); }
.rp-faculty .rp-dl > div { display:grid; grid-template-columns:130px minmax(0,1fr); gap:0 14px; }
.rp-faculty .rp-dl dt { color:var(--ref-faint); }
.rp-faculty .rp-dl dd { margin:0; color:var(--ref-ink); }
.rp-faculty .rp-dl dd ul li { margin:0 0 2px; }
.rp-faculty .rp-dl dd span { display:block; color:var(--ref-faint); font-size:12.5px; }
.rp-faculty .rp-side .rp-dl > div { grid-template-columns:1fr; gap:1px; }
.rp-faculty .rp-dim { display:block; color:var(--ref-faint); font-size:12.5px; }
.rp-faculty .rp-hist li { margin:0 0 3px; }
.rp-faculty .rp-hist time { margin-right:6px; color:var(--ref-soft); }
.rp-faculty .rp-actions { display:flex; flex-wrap:wrap; gap:6px 18px; margin:16px 0 0; font:600 13px/1.4 var(--ref-sans); }
.rp-faculty .rp-libblock .wk-end { margin-top:14px; }
.rp-faculty .nw-cite { margin-top:14px; }
@media (max-width:600px) { .rp-faculty .rp-dl > div { grid-template-columns:1fr; } }
