* { box-sizing: border-box; }
:root {
    color-scheme: dark;
    --bg: #0b1019;
    --panel: #141c29;
    --line: #2b3545;
    --gold: #e5be72;
    --text: #f3f2ef;
    --muted: #b0b8c5;
    font-family: system-ui, sans-serif;
}
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
a { color: var(--gold); text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.shell { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.narrow { max-width: 40rem; }
.muted { color: var(--muted); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; background: var(--bg); padding: .75rem; }
.masthead { border-bottom: 1px solid var(--line); background: #0f1520; }
.masthead-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.brand { color: var(--text); display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; color: var(--gold); border: 1px solid #846d47; border-radius: .5rem; font-size: .77rem; letter-spacing: .08em; background: #231f1c; }
.hero {
    overflow: hidden;
    background: radial-gradient(ellipse at 78% 45%, #272728 0%, transparent 55%), linear-gradient(120deg, #182235, #101724 70%);
    border-bottom: 1px solid #393343;
}
.hero-inner { position: relative; isolation: isolate; padding: 3.25rem 0; }
.hero-copy { max-width: 44rem; }
.hero h1 { font: 500 clamp(2.35rem, 6.2vw, 4.65rem)/1.02 Georgia, serif; letter-spacing: -.045em; text-wrap: balance; }
.hero p { margin-top: .95rem; max-width: 65ch; color: #d2d7df; }
.hero .hero-signoff { color: var(--gold); }
.award { display: grid; place-items: center; width: 2.8rem; aspect-ratio: 1; margin-bottom: 1rem; border-radius: 50%; border: 1px solid #755f3e; background: #302a28; }
.site-message { padding-block: .75rem; border-bottom: 1px solid var(--line); background: #182638; }
.site-message .shell { display: flex; flex-wrap: wrap; column-gap: .9rem; align-items: baseline; }
.site-message p { white-space: pre-line; overflow-wrap: anywhere; min-width: 0; }
.site-alert { background: #382a1e; border-color: #715634; }
.site-alert strong { color: var(--gold); }
.directory { padding-block: 2.3rem 4rem; }
.directory-head, .heading-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.directory-head h2 { font: 500 2.2rem/1.1 Georgia, serif; margin-bottom: .35rem; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
.filters label:first-child { flex: 1 1 12rem; }
label { display: grid; gap: .35rem; font-size: .93rem; font-weight: 600; }
input, select, textarea, button { font: inherit; }
input:not([type=checkbox]), select, textarea { width: 100%; min-width: 0; color: var(--text); background: #0d1420; border: 1px solid #485367; border-radius: .5rem; padding: .64rem .75rem; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-size: .32rem .32rem; background-position: right 1.03rem center, right .71rem center; background-repeat: no-repeat; }
textarea { resize: vertical; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: .9rem; padding: 1.25rem; display: flex; flex-direction: column; align-items: start; gap: 1rem; overflow-wrap: anywhere; }
.card-top, .member-name { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.card h3 { font-size: 1.28rem; }
.inducted { color: var(--gold); font-size: .9rem; margin-top: .28rem; }
.citation { color: #d6dce5; white-space: pre-line; margin-bottom: auto; }
.avatar { width: 4.5rem; height: 4.5rem; flex: none; object-fit: cover; border: 1px solid #565064; border-radius: .65rem; background: #251f21; }
.fallback { display: grid; place-items: center; color: var(--gold); background: linear-gradient(145deg, #353145, #231e24); font: 500 2rem/1 Georgia, serif; }
.status { display: inline-flex; align-items: center; gap: .3rem; margin-top: .4rem; border: 1px solid #495566; background: #242c39; color: #e0e5ee; padding: .15rem .62rem; border-radius: 2rem; font-size: .88rem; }
.status svg { width: 1rem; height: 1rem; flex: none; }
.status.active { color: #b0e4c9; background: #18332c; border-color: #35624f; }
.status.retired { color: #f4d59e; background: #372b22; border-color: #775c41; }
.empty { padding: 2.2rem 1rem; text-align: center; border: 1px dashed #445064; background: #101723; border-radius: .8rem; color: var(--muted); }
.empty h3 { color: var(--text); margin-bottom: .55rem; font-size: 1.2rem; }
.footer { border-top: 1px solid var(--line); padding: 1.5rem 0; color: var(--muted); font-size: .9rem; }
.admin-content { padding-block: 2.5rem 4rem; }
.admin-content h1 { font: 500 clamp(2rem, 6vw, 3.25rem)/1.1 Georgia, serif; }
.admin-content > h1, .admin-content > p { margin-bottom: 1rem; }
nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
nav a { font-size: .9rem; }
.panel, .stats div, .member-list li { background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; }
.fields { display: grid; gap: 1rem; }
.form-row, .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 1.5rem; }
.stats dt { color: var(--muted); }
.stats dd { margin: .3rem 0 0; font-size: 1.7rem; font-weight: 650; }
.member-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.member-list li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; overflow-wrap: anywhere; }
.member-list .avatar { width: 3rem; height: 3rem; font-size: 1.45rem; }
button, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.65rem; padding: .48rem .85rem; border: 1px solid transparent; border-radius: .5rem; cursor: pointer; font-weight: 650; text-decoration: none; }
.primary { background: var(--gold); color: #20170a; }
.primary:hover { background: #f4d397; }
.quiet { color: var(--text); background: #1c2635; border-color: #414e60; }
.quiet:hover { background: #29374a; }
.danger { background: #f2a19a; color: #30100d; }
.danger:hover { background: #ffc0bb; }
.danger-text { color: #ffc5bd; }
.notice { padding: .75rem 1rem; border: 1px solid #537463; border-radius: .5rem; background: #193329; margin-bottom: 1rem; }
.notice.error { background: #3a2328; border-color: #95606a; }
.notice ul { margin: .4rem 0 0; padding-left: 1.3rem; }
.upload { display: grid; gap: .45rem; }
.preview:empty, .preview:not(:has(img:not([hidden]))) { display: none; }
.checkbox { display: flex; align-items: center; gap: .5rem; }
.checkbox input { accent-color: var(--gold); width: 1rem; height: 1rem; }
.nomination-tabs, .nomination-list { margin-block: 1rem; }
.nomination-tabs [aria-current] { border-color: var(--gold); color: var(--gold); }
.nomination-list { display: grid; gap: .75rem; }
.nomination { overflow-wrap: anywhere; }
.nomination h2 { font-size: 1.35rem; }
.nomination dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .25rem .75rem; }
.nomination dt { color: var(--muted); }
.nomination dd { margin: 0; }
.nomination form { margin-top: 1rem; }
@media (min-width: 40rem) {
    .shell { width: min(100% - 4rem, 68rem); }
    .hero-inner { padding-block: 4.8rem; }
    .panel, .stats div { padding: 1.4rem; }
}
@media (min-width: 60rem) {
    .hero-copy { max-width: min(73%, 44rem); }
    .award { position: absolute; z-index: -1; right: 1%; top: 50%; transform: translateY(-50%); width: clamp(7rem, 16vw, 12rem); box-shadow: inset 0 0 0 .55rem #d8ab5f12, 0 0 4rem #d2a45d19; background: radial-gradient(circle, #513e2a 0%, #27252a 72%); }
    .award span { font-size: clamp(2.7rem, 7vw, 4.7rem); line-height: 1; }
}
@media (max-width: 39.99rem) {
    .directory-head .filters { width: 100%; }
    .stats div { padding: .7rem; }
    .stats dt { font-size: .875rem; }
    .admin .brand-mark { display: none; }
    .admin .masthead-inner { flex-wrap: wrap; padding-block: .65rem; }
    nav .quiet { padding-inline: .55rem; }
}
