/* theme.css — Columbia Housing.
 *
 * One idea runs through every rule: the four-pane window in Columbia
 * Housing's own logo. A lit pane means something is open; photographs sit in
 * window frames with a sill for the caption; groups of links sit in panes
 * divided by navy mullions; the communities map is the city at dusk with a
 * window for each community. White is the page, navy the frame, red the
 * brand's own emphasis, and window-light yellow is spent only where a list
 * is open or an action is primary.
 *
 * Order: tokens, base, chrome, components (pane, window, buttons, board,
 * finder, map), page layouts, prose, forms, indexes, footer, print.
 */

:root {
  --white: #ffffff;
  --navy: #00205b;
  --navy-deep: #00133a;
  --navy-soft: #33487a;
  --red: #ce0e2d;
  --light: #ffc72c;
  --sky: #eef3fb;
  --line: #c6d2ea;
  --alert: #b45309;
  --focus: #ce0e2d;
  --font-display: "Sansita", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Inclusive Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2.25rem);
  --frame: 0.1875rem;
  --stoa-index-sticky-top: 0px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.16; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 900; letter-spacing: -0.01em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.22; }
h4 { font-size: 1.1rem; font-weight: 700; }
p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }

a { color: var(--navy); text-decoration-thickness: 0.09em; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }

:focus-visible { outline: 0.1875rem solid var(--focus); outline-offset: 0.125rem; border-radius: 0.125rem; }
main:focus { outline: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 0.75rem; top: -4rem; z-index: 50; background: var(--navy); color: var(--white); padding: 0.7rem 1rem; font-weight: 700; border-radius: 0 0 0.375rem 0.375rem; }
.skip:focus { top: 0; color: var(--white); outline-color: var(--light); }

/* ---- Chrome ------------------------------------------------------------------------------------ */

.proto-banner { margin: 0; padding: 0.35rem var(--gutter); background: var(--sky); color: var(--navy); font-size: 0.875rem; text-align: center; border-bottom: 1px solid var(--line); }

.mast { background: var(--white); border-bottom: var(--frame) solid var(--navy); }
.mast__top { display: grid; grid-template-columns: auto minmax(14rem, 1fr) auto; align-items: center; gap: 1rem 2rem; padding-block: 0.9rem; }
.brand { display: block; flex: none; }
.brand img { width: 13rem; height: auto; }

.omni { position: relative; display: flex; max-width: 34rem; width: 100%; justify-self: center; }
.omni__input { flex: 1; min-width: 0; min-height: 3rem; padding: 0.55rem 0.9rem; font: inherit; font-size: 1.0625rem; color: var(--navy); background: var(--white); border: 0.125rem solid var(--navy); border-right: 0; border-radius: 0.375rem 0 0 0.375rem; }
.omni__input::placeholder { color: var(--navy-soft); opacity: 1; }
@media (max-width: 26em) { .omni__input { font-size: 1rem; padding-inline: 0.7rem; } .omni__go { padding-inline: 0.8rem; } }
.omni__input:focus-visible { outline-offset: -0.25rem; }
.omni__go { min-height: 3rem; padding: 0 1.1rem; font: inherit; font-weight: 700; color: var(--white); background: var(--navy); border: 0.125rem solid var(--navy); border-radius: 0 0.375rem 0.375rem 0; cursor: pointer; }
.omni__go:hover { background: #0b3384; }
.omni__go:focus-visible { outline-color: var(--white); outline-offset: -0.4375rem; }
.omni__list { position: absolute; z-index: 40; top: calc(100% + 0.25rem); left: 0; right: 0; margin: 0; padding: 0.35rem; list-style: none; background: var(--white); border: 0.125rem solid var(--navy); border-radius: 0.375rem; box-shadow: 0 0.75rem 1.5rem rgba(0, 19, 58, 0.18); max-height: min(70vh, 30rem); overflow: auto; }
.omni__group { padding: 0.5rem 0.6rem 0.2rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-soft); }
.omni__opt { display: flex; gap: 0.6rem; align-items: baseline; padding: 0.55rem 0.6rem; border-radius: 0.25rem; cursor: pointer; min-height: 2.75rem; }
.omni__opt[aria-selected="true"], .omni__opt:hover { background: var(--sky); }
.omni__opt-title { font-weight: 700; }
.omni__opt-note { font-size: 0.9375rem; color: var(--navy-soft); }
.omni__opt--ask .omni__opt-title { font-weight: 400; }
.omni__empty { padding: 0.6rem; color: var(--navy-soft); }

.quick { display: flex; gap: 0.25rem 1.4rem; margin: 0; padding: 0; list-style: none; font-weight: 700; white-space: nowrap; }
.quick a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; border-bottom: 0.1875rem solid transparent; }
.quick a:hover, .quick a[aria-current] { border-bottom-color: var(--red); color: var(--navy); }

.menu-btn { display: none; align-items: center; gap: 0.55rem; min-height: 3rem; padding: 0 1rem; font: inherit; font-weight: 700; color: var(--navy); background: var(--white); border: 0.125rem solid var(--navy); border-radius: 0.375rem; cursor: pointer; }
.menu-btn__bars { width: 1.1rem; height: 0.75rem; border-block: 0.1875rem solid currentColor; position: relative; }
.menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0.1875rem; margin-top: -0.09375rem; background: currentColor; }

.primary { background: var(--navy); }
.primary__list { display: flex; flex-wrap: wrap; gap: 0 0.25rem; margin: 0 auto; padding: 0; list-style: none; }
.primary__link { display: flex; align-items: center; min-height: 3.25rem; padding: 0 1rem; color: var(--white); font-weight: 700; text-decoration: none; position: relative; }
.primary__link:hover { color: var(--white); background: #0b3384; }
.primary__link[aria-current]::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0.45rem; height: 0.1875rem; background: var(--light); }
.primary__link:focus-visible { outline-color: var(--light); outline-offset: -0.3125rem; }
.primary__item:first-child .primary__link { margin-left: -1rem; }
.primary__sub, .primary__quick { display: none; }

@media (max-width: 61.99em) {
  .mast__top { grid-template-columns: 1fr auto; }
  .brand img { width: 10.5rem; }
  .omni { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .quick { display: none; }
  .menu-btn { display: inline-flex; }
  .primary { display: none; }
  .primary.is-open { display: block; }
  .primary__list { display: block; padding-block: 0.5rem 0; }
  .primary__item { border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .primary__item:first-child { border-top: 0; }
  .primary__item:first-child .primary__link { margin-left: 0; }
  .primary__link { padding: 0; min-height: 3rem; font-size: 1.1875rem; }
  .primary__link[aria-current]::after { left: 0; right: auto; width: 2.5rem; bottom: 0.3rem; }
  .primary__sub { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0 0 0.6rem; padding: 0; list-style: none; }
  .primary__sub a, .primary__quick a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--white); }
  .primary__sub a:hover, .primary__quick a:hover { color: var(--light); }
  .primary__quick { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0 auto; padding: 0.4rem 0 1rem; list-style: none; font-weight: 700; border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .primary a:focus-visible { outline-color: var(--light); }
}

/* ---- The pane: Columbia Housing's window, lit when something is open --------------------------- */

.pane { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 0.125rem; width: 1.375rem; height: 1.375rem; padding: 0.125rem; background: var(--navy); border-radius: 0.1875rem; vertical-align: -0.25em; flex: none; }
.pane i { background: var(--white); border-radius: 0.0625rem; }
.pane--lit i { background: var(--light); }
/* The 404's window: the same four panes, large and unlit. */
.unlit { margin: 0 0 0.9rem; line-height: 0; }
.unlit .pane { width: 3.75rem; height: 3.75rem; gap: 0.3125rem; padding: 0.3125rem; border-radius: 0.4375rem; vertical-align: top; }
.unlit .pane i { border-radius: 0.125rem; background: var(--sky); }

.status { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.status--open { color: var(--navy); }
.status--closed { color: var(--navy-soft); }

/* ---- Window frames for photographs ----------------------------------------------------------- */

.window { margin: 0 0 1.5rem; }
.window__glass { border: var(--frame) solid var(--navy); border-radius: 0.5rem 0.5rem 0 0; padding: 0.375rem; background: var(--white); }
.window__glass img { width: 100%; border-radius: 0.25rem 0.25rem 0 0; }
.window__sill { margin: 0 -0.5rem; padding: 0.5rem 0.75rem 0; border-top: 0.375rem solid var(--navy); font-size: 0.9375rem; line-height: 1.4; color: var(--navy); }

.sash { background: var(--navy); border: 0.5rem solid var(--navy); border-radius: 0.75rem 0.75rem 0.25rem 0.25rem; display: grid; gap: 0.5rem; }
.sash--four { grid-template-columns: 1fr 1fr; }
.sash__pane { margin: 0; background: var(--sky); border-radius: 0.1875rem; overflow: hidden; }
.sash__pane img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Buttons ----------------------------------------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.5rem 1.15rem; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; border: 0.125rem solid var(--navy); border-radius: 0.375rem; cursor: pointer; }
.btn--primary { background: var(--light); color: var(--navy-deep); box-shadow: 0 0.1875rem 0 var(--navy); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sky); color: var(--navy); }
.btn--quiet { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--quiet:hover { border-color: var(--navy); color: var(--navy); }
.btn--yellow { background: var(--light); color: var(--navy-deep); border-color: var(--light); }
.btn--yellow:hover { background: #ffd65c; border-color: #ffd65c; color: var(--navy-deep); }
.btn--big { min-height: 3.25rem; padding-inline: 1.5rem; font-size: 1.1875rem; }
.more { font-weight: 700; }

.action { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0 0 1.75rem; }
.action__where { font-size: 0.9375rem; color: var(--navy-soft); }

/* ---- The board ------------------------------------------------------------------------------- */

.board { margin-top: 1.5rem; }
.board__rows { margin: 0; padding: 0; list-style: none; border-top: var(--frame) solid var(--navy); }
.list { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.35rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.list[data-filtered] { display: none; }
.list__name { margin: 0; font-size: 1.3125rem; font-weight: 800; line-height: 1.2; }
.list__name a { text-decoration: none; }
.list__name a:hover { text-decoration: underline; }
.list__agency { margin-left: 0.5rem; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-soft); }
.list__facts { margin: 0.15rem 0 0; font-size: 1rem; line-height: 1.45; color: var(--navy-soft); }
.list__when { margin: 0; text-align: right; line-height: 1.3; }
.list__until { display: block; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.list__go { min-width: 5.5rem; }
.list--closed .list__name, .list--route .list__name { font-weight: 700; }
.board__count { margin: 0 0 0.6rem; font-weight: 700; }
.board__none { margin: 1rem 0 0; padding: 0.9rem 1rem; background: var(--sky); border-left: 0.375rem solid var(--navy); }
.board__closed { margin: 0.9rem 0 0; font-size: 1rem; color: var(--navy-soft); }
.board__closed .pane { width: 1rem; height: 1rem; margin-right: 0.3rem; }
.board__alert { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 1.25rem 0 0; }
.board__status { font-weight: 700; }

.finder { margin: 0 0 1rem; }
.finder__set { margin: 0 0 0.75rem; padding: 0; border: 0; min-width: 0; }
.finder__q { padding: 0; margin: 0 0 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; }
.finder__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { min-height: 2.75rem; padding: 0.35rem 0.95rem; font: inherit; font-size: 1rem; font-weight: 700; color: var(--navy); background: var(--white); border: 0.125rem solid var(--navy); border-radius: 2rem; cursor: pointer; }
.chip:hover { background: var(--sky); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.chip[aria-pressed="true"]::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.45rem; background: var(--light); border-radius: 0.0625rem; }
.chip--small { min-width: 2.75rem; padding-inline: 0.75rem; }

@media (max-width: 43.99em) {
  .list { grid-template-columns: auto minmax(0, 1fr) auto; }
  .list__when { grid-column: 2; text-align: left; display: flex; flex-wrap: wrap; gap: 0 0.5rem; align-items: baseline; }
  .list__until { display: inline; }
  .list__go { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

/* ---- Hero -------------------------------------------------------------------------------------- */

.hero { padding-block: clamp(1.75rem, 4vw, 3.25rem) clamp(2.5rem, 5vw, 4rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.hero__today { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem; font-weight: 700; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.05; margin-bottom: 0.35em; }
.hero__dek { max-width: 36rem; font-size: 1.25rem; line-height: 1.5; margin-bottom: 0; }
.hero__window { position: relative; }
/* After hours: the one navy room on the white page, for the call that cannot wait until morning. */
.evening { margin-top: 1.5rem; padding: 1.1rem 1.25rem 1.2rem; background: var(--navy-deep); color: var(--white); border-radius: 0.5rem; }
.evening h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.5rem; font-size: 1.3125rem; line-height: 1.22; color: var(--white); }
.evening p { margin: 0 0 0.9rem; }
.evening p:last-child { margin-bottom: 0; }
.evening a.btn--yellow, .evening a.btn--yellow:hover, .evening a.btn--yellow:focus-visible { color: var(--navy-deep); }
.evening a:focus-visible { outline-color: var(--light); }
.lander__intro { margin-top: 1.5rem; }
/* On a phone the section's photograph follows its tasks, before the introduction, however long that runs. */
@media (max-width: 61.99em) {
  .page-head--lander.page-head--media { row-gap: 0; }
  .page-head--lander.page-head--media > div { display: contents; }
  .page-head--lander.page-head--media h1 { order: 1; }
  .page-head--lander.page-head--media .tasklist { order: 2; }
  .page-head--lander.page-head--media .window { order: 3; margin-top: 1.5rem; }
  .page-head--lander.page-head--media .lander__intro { order: 4; }
}
.hero__caption { margin: 0 -0.5rem; padding: 0.5rem 0.75rem 0; border-top: 0.4375rem solid var(--navy); font-size: 0.9375rem; line-height: 1.4; }
@media (max-width: 61.99em) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__window { max-width: 30rem; }
}

/* ---- Tasks: four panes of one window ----------------------------------------------------------- */

.tasks { background: var(--sky); padding-block: clamp(2.5rem, 5vw, 4rem); }
.tasks__h { margin-bottom: 1.25rem; }
.tasks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.375rem; padding: 0.375rem; background: var(--navy); border-radius: 0.625rem; }
.tasks__pane { background: var(--white); padding: 1.25rem 1.35rem 1rem; border-radius: 0.25rem; }
.tasks__pane h3 { margin-bottom: 0.5rem; font-size: 1.4375rem; font-weight: 800; }
.tasks__pane h3 a { text-decoration: none; }
.tasks__pane h3 a:hover { text-decoration: underline; }
.tasks__pane ul { margin: 0; padding: 0; list-style: none; }
.tasks__pane li a { display: flex; align-items: center; min-height: 2.75rem; border-top: 1px solid var(--line); }
@media (max-width: 61.99em) { .tasks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 35.99em) { .tasks__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- The map at dusk ------------------------------------------------------------------------- */

.mapband { background: var(--navy-deep); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4.5rem); --focus: #ffc72c; }
.mapband a { color: var(--white); }
.mapband a:hover { color: var(--light); }
.mapband a.btn--yellow, .mapband a.btn--yellow:hover, .mapband a.btn--yellow:focus-visible { color: var(--navy-deep); }
.mapband__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.mapband__dek { font-size: 1.1875rem; max-width: 26rem; }
.mapband__open { margin: 0 0 1.5rem; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.mapband__open li { display: grid; grid-template-columns: auto 1fr; gap: 0 0.7rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.mapband__open a { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.mapband__open a:hover { text-decoration: underline; }
.mapband__open span:last-child { grid-column: 2; font-size: 0.9375rem; color: #d5def2; }
.mapband .pane { background: #0b3384; }
.mapband .pane i { background: #a9bbe6; }
.mapband .pane--lit { background: var(--navy-deep); box-shadow: 0 0 0.55rem 0.1rem rgba(255, 199, 44, 0.55); }
.mapband .pane--lit i { background: var(--light); }

.dusk { position: relative; margin: 0; border: var(--frame) solid #3f5796; border-radius: 0.625rem; overflow: hidden; background: var(--navy); }
.dusk__base { width: 100%; }
.dusk__label { position: absolute; transform: translate(-50%, -50%); color: #c9d6f2; font-size: 0.8125rem; letter-spacing: 0.04em; white-space: nowrap; pointer-events: none; }
.dusk__label--city { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0; color: var(--white); }
.dusk__label--water { font-style: italic; color: #9dbcf5; }
.dusk__points { margin: 0; padding: 0; list-style: none; }
.dusk__points li { position: absolute; transform: translate(-50%, -50%); }
.dusk__point { position: relative; display: block; }
.dusk__point .pane { width: 0.9375rem; height: 0.9375rem; padding: 0.09375rem; gap: 0.0625rem; background: #0b3384; display: grid; }
.dusk__point .pane i { background: #a9bbe6; }
.dusk__point.is-lit .pane { width: 1.25rem; height: 1.25rem; background: var(--navy-deep); box-shadow: 0 0 0.9rem 0.3rem rgba(255, 199, 44, 0.5); }
.dusk__point.is-lit .pane i { background: var(--light); }
.dusk__point.is-here .pane { outline: 0.125rem solid var(--white); outline-offset: 0.1875rem; }
.dusk__name { position: absolute; left: 50%; bottom: calc(100% + 0.3rem); transform: translateX(-50%); padding: 0.1rem 0.45rem; background: var(--navy-deep); color: var(--white); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; border-radius: 0.1875rem; opacity: 0; pointer-events: none; }
.dusk__name--left { left: auto; right: calc(100% + 0.4rem); bottom: auto; top: 50%; transform: translateY(-50%); }
.dusk__name--right { left: calc(100% + 0.4rem); bottom: auto; top: 50%; transform: translateY(-50%); }
.dusk__point.is-lit .dusk__name, .dusk__point.is-here .dusk__name, .dusk__points li:hover .dusk__name, .dusk__point.is-shown .dusk__name { opacity: 1; }
.dusk__points li:hover { z-index: 3; }
.dusk__point.is-dimmed { opacity: 0.25; }
/* The lights come on: when the map scrolls into view its lit windows ease from dark to lit, a beat apart.
   Stillness is the default. The script adds the class once; without it, and under reduced motion, the windows are simply lit. */
@media (prefers-reduced-motion: no-preference) {
  .dusk.is-arriving .dusk__point.is-lit .pane { animation: ch-glow-on 0.6s ease-out backwards; }
  .dusk.is-arriving .dusk__point.is-lit .pane i { animation: ch-pane-on 0.6s ease-out backwards; }
  .dusk.is-arriving li:nth-child(2n) .dusk__point.is-lit .pane, .dusk.is-arriving li:nth-child(2n) .dusk__point.is-lit .pane i { animation-delay: 0.15s; }
  .dusk.is-arriving li:nth-child(3n) .dusk__point.is-lit .pane, .dusk.is-arriving li:nth-child(3n) .dusk__point.is-lit .pane i { animation-delay: 0.3s; }
  .dusk__name { transition: opacity 0.18s ease; }
  .dusk__point { transition: opacity 0.2s ease; }
}
@keyframes ch-glow-on { from { box-shadow: 0 0 0 0 rgba(255, 199, 44, 0); } }
@keyframes ch-pane-on { from { background: #a9bbe6; } }
.dusk__key { position: absolute; left: 0.75rem; bottom: 0.6rem; margin: 0; display: flex; gap: 1.1rem; font-size: 0.8125rem; color: #d5def2; }
.dusk__key > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.mapband .dusk__key .pane, .dusk__key .pane { width: 0.875rem; height: 0.875rem; padding: 0.09375rem; gap: 0.0625rem; background: #0b3384; box-shadow: none; }
.mapband .dusk__key .pane i, .dusk__key .pane i { background: #a9bbe6; }
.mapband .dusk__key .pane--lit, .dusk__key .pane--lit { background: var(--navy-deep); }
.mapband .dusk__key .pane--lit i, .dusk__key .pane--lit i { background: var(--light); }
@media (max-width: 61.99em) {
  .mapband__grid { grid-template-columns: minmax(0, 1fr); }
  .dusk__label { font-size: 0.6875rem; }
  .dusk__label--city { font-size: 1rem; }
  .dusk__name { font-size: 0.6875rem; }
}
@media (max-width: 43.99em) {
  .dusk__point.is-lit .dusk__name { opacity: 0; }
  .dusk__point.is-lit.is-shown .dusk__name, .dusk__point.is-here .dusk__name { opacity: 1; }
  .dusk__label--town, .dusk__label--water { display: none; }
}

/* ---- News, meetings ----------------------------------------------------------------------------- */

.latest { padding-block: clamp(2.5rem, 5vw, 4rem); }
.latest__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 5vw, 4.5rem); }
.newslist { margin: 0 0 1.1rem; padding: 0; list-style: none; border-top: var(--frame) solid var(--navy); }
.newslist__item { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.newslist__item time { display: block; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-soft); font-variant-numeric: tabular-nums; }
.newslist__item a { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; text-decoration: none; }
.newslist__item a:hover { text-decoration: underline; }

.dated { margin: 0 0 1.1rem; padding: 0; list-style: none; border-top: var(--frame) solid var(--navy); }
.dated__row { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.dated__row[hidden] { display: none; }
.dated__date { font-weight: 700; font-variant-numeric: tabular-nums; }
.dated__what { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.dated__kind { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; color: var(--navy-soft); }
.dated__none { padding: 0.9rem 1rem; background: var(--sky); border-left: 0.375rem solid var(--navy); }
/* A year of meetings as a grid of months: the date and whether it was held on one line, the meeting under it. */
.sched { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15.5rem, 100%), 1fr)); gap: 1.5rem clamp(1.25rem, 3vw, 2.5rem); margin: 0 0 2rem; }
.sched__month h3 { margin: 0 0 0.45rem; font-size: 1.1875rem; }
.sched__list { margin: 0; padding: 0; list-style: none; border-top: var(--frame) solid var(--navy); }
.sched__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.sched__date { font-weight: 700; font-variant-numeric: tabular-nums; }
.sched__what { grid-column: 1 / -1; color: var(--navy-soft); }
/* A disclosure for text that repeats what the page already shows, in its publisher's formal wording. */
.fold { margin: 0 0 1.5rem; border: var(--frame) solid var(--navy); border-radius: 0.5rem; }
.fold > summary { display: flex; align-items: center; min-height: 3rem; padding: 0.5rem 1rem; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; margin-left: auto; padding-left: 1rem; font-family: var(--font-body); font-weight: 700; font-size: 1.375rem; }
.fold[open] > summary::after { content: "\2212"; }
.fold > summary:focus-visible { outline-offset: -0.3125rem; }
.fold[open] > summary { border-bottom: 1px solid var(--line); }
.fold > .prose { padding: 1rem 1rem 0.25rem; }
@media (max-width: 61.99em) { .latest__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 30em) { .dated__row { grid-template-columns: minmax(0, 1fr); } }

/* ---- This is Columbia Housing: a row of windows ------------------------------------------------ */

.this-is { padding-block: 0 clamp(2.5rem, 5vw, 4rem); }
.this-is__row { display: flex; gap: clamp(1rem, 2.4vw, 2rem); align-items: flex-start; }
.this-is__row .window { flex: var(--ar, 1) 1 0; min-width: 0; margin-bottom: 0; }
@media (max-width: 61.99em) {
  .this-is__row { flex-wrap: wrap; }
  .this-is__row .window { flex: 1 1 42%; }
  .this-is__row .window--slim { flex: 0 1 30%; }
}
@media (max-width: 35.99em) {
  .this-is__row .window { flex: 1 1 100%; }
  .this-is__row .window--slim { flex: 0 1 60%; }
}

.mission { background: var(--sky); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.mission__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.mission__label { font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }
.mission__text { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.14; text-wrap: balance; margin-bottom: 1.5rem; }
.mission__next h3 { margin-bottom: 0.35rem; font-size: 1.5rem; }
.mission__next p { margin-bottom: 0; }
@media (max-width: 61.99em) { .mission__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Interior pages ----------------------------------------------------------------------------- */

.crumbs { margin: 0 0 0.9rem; font-size: 0.9375rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.15rem 0.5rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--navy-soft); }
.crumbs a { display: inline-block; padding-block: 0.3rem; }

.page-head { padding-block: clamp(1.5rem, 3.4vw, 2.75rem) clamp(1rem, 2vw, 1.5rem); }
.page-head h1 { margin-bottom: 0.3em; max-width: 22ch; }
.page-head__lede { max-width: 40rem; font-size: 1.25rem; line-height: 1.5; margin: 0; }
.page-head--media { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.page-head--media .window { margin-bottom: 0; }
@media (max-width: 61.99em) { .page-head--media { grid-template-columns: minmax(0, 1fr); } .page-head--media .window { max-width: 26rem; } }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; gap: clamp(1.75rem, 5vw, 4.5rem); align-items: start; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-body--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 61.99em) { .page-body { grid-template-columns: minmax(0, 1fr); } }

.family { position: sticky; top: 1rem; border: var(--frame) solid var(--navy); border-radius: 0.5rem; padding: 1rem 1.15rem 0.6rem; background: var(--white); }
.family__h { font-size: 1.1875rem; margin-bottom: 0.4rem; }
.family ul { margin: 0; padding: 0; list-style: none; }
.family li a { display: flex; align-items: center; min-height: 2.75rem; padding-block: 0.3rem; border-top: 1px solid var(--line); line-height: 1.3; text-decoration: none; }
.family li a:hover { text-decoration: underline; }
.family li a[aria-current] { font-weight: 700; }
.family li a[aria-current]::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.55rem; background: var(--light); outline: 0.125rem solid var(--navy); border-radius: 0.0625rem; }
@media (max-width: 61.99em) { .family { position: static; } }

.prose { max-width: 44rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.45rem, 2.4vw, 1.875rem); }
.prose h3 { margin-top: 1.5em; }
.prose h4 { margin-top: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose a { font-weight: 700; }
.prose .table-scroll { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 0.375rem; }
.prose table, .datatable { width: 100%; border-collapse: collapse; margin: 0; font-variant-numeric: tabular-nums; }
.prose th, .prose td, .datatable th, .datatable td { padding: 0.6rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th, .datatable thead th { background: var(--sky); font-weight: 700; }
.prose tbody th, .datatable tbody th { font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 0.375rem; }
.prose tr:last-child td, .datatable tr:last-child td { border-bottom: 0; }
/* A directory of places to call: two columns of entries, each a name, who it serves and its numbers. */
.prose:has(> .resources) { max-width: none; }
.prose:has(> .resources) > :not(.resources) { max-width: 44rem; }
.resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); margin: 0 0 1.75rem; border-top: var(--frame) solid var(--navy); }
.resource { padding: 0.9rem 0 0.75rem; border-bottom: 1px solid var(--line); }
.resource > p { margin: 0 0 0.35rem; }
.resource > p:last-child { margin-bottom: 0; }
.resource > ul { margin: 0; padding: 0; list-style: none; }
.resource > ul li { margin: 0 0 0.15rem; }
.prose ul.mixlist { list-style: none; padding: 0; margin: 0 0 1.4em; border-top: 1px solid var(--line); }
.prose ul.mixlist li { margin: 0; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
/* A long list of names (partners, memberships) reads in two columns instead of one long scroll. */
.prose ul.namelist { columns: 2; column-gap: 2.5rem; }
.prose ul.namelist > li { break-inside: avoid; }
@media (max-width: 43.99em) { .prose ul.namelist { columns: 1; } }
@media (max-width: 43.99em) { .resources { grid-template-columns: minmax(0, 1fr); } }

.notice { margin: 0 0 1.5rem; padding: 1rem 1.15rem; background: var(--sky); border-left: 0.375rem solid var(--navy); border-radius: 0 0.375rem 0.375rem 0; }
.notice > :last-child { margin-bottom: 0; }

.kids { margin: 0 0 2rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); border-top: var(--frame) solid var(--navy); }
.kids li { border-bottom: 1px solid var(--line); }
.kids a { display: block; height: 100%; padding: 0.85rem 0; text-decoration: none; }
.kids a:hover strong { text-decoration: underline; }
.kids strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.kids span { display: block; margin-top: 0.25rem; font-size: 1rem; line-height: 1.45; color: var(--navy-soft); font-weight: 400; }
.prose .kids { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 43.99em) { .kids { grid-template-columns: minmax(0, 1fr); } }

.band { padding-block: clamp(1.75rem, 4vw, 3rem); }
.band--sky { background: var(--sky); }
.band__dek { max-width: 40rem; font-size: 1.1875rem; margin-top: -0.4rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 5vw, 4.5rem); }
.split p { max-width: 34rem; }
@media (max-width: 61.99em) { .split { grid-template-columns: minmax(0, 1fr); } }
.mapband--page { padding-block: clamp(1.25rem, 3vw, 2rem); }
.mapband--page .dusk { max-width: 62rem; margin-inline: auto; }
.aside-map .dusk { border-color: var(--navy); }
.aside-map .dusk__label, .aside-map .dusk__key { display: none; }
.aside-map .dusk__label--city { display: block; font-size: 0.9375rem; }
.aside-map .dusk__point .pane { width: 0.5rem; height: 0.5rem; padding: 0.0625rem; gap: 0.03125rem; border-radius: 0.0625rem; }
.aside-map .dusk__point.is-lit .pane { width: 0.5rem; height: 0.5rem; box-shadow: 0 0 0.4rem 0.1rem rgba(255, 199, 44, 0.5); }
.aside-map .dusk__point.is-lit .dusk__name { opacity: 0; }
.aside-map .dusk__point.is-here .pane { width: 0.875rem; height: 0.875rem; padding: 0.09375rem; gap: 0.0625rem; outline: 0.125rem solid var(--white); outline-offset: 0.125rem; }
.aside-map .dusk__point.is-here .dusk__name { opacity: 1; left: 50%; right: auto; top: auto; bottom: calc(100% + 0.45rem); transform: translateX(-50%); }
.aside-map .dusk__points li:has(.is-here) { z-index: 3; }
.aside-map { --focus: #ce0e2d; }
.aside-map__more { margin-top: 0.8rem; }

/* ---- Communities --------------------------------------------------------------------------------- */

.statusbox { margin: 0 0 1.5rem; padding: 1.1rem 1.25rem 0.4rem; border: var(--frame) solid var(--navy); border-radius: 0.5rem; }
.statusbox--open { background: #fff7dc; }
.statusbox__state { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.statusbox__line { margin-bottom: 0.6rem; }
.statusbox__act { margin-top: 1rem; }
.btnrow { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.375rem; margin: 0 0 1.75rem; padding: 0.375rem; background: var(--navy); border-radius: 0.625rem; }
.facts div { background: var(--white); padding: 0.8rem 1rem; border-radius: 0.25rem; }
.facts dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-soft); }
.facts dd { margin: 0.15rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.3125rem; line-height: 1.2; }

.homes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); border-top: var(--frame) solid var(--navy); }
.home-card { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.home-card[data-filtered] { display: none; }
.home-card__window { display: block; border: var(--frame) solid var(--navy); border-radius: 0.4rem 0.4rem 0.125rem 0.125rem; padding: 0.25rem; background: var(--white); }
.home-card__window img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0.2rem 0.2rem 0 0; }
.home-card__blank { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--sky); border-radius: 0.2rem 0.2rem 0 0; }
.home-card__name { margin: 0 0 0.2rem; font-size: 1.3125rem; line-height: 1.22; }
.home-card__name a { text-decoration: none; }
.home-card__name a:hover { text-decoration: underline; }
.home-card__facts { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--navy-soft); }
.home-card__state { display: flex; align-items: center; gap: 0.5rem; margin: 0.45rem 0 0; }
.window-fit { justify-self: end; width: 100%; }
@media (max-width: 61.99em) { .homes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 35.99em) { .home-card { grid-template-columns: 7.75rem minmax(0, 1fr); gap: 0.8rem; } }

/* ---- Steps, application boxes, section tasks ----------------------------------------------------- */

.steps { margin: 0 0 1.5rem; padding: 0; list-style: none; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 0.5rem 3.5rem; margin-bottom: 1.25rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; background: var(--light); border: 0.125rem solid var(--navy); border-radius: 0.3rem; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.steps > li h2 { margin-top: 0; padding-top: 0.25rem; }
.datatable caption { caption-side: top; text-align: left; padding: 0.7rem 0.85rem; font-weight: 700; background: var(--navy); color: var(--white); }
.datatable__sub { display: block; font-weight: 400; font-size: 0.875rem; color: var(--navy-soft); }

.applybox { margin: 0 0 1.5rem; padding: 1.1rem 1.25rem 0.4rem; background: #fff7dc; border: var(--frame) solid var(--navy); border-radius: 0.5rem; }
.applybox h2 { margin-top: 0; display: flex; align-items: center; gap: 0.6rem; }
.applybox__facts { font-weight: 700; }

.tasklist { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.375rem; padding: 0.375rem; background: var(--navy); border-radius: 0.625rem; max-width: 40rem; }
.tasklist li { background: var(--white); border-radius: 0.25rem; }
.tasklist a { display: flex; gap: 0.7rem; align-items: flex-start; height: 100%; padding: 0.9rem 1rem; text-decoration: none; }
.tasklist a:hover strong { text-decoration: underline; }
.tasklist .pane { margin-top: 0.2rem; }
.tasklist strong { display: block; font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.2; }
.tasklist em { display: block; font-style: normal; font-size: 0.9375rem; color: var(--navy-soft); line-height: 1.35; margin-top: 0.15rem; }
@media (max-width: 35.99em) { .tasklist { grid-template-columns: minmax(0, 1fr); } }
.tasks__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tasks__pane-h { font-size: 1.4375rem; margin-bottom: 0.5rem; }
@media (max-width: 61.99em) { .tasks__grid--three { grid-template-columns: minmax(0, 1fr); } }

.page-head--slim { grid-template-columns: minmax(0, 1fr) 17.5rem; align-items: start; }
.stepline { margin: 0 0 1.5rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.375rem; padding: 0.375rem; background: var(--navy); border-radius: 0.625rem; }
.stepline li { background: var(--white); border-radius: 0.25rem; padding: 1rem 1.1rem; }
.stepline__n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 0.6rem; background: var(--light); border: 0.125rem solid var(--navy); border-radius: 0.3rem; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.stepline p { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
@media (max-width: 61.99em) { .stepline { grid-template-columns: repeat(2, minmax(0, 1fr)); } .page-head--slim { grid-template-columns: minmax(0, 1fr); } .page-head--slim .window { max-width: 15rem; } }
@media (max-width: 35.99em) { .stepline { grid-template-columns: minmax(0, 1fr); } }

.page-side { display: grid; gap: 1.25rem; position: sticky; top: 1rem; }
.page-side .family { position: static; }
.companion { border: var(--frame) solid var(--navy); border-radius: 0.5rem; padding: 0.9rem 1.1rem 0.4rem; background: #fff7dc; }
.companion__h { font-size: 1.1875rem; margin-bottom: 0.3rem; }
.companion__more { margin: 0.6rem 0 0.4rem; }
.minilist { margin: 0; padding: 0; list-style: none; }
.minilist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.55rem 0; border-top: 1px solid #e4d49a; }
.minilist li[hidden] { display: none; }
.minilist__what { line-height: 1.25; }
.minilist__what strong { display: block; font-family: var(--font-display); font-size: 1.0625rem; }
.minilist__what span { font-size: 0.875rem; color: var(--navy-soft); }
.btn--small { min-height: 2.5rem; padding: 0.3rem 0.8rem; font-size: 1rem; }
.stepmini { margin: 0; padding: 0; list-style: none; }
.stepmini li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; padding: 0.6rem 0; border-top: 1px solid #e4d49a; }
.stepmini .stepline__n { width: 2rem; height: 2rem; font-size: 1.1rem; margin: 0; }
.stepmini p { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.bar { display: block; height: 0.5rem; width: var(--w); max-width: 100%; margin-bottom: 0.25rem; background: var(--light); border: 0.0625rem solid var(--navy); border-radius: 0.125rem; }
@media (max-width: 61.99em) { .page-side { position: static; } }

.window--inline { max-width: 40rem; margin-block: 1.5rem; }
.longdoc__body .companion { max-width: 30rem; margin-bottom: 1.5rem; }

/* ---- People --------------------------------------------------------------------------------------- */

.people { margin: 0 0 2rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16.5rem, 100%), 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); border-top: var(--frame) solid var(--navy); }
.person { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.person__name { margin: 0; font-size: 1.25rem; }
.person__title { margin: 0.1rem 0 0; color: var(--navy-soft); line-height: 1.4; }
.person__reach { margin: 0.3rem 0 0; display: flex; flex-wrap: wrap; gap: 0 1rem; font-size: 1rem; }
.person__reach a { display: inline-flex; align-items: center; min-height: 2rem; overflow-wrap: anywhere; }
.person__duties { margin: 0.2rem 0 0; font-size: 0.9375rem; color: var(--navy-soft); }
.dept { margin-bottom: 0.5rem; scroll-margin-top: 1rem; }
.contact__office { font-style: normal; font-size: 1.25rem; line-height: 1.6; margin-bottom: 1.1rem; }

/* ---- Documents ------------------------------------------------------------------------------------- */

.docs { margin: 0 0 2rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 1.25rem 1.75rem; }
.doc { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.doc__page { width: 5.25rem; height: auto; border: 0.125rem solid var(--navy); border-radius: 0.1875rem; background: var(--white); }
.doc__title { margin: 0; font-size: 1.125rem; line-height: 1.25; }
.doc__facts { margin: 0.25rem 0 0; font-size: 0.9375rem; color: var(--navy-soft); }
.doclist { margin: 0 0 1.5rem; padding: 0; list-style: none; border-top: var(--frame) solid var(--navy); }
.doclist li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.doclist a { font-weight: 700; }
.doclist__facts { display: block; font-size: 0.9375rem; color: var(--navy-soft); }
.docgroup { scroll-margin-top: 1rem; }

/* ---- News archive and posts ---------------------------------------------------------------------- */

.band--flush { padding-top: 0; }
.filter { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(10rem, 14rem) minmax(7rem, 9rem) auto; gap: 0.6rem 0.9rem; align-items: end; padding: 0.75rem 0 0.9rem; background: var(--white); border-bottom: var(--frame) solid var(--navy); }
.filter label { display: block; font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.2rem; }
.filter input[type="search"], .filter select { width: 100%; min-height: 2.75rem; padding: 0.4rem 0.7rem; font: inherit; font-size: 1.0625rem; color: var(--navy); background: var(--white); border: 0.125rem solid var(--navy); border-radius: 0.375rem; }
.filter__go { min-height: 2.75rem; }
.filter__summary { grid-column: 1 / -1; margin: 0; font-weight: 700; font-size: 1rem; }
.filter__nojs { margin-top: 1rem; }
.filter--search { grid-template-columns: minmax(0, 1fr) auto; border-bottom: 0; max-width: 44rem; padding-top: 0; }
@media (max-width: 43.99em) {
  .filter { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) auto; gap: 0.4rem 0.6rem; padding-block: 0.5rem 0.6rem; }
  .filter__field--q { grid-column: 1 / -1; }
  .filter label { font-size: 0.875rem; margin-bottom: 0.1rem; }
  .filter--search { grid-template-columns: minmax(0, 1fr); }
}
.alertbar { background: var(--alert); color: var(--white); }
.alertbar p { margin-block: 0; padding-block: 0.6rem; }
.alertbar a { color: var(--white); font-weight: 700; }
.posts { margin: 0.4rem 0 1.5rem; padding: 0; list-style: none; }
.post { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.2rem 1.25rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.post__date { font-size: 0.9375rem; font-weight: 700; color: var(--navy-soft); font-variant-numeric: tabular-nums; padding-top: 0.2rem; }
.post__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; text-decoration: none; }
.post__title:hover { text-decoration: underline; }
.post__cat { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-soft); margin-top: 0.2rem; }
.post--none { display: block; }
@media (max-width: 43.99em) { .post { grid-template-columns: minmax(0, 1fr); } }
[data-stoa-index-pagination] { margin: 0 0 2.5rem; }
[data-stoa-index-pagination] a, [data-stoa-index-pagination] [aria-current="page"] { padding: 0 0.8rem; font-weight: 700; text-decoration: none; border: 0.125rem solid var(--navy); border-radius: 0.375rem; }
[data-stoa-index-pagination] a:hover { background: var(--sky); color: var(--navy); }
[data-stoa-index-pagination] [aria-current="page"] { background: var(--navy); color: var(--white); }
.post-title { max-width: 26ch; font-size: clamp(1.6rem, 3.6vw, 2.75rem); }
.page-head .post-title--long { max-width: 42rem; font-size: clamp(1.4rem, 2.6vw, 2.15rem); }
.page-head .post-title--longest { max-width: 52rem; font-size: clamp(1.25rem, 1.9vw, 1.75rem); }
.post-meta { margin: 0; font-weight: 700; color: var(--navy-soft); }
.postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding-block: 1.25rem 3rem; border-top: var(--frame) solid var(--navy); }
.postnav__link { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.3; text-decoration: none; }
.postnav__link:hover { text-decoration: underline; }
.postnav__item { margin: 0; }
.postnav__item span { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-soft); }
.postnav__item--older { text-align: right; grid-column: 2; }
@media (max-width: 43.99em) { .postnav { grid-template-columns: minmax(0, 1fr); } .postnav__item--older { grid-column: 1; text-align: left; } }

/* ---- Long pages: the list of parts stays in view --------------------------------------------- */

.longdoc { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: start; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.longdoc__nav { position: sticky; top: 0.75rem; max-height: calc(100vh - 1.5rem); overflow: auto; border: var(--frame) solid var(--navy); border-radius: 0.5rem; padding: 0.4rem 0.9rem; background: var(--white); }
.longdoc__nav ol { margin: 0; padding: 0; list-style: none; }
.longdoc__nav a { display: flex; align-items: center; min-height: 2.25rem; padding-block: 0.25rem; border-top: 1px solid var(--line); line-height: 1.25; text-decoration: none; font-size: 1rem; }
.longdoc__nav li:first-child a { border-top: 0; }
.longdoc__nav a:hover { text-decoration: underline; }
.longdoc__nav--years ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 0.5rem; }
.longdoc__nav--years li:first-child { grid-column: 1 / -1; }
.longdoc__nav--years a { justify-content: center; border-top: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.longdoc__nav--years li:first-child a { justify-content: flex-start; border-bottom: 1px solid var(--line); }
.longdoc__body section { scroll-margin-top: 1rem; }
.longdoc__body section > h2:first-child { margin-top: 0; }
.longdoc__body section + section { margin-top: 2.5rem; }
.honor h2 { padding-bottom: 0.4rem; border-bottom: var(--frame) solid var(--navy); }
.honoree { max-width: 44rem; padding: 1rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.honoree h3 { margin-bottom: 0.15rem; font-size: 1.4375rem; }
.honoree__where { margin-bottom: 0.5rem; color: var(--navy-soft); font-style: italic; }
.honoree p:last-child { margin-bottom: 0; }
@media (max-width: 61.99em) {
  .longdoc { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .longdoc__nav { top: 0; z-index: 10; max-height: 30svh; border-width: 0 0 var(--frame) 0; border-radius: 0; margin-inline: calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter); }
  .longdoc__nav ol { display: flex; gap: 0 1.1rem; overflow-x: auto; white-space: nowrap; }
  .longdoc__nav a { border-top: 0; min-height: 2.75rem; }
  .longdoc__nav--years ol { display: flex; }
  .longdoc__nav--years li:first-child a { border-bottom: 0; }
  .longdoc__body section { scroll-margin-top: 4rem; }
  .honoree { scroll-margin-top: 4rem; }
}

/* ---- Search ----------------------------------------------------------------------------------------- */

.answer { max-width: 46rem; margin: 0.5rem 0 1.75rem; padding: 1.1rem 1.25rem 0.6rem; background: #fff7dc; border: var(--frame) solid var(--navy); border-radius: 0.5rem; }
.answer__label { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.45rem; }
.answer__text { font-size: 1.25rem; line-height: 1.5; }
.answer__sources { margin: 0 0 0.6rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.answer__sources a { display: inline-flex; align-items: center; min-height: 2.5rem; font-weight: 700; }
.search__count { font-weight: 700; margin-bottom: 0.5rem; }
.results__group { max-width: 46rem; margin-bottom: 1.75rem; }
.results__group h2 { font-size: 1.3rem; padding-bottom: 0.3rem; border-bottom: var(--frame) solid var(--navy); margin-bottom: 0; }
.results__list { margin: 0; padding: 0; list-style: none; }
.results__list .card { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.results__list .card a { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.results__list .card p { margin: 0.15rem 0 0; font-size: 1rem; color: var(--navy-soft); line-height: 1.45; }
.search__ideas { margin-top: 1.5rem; }
.chips-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip--link { display: inline-flex; align-items: center; text-decoration: none; }
.sitemap ul { list-style: none; padding-left: 0; }
.sitemap ul ul { padding-left: 1.4rem; border-left: 1px solid var(--line); margin: 0.2rem 0 0.6rem; }
.sitemap > ul > li { margin-bottom: 0.6rem; }
.sitemap > ul > li > a { font-family: var(--font-display); font-size: 1.25rem; }
.sitemap a { display: inline-block; padding-block: 0.25rem; }

/* ---- Forms -------------------------------------------------------------------------------------- */

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; max-width: 44rem; }
.form > * { grid-column: 1 / -1; margin: 0; }
.form__field { grid-column: span 1; }
.form__field--wide, .form__field--choice { grid-column: 1 / -1; }
.form label, .form legend { display: block; font-weight: 700; margin-bottom: 0.3rem; padding: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="password"], .form input[type="date"], .form select, .form textarea { width: 100%; min-height: 3rem; padding: 0.55rem 0.75rem; font: inherit; color: var(--navy); background: var(--white); border: 0.125rem solid var(--navy); border-radius: 0.375rem; }
.form input[type="file"] { font: inherit; max-width: 100%; }
.form textarea { min-height: 8rem; resize: vertical; }
.form fieldset { border: 0; padding: 0; min-width: 0; }
.form__check { display: flex !important; gap: 0.6rem; align-items: flex-start; font-weight: 400 !important; min-height: 2.75rem; padding-block: 0.4rem; margin: 0 !important; }
.form__check input { width: 1.5rem; height: 1.5rem; margin: 0.1rem 0 0; flex: none; accent-color: var(--navy); }
.form__star { color: var(--red); }
.form__req, .form__note { font-size: 1rem; color: var(--navy-soft); }
.form__h { margin-top: 0.75rem; font-size: 1.45rem; }
.form__trap { position: absolute; left: -200vw; }
.form__errors { padding: 0.9rem 1rem; background: #fdecee; border-left: 0.375rem solid var(--red); border-radius: 0 0.375rem 0.375rem 0; }
.form__errors ul { margin: 0.4rem 0 0; }
.form [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 0.125rem var(--red); }
.form__done { max-width: 44rem; padding: 1.1rem 1.25rem; background: #fff7dc; border: var(--frame) solid var(--navy); border-radius: 0.5rem; }
.form__done h2, .form__done h3 { margin-bottom: 0.4rem; }
.form__field .form__note { margin: 0.35rem 0 0; }
.portal .form, .portal .form__done { padding: 1.25rem 1.4rem 1.4rem; border: var(--frame) solid var(--navy); border-radius: 0.5rem; }
.portal-reports { margin-top: 2.75rem; }
@media (max-width: 35.99em) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---- Footer -------------------------------------------------------------------------------------- */

.foot { background: var(--navy); color: var(--white); padding-block: clamp(2.25rem, 5vw, 3.5rem) 1.5rem; --focus: #ffc72c; font-size: 1.0625rem; }
.foot a { color: var(--white); }
.foot a:hover { color: var(--light); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.25rem, 3vw, 3rem); }
.foot__logo { width: 11rem; margin-bottom: 1rem; }
.foot address { font-style: normal; margin-bottom: 0.8rem; }
.foot__h { font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; color: #d5def2; }
.foot__nav ul { margin: 0; padding: 0; list-style: none; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 2.5rem; }
.foot__fair { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.foot__fair p { max-width: 62rem; font-size: 0.9375rem; line-height: 1.55; color: #e3e9f7; margin: 0; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.foot__social, .foot__legal { display: flex; flex-wrap: wrap; gap: 0 1.4rem; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.foot__social a, .foot__legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (max-width: 61.99em) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 35.99em) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .proto-banner, .mast, .foot__nav, .foot__base, .family, .finder, .omni, .skip, .board__alert { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .foot { background: none; color: #000; padding: 1rem 0 0; }
  .foot a { color: #000; }
  .foot__logo { display: none; }
  a { color: #000; }
  .mapband { background: none; color: #000; }
}
