.public-edition {
    --paper: #fff;
    --ink: #16191d;
    --muted: #4f565f;
    --blue: #2c5282;
    --rule: #cdd1d5;
    --wash: #f3f4f5;
    --gutter: clamp(1rem, 4.6vw, 5rem);
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 1rem/1.6 "Inter var", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.public-edition *, .public-edition *::before, .public-edition *::after { box-sizing: border-box; }
.public-edition [hidden] { display: none !important; }
.public-edition a { color: inherit; text-underline-offset: .22em; }
.public-edition button { font: inherit; cursor: pointer; }
.public-edition :is(a, button, [tabindex]):focus-visible { outline: 3px solid #3973bb; outline-offset: 4px; }
.public-edition main:focus { outline: none; }
.public-edition :is(section, article)[id] { scroll-margin-top: 1.25rem; }
.public-edition ::selection { background: #d4e4f6; color: var(--ink); }
.edition-wrap { width: min(82.5rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus { position: absolute; top: .5rem; left: 1rem; z-index: 2; background: white; padding: .65rem 1rem; }

.masthead { border-top: .27rem solid var(--ink); border-bottom: 1px solid var(--rule); }
.mast-inner { min-height: 5.2rem; display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 3rem); }
.wordmark { display: inline-flex; align-items: center; gap: .68rem; width: fit-content; font-size: clamp(1.05rem, 1.6vw, 1.45rem); line-height: 1.05; font-weight: 820; letter-spacing: -.045em; text-decoration: none; text-transform: uppercase; }
.wordmark img { flex: none; display: block; width: 3rem; height: auto; }
.wordmark-suffix { font-weight: 300; }
.mast-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); margin-left: auto; }
.mast-nav a, .mast-destination { font-size: .93rem; font-weight: 650; text-decoration: none; }
.mast-nav a { padding-block: .65rem; }
.mast-nav a:hover { color: var(--blue); text-decoration: underline; }
.public-edition .mast-destination { padding: .54rem 1.05rem; border: 1px solid var(--ink); border-radius: 2px; }
.mast-destination:hover, .mast-destination[aria-current] { background: var(--wash); }

.mission { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.4rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 5rem); }
.eyebrow, .footer-label, .record-theme, .profile-role {
    margin: 0;
    font-size: .8rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.35rem; color: var(--muted); }
.eyebrow img { display: block; width: 1.65rem; height: auto; }
.display-title, .section-title, .profile-heading h3, .work-columns h3, .records-grid h3, .volunteer-roles h2 {
    color: inherit;
    margin: 0;
    font-weight: 780;
    letter-spacing: -.045em;
    line-height: 1.08;
}
.display-title { font-size: clamp(2.75rem, 5.45vw, 5.65rem); line-height: 1.01; letter-spacing: -.063em; }
.display-title span { font-size: .89em; font-weight: 360; }
.intro { max-width: 33rem; margin: clamp(1.25rem, 2vw, 2rem) 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.28vw, 1.19rem); line-height: 1.62; }
.mission-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.5rem; margin-top: 1.65rem; }
.action { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .76rem 1.25rem; border-radius: 2px; font-size: .95rem; font-weight: 650; text-decoration: none; }
.public-edition .primary { background: var(--ink); color: white; }
.primary:hover { background: var(--blue); }
.public-edition .text-link { width: fit-content; color: var(--blue); font-size: .93rem; font-weight: 650; text-decoration: underline; }
.public-edition .text-link:hover { text-decoration-thickness: 2px; }
.mission-cover { min-width: 0; margin: 0; }
.mission-cover img { display: block; width: 100%; height: auto; }
.mission-cover figcaption { padding-top: .6rem; font-size: .81rem; line-height: 1.5; color: var(--muted); }
.mission-cover figcaption strong, .mission-cover figcaption span { display: block; }
.mission-cover figcaption strong { color: var(--ink); font-weight: 600; }
.mission-cover figcaption a { color: var(--blue); }

.work-section, .records-section, .chart-section { padding-block: clamp(2.7rem, 4.8vw, 5rem); }
.section-title { font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.section-intro > p { max-width: 37rem; margin: 0; color: var(--muted); }
.section-intro p a { color: var(--blue); }
.work-section { background: var(--ink); color: white; }
.work-section .edition-wrap { display: grid; grid-template-columns: .68fr 2fr; gap: clamp(1.7rem, 3.7vw, 4rem); }
.work-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3.3vw, 3.5rem); }
.work-columns article { border-top: 2px solid #adbacc; padding-top: 1rem; }
.work-columns h3 { font-size: clamp(1.32rem, 2.05vw, 1.9rem); }
.work-columns p { margin: .8rem 0 1rem; color: #e0e3e7; }
.work-columns .text-link { color: #fff; }
.work-section a:focus-visible { outline-color: #a8cfff; }
.records-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2.4rem); }
.records-grid article { display: flex; flex-direction: column; align-items: flex-start; border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.record-theme { color: var(--blue); font-size: .78rem; letter-spacing: .06em; }
.records-grid h3 { margin: .65rem 0 .55rem; font-size: clamp(1.28rem, 1.85vw, 1.7rem); }
.records-grid p:not(.record-theme) { margin: 0 0 1.1rem; color: var(--muted); }
.records-grid .text-link { margin-top: auto; }

.chart-section { background: var(--wash); border-block: 1px solid var(--rule); }
.network-chart { border: 1px solid #b6bfc9; }
.chart-toolbar { min-height: 3.85rem; padding: .6rem 1.3rem; background: var(--paper); border-bottom: 1px solid #b6bfc9; display: flex; flex-wrap: wrap; gap: .7rem 1rem; justify-content: space-between; align-items: center; }
.chart-key { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.25rem; padding: 0; margin: 0; list-style: none; }
.chart-key li { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .83rem; }
.chart-key i { width: 1.5rem; height: 0; border-top: 2px solid var(--blue); }
.chart-key .key-planned { border-top-style: dashed; }
.view-switch { display: flex; border: 1px solid #aab5bd; border-radius: 2px; padding: 2px; }
.view-switch button { min-height: 2.1rem; padding: .28rem .77rem; border: 0; border-radius: 1px; font-size: .875rem; font-weight: 650; color: var(--muted); background: transparent; }
.view-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.view-switch button:hover:not([aria-pressed="true"]) { background: var(--wash); }
.chart-scroll { overflow-x: auto; background: radial-gradient(#d5d9df .75px, transparent .85px) 0 0 / 13px 13px #fafbfc; scrollbar-color: #9099a6 #e5e8eb; }
.diagram { display: block; width: 100%; min-width: 54rem; max-width: 73rem; height: auto; margin-inline: auto; }
.chart-edge { stroke: #707d8c; stroke-width: 1.6; stroke-linejoin: round; }
.chart-edge.planned { stroke-dasharray: 5 5; }
.selected-edge { stroke: var(--blue); stroke-width: 2.5; }
.chart-node { cursor: pointer; text-decoration: none; }
.node-box { fill: white; stroke: #8b97a5; stroke-width: 1.35; }
.node-name { fill: var(--ink); font-size: 17px; font-weight: 700; }
.node-role { fill: #4f5965; font-size: 13px; }
.chart-node:hover .node-box { stroke: var(--blue); stroke-width: 2.5; }
.chart-node[aria-current] .node-box { fill: var(--blue); stroke: #1f3859; }
.chart-node[aria-current] .node-name, .chart-node[aria-current] .node-role { fill: white; }
.public-edition .chart-node:focus-visible { outline: none; }
.chart-node:focus-visible .node-box { stroke: #a34812; stroke-width: 4; }
.pan-hint { display: none; }
.project-directory { background: var(--paper); }
.project-profile { display: grid; grid-template-columns: minmax(11rem,.75fr) 1.65fr auto; gap: 1.5rem; align-items: start; padding: 1.5rem clamp(1.1rem, 2.8vw, 2.4rem); border-top: 1px solid var(--rule); }
.project-profile:target { box-shadow: inset 4px 0 var(--blue); }
.profile-role { color: var(--blue); margin-bottom: .35rem; letter-spacing: .06em; }
.profile-heading h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.profile-copy p { margin: 0; color: var(--muted); }
.profile-connections { display: flex; flex-wrap: wrap; gap: .25rem .85rem; margin: .45rem 0 0; padding: 0; list-style: none; color: var(--muted); }
.profile-connections li, .chart-source { font-size: .83rem; }
.profile-link { justify-self: end; }
.chart-source { margin: .8rem 0 0; color: var(--muted); }

.volunteer-page { padding-block: clamp(3.2rem, 7vw, 7rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: start; }
.volunteer-page .action { margin-top: 1.6rem; }
.volunteer-roles { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.volunteer-roles h2 { font-size: clamp(1.45rem, 2.5vw, 2.3rem); }
.volunteer-roles dl { margin: 1.35rem 0; }
.volunteer-roles dt { font-weight: 700; }
.volunteer-roles dd { margin: .25rem 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); color: var(--muted); }

.edition-footer { padding-block: 2.6rem 1.5rem; border-top: 1px solid var(--rule); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 1.7rem; }
.footer-publisher p { max-width: 23rem; color: var(--muted); margin: 1rem 0 0; font-size: .93rem; }
.footer-label { margin: 0 0 .65rem; color: var(--muted); }
.footer-grid nav a { display: table; margin: .35rem 0; font-size: .93rem; text-decoration: none; }
.footer-grid nav a:hover { color: var(--blue); text-decoration: underline; }
.publisher-notice { width: fit-content; max-width: 100%; margin: 2rem 0 0; padding: .6rem .8rem; border: 1px solid #91979e; font-size: .8rem; color: var(--muted); }

@media (max-width: 60rem) {
    .work-section .edition-wrap { grid-template-columns: 1fr; }
    .records-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
    .pan-hint { display: block; margin: 0; padding: .45rem 1rem; border-bottom: 1px solid var(--rule); background: var(--wash); color: var(--muted); font-size: .83rem; }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-publisher { grid-column: 1 / -1; }
}

@media (max-width: 52rem) {
    .mast-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 0; gap: 0 1rem; padding-top: .7rem; }
    .mast-destination { grid-column: 2; grid-row: 1; }
    .mast-nav { grid-column: 1 / -1; justify-content: space-between; width: 100%; gap: .5rem; margin: .6rem 0 0; border-top: 1px solid var(--rule); }
    .mast-nav a { padding: .68rem 0; }
}

@media (max-width: 47.5rem) {
    .mission, .section-intro, .volunteer-page { grid-template-columns: minmax(0, 1fr); }
    .mission { gap: 2rem; }
    .display-title { font-size: clamp(2.7rem, 8.8vw, 4.25rem); }
    .section-intro { gap: .8rem; }
    .chart-toolbar { padding: .7rem .85rem; }
    .chart-key { gap: .3rem .9rem; }
    .project-profile { grid-template-columns: 1fr auto; gap: .7rem 1rem; }
    .profile-link { grid-row: 1; grid-column: 2; }
    .profile-copy { grid-column: 1 / -1; }
}

@media (max-width: 35rem) {
    .work-columns, .records-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
}

@media (max-width: 27rem) {
    .wordmark { gap: .4rem; font-size: 1rem; }
    .wordmark img { width: 2.35rem; }
    .mast-inner { column-gap: .5rem; }
    .public-edition .mast-destination { padding: .5rem .65rem; }
    .mast-destination, .mast-nav a { font-size: .875rem; }
    .chart-key { flex-basis: 100%; }
    .project-profile { grid-template-columns: 1fr; }
    .profile-link { grid-column: auto; grid-row: auto; justify-self: start; }
}
