/* Open type on the page: the group's name is the identity, structure comes from headings, space and hairline rules between rows (no boxes, no coloured header).
   The accent (data-accent on <body>, or --accent here) colours links and focus only. Mobile-first; light and dark. */
:root {
  --accent: #2f6f9f;
  --bg: #fcfcfb; --text: #1d2125; --muted: #5b6570; --line: #e4e7ea; --max: 46rem; --wide: 80rem;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14171a; --text: #eceff1; --muted: #a2adb7; --line: #2a3036; --accent: #7fb0d6; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible, .skip:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--bg); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
.bar, .masthead, main, .foot { max-width: var(--wide); margin: 0 auto; padding-inline: 1.25rem; }
/* The top bar stays in view: the group's name, one link per section, and the way into the group's own portal. */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: .5rem 2rem; min-height: 3.5rem; }
.brand { color: var(--text); font-weight: 700; text-decoration: none; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22rem; }
.top nav { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.top nav ul { display: flex; gap: .25rem 1.5rem; justify-content: flex-end; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.top nav a:hover { color: var(--accent); }
.btn { flex: none; padding: .4rem .95rem; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); text-decoration: none; font-weight: 650; font-size: .9rem; white-space: nowrap; }
.btn:hover { background: var(--accent); color: var(--bg); }
.masthead { padding-top: 4.5rem; padding-bottom: 1rem; }
.masthead h1 { max-width: 24ch; font: 700 clamp(2.2rem, 6vw, 4.2rem)/1.05 Georgia, "Iowan Old Style", "Times New Roman", serif; letter-spacing: -.015em; text-wrap: balance; }
.lede { margin-top: 1.1rem; max-width: 40rem; font-size: 1.2rem; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: .35rem 1.75rem; margin-top: 1.75rem; color: var(--muted); font-size: .95rem; font-weight: 600; }
.banner { margin-top: 2rem; aspect-ratio: 3 / 1; background: var(--hero-image, none) center / cover; border-radius: 4px; }
/* Every section is a label column and a content column, so a wide screen is used and a narrow one stacks. */
section { padding-block: 3rem; border-top: 1px solid var(--line); scroll-margin-top: 4rem; }
main { padding-top: 2rem; }
section:first-child { border-top: 0; }
section > .head h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; }
section > .head .muted { margin-top: .5rem; max-width: 19rem; font-size: .9rem; }
section > .body { min-width: 0; }
section .body > h3:first-child { margin-top: 0; }
section .body > h3 { margin: 1.75rem 0 .15rem; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.rows > li { padding: 1rem 0; border-top: 1px solid var(--line); }
.rows > li:first-child { border-top: 0; }
.rows h3 { font-size: 1.05rem; line-height: 1.35; font-weight: 650; }
.rows h3 a { color: var(--text); font-weight: 650; }
.rows h3 a:hover { color: var(--accent); }
.rows li > * + * { margin-top: .2rem; }
.meta, .muted, .role { color: var(--muted); font-size: .94rem; }
.rows p:not(.meta):not(.muted):not(.role):not(.links) { font-size: .98rem; max-width: 40rem; }
.links { display: inline-flex; flex-wrap: wrap; gap: .1rem 1rem; font-size: .94rem; }
.links:empty { display: none; }
.badge { font-size: .78rem; font-weight: 600; color: var(--muted); border-bottom: 1px dotted var(--muted); }
/* People: one aligned row each, name and role on the left, links on the right. */
.people .person { display: flex; flex-wrap: wrap; gap: .15rem .9rem; align-items: center; padding: .8rem 0; }
.people .person > * + * { margin-top: 0; }
.people img { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }
.avatar { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--line); color: var(--muted); font-size: .85rem; font-weight: 650; flex: none; }
.people h4 { font-size: 1rem; font-weight: 650; line-height: 1.35; }
.people .who { flex: 1 1 14rem; }
.who { min-width: 0; }
details { margin-top: .35rem; }
details summary { cursor: pointer; color: var(--muted); font-size: .9rem; width: fit-content; }
details summary:hover { color: var(--text); text-decoration: underline; }
details p { margin-top: .4rem; font-size: .96rem; max-width: 40rem; }
.notice { margin: 0; padding: .6rem 1rem; color: var(--muted); border-bottom: 1px solid var(--line); text-align: center; font-size: .92rem; }
footer { margin-top: 2rem; border-top: 1px solid var(--line); }
.foot { padding-block: 2.5rem 3rem; display: grid; gap: .3rem; }
.foot-name { font-weight: 700; font-size: 1rem; }
footer p { font-size: .88rem; }
@media (min-width: 40rem) {
  .bar, .masthead, main, .foot { padding-inline: 2rem; }
  .people .links { justify-content: flex-end; }
}
@media (min-width: 64rem) {
  body { font-size: 1.0625rem; }
  section { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 3rem; padding-block: 3.5rem; }
  section > .head { position: sticky; top: 5rem; align-self: start; }
  .masthead { padding-top: 6rem; padding-bottom: 2rem; }
  .people .person { width: 100%; }
  .rows.people > li { border-top: 1px solid var(--line); }
  .rows.people > li:first-child { border-top: 0; }
}
/* Two people per row only when the content column (viewport less the label column, gap and padding, about 78rem) holds two; below it the list is one column and every item but the first has its divider. */
@media (min-width: 78rem) {
  .rows.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .rows.people > li:nth-child(2) { border-top: 0; }
}
@media (max-width: 40rem) {
  .bar { flex-wrap: wrap; padding-block: .6rem; }
  .brand { max-width: 100%; flex: 1 1 100%; }
  .top nav { order: 3; flex: 1 1 100%; }
  .top nav ul { justify-content: flex-start; }
  .btn { margin-left: auto; }
  .masthead { padding-top: 3rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
