:root {
    --paper: #f7f6f1;
    --paper-raised: #fbfaf5;
    --ink: #15210b;
    --muted: #3e4a32;
    --olive: #15210b;
    --olive-mid: #243216;
    --gold: #c0a050;
    --gold-rule: #7a5c22;
    --line: #ddd8cc;
    --danger: #7a211c;
    --danger-bg: #f8ecea;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 1.0625rem;
    line-height: 1.6;
}

body.admin {
    font-family: "Segoe UI", "Source Sans 3", system-ui, sans-serif;
    font-size: 1rem;
}

img {
    border: 0;
}

.media {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: var(--ink);
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

.site-header a:focus,
.site-footer a:focus,
.admin-bar a:focus,
.hub-band a:focus,
.site-header button:focus,
.admin-bar button:focus {
    outline-color: var(--gold);
}

.skip {
    position: absolute;
    left: 1rem;
    top: 0;
    z-index: 20;
    transform: translateY(-150%);
    background: var(--paper);
    color: var(--ink);
    padding: 0.5rem 0.75rem;
}

.skip:focus {
    transform: translateY(0.5rem);
}

.wrap {
    width: min(68rem, calc(100% - 2rem));
    margin-inline: auto;
}

.prose {
    max-width: 40rem;
}

.site-header,
.site-footer,
.admin-bar,
.hub-band {
    background: var(--olive);
    color: var(--paper);
}

.site-header a,
.site-footer a,
.admin-bar a,
.hub-band a {
    color: var(--paper);
    overflow-wrap: anywhere;
}

.contact-email,
.contact-email a,
.statement-email {
    overflow-wrap: anywhere;
    max-width: 100%;
}

.actions a.quiet {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.site-header .tagline,
.site-footer .tagline,
.admin-bar .who {
    color: var(--gold);
}

.header-row,
.bar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1.5rem;
    padding-top: 1.1rem;
}

.wordmark {
    margin: 0;
    font-size: 1.35rem;
    font-weight: normal;
    letter-spacing: 0.01em;
}

.wordmark a {
    text-decoration: none;
}

.tagline,
.who {
    margin: 0;
}

.site-nav ul,
.admin-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1.15rem;
    list-style: none;
    margin: 0;
    padding: 0.85rem 0 1rem;
}

.site-nav a,
.admin-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    text-decoration: none;
}

.site-nav a[aria-current="page"],
.admin-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3rem;
}

.gold-rule {
    height: 3px;
    background: var(--gold);
}

main {
    padding: 1.75rem 0 3rem;
}

h1 {
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
    margin: 0 0 1rem;
}

h2 {
    font-size: 1.35rem;
    font-weight: normal;
    line-height: 1.3;
    margin: 1.75rem 0 0.6rem;
}

.banner {
    margin: 0 0 1.75rem;
}

blockquote.mission {
    margin: 0;
    padding: 0 0 0 1rem;
    border-left: 3px solid var(--gold-rule);
    font-size: 1.45rem;
    line-height: 1.4;
}

.home-grid {
    display: grid;
    gap: 2rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1.25rem;
}

.actions a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
}

table {
    width: 100%;
    border-collapse: collapse;
}

caption {
    text-align: left;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

th,
td {
    text-align: left;
    vertical-align: top;
    padding: 0.55rem 0.75rem 0.55rem 0;
    border-bottom: 1px solid var(--line);
}

th {
    font-weight: normal;
    color: var(--muted);
}

.num,
td.num,
th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.leaders,
.plain-list,
.partners {
    list-style: none;
    margin: 0;
    padding: 0;
}

.leaders li,
.partners li {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--line);
}

.role {
    color: var(--muted);
}

.portrait {
    margin: 0 0 1.5rem;
    max-width: 28rem;
}

figcaption {
    margin-top: 0.4rem;
    color: var(--muted);
}

.hub-band {
    margin: 0 0 1.5rem;
    padding: 1.5rem 0;
}

.hub-band h1 {
    margin-bottom: 0.25rem;
}

dl.facts {
    margin: 0;
}

dl.facts dt {
    margin-top: 0.9rem;
    color: var(--muted);
}

dl.facts dd {
    margin: 0.15rem 0 0;
}

address {
    font-style: normal;
}

label {
    display: block;
    margin: 0 0 1rem;
    max-width: 36rem;
}

label span {
    display: block;
    margin-bottom: 0.25rem;
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    color: var(--ink);
    background: var(--paper-raised);
    border: 1px solid var(--gold-rule);
    padding: 0.55rem 0.65rem;
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.95rem;
    background: var(--olive);
    color: var(--paper);
    border: 1px solid var(--olive);
    text-decoration: none;
    cursor: pointer;
}

button.quiet,
.button.quiet {
    background: transparent;
    color: var(--ink);
    border-color: var(--gold-rule);
}

button.danger {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--paper);
}

.confirm-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.inline-form {
    display: inline;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
    margin-bottom: 1rem;
}

.form-row label {
    margin: 0;
    min-width: 10rem;
}

.check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check input {
    width: 1.15rem;
    height: 1.15rem;
}

.error {
    color: var(--danger);
    margin: -0.5rem 0 1rem;
}

.flash {
    padding: 0.75rem 1rem;
    border: 1px solid var(--olive);
    margin: 0 0 1rem;
}

.flash.error {
    color: var(--danger);
    background: var(--danger-bg);
    border-color: var(--danger);
}

.demo-banner {
    margin: 0;
    padding: 0.65rem 1rem;
    background: var(--danger-bg);
    color: var(--danger);
    border-bottom: 1px solid var(--danger);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.map-frame {
    width: 100%;
    min-height: 18rem;
    border: 1px solid var(--line);
    margin-top: 0.75rem;
}

.table-wrap {
    overflow-x: auto;
}

.totals {
    max-width: 28rem;
    margin-bottom: 1.5rem;
}

.note {
    color: var(--muted);
}

.site-footer {
    padding: 1.5rem 0 2rem;
}

.site-footer p {
    margin: 0.2rem 0;
}

.admin-bar .bar-row {
    align-items: center;
}

.admin-bar button {
    background: transparent;
    color: var(--paper);
    border-color: var(--gold);
}

.statement-sheet {
    max-width: 44rem;
}

.statement-sheet h1 {
    font-family: Palatino, "Palatino Linotype", Georgia, serif;
}

@media (min-width: 52rem) {
    .home-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
    }
}

@media (max-width: 40rem) {
    table.stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    table.stack tr {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--line);
    }

    table.stack td {
        display: block;
        border: 0;
        padding: 0.15rem 0;
    }

    table.stack td::before {
        content: attr(data-label);
        display: block;
        color: var(--muted);
        font-size: 0.85rem;
    }

    table.stack td.num {
        text-align: left;
    }

    table.schedule.stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    table.schedule.stack tr {
        display: block;
        padding: 0.45rem 0;
    }

    table.schedule.stack td {
        display: inline;
        border: 0;
        padding: 0;
    }

    table.schedule.stack td::before {
        content: none;
        display: inline;
    }

    table.schedule.stack td + td::before {
        content: ", ";
        color: inherit;
        font-size: inherit;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .skip {
        transition: none;
    }
}

@media print {
    .skip,
    .site-header,
    .site-footer,
    .admin-bar,
    .admin-nav,
    .demo-banner,
    .no-print,
    .flash,
    .gold-rule {
        display: none !important;
    }

    body,
    body.admin {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    a {
        color: #000;
        text-decoration: none;
    }

    main {
        padding: 0;
    }

    .wrap {
        width: auto;
        margin: 0;
    }

    @page {
        margin: 0.7in;
    }
}
