@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Newsreader;
  src: url('/assets/fonts/newsreader.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #243ec8;
  --blue-deep: #14275f;
  --paper: #fff;
  --ink: #181b25;
  --muted: #575e6d;
  --line: #dce1ec;
  --tint: #f1f4ff;
  --gutter: 1.125rem;
  --sans: 'Instrument Sans', Arial, sans-serif;
  --serif: Newsreader, Georgia, serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--blue); }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1rem; }
:where(a, button, input, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { color: #fff; background: var(--blue); }

.shell { width: min(calc(100% - var(--gutter) - var(--gutter)), 78rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { clip: rect(0, 0, 0, 0); clip-path: inset(50%); position: absolute; width: 1px; height: 1px; white-space: nowrap; overflow: hidden; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 3; padding: .75rem 1rem; background: var(--paper); color: var(--blue); }

.site-header { border-top: .32rem solid var(--blue); }
.masthead { min-height: 5.375rem; padding-block: .75rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.brand { color: var(--blue); text-decoration: none; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.brand-logo { position: relative; display: block; width: 11.25rem; max-width: 100%; aspect-ratio: 628 / 287; overflow: hidden; }
/* Frame the artwork inside its original square preview. */
.brand-logo img { position: absolute; width: calc(100% * 1254 / 628); max-width: none; left: calc(-100% * 310 / 628); top: calc(-100% * 463 / 287); }
.brand-place { display: none; }
.masthead-actions { display: flex; flex: none; align-items: center; gap: .45rem; }
.weekend-shortcut { display: none; text-decoration: none; font-size: .94rem; font-weight: 650; color: var(--blue); }
.weekend-shortcut:hover { text-decoration: underline; }

.icon-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--blue-deep); border: 1px solid var(--line); padding: 0; background: var(--paper); }
.icon-button:hover { color: var(--blue); background: var(--tint); border-color: var(--blue); }
.search-icon { width: .95rem; height: .95rem; border: 1.8px solid currentColor; border-radius: 50%; position: relative; transform: translate(-.09rem,-.09rem); }
.search-icon::after { content: ''; position: absolute; width: .48rem; height: 1.8px; background: currentColor; transform: rotate(45deg); bottom: -.22rem; right: -.32rem; border-radius: 1px; }
.menu-icon { position: relative; width: 1.02rem; height: .12rem; border-radius: 1px; background: currentColor; }
.menu-icon::before, .menu-icon::after { content: ''; width: 100%; height: 100%; background: inherit; border-radius: inherit; position: absolute; left: 0; }
.menu-icon::before { top: -.35rem; }
.menu-icon::after { top: .35rem; }

.nav-bar { border-block: 1px solid var(--line); }
.primary-nav { width: 100%; padding-inline: var(--gutter); display: flex; align-items: center; gap: 1.35rem; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.primary-nav a { flex: none; display: flex; align-items: center; min-height: 2.8rem; white-space: nowrap; color: var(--blue-deep); font-family: var(--mono); font-size: .8rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--blue); text-decoration: underline; }

.issue-line { padding: 1rem 0 .9rem; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .76rem; letter-spacing: .035em; text-transform: uppercase; }
.front-page { padding-top: 1.4rem; }
.feature { display: flex; flex-direction: column; gap: 1.15rem; }
.eyebrow { color: var(--blue); font-family: var(--mono); font-size: .83rem; line-height: 1.42; letter-spacing: .025em; text-transform: uppercase; }
.eyebrow-muted { color: var(--muted); }
.feature h1, .article-head h1 { margin-top: .58rem; font-size: clamp(2.25rem, 8.5vw, 3.75rem); font-weight: 700; letter-spacing: -.047em; word-spacing: .035em; line-height: 1.02; text-wrap: balance; }
.feature h1 { text-wrap: pretty; }
.feature h1 a, .story-card h3 a, .rail-story h3 a { text-decoration: none; }
.feature-deck, .article-deck { margin-top: .8rem; color: #343a48; font: 400 1.27rem/1.31 var(--serif); text-wrap: pretty; }
.text-link { display: inline-flex; align-items: center; margin-top: .35rem; min-height: 2.65rem; font-size: .92rem; font-weight: 700; color: var(--blue); }
.lead-map img { width: 100%; background: var(--blue-deep); }
figcaption { color: var(--muted); font-size: .76rem; line-height: 1.42; padding-top: .48rem; }
figcaption a { color: inherit; }

.issue-rail { margin-top: 1.65rem; padding: 1.12rem 1rem 0; border-top: 3px solid var(--blue); background: var(--tint); }
.issue-rail > h2 { font-size: 1.42rem; font-weight: 700; letter-spacing: -.037em; }
.rail-story { padding-block: .83rem; border-bottom: 1px solid #d8dff6; }
.rail-story h3 { margin-top: .25rem; font-size: 1.085rem; letter-spacing: -.02em; line-height: 1.19; }
.rail-story .eyebrow { font-size: .74rem; }
.rail-bids { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.2rem; font-weight: 650; font-size: .95rem; color: var(--blue); text-decoration: none; }
.rail-bids:hover { text-decoration: underline; }
.rail-bids span { padding: .04rem .53rem; border: 1px solid #c6d1f3; border-radius: 1.5rem; line-height: 1.55; font-family: var(--mono); font-size: .8rem; }

.coverage-section { margin-top: 2.45rem; border-top: 2px solid var(--blue); padding-top: .78rem; }
.section-heading { font-size: clamp(1.55rem, 5.4vw, 2.15rem); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; }
.story-grid { display: grid; gap: 0 1.55rem; }
.story-card { padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
.story-card h3 { margin-top: .39rem; font-weight: 700; letter-spacing: -.043em; font-size: clamp(1.38rem, 4.9vw, 1.7rem); line-height: 1.08; text-wrap: pretty; }
.card-deck { margin-top: .51rem; color: #3f4551; font-size: 1rem; line-height: 1.45; }
.card-figure { margin-bottom: .87rem; }
.card-figure img { aspect-ratio: 1.85; width: 100%; object-fit: cover; object-position: 50% 54%; background: var(--tint); }

.weekend-feature { margin-block: 2.7rem; background: var(--blue-deep); color: #fff; display: grid; }
.weekend-copy { padding: 1.25rem; }
.weekend-copy .eyebrow { color: #c9d8ff; }
.weekend-copy h2 { font-size: clamp(2rem, 7vw, 3.4rem); line-height: .98; letter-spacing: -.055em; margin-top: .65rem; text-wrap: balance; }
.weekend-copy > p:not(.eyebrow) { font: 400 1.22rem/1.33 var(--serif); color: #e7edfb; margin-top: .75rem; }
.weekend-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .65rem; padding: .45rem .85rem; background: #fff; color: var(--blue-deep); font-weight: 700; text-decoration: none; }
.weekend-link:hover { background: #dee7ff; }
.weekend-link:focus-visible, .weekend-photo a:focus-visible { outline-color: #dce7ff; }
.weekend-photo { display: flex; flex-direction: column; min-width: 0; }
.weekend-photo img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; }
.weekend-photo figcaption { color: #e5ebfb; padding: .5rem .8rem; }

.site-footer { color: var(--blue-deep); background: var(--tint); border-top: 1px solid #d6def6; }
.foot-grid { display: grid; gap: 1.1rem; padding-block: 1.6rem 1.75rem; }
.foot-brand { display: inline-block; max-width: 100%; }
.foot-brand .brand-logo { width: 10rem; mix-blend-mode: multiply; }
.foot-grid p:not(.eyebrow), .foot-grid a:not(.foot-brand) { margin-top: .46rem; font-size: .93rem; line-height: 1.38; }
.foot-note > a { display: inline-block; min-height: 1.65rem; color: var(--blue); font-weight: 650; }
.footer-policies { display: flex; flex-wrap: wrap; column-gap: 1.25rem; border-top: 1px solid var(--line); }
.footer-policies a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue-deep); font-size: .9rem; font-weight: 600; }

.article-page { padding-bottom: 2.9rem; }
.article-nav { display: flex; align-items: center; gap: .55rem; font-size: .88rem; min-height: 3.3rem; }
.article-nav a { color: var(--blue); }
.article-nav span { color: var(--muted); }
.article-head { max-width: 54rem; margin-inline: auto; border-top: 1px solid var(--line); padding: 1.3rem 0 1.1rem; }
.article-head h1 { max-width: 17ch; text-wrap: pretty; }
.article-date { font-family: var(--mono); font-size: .81rem; color: var(--muted); margin-top: .95rem; }
.article-photo { max-width: 57rem; margin: 0 auto 1.35rem; }
.article-photo img { width: 100%; }
.article-body { width: min(100%, 44rem); margin-inline: auto; }
.article-body > p { font: 400 1.22rem/1.51 var(--serif); margin-bottom: 1rem; }
.article-body a, .article-related a:hover { color: var(--blue); }
.article-body > p.source-links { border-top: 1px solid var(--line); padding-top: .72rem; font: 500 .93rem/1.6 var(--sans); }
.policy-page .article-head { max-width: 44rem; border-top: 0; }
.policy-page .article-head h1 { font-size: clamp(2.25rem, 8vw, 3.55rem); }
.policy-page .article-body h2 { margin: 1.4rem 0 .52rem; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
.record-list { border-top: 2px solid var(--blue); }
.record { padding: .95rem 0; border-bottom: 1px solid var(--line); }
.record:target { background: var(--tint); box-shadow: -.25rem 0 var(--blue); }
.record--dated { display: grid; gap: .38rem; align-items: baseline; }
.record h2 { letter-spacing: -.035em; font-size: clamp(1.25rem, 4.3vw, 1.55rem); line-height: 1.12; text-wrap: pretty; }
.record p:not(.record-time) { margin-top: .42rem; line-height: 1.57; color: #3b424d; }
.record p.record-next { font-size: .93rem; }
.record-next strong { color: var(--ink); margin-right: .25rem; }
.record-time { font-family: var(--mono); font-size: .91rem; color: var(--blue); }
.article-related { max-width: 44rem; margin: 2.3rem auto 0; border-top: 2px solid var(--blue); padding-top: .7rem; }
.article-related > h2 { font-size: 1.42rem; letter-spacing: -.03em; }

.city-page { padding-bottom: 2.9rem; }
.city-header h1 { margin-top: 1rem; font-size: clamp(2.6rem, 10vw, 4.65rem); font-weight: 700; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.city-topic-nav { display: flex; flex-wrap: wrap; gap: .4rem .55rem; margin-top: 1rem; }
.city-topic-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem .75rem; border: 1px solid var(--line); color: var(--blue-deep); font-size: .94rem; font-weight: 600; text-decoration: none; }
.city-topic-nav a:hover, .city-topic-nav a:focus-visible { color: var(--blue); background: var(--tint); }
.city-sections .story-grid { grid-template-columns: minmax(0, 1fr); }
.city-sections .card-deck a { color: var(--blue); }
.city-empty { margin-top: 1.3rem; color: var(--muted); }

.site-dialog { width: min(calc(100% - 1.5rem), 34rem); max-height: min(85vh, 50rem); max-height: min(85dvh, 50rem); margin: min(6vh, 3rem) auto auto; padding: 0; border: 1px solid var(--line); border-top: 4px solid var(--blue); color: var(--ink); background: #fff; box-shadow: 0 1rem 3rem #18254f30; }
.site-dialog::backdrop { background: #111b3e88; }
.dialog-inner { padding: 1.1rem; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; column-gap: .6rem; margin-bottom: .9rem; }
.dialog-head h2 { font-size: 1.6rem; line-height: 1.14; letter-spacing: -.04em; }
.close-button { font-size: 1.45rem; font-weight: 500; }
.site-dialog input { width: 100%; min-height: 3rem; padding: .56rem .72rem; border: 1px solid #9facce; border-radius: 0; color: var(--ink); background: #fff; }
.search-status { color: var(--muted); margin-top: .6rem; font-size: .86rem; }
.search-results { margin: .4rem 0 0; padding-left: 0; list-style: none; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a { display: grid; gap: .3rem; padding: .65rem 0; text-decoration: none; line-height: 1.29; font-weight: 650; }
.search-results a span { font-family: var(--mono); font-size: .72rem; color: var(--blue); text-transform: uppercase; }
#sections-dialog { overscroll-behavior: contain; }
#sections-dialog .dialog-inner { padding-top: .5rem; }
#sections-dialog .dialog-head { position: sticky; top: 0; z-index: 1; padding-block: .5rem; margin-bottom: .4rem; background: var(--paper); }
.browse-group { border-top: 1px solid var(--line); }
.browse-menu summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 2.8rem; padding: .5rem 0; list-style: none; cursor: pointer; }
.browse-menu summary::-webkit-details-marker { display: none; }
.browse-menu summary::after { content: ''; flex: none; width: .8rem; height: .8rem; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.browse-menu details[open] > summary::after { background-size: 100% 2px, 0 0; }
.browse-group > summary { color: var(--blue-deep); font-weight: 700; }
.menu-links { padding-inline-start: .7rem; }
.menu-links a { display: flex; align-items: center; min-height: 2.75rem; padding: .44rem 0; border-top: 1px solid var(--line); font-weight: 600; text-decoration: none; line-height: 1.3; }
.menu-links a:hover { text-decoration: underline; }
html:has(.site-dialog[open]) { overflow: hidden; }

@media (max-width: 38.99rem) {
  .primary-nav { scrollbar-width: none; }
  .eyebrow-muted { white-space: nowrap; }
}

@media (min-width: 39rem) {
  :root { --gutter: 1.65rem; }
  .masthead { min-height: 6.35rem; }
  .brand-logo { width: 12rem; }
  .weekend-shortcut { display: inline-flex; align-items: center; margin-right: .62rem; padding: .45rem; min-height: 2.75rem; }
  .primary-nav { width: min(calc(100% - var(--gutter) - var(--gutter)), 78rem); padding-inline: 0; justify-content: space-between; gap: 1.1rem; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.1rem; }
  .weekend-feature { grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr); }
  .weekend-copy { padding: 1.5rem; align-self: center; }
  .weekend-photo img { flex: 1; height: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .record--dated { grid-template-columns: minmax(7.2rem, 10rem) minmax(0, 1fr); gap: .8rem; }
}

@media (min-width: 57rem) {
  :root { --gutter: 2.6rem; }
  .masthead { min-height: 6.4rem; padding-block: .95rem; }
  .brand-logo { width: 13.25rem; }
  .brand { flex-direction: row; gap: 1.4rem; align-items: flex-end; }
  .brand-place { display: block; color: var(--ink); font-size: .77rem; font-weight: 650; letter-spacing: .045em; text-transform: uppercase; margin: 0 0 .5rem; }
  .menu-trigger { display: none; }
  .primary-nav { justify-content: flex-start; gap: clamp(1.25rem, 4vw, 3.8rem); }
  .primary-nav a { font-size: .87rem; }
  .issue-line { padding-top: 1.05rem; }
  .front-page { display: grid; grid-template-columns: minmax(0, 2.65fr) minmax(15.5rem, 1fr); gap: clamp(1.7rem, 3vw, 3rem); align-items: start; }
  .feature-media { order: -1; }
  .feature { gap: .88rem; }
  .lead-map img { aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 20%; }
  .feature h1 { font-size: clamp(2.65rem, 4.24vw, 3.85rem); line-height: 1.02; }
  .feature-deck { font-size: 1.38rem; max-width: 41rem; }
  .issue-rail { padding-inline: 1.3rem; margin-top: 0; }
  .rail-stories { display: block; }
  .rail-story { padding-block: 1.14rem; }
  .rail-story h3 { font-size: 1.26rem; }
  .rail-bids { min-height: 3.75rem; }
  .coverage-section { margin-top: 2.9rem; }
  .story-card { padding: 1.17rem 0; }
  #schools .story-grid { grid-template-columns: 1.35fr 1fr 1fr; }
  .two-sections { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
  #business .story-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1.35fr 1fr; padding-block: 2rem; }
  .foot-brand .brand-logo { width: 11.25rem; }
  .article-nav { min-height: 4rem; }
  .article-head { padding-block: 1.5rem 1.4rem; }
  .article-head h1 { font-size: clamp(3.3rem, 5vw, 4.85rem); }
  .article-deck { max-width: 40rem; font-size: 1.55rem; }
  .article-body > p { font-size: 1.32rem; }
  .city-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.25rem; align-items: start; }
  .city-sections > :only-child { grid-column: 1 / -1; max-width: 46rem; }
}
