/* The inside pages, in the same hand as the home page: white paper, black ink, a bold line and a grey line under it. */
@font-face { font-family: 'Aero'; src: url('/AERO_03.ttf') format('truetype'); font-display: swap; }
:root {
  --paper: #ffffff;
  --ink: #15150f;
  --pencil: #66665c;
  --faint: #b4b4aa;
  --rule: #d9d9d0;
  --pen: #1d3fc4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.5 "Public Sans", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; }
.top, main, footer { max-width: 75rem; margin: 0 auto; padding: 0 1.5rem; }

.top { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding-top: 1.75rem; }
.mark { font-family: 'Aero', "Public Sans", sans-serif; font-size: 2rem; letter-spacing: 0.15em; line-height: 1; text-decoration: none; }
.top .go { font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--ink); }

h1 { font-size: clamp(2.2rem, 1rem + 5vw, 5.5rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 5rem 0 1.5rem; }
.lead { font-size: clamp(1.35rem, 1rem + 1.6vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; max-width: 52rem; margin: 0; }
.lead .quiet { color: var(--faint); }
.note { color: var(--pencil); font-size: 1rem; max-width: 52rem; margin: 1.25rem 0 0; }

.lines { list-style: none; margin: 4.5rem 0 0; padding: 0; max-width: 52rem; }
.lines li { padding: 0.9rem 0; }
.lines strong { display: block; font-size: clamp(1.35rem, 1rem + 1.6vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.lines .sub { display: block; color: var(--pencil); font-size: 1rem; margin-top: 0.15rem; }
.lines li.late strong { color: var(--faint); }

.next { margin: 6rem 0 0; }
.next a { font-size: clamp(1.6rem, 1rem + 2.6vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; text-decoration: none; border-bottom: 3px solid var(--ink); }

/* The city table */
.city-tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 1.5rem; margin: 4.5rem 0 1rem; max-width: 52rem; }
.city-search {
  font: inherit; font-size: clamp(1.35rem, 1rem + 1.6vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; color: var(--ink);
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 3px solid var(--ink); border-radius: 0;
  padding: 0 0.05em; flex: 1 1 16rem; min-width: 0;
}
.city-search::placeholder { color: var(--faint); opacity: 1; }
.city-search:placeholder-shown { border-bottom-color: var(--faint); }
.city-search:focus { outline: 0; border-bottom-color: var(--pen); }
.city-count { color: var(--pencil); font-size: 1rem; }
.city-table { width: 100%; max-width: 52rem; border-collapse: collapse; }
.city-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.city-table th, .city-table td { padding: 0.5rem 0; text-align: left; vertical-align: baseline; }
.city-table thead th { color: var(--pencil); font-size: 1rem; font-weight: 400; padding-bottom: 0.75rem; }
.city-table tbody th { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.city-table .rank { width: 3.5rem; color: var(--faint); font-weight: 700; }
.city-table .num { text-align: right; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.city-table thead .num { font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.sort-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
th[aria-sort="ascending"] .sort-btn::after { content: " ↑"; }
th[aria-sort="descending"] .sort-btn::after { content: " ↓"; }
.city-empty { color: var(--pencil); max-width: 52rem; }

footer { margin-top: 6rem; padding-bottom: 2.5rem; font-size: 0.9375rem; color: var(--pencil); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }

@media (max-width: 34rem) {
  body { font-size: 1.0625rem; }
  h1 { margin-top: 3.5rem; }
  .lead, .lines strong { font-size: 1.25rem; }
  .city-table tbody th, .city-table .num { font-size: 1.125rem; }
  .city-table .rank { width: 3.25rem; }
}
