@font-face {
  font-family: Newsreader;
  src: url("/assets/newsreader.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Newsreader;
  src: url("/assets/newsreader-italic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4ead6;
  --surface: #faf2e2;
  --ink: #302629;
  --muted: #62544e;
  --accent: #65486f;
  --rule: #ad9a86;
  --soft-rule: #d6c5ad;
  --wash: #ebe0cc;
  --serif: Newsreader, Georgia, serif;
  --sans: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .26 0 0 0 0 .12 .14 0 0 0 -.03'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23paper)' d='M0 0h256v256H0z'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 20px/1.36 var(--serif);
}
h1, h2, h3, h4, p, figure, ul { margin: 0; }
h1, h2, h3, h4 { line-height: 1.02; letter-spacing: -.035em; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
[hidden] { display: none !important; }
.wrap { width: min(93%, 1430px); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: absolute; z-index: 2; inset: .5rem auto auto .5rem; padding: .55rem 1rem; background: var(--paper); }

.utility { background: var(--ink); color: var(--paper); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; font-size: clamp(.68rem, 1.3vw, 1.2rem); font-weight: 650; text-transform: uppercase; letter-spacing: .045em; }
.masthead { padding: 18px 0 21px; text-align: center; }
.wordmark { display: inline-block; color: var(--ink); text-decoration: none; font-size: clamp(2.55rem, 6vw, 5.8rem); font-weight: 790; letter-spacing: -.058em; line-height: .99; }
.wordmark:hover { color: var(--ink); }
.ornament { display: flex; align-items: center; gap: 17px; max-width: 56%; margin: 4px auto 11px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.ornament i { display: block; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); }
.masthead p { font-size: clamp(.69rem, 1.25vw, 1.09rem); font-weight: 700; text-transform: uppercase; letter-spacing: .28em; }
.navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-block: 1px solid var(--ink); }
.navigation ul { grid-column: 2; display: flex; gap: clamp(17px, 4vw, 60px); list-style: none; padding: 0; }
.navigation a { display: block; padding-block: 10px 7px; text-decoration: none; font-size: clamp(1rem, 1.6vw, 1.42rem); font-weight: 620; }
.navigation a[aria-current] { color: var(--accent); }
.navigation .search-link { justify-self: end; display: flex; align-items: center; gap: 8px; margin-right: 9px; }
.search-link svg { flex: none; }
.edition { display: flex; align-items: center; gap: 16px; padding: 10px 0 6px; color: var(--accent); font-size: 1.2rem; font-style: italic; text-align: center; }
.edition::before, .edition::after { content: ""; flex: 1; height: 1px; background: var(--soft-rule); }

.lead { margin: 21px 0 17px; }
.lead-rule { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 38px); margin-bottom: 15px; color: var(--accent); text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.45rem); font-weight: 780; letter-spacing: .23em; text-transform: uppercase; }
.lead-rule::before, .lead-rule::after { content: ""; flex: 1; height: 2px; background: var(--accent); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 27fr) minmax(0, 50fr) minmax(0, 23fr); }
.lead-copy { padding: 9px 15px 10px 0; }
.kicker { display: inline-block; color: var(--accent); text-transform: uppercase; font-size: .81rem; line-height: 1.25; letter-spacing: .115em; font-weight: 770; }
.lead-copy .kicker { font-size: clamp(.85rem, 1.35vw, 1.25rem); }
.lead-copy h3 { margin: 14px 0 12px; font-size: clamp(2.15rem, 3.35vw, 3.45rem); font-weight: 780; line-height: .99; }
.lead-copy h3 a, .briefing h4 a, .story-card h3 a, .opinion-grid h3 a, .story-row h2 a, .related h3 a { text-decoration: none; }
.lead-copy p { margin-bottom: 16px; color: var(--ink); font-size: clamp(1.12rem, 1.62vw, 1.47rem); font-style: italic; line-height: 1.17; }
.text-link { color: var(--accent); font-size: .95rem; font-weight: 780; text-transform: uppercase; letter-spacing: .105em; text-decoration-color: var(--accent); }
.text-link:hover { color: var(--ink); }
.lead-copy .text-link { color: var(--ink); }
.lead-copy .text-link:hover { color: var(--accent); }
.lead-art { border-inline: 1px solid var(--rule); padding-inline: 10px; }
.lead-art a { display: block; width: 100%; height: 100%; aspect-ratio: 1.77; overflow: hidden; background: #e9decc; }
.lead-art img { object-position: center 25%; }
.briefing { margin-left: 17px; border-top: 2px solid var(--accent); }
.briefing h3 { margin: 7px 0 8px; font-size: clamp(1.85rem, 2.85vw, 2.72rem); font-weight: 760; font-style: italic; }
.briefing ul, .related ul { padding: 0; list-style: none; }
.briefing li { padding: 12px 8px; border-top: 1px solid var(--rule); }
.briefing h4 { margin-top: 3px; font-size: clamp(1.27rem, 2vw, 1.9rem); font-weight: 750; }

.latest, .opinion-band { border-top: 8px double var(--ink); padding-top: 17px; }
.section-title { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); margin-bottom: 18px; }
.section-title::after { content: ""; flex: 1; align-self: center; height: 1px; background: var(--rule); }
.section-title h2 { font-size: clamp(2rem, 3.3vw, 3.1rem); font-weight: 780; }
.section-title .text-link { border-left: 1px solid var(--rule); padding: 3px 0 3px clamp(12px, 2vw, 24px); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.story-card + .story-card { padding-left: 10px; border-left: 1px solid var(--soft-rule); }
.card-image { display: block; aspect-ratio: 2; margin-bottom: 14px; background: #e9decc; }
.story-card h3, .opinion-grid h3 { margin: 5px 0 8px; font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 760; }
.story-card p, .opinion-grid p { color: var(--muted); font-size: 1.14rem; }
.opinion-band { margin-top: 40px; border-top-color: var(--accent); }
.opinion-intro { color: var(--muted); font-style: italic; margin: -9px 0 14px; }
.opinion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.opinion-grid article { border-top: 1px solid var(--rule); padding-block: 12px; }

.section-heading { padding: 35px 0 23px; border-bottom: 1px solid var(--ink); }
.section-heading h1 { margin-bottom: 7px; font-size: clamp(2.8rem, 5.2vw, 5.15rem); font-weight: 780; }
.section-heading p { color: var(--muted); font-size: clamp(1.18rem, 2vw, 1.45rem); font-style: italic; }
.story-list { list-style: none; padding: 0; max-width: 940px; }
.story-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(115px, 22%); gap: clamp(12px, 4vw, 42px); align-items: center; padding: 20px 0; border-bottom: 1px solid var(--soft-rule); }
.story-row h2 { margin: 4px 0 8px; font-size: clamp(1.55rem, 3vw, 2.45rem); font-weight: 760; }
.story-row p { color: var(--muted); font-size: 1.13rem; }
.story-row img { aspect-ratio: 1.75; height: auto; background: #e9decc; }
.empty { padding: 20px 0; }
.search-form { max-width: 700px; margin: 24px 0 12px; display: flex; gap: 8px; }
.search-form input, .search-form button { border: 1px solid var(--ink); border-radius: 0; padding: 12px 14px; font: 500 1rem/1.3 var(--sans); }
.search-form input { flex: 1; min-width: 0; background: var(--surface); color: var(--ink); }
.search-form button { background: var(--ink); color: var(--paper); cursor: pointer; }
.search-form button:hover { background: var(--accent); }
.result-count { font: 500 .86rem/1.5 var(--sans); color: var(--muted); }

.story-page .masthead { padding-block: 13px 13px; }
.story-page .wordmark { font-size: clamp(2.55rem, 5.3vw, 5.2rem); }
.breadcrumb { display: flex; gap: 10px; padding: 13px 0 17px; font-size: 1.06rem; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.article-header { padding-bottom: 11px; border-bottom: 1px solid var(--ink); }
.article-label { display: inline-block; background: var(--accent); color: var(--paper); padding: 4px 12px 2px; font-size: .93rem; line-height: 1.2; font-weight: 780; text-transform: uppercase; letter-spacing: .09em; }
.article-header h1 { margin: 10px 0 5px; font-size: clamp(2.65rem, 4.15vw, 4.12rem); font-weight: 790; }
.deck { font-size: clamp(1.22rem, 1.9vw, 1.58rem); font-style: italic; line-height: 1.22; margin-bottom: 11px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 9px; font-size: 1.06rem; }
.article-photo { margin: 18px 0 22px; }
.article-photo img { height: auto; aspect-ratio: 16 / 9; }
.article-photo figcaption { padding: 7px 0 0; color: var(--muted); font-size: .98rem; }
.article-photo figcaption a { color: var(--accent); }
.ad { margin: 15px 0 21px; min-width: 0; text-align: center; }
.ad-preview { background: var(--wash); border: 1px solid var(--soft-rule); display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 13px 10px; min-height: 76px; }
.ad-sidebar { margin: 0 0 28px; }
.ad-sidebar.ad-preview { min-height: 220px; }
.ad-label { display: block; color: var(--muted); font-size: .76rem; letter-spacing: .2em; font-weight: 710; text-transform: uppercase; }
.ad-note { font-style: italic; font-size: 1.05rem; }
.prose { margin-top: 22px; font-size: clamp(1.18rem, 1.55vw, 1.39rem); line-height: 1.38; }
.prose .sample-note { color: var(--muted); font-size: 1.05rem; font-style: italic; margin: 0 0 14px; }
.prose h2 { font-weight: 770; font-size: clamp(1.8rem, 2.7vw, 2.4rem); margin-bottom: 7px; }
.prose p { max-width: 76ch; margin-bottom: 12px; }
.prose section + section { margin-top: 23px; }
.prose a, .related a { color: var(--accent); }
.prose a:hover, .related a:hover { color: var(--ink); }
.sources { padding-top: 15px; border-top: 1px solid var(--rule); }
.sources h2 { font-size: 1.55rem; }
.sources ul { padding-left: 1.25em; font-size: 1.08rem; }
.about { max-width: 790px; }
.article-sidebar { border-left: 1px solid var(--rule); padding-left: 24px; min-width: 0; }
.related h2 { font-size: clamp(1.5rem, 2.4vw, 2.14rem); margin: 5px 0 12px; font-weight: 760; }
.related li { border-top: 1px solid var(--rule); padding: 13px 0 16px; }
.related h3 { margin: 0 0 6px; font-size: clamp(1.25rem, 1.85vw, 1.7rem); font-weight: 760; }
.related-time { font-size: .88rem; color: var(--muted); }
.author-box { border-block: 1px solid var(--rule); padding: 19px 22px; margin-top: 28px; background: var(--surface); }
.author-name { font-size: 1.62rem; font-weight: 760; }
.author-bio { max-width: 62ch; color: var(--muted); }

.poll-list { max-width: 720px; }
.poll-card { margin-block: 23px; padding: clamp(14px, 3vw, 27px); border: 1px solid var(--rule); border-top: 3px solid var(--accent); background: var(--surface); }
.poll-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); margin: 6px 0 10px; }
.poll-card fieldset { border: 0; margin: 10px 0 14px; padding: 0; }
.poll-card label { display: flex; align-items: center; gap: 8px; padding-block: 5px; cursor: pointer; }
.poll-card input { accent-color: var(--accent); }
.poll-card button { background: var(--accent); color: var(--surface); border: 0; padding: 11px 15px; font: 600 .9rem var(--sans); cursor: pointer; }
.poll-card button:hover { background: var(--ink); }
.poll-card [role="status"] { margin: 8px 0 0; color: var(--muted); font-size: 1rem; }
.poll-card iframe { display: block; width: 100%; height: 360px; margin-bottom: 12px; border: 1px solid var(--soft-rule); }

.election-dashboard { --dem: #b2bfd1; --rep: #d3a89b; --pending: #d9c1d8; --none: #e5d7bd; padding: 23px 0 22px; border-bottom: 4px double var(--rule); }
.election-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.election-heading h1 { color: var(--ink); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 780; }
.election-heading p { color: var(--muted); }
.election-stamp { padding: 5px 10px; border: 1px solid var(--rule); white-space: nowrap; font: 600 .76rem var(--sans); }
.chambers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chamber { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent); padding: 12px 15px; }
.chamber h3 { font-size: 1.65rem; }
.chamber-call { color: var(--accent); font-style: italic; }
.chamber-counts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; }
.chamber-counts strong { font-size: clamp(1.72rem, 3vw, 2.6rem); }
.chamber-bar { height: 10px; margin: 4px 0 7px; position: relative; background: linear-gradient(to right, var(--dem) 0 var(--d), var(--none) var(--d) calc(100% - var(--r)), var(--rep) calc(100% - var(--r)) 100%); }
.chamber-bar::after { content: ""; position: absolute; inset: -2px auto -2px var(--majority); width: 2px; background: var(--ink); }
.election-small { color: var(--muted); font: 500 .82rem/1.5 var(--sans); }
a.election-small, .election-small a { color: var(--accent); }
.election-context { margin: 10px 0 15px; }
.map-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 15px; border-top: 1px solid var(--rule); padding-top: 15px; }
.map-heading h2, .section-list-title { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.map-heading p { color: var(--muted); }
.election-legend { display: flex; flex-wrap: wrap; list-style: none; gap: 6px 18px; padding: 8px 0 12px; font: 500 .82rem/1.4 var(--sans); }
.election-legend li { display: flex; gap: 6px; align-items: center; }
.election-legend i { width: 14px; height: 14px; border: 1px solid #796a60; }
.status-d { background: var(--dem); }
.status-r { background: var(--rep); }
.status-pending { background: var(--pending); }
.status-none { background: var(--none); }
.election-interactive { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(15px, 3vw, 40px); }
.election-map { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(7, 1fr); gap: 4px; align-self: start; }
.state-tile { border: 1px solid #796a60; border-radius: 2px; padding: 0; min-width: 0; min-height: 25px; aspect-ratio: 1.5; color: var(--ink); font: 700 clamp(.66rem, 1.3vw, .95rem) var(--sans); cursor: pointer; }
.state-tile:hover, .state-tile[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.state-tile:focus-visible { outline-offset: 1px; z-index: 1; }
.state-panel { border-left: 1px solid var(--rule); padding-left: clamp(12px, 3vw, 35px); }
.state-panel label { display: block; font: 650 .84rem var(--sans); margin-bottom: 4px; }
.state-panel select { width: 100%; max-width: 330px; background: var(--surface); color: var(--ink); border: 1px solid var(--rule); padding: 9px; font: 500 1rem var(--sans); }
.state-details { margin-top: 17px; min-height: 130px; }
.state-details h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.state-status { display: inline-block; padding: 4px 8px; margin: 6px 0; font: 650 .82rem/1.3 var(--sans); }
.election-source { margin-top: 14px; }
.section-list-title { margin-top: 25px; }

.footer { margin-top: 54px; background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 25px 0; align-items: center; }
.footer-name { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
.footer p { font-size: 1rem; color: #dfd9ce; }
.footer nav { display: flex; flex-wrap: wrap; gap: 17px; font-size: 1rem; }
.footer a:hover { color: #e9d1ef; }
.footer a:focus-visible { outline-color: var(--paper); }

@media (max-width: 1050px) {
  .lead-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0 16px; }
  .lead-art { border-right: 0; padding-right: 0; }
  .lead-art a { height: 100%; min-height: 250px; }
  .briefing { grid-column: 1 / -1; margin: 17px 0 0; }
  .briefing ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .briefing li + li { border-left: 1px solid var(--rule); }
  .briefing li { padding: 9px 12px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .utility .wrap { min-height: 28px; }
  .utility span + span { display: none; }
  .masthead { padding-block: 16px 12px; }
  .wordmark, .story-page .wordmark { font-size: clamp(2rem, 8vw, 3.65rem); }
  .ornament { margin-block: 5px 8px; }
  .ornament i { width: 7px; height: 7px; }
  .masthead p { letter-spacing: .19em; }
  .navigation { grid-template-columns: minmax(0, 1fr) auto; }
  .navigation ul { grid-column: 1; gap: 2px clamp(8px, 2.6vw, 18px); flex-wrap: wrap; }
  .navigation a { font-size: clamp(.9rem, 2.9vw, 1.13rem); padding-block: 8px 7px; }
  .navigation .search-link { margin: 0 1px 0 9px; }
  .search-link span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .edition { gap: 7px; font-size: 1.05rem; }
  .lead { margin-top: 17px; }
  .lead-rule { margin-bottom: 12px; }
  .lead-grid { grid-template-columns: 1fr; gap: 0; }
  .lead-copy { padding: 2px 0 15px; }
  .lead-copy h3 { font-size: clamp(2.4rem, 8vw, 3.6rem); margin: 8px 0; }
  .lead-copy p { margin-bottom: 10px; font-size: 1.24rem; }
  .lead-art { padding: 0; border: 0; }
  .lead-art a { height: auto; min-height: 0; }
  .briefing { grid-column: auto; }
  .briefing ul { display: block; }
  .briefing li { padding: 8px 0 10px; }
  .briefing li + li { border-left: 0; }
  .briefing h4 { font-size: 1.42rem; }
  .section-title { gap: 11px; }
  .section-title::after { display: none; }
  .section-title .text-link { font-size: .74rem; padding-left: 9px; }
  .card-grid, .opinion-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .story-card + .story-card { border-left: 0; border-top: 1px solid var(--rule); padding: 14px 0 0; }
  .card-image { aspect-ratio: 2.2; }
  .opinion-band { margin-top: 28px; }
  .story-row { grid-template-columns: minmax(0, 1fr) minmax(82px, 23%); }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .article-sidebar { padding: 14px 0 0; border-left: 0; border-top: 4px double var(--ink); }
  .ad-sidebar.ad-preview { min-height: 140px; }
  .election-heading { align-items: start; flex-direction: column; }
  .chambers { gap: 8px; }
  .chamber { padding: 9px; }
  .chamber-counts { font-size: 1rem; }
  .election-interactive { grid-template-columns: minmax(0, 1fr); }
  .election-map { gap: 2px; }
  .state-panel { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .state-details { min-height: 0; }
  .footer { margin-top: 33px; }
}
