/* theme.css — the City of Monroe's site.
 *
 * The non-obvious decisions:
 *
 * - The colours are the City's own (the rust of its wordmark, its river teal,
 *   its sage) on a white ground. Rust is the brand, never a warning; alerts
 *   and cancelled meetings are amber with words.
 * - One graphic device: the river band behind the six verbs. Everything else
 *   is separated by space and, where a line helps, a plain horizontal river
 *   rule; no ticks, bars or vertical dividers.
 * - Josefin Sans (the City's face) sets headings, verbs and navigation at 18px
 *   or more; Mulish sets everything to read. Josefin sits low in its line box,
 *   so filled controls carry a little more padding above than below.
 * - Photographs are never cropped by a stylesheet: every frame shows the file
 *   it loads whole, so a face or a river is never cut by a breakpoint.
 * - Focus rings on joined controls (the search field and its button) are
 *   drawn inside the control, so neither half can clip the other's ring.
 */

:root {
  --paper: #ffffff;
  --ink: #1b2a2e;
  --ink-soft: #46585d;
  --river: #335c64;
  --river-700: #234c54;
  --river-light: #8fbcc5;
  --deep: #0a373e;
  --deeper: #06282d;
  --rust: #a54122;
  --rust-dark: #7b2000;
  --sage: #9db86f;
  --sage-ink: #4d641b;
  --mist: #e9f3f5;
  --mist-2: #dcebee;
  --amber: #f4b740;
  --amber-soft: #fdf1d3;
  --stone: #dcd9d3;
  --line: #cfd9db;
  --accent-50: #fff2ee;
  --accent-100: #ffe0d7;
  --accent-200: #ffc0ad;
  --accent-300: #ff9272;
  --accent-400: #d97051;
  --accent-500: #b75133;
  --accent-600: #a54122;
  --accent-700: #7b2000;
  --accent-800: #5a1400;
  --accent-900: #370700;
  --display: "Josefin Sans", "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif;
  --body: "Mulish", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --fs-sm: 0.875rem;
  --fs-0: clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
  --fs-1: clamp(1.125rem, 1.08rem + 0.22vw, 1.25rem);
  --fs-2: clamp(1.35rem, 1.22rem + 0.6vw, 1.7rem);
  --fs-3: clamp(1.7rem, 1.42rem + 1.3vw, 2.5rem);
  --fs-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem);
  --wrap: 80rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --focus: var(--rust);
  --band: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--fs-0); line-height: 1.65; font-optical-sizing: auto; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--river-700); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--deep); }
h1 { font-size: var(--fs-4); letter-spacing: -0.01em; }
/* A long City title (a long word, or many words) steps down on a phone so it breaks into lines of words, not a staircase of single words; it stays above the h2 size. */
@media (max-width: 30em) { h1.h1--long { font-size: clamp(1.5rem, 1rem + 2.4vw, 2.1rem); } }
h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-1); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
.nowrap { white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 0.75rem; top: -4rem; z-index: 100; padding: 0.7rem 1rem 0.55rem; background: var(--deep); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.125rem; text-decoration: none; }
.skip-link:focus { top: 0.5rem; color: #fff; outline-color: var(--amber); }

/* ---- The notice and the masthead ------------------------------------------------ */
.proto-banner { background: var(--deeper); color: #fff; font-size: var(--fs-sm); text-align: center; padding: 0.4rem var(--gutter); }
.proto-banner p { margin: 0; }
.proto-banner a { color: #fff; }
.proto-banner a:focus-visible { outline-color: var(--amber); }

.masthead { background: var(--paper); border-bottom: 3px solid var(--river); position: relative; z-index: 30; }
.masthead__bar { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.75rem 1rem; padding-block: 0.6rem; }
.brand { display: block; line-height: 0; }
.brand__logo { width: 6.5rem; height: auto; }
.masthead__search { grid-column: 1 / -1; grid-row: 2; }
.menu, .menu-btn { justify-self: end; grid-column: 2; grid-row: 1; }
.menu > summary, .menu-btn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.6rem 1rem 0.45rem; border: 2px solid var(--river); background: var(--paper); color: var(--deep); font-family: var(--display); font-weight: 600; font-size: 1.125rem; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::before, .menu-btn::before { content: "\2630" / ""; font-family: var(--body); font-size: 1em; line-height: 1; margin-top: -0.15em; }
.menu[open] > summary::before, .menu-btn[aria-expanded="true"]::before { content: "\2715" / ""; }

.primary-nav { display: none; border-top: 1px solid var(--line); }
.masthead:has(.menu[open]) .primary-nav, .masthead.menu-open .primary-nav { display: block; }
.primary-nav__list, .utility-nav { list-style: none; margin: 0; padding: 0; }
.primary-nav__list { display: flex; flex-direction: column; padding-block: 0.4rem; }
.primary-nav__list a { position: relative; display: flex; align-items: center; min-height: 2.75rem; padding: 0.35rem 0 0.2rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--deep); text-decoration: none; }
.primary-nav__list a:hover { color: var(--rust-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.primary-nav__list a[aria-current] { color: var(--rust-dark); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.utility-nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; padding: 0.25rem 0 0.75rem; border-top: 1px solid var(--line); }
.utility-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; font-size: var(--fs-sm); }

/* The one box: a field and its button, joined; both rings drawn inside. */
.omni { position: relative; display: flex; max-width: 44rem; }
.omni__input { flex: 1; min-width: 0; min-height: 3rem; padding: 0.5rem 0.9rem; border: 2px solid var(--river); border-right: 0; border-radius: 4px 0 0 4px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.omni__input::placeholder { color: var(--ink-soft); opacity: 1; }
.omni__input:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.omni__submit { min-height: 3rem; padding: 0.6rem 1.1rem 0.4rem; border: 2px solid var(--rust); border-radius: 0 4px 4px 0; background: var(--rust); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.125rem; cursor: pointer; }
.omni__submit:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.omni__submit:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.omni__list { position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 0.35rem 0; list-style: none; background: #fff; border: 2px solid var(--river); border-radius: 4px; box-shadow: 0 14px 30px -12px rgba(10, 55, 62, 0.45); max-height: min(70vh, 30rem); overflow-y: auto; }
.omni__group { padding: 0.55rem 0.9rem 0.15rem; font-size: 0.8125rem; font-weight: 800; color: var(--river-700); }
.omni__option { display: flex; flex-direction: column; gap: 0.05rem; padding: 0.5rem 0.9rem; min-height: 2.75rem; justify-content: center; cursor: pointer; border-left: 3px solid transparent; }
.omni__option-title { font-weight: 700; color: var(--deep); line-height: 1.3; }
.omni__option-meta { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.3; }
.omni__option[aria-selected="true"], .omni__option:hover { background: var(--mist); border-left-color: var(--rust); }
.omni__option--ask .omni__option-title { color: var(--rust-dark); }
.omni__option--empty { cursor: default; color: var(--ink-soft); }

@media (min-width: 64em) {
  .masthead__bar { grid-template-columns: auto minmax(0, 1fr); gap: 2rem; padding-block: 0.75rem 0.6rem; }
  .brand__logo { width: 8.75rem; }
  .masthead__search { grid-column: 2; grid-row: 1; justify-self: end; width: min(100%, 40rem); }
  .menu, .menu-btn { display: none; }
  .primary-nav { display: block; }
  .primary-nav__inner { display: flex; align-items: stretch; justify-content: space-between; gap: 1.5rem; }
  .primary-nav__list { flex-direction: row; flex-wrap: wrap; gap: 0 0.35rem; padding-block: 0; }
  .primary-nav__list a { min-height: 3rem; padding: 0.55rem 0.95rem 0.35rem; font-size: 1.1875rem; }
  .primary-nav__list li:first-child a { padding-left: 0.95rem; }
  .utility-nav { border-top: 0; padding: 0; align-items: center; gap: 0 1.4rem; flex-wrap: nowrap; }
  .utility-nav a { min-height: 3rem; }
}

/* ---- The river rule: one plain line under a page head ------------------------------- */
.claim-rule { height: 3px; background: var(--river); }
.page-head + .claim-rule { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto 2.25rem; }
.claim-rule--footer { height: 5px; background: var(--sage); }

/* ---- The alert slot ------------------------------------------------------------------ */
.alert-slot { background: var(--amber); color: var(--ink); }
.alert-slot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; padding-block: 0.7rem; }
.alert-slot__mark { width: 0.3rem; align-self: stretch; background: var(--ink); }
.alert-slot__body { margin: 0; flex: 1 1 20rem; }
.alert-slot__link { color: var(--ink); font-weight: 800; }

/* ---- The homepage: a photograph, a river band, six claims ------------------------------- */
.hero { position: relative; background: var(--deep); }
.hero__photo { display: block; }
.hero__img { width: 100%; height: auto; }
.hero__panel { background: var(--deep); color: #fff; padding: 1.5rem var(--gutter) 1.6rem; margin-inline: calc(-1 * var(--gutter)); }
.hero__panel h1 { color: #fff; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); }
.hero__lede { margin: 0.6rem 0 0; color: var(--mist-2); max-width: 34rem; }
.hours-line { margin: 0.75rem 0 0; font-weight: 700; }
.hours-line--hero { color: var(--sage); }
@media (min-width: 44em) {
  .hero__panel-wrap { position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3vw, 2.5rem); }
  .hero__panel { display: inline-block; margin-inline: 0; padding: 1.5rem 1.75rem 1.6rem; max-width: 34rem; }
}

.claims { position: relative; background: var(--paper); }
.claims__lots { display: grid; grid-template-columns: 1fr; }
.claim { position: relative; border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; }
.claim__verb { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); background: var(--river); font-size: 1.5rem; }
.claim__verb a { display: flex; align-items: center; min-height: 3.25rem; padding-top: 0.2rem; color: #fff; text-decoration: none; }
.claim__verb a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.claim__verb a:focus-visible { outline-color: #fff; outline-offset: -4px; }
.claim__tasks { list-style: none; margin: 0; padding: 0.35rem 0 0; }
.claim__task a { display: block; padding: 0.5rem 0; line-height: 1.3; text-decoration: none; color: var(--ink); min-height: 2.75rem; }
.claim__task a:hover .task__label, .task-list__item a:hover .task__label, .link-list__item a:hover .task__label { text-decoration: underline; color: var(--rust-dark); }
.task__label { font-weight: 700; color: var(--deep); }
.task__via { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }
.claim__task:nth-child(n + 4) { display: none; }
.claim__group { margin: 1rem 0 0; font-size: 1.125rem; color: var(--river-700); }
.claim__all { margin: 0.35rem 0 0; font-weight: 800; font-size: var(--fs-sm); }
.claim__all a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.claims--full .claim__task:nth-child(n + 4) { display: block; }
.after-claims { padding-block: 1.5rem 3rem; }

@media (min-width: 44em) {
  .claims__lots { grid-template-columns: repeat(3, 1fr); }
  .claim { border-bottom: 0; padding: 0 1rem 1.5rem; }
  .claim__verb { margin: 0 -1rem; padding: 0 1rem; }
  .claim__task:nth-child(n + 4) { display: block; }
  .claim__verb a { min-height: var(--band); }
}
@media (min-width: 64em) {
  .claims__lots { grid-template-columns: repeat(6, 1fr); }
  .claim__verb { background: none; font-size: clamp(1.45rem, 1rem + 0.9vw, 1.9rem); }
  /* One river band behind all six verbs, from edge to edge. When the page opens, one
     glint of current runs down it toward Lake Erie and the band then rests: a single
     pass under five seconds, so nothing on the page keeps moving (WCAG 2.2.2). */
  .claims::before { content: ""; position: absolute; inset: 0 0 auto 0; height: var(--band); background-color: var(--river);
    background-image: linear-gradient(100deg, transparent 0 42%, rgba(255, 255, 255, 0.09) 50%, transparent 58%); background-size: 300% 100%; background-position: 100% 0; }
  .claims__lots { position: relative; padding-bottom: 2.5rem; }
  .claims--full .claim { padding-bottom: 2rem; }
}
@media (min-width: 64em) and (prefers-reduced-motion: no-preference) {
  .claims::before { animation: current 3.2s cubic-bezier(0.35, 0.1, 0.4, 1) 0.4s 1 both; }
}
@keyframes current { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* ---- Calendar and news ---------------------------------------------------------------- */
.today { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 60em) { .today { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.today h2, .hall h2, .connect h2, .depts h2 { margin-bottom: 1.1rem; }
.dated-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--river); }
.dated { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: 0 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.dated[hidden] { display: none; }
.dated__day { display: flex; flex-direction: column; line-height: 1.1; }
.dated__dow { font-size: 0.8125rem; font-weight: 800; color: var(--ink-soft); }
.dated__date { font-family: var(--display); font-weight: 600; font-size: 2rem; color: var(--deep); padding-top: 0.2rem; }
.dated__body { display: flex; flex-direction: column; justify-content: center; }
.dated__title { font-weight: 800; color: var(--deep); line-height: 1.3; }
a.dated__title { text-decoration-thickness: 0.06em; }
.dated__meta { font-size: var(--fs-sm); color: var(--ink-soft); }
.dated--cancelled .dated__title { text-decoration: line-through; text-decoration-thickness: 1px; }
.status { display: inline-block; padding: 0.05rem 0.45rem; background: var(--amber); color: var(--ink); font-weight: 800; font-size: 0.8125rem; border-radius: 2px; }
.empty-note { margin: 1rem 0 0; padding: 0.9rem 1rem; background: var(--mist); }
.more { margin: 1.1rem 0 0; font-weight: 800; }
.more a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.more--light a { color: #fff; }
.more--light a:hover { color: var(--sage); }

.lead-story { display: grid; gap: 1rem 1.5rem; padding-bottom: 1.25rem; border-top: 3px solid var(--river); padding-top: 1.1rem; }
.lead-story__img { width: 100%; max-width: 15rem; height: auto; border: 1px solid var(--line); }
.lead-story__title { font-size: var(--fs-2); margin: 0.2rem 0 0.5rem; }
.lead-story__title a { color: var(--deep); text-decoration: none; }
.lead-story__title a:hover { color: var(--rust-dark); text-decoration: underline; }
.lead-story p { margin: 0; }
@media (min-width: 36em) { .lead-story:has(.lead-story__img) { grid-template-columns: 13rem minmax(0, 1fr); } }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-row { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.news-row__date { display: block; font-size: 0.8125rem; font-weight: 800; color: var(--ink-soft); }
.news-row__title { font-size: var(--fs-1); margin: 0.15rem 0 0.3rem; }
.news-row__title a { color: var(--deep); text-decoration: none; }
.news-row__title a:hover { color: var(--rust-dark); text-decoration: underline; }
.news-row__summary { margin: 0; color: var(--ink-soft); max-width: 60rem; }
.news-list--compact .news-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0 1rem; align-items: baseline; padding: 0.6rem 0; }
.news-list--compact .news-row__date { padding-top: 0.15rem; }
.news-row__link { font-weight: 700; color: var(--deep); line-height: 1.35; padding-block: 0.3rem; }

/* ---- The river room: parks on the Raisin -------------------------------------------------- */
.river-room { background: var(--deep); color: #fff; padding-block: clamp(2.5rem, 5vw, 4.5rem); --focus: #fff; }
.river-room h2 { color: #fff; font-size: var(--fs-3); }
.river-room__head { display: grid; gap: 0.75rem 3rem; margin-bottom: 1.75rem; }
.river-room__lede { margin: 0; color: var(--mist-2); max-width: 44rem; }
@media (min-width: 60em) { .river-room__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; } }
.river-room--page { padding-block: 2rem 3rem; margin-top: 1.5rem; }
.river-room--page h2 { font-size: var(--fs-2); margin-bottom: 1.25rem; }
.after-room { padding-block: 2rem 3.5rem; }

.explorer { display: grid; gap: 1.25rem; }
.explorer__filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.explorer__filters legend { padding: 0; margin-bottom: 0.6rem; font-family: var(--display); font-weight: 600; font-size: 1.125rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip__text { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.3rem 0.95rem; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 2rem; font-weight: 700; font-size: var(--fs-sm); color: #fff; }
.chip input:hover + .chip__text { border-color: #fff; }
.chip input:checked + .chip__text { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.chip input:checked + .chip__text::before { content: "\2713" / ""; margin-right: 0.4rem; font-weight: 800; }
.chip input:focus-visible + .chip__text { outline: 3px solid #fff; outline-offset: 2px; }
.explorer__go { margin-top: 0.9rem; min-height: 2.75rem; padding: 0.55rem 1.2rem 0.4rem; border: 2px solid #fff; background: transparent; color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.125rem; cursor: pointer; }
.explorer__go:hover { background: #fff; color: var(--deep); }
.js .explorer__go { display: none; }
.explorer__status { margin: 0; min-height: 1.6em; font-weight: 700; color: var(--sage); }
.explorer__status:empty { display: none; }

/* The parks page: every park as a card, set in columns so each photograph keeps its own shape. */
.park-cards { list-style: none; margin: 0.5rem 0 0; padding: 0; columns: 3 17rem; column-gap: 1.5rem; }
.park-card { break-inside: avoid; margin: 0 0 1.5rem; background: var(--deeper); color: #fff; }
.park-card[hidden] { display: none; }
.park-card .photo { margin: 0; }
.park-card .photo--upright, .nearby .photo--upright { max-width: none; }
.park-card__words { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.8rem 1rem 1rem; }
.park-card:not(.park-card--photo) .park-card__words { border-top: 5px solid var(--sage); }
.park-card__name { font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; color: #fff; text-decoration: none; padding-block: 0.2rem; }
.park-card__name:hover { color: var(--sage); text-decoration: underline; }
.park-card__where { font-size: var(--fs-sm); color: var(--mist-2); line-height: 1.4; }
.park-card__has { font-size: var(--fs-sm); font-weight: 700; color: var(--sage); line-height: 1.4; }

/* The homepage: three parks in the City's photographs, one shared height, nothing cropped. */
.park-photos { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 36em) {
  .park-photos { display: flex; align-items: flex-start; }
  .park-photo { flex: var(--ar, 1.5) 1 0%; min-width: 0; }
}
.park-photo .photo { margin: 0; }
.park-photo__link { margin: 0.6rem 0 0; line-height: 1.3; }
.park-photo__link a { font-family: var(--display); font-weight: 600; font-size: 1.375rem; color: #fff; }
.park-photo__link a:hover { color: var(--sage); }
.park-photo__what { display: block; font-size: var(--fs-sm); color: var(--mist-2); }
.park-finds { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.park-finds__label { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: #fff; }
.park-finds__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.3rem 1rem; border-radius: 2rem; background: var(--sage); color: var(--ink); font-weight: 800; font-size: var(--fs-sm); text-decoration: none; }
.chip-link:hover { background: #fff; color: var(--deep); }
.river-room .chip-link:focus-visible { outline-color: #fff; }

/* ---- City Hall and Stay Connected ------------------------------------------------------- */
.hall { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 60em) { .hall { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } }
.hall__where { font-size: var(--fs-1); margin-bottom: 1rem; }
.sec-title { position: relative; }
.depts { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.depts__grid { display: grid; gap: 2rem; }
.depts__people { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 36em) {
  /* A justified row: each card's width follows its photograph's shape, so every photograph shows whole at one height. */
  .depts__people { display: flex; align-items: flex-start; }
  .dept-photo { flex: var(--ar, 1.5) 1 0%; min-width: 0; }
}
.dept-photo__link { margin: 0.5rem 0 0; font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.dept-photo__link a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--deep); }
.dept-photo__link a:hover { color: var(--rust-dark); }
.dept-photo .photo__label { display: none; }
/* The photographs run the full width; the department list sits under them in columns. */
.dept-list { list-style: none; margin: 0; padding: 0; columns: 2 10rem; column-gap: 2rem; }
@media (min-width: 64em) { .depts .dept-list { columns: 4; column-gap: 2.5rem; } }
.dept-list li { break-inside: avoid; }
.dept-list a { display: inline-flex; align-items: center; min-height: 2.25rem; font-weight: 700; }
/* Stay Connected: a resident at the City's tree lighting beside three ways to hear from City Hall, each in one of the City's colours. */
.connect { background: var(--mist); padding-block: clamp(2.5rem, 5vw, 4rem); }
.connect__inner { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 60em) { .connect__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; } }
.connect__photo { margin: 0; }
.connect__photo .photo__label { margin-top: 0.5rem; }
.connect h2 { font-size: var(--fs-3); margin-bottom: 1.25rem; }
.ways { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40em) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.way { display: flex; flex-direction: column; min-height: 11rem; }
.way__link { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; padding: 1.1rem 1.15rem 1.15rem; color: inherit; text-decoration: none; }
.way--river { gap: 0.35rem; padding: 1.1rem 1.15rem 1.15rem; }
.way p { margin: 0; }
.way__name { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; }
.way__what { line-height: 1.4; }
.way__go { margin-top: auto; padding-top: 0.6rem; font-family: var(--display); font-weight: 600; font-size: 1.1875rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.way__go::after { content: " \2192" / ""; }
.way__stores { margin-top: auto !important; padding-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.way__stores a { display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--display); font-weight: 600; font-size: 1.1875rem; color: #fff; text-decoration-thickness: 2px; }
.way--rust { background: var(--rust); color: #fff; }
.way--sage { background: var(--sage); color: var(--ink); }
.way--river { background: var(--river); color: #fff; }
/* The tile keeps its own text colour on hover and focus; the site-wide a:hover rust would vanish on the rust tile. */
.way .way__link:hover, .way .way__link:focus-visible { color: inherit; }
.way__link:hover .way__go { text-decoration-thickness: 3px; }
.way--rust .way__link:focus-visible, .way--river a:focus-visible { outline-color: #fff; outline-offset: -5px; }
.way--sage .way__link:focus-visible { outline-color: var(--deep); outline-offset: -5px; }
.way__stores a:hover { color: var(--mist-2); }
.connect__social { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; }
.connect__follow { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; color: var(--deep); }
.connect__social a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 800; }

/* ---- Photographs --------------------------------------------------------------------------- */
.photo { margin: 0; }
.photo__img { width: 100%; height: auto; }
.photo__label { display: flex; flex-wrap: wrap; gap: 0 0.6rem; align-items: baseline; padding: 0; margin-top: 0.6rem; line-height: 1.3; }
.photo__title { font-family: var(--display); font-weight: 600; font-size: 1.125rem; color: var(--deep); }
.photo__place { font-size: var(--fs-sm); color: var(--ink-soft); }
.photo--upright { max-width: 22rem; }
.photo--rail { max-width: 26rem; }
.photo--rail .photo__title { font-size: 1.0625rem; }

/* ---- Interior pages ---------------------------------------------------------------------------- */
.crumbs { padding-block: 1rem 0; font-size: var(--fs-sm); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
.crumbs li { display: inline-flex; align-items: center; min-height: 1.75rem; }
.crumbs li + li::before { content: "/" / ""; margin-right: 0.5rem; color: var(--ink-soft); }
.crumbs a { color: var(--river-700); }
.crumbs [aria-current] { color: var(--ink-soft); }
.page-head { padding-block: 1.1rem 1.4rem; display: grid; gap: 1.5rem 3rem; }
.page-head__lede { margin: 0.9rem 0 0; font-size: var(--fs-1); line-height: 1.5; color: var(--ink-soft); max-width: 46rem; }
.page-head__date { margin: 0.75rem 0 0; font-weight: 700; color: var(--ink-soft); }
.page-head .hours-line { color: var(--deep); }
.lang-switch { margin: 0.75rem 0 0; font-weight: 700; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (min-width: 60em) {
  .page-head--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); align-items: start; }
  .page-head--lost { padding-block: 3rem; }
}
.layout { display: grid; gap: 2.5rem 4rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 60em) { .layout { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } }

/* A web address the City printed in full breaks where it must instead of widening the page. */
.prose { max-width: 46rem; min-width: 0; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.2rem 0 0.7rem; }
.prose h3 { margin: 1.7rem 0 0.5rem; }
.prose h4 { margin: 1.4rem 0 0.4rem; font-size: 1.125rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.1rem; margin-bottom: 0.4rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0.15rem; top: 0.62em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--rust); }
.prose ol { padding-left: 1.4rem; }
.prose ol > li { margin-bottom: 0.4rem; }
.prose blockquote { margin: 1.25rem 0; padding: 0.25rem 0 0.25rem 1.1rem; border-left: 3px solid var(--river); color: var(--ink-soft); }
.prose a { font-weight: 600; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); }
.table-scroll:focus-visible { outline-offset: -3px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: 0.9688rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; background: var(--mist); color: var(--deep); padding-top: 0.75rem; }
.prose tr:last-child td { border-bottom: 0; }

.child-pages { margin-top: 2.25rem; }
.child-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--river); }
.prose .child-list > li { padding: 0.8rem 0 0.85rem; margin: 0; border-bottom: 1px solid var(--line); }
.prose .child-list > li::before { display: none; }
.child-list a { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; color: var(--deep); }
.child-list a:hover { color: var(--rust-dark); }
/* An excerpt that stops mid-sentence: the ellipsis is drawn, so the words stay the City's own. */
.is-cut::after { content: "\2026" / ""; }
.child-list__summary { display: block; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.45; }

.rail { display: grid; gap: 2rem; min-width: 0; }
.rail h2 { font-size: 1.25rem; margin-bottom: 0.7rem; padding-bottom: 0.45rem; border-bottom: 3px solid var(--river); }
/* Parks nearby: the two closest parks the City has photographed, each whole at the rail's width. */
.nearby__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.nearby__park .photo { margin: 0; }
.nearby__name { margin: 0.45rem 0 0; line-height: 1.3; }
.nearby__name a { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; color: var(--deep); }
.nearby__name a:hover { color: var(--rust-dark); }
.nearby__has { display: block; font-size: var(--fs-sm); color: var(--ink-soft); }
.contact-card { background: var(--mist); padding: 1.2rem 1.25rem 1.1rem; }
.contact-card__note { display: block; font-size: 0.8125rem; color: var(--ink-soft); }
.contact-card h2 { border-bottom-color: var(--river); }
.contact-card__name { margin: 0 0 0.6rem; font-weight: 800; color: var(--deep); line-height: 1.35; }
.contact-card__role { display: block; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-soft); }
.contact-card__facts { margin: 0; }
.contact-card__facts dt { margin-top: 0.6rem; }
.facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.35rem 0.9rem; }
.contact-card__facts dt, .facts dt { font-weight: 800; font-size: var(--fs-sm); color: var(--ink-soft); padding-top: 0.12rem; }
.contact-card__facts dd, .facts dd { margin: 0; overflow-wrap: anywhere; }
.facts { margin-top: 1.1rem; max-width: 40rem; }
.facts--big { font-size: var(--fs-1); margin: 0 0 1.5rem; }
.link-list, .task-list, .section-nav ul { list-style: none; margin: 0; padding: 0; }
.prose .task-list > li, .prose .link-list > li { padding-left: 0; margin: 0; }
.prose .task-list > li::before, .prose .link-list > li::before { display: none; }
.link-list__item a, .task-list__item a { position: relative; display: block; padding: 0.55rem 0; line-height: 1.3; text-decoration: none; border-bottom: 1px solid var(--line); min-height: 2.75rem; }
.task-list { border-top: 3px solid var(--river); margin-bottom: 1.5rem; }
.task-list__item a { padding-block: 0.8rem; }
.task-list__item .task__label { font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.link-list--row { display: flex; flex-wrap: wrap; gap: 0 2.5rem; }
.link-list--row .link-list__item a { border-bottom: 0; }
.link-list--verbs .task__label { font-family: var(--display); font-weight: 600; font-size: 1.375rem; }
.section-nav li { border-bottom: 1px solid var(--line); }
.section-nav a, .section-nav [aria-current] { display: block; padding: 0.55rem 0; line-height: 1.3; font-weight: 700; min-height: 2.5rem; }
.section-nav a { text-decoration: none; }
.section-nav a:hover { text-decoration: underline; }
.section-nav [aria-current] { color: var(--rust-dark); background: var(--mist); padding-inline: 0.6rem; }
.story__picture { margin: 0; }
.story__picture img { width: 100%; max-width: 22.5rem; height: auto; border: 1px solid var(--line); }
.videos { margin-top: 2.25rem; }

/* ---- Section pages: the City's menu groups as lots -------------------------------------------- */
.lots { display: grid; gap: 0; padding-bottom: clamp(3rem, 6vw, 5rem); }
.lot { padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--line); position: relative; }
.lot__title { font-size: var(--fs-2); margin-bottom: 0.6rem; }
.lot__title a { color: var(--deep); text-decoration: none; }
.lot__title a:hover { color: var(--rust-dark); text-decoration: underline; }
.lot__links .link-list__item a { border-bottom: 0; padding-block: 0.4rem; min-height: 2.5rem; }
@media (min-width: 44em) {
  .lots { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .lot { border-top: 3px solid var(--river); padding: 0.9rem 0 2.25rem; }
}
@media (min-width: 72em) { .lots { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); } }
.verb-page h2 { font-size: var(--fs-2); }
.more-lots { padding-top: 1rem; }
.more-lots > h2 { margin-bottom: 1.25rem; }
.lots--inline { padding-bottom: 1.5rem; }
.lots--inline .lot__title { font-size: var(--fs-1); }
@media (min-width: 44em) { .lots--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lots--inline .lot__links { columns: 1; } }
@media (min-width: 72em) { .lots--inline .lot__links { columns: 2; column-gap: 1.5rem; } .lots--inline .link-list__item { break-inside: avoid; } }

/* ---- Departments ---------------------------------------------------------------------------------- */
.dept-directory { list-style: none; margin: 0 0 clamp(3rem, 6vw, 5rem); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); column-gap: 2rem; }
.dept-card { position: relative; padding: 0.8rem 0 1.6rem; border-top: 3px solid var(--river); }
.dept-card__title { font-size: 1.375rem; line-height: 1.2; margin-bottom: 0.45rem; }
.dept-card__title a { color: var(--deep); text-decoration: none; }
.dept-card__title a:hover { color: var(--rust-dark); text-decoration: underline; }
.dept-card__lead { margin: 0 0 0.4rem; font-weight: 700; line-height: 1.35; }
.dept-card__role { display: block; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-soft); }
.dept-card__reach { margin: 0; display: flex; flex-direction: column; font-size: 0.9375rem; overflow-wrap: anywhere; }
.dept-card__reach a { padding-block: 0.3rem; }

/* ---- Long lists ---------------------------------------------------------------------------------- */
.index { padding-bottom: clamp(3rem, 6vw, 5rem); }
.index-controls { background: var(--paper); padding-block: 0.75rem 0.6rem; border-bottom: 3px solid var(--river); }
.index-form { display: flex; flex-wrap: wrap; align-items: end; gap: 0.6rem 0.75rem; }
.index-form__field { display: flex; flex-direction: column; flex: 1 1 14rem; min-width: 0; }
.index-form__field--select { flex: 0 1 12rem; }
.index-form__label { font-size: 0.8125rem; font-weight: 800; color: var(--ink-soft); margin-bottom: 0.15rem; }
.index-form input[type="search"], .index-form select { min-height: 2.75rem; padding: 0.4rem 0.75rem; border: 2px solid var(--river); border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; width: 100%; }
.index-form input[type="search"]:focus-visible, .index-form select:focus-visible { outline-offset: -3px; }
.index-form__submit { min-height: 2.75rem; padding: 0.55rem 1.1rem 0.4rem; border: 2px solid var(--rust); border-radius: 4px; background: var(--rust); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.125rem; cursor: pointer; }
.index-form__submit:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.index-form__submit:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.index-summary { margin: 0.5rem 0 0; font-weight: 700; font-size: var(--fs-sm); color: var(--ink-soft); }
[data-stoa-index-results]:focus { outline: none; }
[data-stoa-index-pagination] { margin-top: 1.5rem; }
[data-stoa-index-pagination] ul { margin: 0; }
[data-stoa-index-pagination] a, [data-stoa-index-pagination] [aria-current="page"] { padding: 0.4rem 0.8rem 0.25rem; border: 2px solid var(--river); font-family: var(--display); font-weight: 600; font-size: 1.125rem; text-decoration: none; color: var(--deep); }
[data-stoa-index-pagination] a:hover { background: var(--mist); }
[data-stoa-index-pagination] [aria-current="page"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.doc-list, .directory { list-style: none; margin: 0; padding: 0; }
.doc-row { display: grid; gap: 0.15rem 1.5rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.doc-row__title { font-weight: 800; font-size: 1.0625rem; color: var(--deep); line-height: 1.35; padding-block: 0.2rem; }
.doc-row__meta { font-size: var(--fs-sm); color: var(--ink-soft); }
.doc-row__status { justify-self: start; font-size: 0.8125rem; font-weight: 800; padding: 0.1rem 0.5rem; border-radius: 2px; }
.doc-row__status--tagged { background: #e2edd3; color: #2c3d00; }
.doc-row__status--text { background: var(--mist-2); color: var(--river-700); }
.doc-row__status--scan { background: var(--amber-soft); color: #5c3d00; }
@media (min-width: 52em) { .doc-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .doc-row__title { grid-column: 1; } .doc-row__meta { grid-column: 1; } .doc-row__status { grid-column: 2; grid-row: 1 / span 2; justify-self: end; } }
.directory__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.directory__service { font-weight: 800; color: var(--deep); }
.directory__dept, .directory__phone { font-size: 0.9375rem; }
.directory__dept a, .directory__phone a { display: inline-flex; align-items: center; min-height: 1.75rem; }
@media (min-width: 44em) { .directory__row { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) 9rem; align-items: center; } .directory__phone { text-align: right; } }
.calendar__through { margin: 0.9rem 0 0; color: var(--ink-soft); font-size: var(--fs-sm); }
.months { margin-top: 2.5rem; }
.months h2 { font-size: 1.25rem; margin-bottom: 0.8rem; padding-bottom: 0.45rem; border-bottom: 3px solid var(--river); }
.months ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.months li > a, .months li > span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.35rem 0.9rem 0.2rem; border: 2px solid var(--river); border-radius: 4px; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--deep); text-decoration: none; background: #fff; }
.months li > a:hover { background: var(--mist); }
.months li > [aria-current] { background: var(--deep); border-color: var(--deep); color: #fff; }
.next-meetings__list { list-style: none; margin: 0; padding: 0; }
.next-meeting { display: flex; flex-direction: column; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.next-meeting[hidden] { display: none; }
.next-meeting__date { font-weight: 800; color: var(--deep); line-height: 1.3; }
.next-meeting__meta { font-size: var(--fs-sm); color: var(--ink-soft); }
.next-meeting--cancelled .next-meeting__date { text-decoration: line-through; text-decoration-thickness: 1px; }
.next-meetings__more { margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; font-size: var(--fs-sm); }
.next-meetings__more a { display: inline-flex; align-items: center; gap: 0.35em; min-height: 2.75rem; font-weight: 700; }
.chips--kinds { margin-bottom: 1rem; }
.chip-btn { min-height: 2.75rem; padding: 0.35rem 1rem; border: 1.5px solid var(--river); border-radius: 2rem; background: #fff; color: var(--deep); font: inherit; font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.chip-btn[aria-pressed="true"]:focus-visible { outline-offset: 3px; }

/* ---- Search ------------------------------------------------------------------------------------------ */
.search-page { padding-bottom: clamp(3rem, 6vw, 5rem); max-width: 56rem; margin-inline: auto; }
.search-page__form { display: flex; max-width: 44rem; }
.search-page__form input { flex: 1; min-width: 0; min-height: 3.25rem; padding: 0.5rem 0.9rem; border: 2px solid var(--river); border-right: 0; border-radius: 4px 0 0 4px; font: inherit; font-size: 1.0625rem; color: var(--ink); background: #fff; }
.search-page__form input:focus-visible { outline-offset: -3px; }
.search-page__form button { min-height: 3.25rem; padding: 0.6rem 1.3rem 0.4rem; border: 2px solid var(--rust); border-radius: 0 4px 4px 0; background: var(--rust); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.1875rem; cursor: pointer; }
.search-page__form button:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.search-page__form button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.search-page__privacy { margin: 0.85rem 0 1.5rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.search-page__try p { margin: 0 0 0.4rem; font-weight: 800; }
.search-page__try ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.search-page__try a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
.answer { margin: 0 0 1rem; padding: 1.25rem 1.4rem; background: var(--mist); border-top: 4px solid var(--river); }
.answer h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.answer__text { margin: 0 0 0.75rem; font-size: var(--fs-1); line-height: 1.55; }
.answer__sources { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.answer__sources a { display: inline-flex; align-items: center; min-height: 2.5rem; font-weight: 700; }
.answer__note, .search-page__summary { margin: 0 0 1rem; font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 700; }
.answer__note:empty, .search-page__summary:empty { display: none; }
.search-results:focus { outline: none; }
.search-group { margin-bottom: 2.25rem; }
.search-group__title { display: flex; align-items: baseline; gap: 0.6rem; margin: 0; padding-bottom: 0.45rem; border-bottom: 3px solid var(--river); font-size: 1.25rem; }
.search-group__n { font-family: var(--body); font-size: 0.9375rem; font-weight: 700; color: var(--ink-soft); }
.results { list-style: none; margin: 0; padding: 0; }
.result { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.result__title { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.35; letter-spacing: 0; }
.result__title a { font-weight: 800; color: var(--deep); }
.result__title a:hover { color: var(--rust-dark); }
.result__meta { margin: 0.1rem 0 0; font-size: 0.8125rem; font-weight: 700; color: var(--ink-soft); }
.result__body { margin: 0.35rem 0 0; max-width: 46rem; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.result mark { background: #fbe7b5; color: inherit; padding: 0 0.1em; }
.search-group__more { min-height: 2.75rem; margin-top: 0.9rem; padding: 0.45rem 1rem 0.3rem; border: 2px solid var(--river); border-radius: 4px; background: #fff; color: var(--deep); font-family: var(--display); font-weight: 600; font-size: 1.0625rem; cursor: pointer; }
.search-group__more:hover { background: var(--mist); }
.search-empty__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.search-empty__links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
.search-empty__text { margin: 0 0 0.75rem; }

/* ---- Footer ---------------------------------------------------------------------------------------------- */
.site-footer { background: var(--deep); color: #fff; --focus: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sage); }
.site-footer__inner { display: grid; gap: 2rem; padding-block: 2.5rem 2rem; }
.site-footer__logo { width: 11rem; height: auto; }
.site-footer h2 { font-size: 1.25rem; color: #fff; margin-bottom: 0.6rem; }
.site-footer p { margin: 0 0 0.5rem; color: var(--mist-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav a, .site-footer__connect a, .site-footer__hall a { display: inline-flex; align-items: center; min-height: 2.25rem; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.22); font-size: var(--fs-sm); }
.site-footer__base p { margin: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; align-items: center; }
.site-footer__base .site-footer__credit { gap: 0 0.35em; }
.site-footer__base a { display: inline-flex; align-items: center; min-height: 2.5rem; }
@media (min-width: 44em) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .site-footer__inner { grid-template-columns: 14rem repeat(3, minmax(0, 1fr)); gap: 3rem; } }

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .proto-banner, .masthead__search, .menu, .menu-btn, .primary-nav, .site-footer, .skip-link, .rail .section-nav, .index-controls, [data-stoa-index-pagination] { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; }
  .river-room, .hero__panel { background: none; color: inherit; }
}
