:root {
    --maroon: #8a100b;
    --maroon2: #501315;
    --gold: #b29d6c;
    --ink: #1d1d1f;
    --muted: #66635f;
    --paper: #f5f1ea;
    --line: #ded8cf;
    --white: #fff;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font: 16px/1.55 Arial, Helvetica, sans-serif;
    background: #fff
}

.wrap {
    max-width: var(--max);
    margin: auto;
    padding-left: 28px;
    padding-right: 28px
}

a {
    color: inherit
}

.topbar {
    background: #151515;
    color: #ddd;
    font-size: 12px
}

.top-inner {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.topbar a {
    text-decoration: none;
    color: #fff
}

.mast {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none
}

.brand .mark {
    width: 46px;
    height: 46px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--maroon);
    font-family: Georgia, serif;
    font-weight: bold
}

.brand b {
    font: 600 22px Georgia, serif
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 2px
}

.nav {
    display: flex;
    gap: 26px
}

.nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600
}

.nav a:hover {
    color: var(--maroon)
}

.menu {
    display: none
}

.hero {
    background: linear-gradient(120deg, var(--maroon2), var(--maroon));
    color: white
}

.hero-inner {
    padding-top: 88px;
    padding-bottom: 92px;
    background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .08), transparent 32%)
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: bold;
    color: #e2c992
}

.eyebrow.dark {
    color: var(--maroon)
}

h1,
h2,
h3 {
    font-family: Georgia, 'Times New Roman', serif
}

.hero h1 {
    font-size: 62px;
    line-height: 1.03;
    font-weight: 400;
    margin: 12px 0 24px;
    max-width: 900px
}

.hero h1 em {
    color: #e1c690;
    font-weight: 400
}

.lede {
    font: 20px/1.6 Georgia, serif;
    max-width: 760px;
    color: #f0e9e5
}

.hero-search {
    display: flex;
    max-width: 770px;
    margin-top: 38px;
    background: white
}

.hero-search input {
    flex: 1;
    border: 0;
    padding: 19px 22px;
    font-size: 16px;
    min-width: 0
}

.hero-search button,
.primary,
.button {
    border: 0;
    background: #8a100b;
    color: white;
    padding: 0 28px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none
}

.hero-links {
    display: flex;
    gap: 24px;
    margin-top: 22px;
    font-size: 13px
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -24px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    position: relative
}

.stats div {
    padding: 28px;
    border-right: 1px solid var(--line)
}

.stats div:last-child {
    border: 0
}

.stats strong {
    font: 36px Georgia, serif;
    color: var(--maroon);
    display: block
}

.stats span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted)
}

.section {
    padding-top: 72px;
    padding-bottom: 72px
}

.section h2,
.record-main>h2 {
    font-size: 38px;
    font-weight: 400;
    margin: 5px 0 30px
}

.tool-grid,
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.tool {
    border-top: 4px solid var(--maroon);
    padding: 28px 24px;
    background: var(--paper);
    text-decoration: none;
    min-height: 230px
}

.tool>span {
    color: var(--maroon);
    font-size: 12px;
    font-weight: bold
}

.tool h3 {
    font-size: 25px;
    margin: 35px 0 10px
}

.tool p {
    color: var(--muted)
}

.paper {
    background: var(--paper)
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end
}

.section-head>a {
    color: var(--maroon);
    font-weight: bold
}

.chips,
.mini-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.chips a,
.mini-chips a {
    background: #fff;
    border: 1px solid var(--line);
    padding: 12px 15px;
    text-decoration: none
}

.chips small {
    color: var(--maroon);
    margin-left: 8px
}

.person-card {
    border: 1px solid var(--line);
    padding: 28px;
    text-decoration: none
}

.monogram {
    width: 48px;
    height: 48px;
    background: var(--maroon);
    color: #fff;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font: 25px Georgia, serif
}

.person-card h3 {
    font-size: 22px
}

.person-card p {
    color: var(--muted)
}

.person-card span {
    color: var(--maroon);
    font-weight: bold;
    font-size: 13px
}

.page-head,
.person-head {
    background: var(--maroon);
    color: white;
    padding: 55px 0
}

.page-head.compact {
    padding: 34px 0
}

.page-head h1,
.person-head h1 {
    font-size: 48px;
    font-weight: 400;
    margin: 8px 0
}

.page-head p {
    max-width: 760px
}

.search-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 56px;
    padding-top: 48px;
    padding-bottom: 70px
}

.filters {
    border-right: 1px solid var(--line);
    padding-right: 28px
}

.filters label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .06em;
    margin-bottom: 18px
}

.filters input,
.filters select {
    display: block;
    width: 100%;
    padding: 11px;
    margin-top: 6px;
    border: 1px solid #bbb;
    background: white;
    text-transform: none
}

.years {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.filters .primary {
    padding: 13px 18px;
    width: 100%
}

.clear {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: var(--muted)
}

.result-head {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line)
}

.result {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line)
}

.result h2 {
    font-size: 25px;
    margin: 7px 0
}

.result h2 a {
    text-decoration: none
}

.result p {
    margin: 0;
    color: var(--muted)
}

.result small {
    display: block;
    margin-top: 9px;
    color: var(--muted)
}

.badge {
    display: inline-block;
    background: var(--paper);
    color: var(--maroon);
    padding: 4px 8px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .08em
}

.badge.light {
    background: rgba(255, 255, 255, .14);
    color: white
}

.arrow {
    font-size: 26px;
    color: var(--maroon);
    text-decoration: none
}

.pagination {
    display: flex;
    justify-content: space-between;
    padding: 28px 0
}

.pagination a {
    color: var(--maroon)
}

.back {
    font-size: 13px
}

.person-title {
    display: flex;
    justify-content: space-between;
    align-items: end
}

.person-title h1 {
    margin-bottom: 4px
}

.life {
    font: 20px Georgia, serif
}

.authority {
    border: 1px solid rgba(255, 255, 255, .4);
    padding: 9px 12px;
    text-decoration: none;
    font-size: 12px
}

.detail-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 58px;
    padding-top: 55px;
    padding-bottom: 80px
}

.record-meta {
    font-size: 14px
}

.record-meta h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 28px
}

.mini-chips a {
    padding: 6px 8px;
    font-size: 12px
}

#mini-map {
    height: 260px;
    margin-top: 10px
}

.aspect-group {
    margin: 32px 0 0;
    color: var(--maroon);
    font-size: 20px
}

.aspect {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 22px;
    border-top: 1px solid var(--line);
    padding: 18px 0
}

.date {
    font-weight: bold;
    color: var(--maroon)
}

.aspect p {
    margin: 0 0 7px
}

.muted,
.source-note {
    color: var(--muted);
    font-size: 13px
}

.relations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.relations a {
    border: 1px solid var(--line);
    padding: 14px;
    text-decoration: none
}

.relations span {
    display: block;
    color: var(--muted);
    font-size: 12px
}

.source-list li {
    margin-bottom: 12px
}

.browse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.browse-grid a {
    background: #fff;
    padding: 18px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    gap: 14px
}

.browse-grid span {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap
}

.source-directory article {
    padding: 22px 0;
    border-bottom: 1px solid var(--line)
}

.source-directory article>span {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--maroon);
    font-weight: bold
}

.source-directory h3 {
    margin: 4px 0
}

.source-directory p {
    color: var(--muted);
    margin: 4px 0
}

.source-directory a {
    color: var(--maroon)
}

.source-introduction {
    max-width: 1000px;
    padding-top: 34px;
    padding-bottom: 22px
}

.source-introduction p {
    max-width: 900px;
    color: var(--portal-muted);
    font: 17px/1.7 Georgia, 'Times New Roman', serif
}

.source-controls {
    display: grid;
    gap: 22px;
    padding-bottom: 28px
}

.source-anchor-nav {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    border-bottom: 1px solid var(--portal-line)
}

.source-anchor-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 13px 0;
    border-bottom: 3px solid transparent;
    color: var(--portal-ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none
}

.source-anchor-nav a:hover {
    color: var(--bc-maroon);
    border-color: var(--bc-maroon)
}

.source-anchor-nav span {
    color: var(--portal-muted);
    font-size: 10px;
    font-variant-numeric: tabular-nums
}

.source-collections {
    padding-bottom: 80px
}

.source-collection {
    padding-top: 38px;
    scroll-margin-top: 24px
}

.source-collection-heading {
    border-bottom: 1px solid var(--portal-line)
}

.source-collection-heading .eyebrow {
    margin-bottom: 5px
}

.source-collection-heading h2 {
    margin: 0 0 18px;
    font-size: 32px;
    font-weight: 400
}

.source-collection-note {
    max-width: 850px;
    margin: 15px 0 8px;
    color: var(--portal-muted);
    font: 15px/1.6 Georgia, 'Times New Roman', serif
}

.source-directory article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 17px 0
}

.source-entry-number {
    padding-top: 3px;
    color: var(--bc-maroon);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums
}

.source-entry-content h3 {
    margin: 0;
    font: 600 16px/1.45 'Open Sans', Arial, sans-serif
}

.source-entry-content p {
    margin: 5px 0;
    color: var(--portal-muted);
    font-size: 13px;
    line-height: 1.6
}

.source-entry-content a {
    font-size: 12px
}

@media(max-width:560px) {
    .source-anchor-nav {
        gap: 18px
    }

    .source-collection-heading h2 {
        font-size: 27px
    }

    .source-directory article {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px
    }
}

#big-map {
    height: 680px
}

.prose {
    max-width: 800px;
    padding-top: 60px;
    padding-bottom: 80px
}

.prose h2 {
    font-size: 30px;
    margin-top: 36px
}

.empty {
    padding: 40px 0;
    color: var(--muted)
}

footer {
    background: #171717;
    color: #ddd;
    padding: 48px 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

footer p {
    
    color: var(--portal-ink);
    font-size: 13px

}

@media(max-width:850px) {
    .nav {
        display: none;
        position: absolute;
        top: 126px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 28px;
        flex-direction: column;
        z-index: 1000
    }

    .nav.open {
        display: flex
    }

    .menu {
        display: block;
        background: none;
        border: 1px solid #aaa;
        padding: 8px 12px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .hero h1 {
        font-size: 43px
    }

    .stats,
    .tool-grid,
    .cards {
        grid-template-columns: 1fr 1fr
    }

    .search-layout,
    .detail-grid {
        grid-template-columns: 1fr
    }

    .filters {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 0 0 30px
    }

    .browse-grid {
        grid-template-columns: 1fr 1fr
    }

    .record-meta {
        order: 2
    }

    .relations {
        grid-template-columns: 1fr
    }
}

@media(max-width:560px) {
    .top-inner span {
        display: none
    }

    .mast {
        height: 75px
    }

    .brand b {
        font-size: 18px
    }

    .brand small {
        display: none
    }

    .nav {
        top: 109px
    }

    .wrap {
        padding-left: 18px;
        padding-right: 18px
    }

    .hero-inner {
        padding-top: 60px;
        padding-bottom: 70px
    }

    .hero h1 {
        font-size: 37px
    }

    .hero-search {
        display: block;
        background: transparent
    }

    .hero-search input {
        width: 100%
    }

    .hero-search button {
        padding: 15px;
        width: 100%
    }

    .hero-links {
        flex-direction: column;
        gap: 8px
    }

    .stats,
    .tool-grid,
    .cards,
    .browse-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .stats {
        margin-top: 0
    }

    .stats div {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .page-head h1,
    .person-head h1 {
        font-size: 37px
    }

    .person-title {
        display: block
    }

    .authority {
        display: inline-block;
        margin-top: 20px
    }

    .aspect {
        grid-template-columns: 1fr
    }

    .browse-grid {
        display: block
    }

    .browse-grid a {
        border-bottom: 1px solid var(--line)
    }
}

/* Portal-aligned 2026 restoration layer */
:root {
    --bc-maroon: #8a100b;
    --bc-deep: #5c0806;
    --bc-gold: #c8a35d;
    --portal-ink: #262321;
    --portal-muted: #6f6a65;
    --portal-cream: #f4f0e8;
    --portal-warm: #ebe3d7;
    --portal-line: #d8d0c4;
    --portal-black: #161514;
    --portal-white: #fff;
    --max: 1240px
}

body {
    color: var(--portal-ink);
    font-family: Arial, Helvetica, sans-serif;
    background: #fff
}

.wrap {
    max-width: var(--max)
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: #fff;
    padding: 10px;
    z-index: 99999
}

.skip-link:focus {
    left: 8px
}

.site-header {
    background: white;
    border-bottom: 1px solid var(--portal-line)
}

.bc-bar {
    background: var(--portal-white);
    color: var(--portal-black);
    
}

.bc-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.bc-wordmark {
    font: 400 10px Georgia, 'Times New Roman', serif;
    text-decoration: none;
    letter-spacing: .01em;
    color: white;
}

.bc-links {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--portal-black);
}

.bc-links a {
    text-decoration: none;
    color: var(--portal-black);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.bc-links a:hover {
    text-decoration: none
}

.project-bar {
    background: #b29d6c
}

.project-inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px
}

.project-brand {
    display: flex;
    align-items: center;
    gap: 17px;
    text-decoration: none
}

.project-seal {

    display: flex;
    place-items: center;
    
}

.project-brand strong {
    display: block;
    font: 400 29px/1.05 Georgia, 'Times New Roman', serif
}

.project-brand small {
    display: block;
    margin-top: 7px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
    color: var(--portal-muted)
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px
}

.main-nav a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--portal-ink);
    padding: 10px 0;
    border-bottom: 2px solid transparent
}

.main-nav a:hover,
.main-nav a:focus {
    color: #dccaa0;
    border-color: #dccaa0
}

.site-footer {
    background: transparent;
    color: #4b4f58;
    padding: 0
}

.site-above-footer {
    background: #eee;
    color: #4b4f58;
    padding: 42px 0 34px
}

.site-below-footer {
    background: #ddd;
    color: #4b4f58
}

.footer-grid {
    grid-template-columns: 1.40fr 1.40fr
}

.footer-kicker {
    font: 22px Georgia, serif !important;
    color: #4b4f58 !important;
    margin: 0 0 14px
}

.site-footer a {
    color: inherit
}

.footer-bottom {
    border-top: 0;
    margin-top: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 12px;
    color: #4b4f58
}

/* Person record */
.record-hero,
.network-hero {
    background: var(--bc-maroon);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, .15)
}

.record-hero {
    padding: 42px 0 50px
}

.network-hero {
    padding: 36px 0 46px
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    font-size: 12px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, .72)
}

.breadcrumbs a {
    color: #fff;
    text-decoration: none
}

.breadcrumbs a:hover {
    text-decoration: underline
}

.record-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: end
}

.record-type {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 700;
    color: #ead4aa;
    margin: 0 0 10px
}

.record-hero h1,
.network-hero h1 {
    font: 400 56px/1.04 Georgia, serif;
    margin: 0 0 8px
}

.network-hero h1 {
    font-size: 48px
}

.record-life {
    font: 24px Georgia, serif;
    margin: 0;
    color: #f0e6dc
}

.record-authorities {
    border-left: 1px solid rgba(255, 255, 255, .35);
    padding: 10px 0 10px 25px;
    min-width: 190px
}

.record-authorities span {
    display: block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
    color: #dcc7bc;
    margin-bottom: 6px
}

.record-authorities a,
.record-authorities em {
    color: #fff;
    font-size: 13px;
    font-style: normal;
    text-decoration: none
}

.record-tabs {
    border-bottom: 1px solid var(--portal-line);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 400
}

.record-tabs .wrap {
    display: flex;
    gap: 32px;
    overflow: auto
}

.record-tabs a {
    padding: 16px 0 13px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    white-space: nowrap
}

.record-tabs a.active,
.record-tabs a:hover {
    color: var(--bc-maroon);
    border-color: var(--bc-maroon)
}

.record-tabs span {
    font-size: 10px;
    border: 1px solid var(--portal-line);
    border-radius: 20px;
    padding: 2px 6px;
    margin-left: 4px;
    color: var(--portal-muted)
}

.record-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 64px;
    padding-top: 56px;
    padding-bottom: 86px
}

.record-sidebar {
    align-self: start;
    position: sticky;
    top: 76px
}

.sidebar-block {
    padding: 0 0 25px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--portal-line)
}

.sidebar-block:last-child {
    border: 0
}

.sidebar-block h2 {
    font: 700 11px/1.4 Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0 0 14px;
    color: var(--bc-maroon)
}

.sidebar-block p,
.plain-list {
    font-size: 13px;
    color: var(--portal-muted)
}

.plain-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.plain-list li {
    margin: 0 0 7px
}

.microcopy {
    font-size: 11px !important
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.tag-list a {
    font-size: 12px;
    padding: 6px 8px;
    border: 1px solid var(--portal-line);
    background: #fff;
    text-decoration: none
}

.tag-list a:hover {
    border-color: var(--bc-maroon);
    color: var(--bc-maroon)
}

.text-link {
    display: block;
    margin-top: 8px;
    color: var(--bc-maroon);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none
}

.record-content {
    min-width: 0
}

.record-section {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 22px;
    padding: 0 0 52px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--portal-line)
}

.record-section:last-child {
    border-bottom: 0
}

.record-section .section-label {
    font: 700 11px Arial, sans-serif;
    color: var(--bc-maroon);
    padding-top: 13px
}

.record-section h2 {
    font: 400 34px/1.15 Georgia, serif;
    margin: 0 0 25px
}

.record-section h3 {
    font-size: 20px
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.record-event {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid #e8e2d9
}

.record-event:first-child {
    border-top: 0
}

.event-year {
    font-size: 13px;
    font-weight: 700;
    color: var(--bc-maroon);
    padding-top: 3px
}

.event-body {
    position: relative;
    padding-left: 38px
}

.event-body p {
    margin: 0;
    font: 16px/1.58 Georgia, 'Times New Roman', serif
}

.event-note {
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    color: var(--portal-muted);
    margin-top: 5px !important
}

.source-chip {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    padding: 0 5px;
    border: 1px solid var(--portal-line);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    color: var(--bc-maroon);
    text-decoration: none
}

.inline-entity {
    color: var(--bc-maroon);
    text-decoration-color: #c4a3a0;
    text-underline-offset: 3px
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px
}

.button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid var(--bc-maroon);
    color: var(--bc-maroon);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    background: #fff
}

.button-outline:hover {
    background: var(--bc-maroon);
    color: #fff
}

.relation-directory {
    margin-top: 34px
}

.relation-directory h3 {
    font: 700 11px Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--portal-muted)
}

.relation-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--portal-line);
    border: 1px solid var(--portal-line)
}

.relation-cards a {
    background: #fff;
    padding: 15px;
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 3px 10px;
    text-decoration: none
}

.relation-cards a:hover {
    background: var(--portal-cream)
}

.relation-cards strong {
    font: 16px Georgia, serif
}

.relation-cards small {
    grid-column: 2;
    color: var(--portal-muted);
    font-size: 11px
}

.relation-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-top: 5px;
    background: #888
}

.relation-dot.jesuit {
    background: var(--bc-maroon)
}

.relation-dot.nonjesuit {
    background: var(--bc-gold)
}

#mini-map {
    height: 400px;
    border: 1px solid var(--portal-line);
    background: var(--portal-cream)
}

.place-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.place-links a {
    padding: 8px 10px;
    background: var(--portal-cream);
    text-decoration: none;
    font-size: 12px
}

.place-links span {
    color: var(--portal-muted);
    margin-left: 5px
}

.bibliography {
    list-style: none;
    padding: 0;
    margin: 0
}

.bibliography li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 17px 0;
    border-top: 1px solid #e8e2d9;
    font-size: 14px;
    line-height: 1.55
}

.source-number {
    font-weight: 700;
    color: var(--bc-maroon)
}

.bibliography cite {
    font-family: Georgia, serif
}

.bibliography a {
    color: var(--bc-maroon)
}

.citation-box {
    background: var(--portal-cream);
    border-left: 4px solid var(--bc-maroon);
    padding: 22px 24px
}

.citation-box p {
    font: 16px/1.6 Georgia, serif;
    margin: 0
}

.citation-box button {
    margin-top: 16px;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--bc-maroon);
    font-weight: 700;
    cursor: pointer
}

/* Network reconstruction */
.network-hero p:last-child {
    margin-bottom: 0;
    color: #f1e9e4
}

.network-page {
    padding-top: 34px;
    padding-bottom: 80px
}

.network-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px
}

.network-toolbar button {
    border: 1px solid var(--portal-line);
    background: #fff;
    padding: 9px 12px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 6px
}

.network-toolbar button:hover {
    border-color: var(--bc-maroon);
    color: var(--bc-maroon)
}

.network-legend {
    display: flex;
    gap: 18px;
    font-size: 11px;
    color: var(--portal-muted)
}

.network-legend span {
    display: flex;
    align-items: center;
    gap: 6px
}

.network-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block
}

.legend-focus {
    background: var(--bc-maroon);
    box-shadow: 0 0 0 3px #e8c5c2
}

.legend-jesuit {
    background: var(--bc-maroon)
}

.legend-other {
    background: var(--bc-gold)
}

.network-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 295px;
    min-height: 680px;
    border: 1px solid var(--portal-line);
    background: var(--portal-cream)
}

#network-graph {
    width: 100%;
    height: 680px;
    display: block;
    background: radial-gradient(circle at center, #fff 0, #faf8f4 60%, #f4f0e8 100%);
    touch-action: none
}

.network-inspector {
    background: #fff;
    border-left: 1px solid var(--portal-line);
    padding: 30px 26px
}

.inspector-kicker {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: var(--bc-maroon);
    font-weight: 700
}

.network-inspector h2 {
    font: 27px/1.15 Georgia, serif
}

.network-inspector p {
    font-size: 13px;
    color: var(--portal-muted)
}

.network-inspector .button-outline {
    margin-top: 8px
}

.network-edge {
    stroke: #c8bfb5;
    stroke-width: 1.35;
    cursor: pointer
}

.network-edge:hover {
    stroke: var(--bc-maroon);
    stroke-width: 2.5
}

.network-node {
    cursor: pointer
}

.network-node circle {
    stroke-width: 2;
    fill: #fff
}

.network-node.jesuit circle {
    stroke: var(--bc-maroon);
    fill: #fff
}

.network-node.other circle {
    stroke: var(--bc-gold);
    fill: #fffdf7
}

.network-node.focus circle {
    fill: var(--bc-maroon);
    stroke: #fff;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .18))
}

.network-node text {
    font: 11px Arial, sans-serif;
    fill: var(--portal-ink);
    pointer-events: none
}

.network-node.focus text {
    font-weight: 700;
    fill: var(--bc-maroon)
}

.network-list {
    padding-top: 60px
}

.network-list h2 {
    font: 38px Georgia, serif;
    margin: 4px 0 0
}

.relation-table {
    margin-top: 28px;
    border-top: 1px solid var(--portal-line)
}

.relation-table>a {
    display: grid;
    grid-template-columns: 14px 1fr 30px;
    gap: 14px;
    align-items: start;
    padding: 17px 8px;
    border-bottom: 1px solid var(--portal-line);
    text-decoration: none
}

.relation-table>a:hover {
    background: var(--portal-cream)
}

.relation-table strong {
    display: block;
    font: 18px Georgia, serif
}

.relation-table small {
    display: block;
    margin-top: 4px;
    color: var(--portal-muted);
    font-size: 12px
}

.relation-table .arrow {
    color: var(--bc-maroon)
}

/* Bring existing generic pages closer to the Portal family */
.page-head {
    background: var(--bc-maroon)
}

.page-head h1 {
    font-size: 52px
}

.eyebrow.dark {
    color: var(--bc-maroon)
}

.hero {
    background: var(--bc-maroon)
}

.hero h1 {
    font-size: 58px
}

.tool {
    background: var(--portal-cream);
    border-top-color: var(--bc-maroon)
}

.paper {
    background: var(--portal-cream)
}

.stats strong,
.tool>span,
.section-head>a,
.arrow {
    color: var(--bc-maroon)
}

.badge {
    color: var(--bc-maroon)
}

@media(max-width:1024px) {
    .bc-bar {
        display: none
    }

    .project-bar {
        background: #b29d6c;
        display: flex;
        min-height: 100px;
        align-items: center;
        justify-content: flex-start;
     
    }
}

@media(max-width:1000px) {
    .project-inner {
        min-height: 92px
    }

    .main-nav {
        gap: 15px
    }

    .record-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 38px
    }

    .network-shell {
        grid-template-columns: 1fr
    }

    .network-inspector {
        border-left: 0;
        border-top: 1px solid var(--portal-line)
    }
}

@media(max-width:850px) {
    .project-inner {
        position: relative
    }

    .main-nav {
        top: 92px
    }

    .record-hero-grid {
        grid-template-columns: 1fr
    }

    .record-authorities {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .3);
        padding: 16px 0 0
    }

    .record-layout {
        grid-template-columns: 1fr
    }

    .record-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px
    }

    .sidebar-block {
        border-bottom: 0;
        border-top: 1px solid var(--portal-line);
        padding-top: 18px
    }

    .record-content {
        grid-row: 1
    }

    .relation-cards {
        grid-template-columns: 1fr
    }

    .network-toolbar {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .bc-inner {
        min-height: 34px
    }

    .bc-wordmark {
        font-size: 16px
    }

    .project-inner {
        min-height: 76px
    }

    .project-brand strong {
        font-size: 21px
    }

    .project-seal {
        width: 44px;
        height: 44px;
        font-size: 15px
    }

    .main-nav {
        top: 76px
    }

    .record-hero,
    .network-hero {
        padding: 30px 0 36px
    }

    .record-hero h1,
    .network-hero h1 {
        font-size: 39px
    }

    .record-tabs .wrap {
        gap: 22px
    }

    .record-layout {
        padding-top: 34px
    }

    .record-sidebar {
        grid-template-columns: 1fr
    }

    .record-section {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-bottom: 38px;
        margin-bottom: 36px
    }

    .record-section .section-label {
        padding: 0
    }

    .record-section h2 {
        font-size: 29px
    }

    .record-event {
        grid-template-columns: 58px 1fr;
        gap: 8px
    }

    .event-body {
        padding-left: 31px
    }

    .relation-cards {
        display: block
    }

    .relation-cards a {
        border-bottom: 1px solid var(--portal-line)
    }

    #mini-map {
        height: 320px
    }

    .network-shell {
        margin-left: -18px;
        margin-right: -18px;
        border-left: 0;
        border-right: 0
    }

    #network-graph {
        height: 540px
    }

    .network-legend {
        flex-wrap: wrap
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column
    }
}

/* Research discovery and A–Z directory */
.portal-intro {
    padding-top: 60px;
    padding-bottom: 54px;
    text-align: center;
    max-width: 820px
}

.portal-intro h2 {
    font: 400 39px/1.2 Georgia, serif;
    margin: 10px 0
}

.portal-intro p:not(.eyebrow) {
    font: 18px/1.65 Georgia, serif;
    color: var(--portal-muted)
}

.portal-intro .button-outline {
    margin-top: 10px
}

.portal-intro+.stats {
    margin-top: 0
}

.advanced-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 58px;
    padding-top: 52px;
    padding-bottom: 85px
}

.advanced-layout .filters {
    padding-right: 30px
}

.filters fieldset {
    border: 0;
    border-bottom: 1px solid var(--portal-line);
    padding: 0 0 21px;
    margin: 0 0 28px;
    min-width: 0
}

.filters legend {
    font: 400 25px Georgia, serif;
    margin-bottom: 20px;
    padding: 0
}

.filters legend span {
    font: 700 11px Arial, sans-serif;
    color: var(--bc-maroon);
    margin-right: 12px
}

.filters input:focus,
.filters select:focus {
    outline: 2px solid var(--bc-gold);
    outline-offset: 2px
}

.field-help {
    font: 12px/1.5 Arial, sans-serif;
    color: var(--portal-muted);
    margin: 0
}

.field-help a {
    color: var(--bc-maroon)
}

.advanced-layout .primary {
    padding: 14px;
    width: 100%;
    background: var(--bc-maroon)
}

.advanced-layout .result-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px
}

.result-head h2 {
    font: 400 32px Georgia, serif;
    margin: 0 0 10px
}

.result-head .eyebrow {
    margin: 0
}

.result-head>span {
    font-size: 12px;
    color: var(--portal-muted);
    padding-bottom: 13px
}

.result h3 {
    font: 400 25px Georgia, serif;
    margin: 8px 0
}

.result h3 a {
    text-decoration: none
}

.result h3 a:hover {
    text-decoration: underline;
    color: var(--bc-maroon)
}

.form-error {
    background: #fff0ec;
    border-left: 4px solid var(--bc-maroon);
    padding: 15px
}

.directory-page {
    padding-top: 42px;
    padding-bottom: 90px
}

.directory-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    border-bottom: 1px solid var(--portal-line)
}

.directory-switch a {
    padding: 12px 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 3px solid transparent
}

.directory-switch a.active {
    color: var(--bc-maroon);
    border-color: var(--bc-maroon)
}

.directory-switch a:last-child {
    margin-left: auto;
    color: var(--bc-maroon)
}

.alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 34px 0 46px
}

.alphabet a,
.alphabet span {
    display: grid;
    place-items: center;
    width: 35px;
    height: 39px;
    text-decoration: none;
    border: 1px solid var(--portal-line);
    font-size: 12px;
    font-weight: 700
}

.alphabet a:hover,
.alphabet a.active {
    background: var(--bc-maroon);
    color: #fff;
    border-color: var(--bc-maroon)
}

.alphabet span {
    color: #b8b4ae;
    background: var(--portal-cream)
}

.directory-page .section-head {
    border-bottom: 1px solid var(--portal-line)
}

.directory-page .section-head h2 {
    font: 400 48px Georgia, serif;
    margin: 0 0 18px
}

.directory-page .section-head>p {
    color: var(--portal-muted);
    font-size: 13px
}

.directory-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 38px
}

.directory-list>a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 20px;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--portal-line);
    padding: 18px 0;
    text-decoration: none
}

.directory-list>a:hover {
    color: var(--bc-maroon)
}

.directory-list strong {
    display: block;
    font: 19px Georgia, serif
}

.directory-list small {
    display: block;
    color: var(--portal-muted);
    font-size: 12px;
    margin-top: 3px
}

.directory-dates {
    font-size: 12px;
    color: var(--portal-muted);
    white-space: nowrap
}

@media(max-width:1000px) {
    .main-nav {
        gap: 12px
    }

    .main-nav a {
        font-size: 12px
    }
}

@media(max-width:850px) {
    .advanced-layout {
        grid-template-columns: 1fr
    }

    .advanced-layout .filters {
        border-right: 0;
        padding-right: 0;
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 92px;
        z-index: 1000;
        flex-direction: column;
        align-items: stretch;
        background: white;
        padding: 20px 28px;
        box-shadow: 0 8px 16px #0002
    }

    .main-nav.open {
        display: flex
    }

    .directory-list {
        grid-template-columns: 1fr
    }
}

@media(max-width:560px) {
    .main-nav {
        top: 76px
    }

    .directory-switch a:last-child {
        margin-left: 0
    }

    .alphabet a,
    .alphabet span {
        width: 31px;
        height: 34px
    }

    .directory-list>a {
        grid-template-columns: minmax(0, 1fr) auto 15px
    }

    .portal-intro h2 {
        font-size: 31px
    }
}

.hero-inner {
    text-align: center;
}

.hero h1,
.hero .lede,
.hero-search {
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:560px) {
    .hero h1 {
        display: none
    }
}

.hero-links {
    justify-content: center;
}

.main-nav {
    justify-content: center;
    background-color: #69635F;
}

.main-nav a {
    font-weight: 500;
    color: #fff;
}

body {
    font-family: 'Open Sans', Arial, sans-serif
}

body :is(h1, h2, h3, .brand .mark, .brand b, .lede, .stats strong, .monogram, .life, .bc-wordmark, .project-seal, .project-brand strong, .footer-kicker, .record-hero h1, .network-hero h1, .record-life, .record-section h2, .event-body p, .relation-cards strong, .bibliography cite, .citation-box p, .network-inspector h2, .network-list h2, .relation-table strong, .portal-intro h2, .portal-intro p:not(.eyebrow), .filters legend, .result-head h2, .result h3, .directory-page .section-head h2, .directory-list strong) {
    font-family: 'Open Sans', Arial, sans-serif !important
}

.project-brand strong {
    font: 500 29px / 1.05 Georgia, 'Open Sans', serif;
    color: white;
    letter-spacing: 0.05em
}
.hero {
    background-image: url('../img/originaljsn.png');
    background-size: cover;
    background-position: center;
}
.material-symbols-outlined {
    color: white;
}
.tool-grid {
    background-color: white !important;
}
#main > .hero ~ .wrap.section .tool-grid a:hover,
#main > .hero ~ .paper .chips a:hover,
#main > .hero ~ .wrap.section .cards a:hover {
    background-color: #e8ddbf;
}

.global-network-page {
    padding-top: 32px;
    padding-bottom: 80px
}

.relation-filter-row {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) auto auto;
    gap: 20px;
    align-items: end;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--portal-line)
}

.relation-filter-row>label:not(.undated-toggle) {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 6px 12px;
    font-size: 13px;
    font-weight: 700
}

.relation-filter-row output {
    color: var(--bc-maroon);
    font-variant-numeric: tabular-nums
}

.relation-filter-row input[type="range"] {
    grid-column: 1 / -1;
    width: 100%;
    accent-color: var(--bc-maroon)
}

.relation-filter-row .undated-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    white-space: nowrap
}

.relation-filter-row button {
    border: 1px solid var(--portal-line);
    background: #fff;
    padding: 9px 12px;
    color: var(--portal-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer
}

.relation-filter-row button:hover {
    border-color: var(--bc-maroon);
    color: var(--bc-maroon)
}

.relation-summary {
    min-height: 22px;
    margin: 12px 0;
    color: var(--portal-muted);
    font-size: 12px
}

.global-network-shell {
    grid-template-columns: minmax(0, 1fr) 295px;
    min-height: 760px
}

#all-relations-graph {
    width: 100%;
    height: 760px;
    display: block;
    background: radial-gradient(circle at center, #fff 0, #faf8f4 60%, #f4f0e8 100%);
    touch-action: none
}

.global-network-edge {
    stroke: #c8bfb5;
    stroke-width: 1.2;
    cursor: pointer
}

.global-network-edge:hover {
    stroke: var(--bc-maroon);
    stroke-width: 2.4
}

.global-network-node {
    cursor: pointer
}

.global-network-node circle {
    stroke-width: 2;
    fill: #fff
}

.global-network-node.jesuit circle {
    stroke: var(--bc-maroon)
}

.global-network-node.other circle {
    stroke: var(--bc-gold);
    fill: #fffdf7
}

.global-network-node text {
    fill: var(--portal-ink);
    font: 10px Arial, sans-serif;
    paint-order: stroke;
    stroke: #fff;
    stroke-width: 3px;
    stroke-linejoin: round;
    pointer-events: none
}

@media(max-width:1000px) {
    .relation-filter-row {
        grid-template-columns: 1fr 1fr
    }

    .global-network-shell {
        grid-template-columns: 1fr
    }

    .network-inspector {
        border-left: 0;
        border-top: 1px solid var(--portal-line)
    }
}

@media(max-width:560px) {
    .relation-filter-row {
        grid-template-columns: 1fr
    }

    .relation-filter-row .undated-toggle {
        white-space: normal
    }

    #all-relations-graph {
        height: 560px
    }
}

@media(max-width:560px) {
    .project-brand {
        gap: 25px
    }

    .project-brand strong {
        font-size: larger;
    }
}