:root {
  --ink: #17201d;
  --muted: #68716d;
  --paper: #f4f1e9;
  --paper-deep: #eae5d9;
  --white: #fffdf8;
  --forest: #153c31;
  --forest-bright: #24644f;
  --lime: #c8dc82;
  --clay: #b85f3e;
  --line: rgba(23, 32, 29, 0.16);
  --shadow: 0 24px 70px rgba(31, 42, 37, 0.09);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  min-height: 84px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, 0.92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; width: fit-content; }
.brand-mark {
  width: 43px;
  height: 43px;
  display: inline-grid;
  place-items: center;
  border-radius: 50% 50% 46% 54%;
  color: var(--paper);
  background: var(--forest);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -1px;
  transform: rotate(-3deg);
}
.brand-mark.small { width: 36px; height: 36px; font-size: 15px; }
.brand strong { display: block; font-size: 14px; letter-spacing: .02em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.city-nav { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.city-nav a { padding: 8px 13px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.city-nav a.active { color: var(--paper); background: var(--forest); }
.about-link { justify-self: end; color: var(--muted); font-size: 13px; text-underline-offset: 4px; }

.city-hero { padding: 104px 0 72px; }
.eyebrow { display: block; color: var(--forest-bright); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .7fr); gap: 100px; align-items: end; margin-top: 22px; }
h1, h2, h3, p { margin-top: 0; }
.hero-grid h1, .meeting-hero h1 {
  margin: 0;
  font: 500 clamp(58px, 7.7vw, 108px)/.88 var(--serif);
  letter-spacing: -.052em;
}
.hero-grid h1 em { color: var(--forest-bright); font-weight: inherit; }
.hero-copy { max-width: 650px; margin: 38px 0 0; color: #49534f; font: 500 19px/1.55 var(--sans); }
.city-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--ink); }
.city-stats div { padding: 20px 18px 22px 0; border-bottom: 1px solid var(--line); }
.city-stats dt { font: 600 38px/1 var(--serif); }
.city-stats dd { margin: 7px 0 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

.featured-section, .records-section, .briefing { padding: 66px 0; }
.featured-section { border-top: 1px solid var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-heading h2, .record-aside h2, .watchlist h2, .transcript-header h2, .analysis-pending h2 { margin: 7px 0 0; font: 600 42px/1 var(--serif); letter-spacing: -.03em; }
.issue-date { color: var(--muted); font-size: 12px; }
.meeting-card { background: var(--white); border: 1px solid var(--line); box-shadow: 0 0 0 rgba(0,0,0,0); transition: transform .25s ease, box-shadow .25s ease; }
.meeting-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.meeting-card a { display: block; padding: 28px; text-decoration: none; }
.meeting-card.featured a { min-height: 430px; padding: 46px; display: flex; flex-direction: column; background: linear-gradient(125deg, var(--white) 60%, #e8edcf); }
.card-topline, .card-footer { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.card-topline time { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
.status.analyzed { color: var(--forest); background: var(--lime); }
.status.transcript { color: #69512e; background: #eadebf; }
.status.metadata { color: var(--muted); background: var(--paper-deep); }
.meeting-card h3 { margin: 42px 0 15px; max-width: 900px; font: 600 26px/1.08 var(--serif); letter-spacing: -.025em; }
.meeting-card.featured h3 { margin-top: auto; max-width: 920px; font-size: clamp(40px, 5vw, 69px); }
.meeting-card p { max-width: 760px; color: #58625e; line-height: 1.55; font-size: 14px; }
.meeting-card.featured p { font-size: 16px; }
.card-footer { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.open-record { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 700; }

.records-section { padding-bottom: 110px; }
.records-heading { align-items: start; }
.record-controls { display: flex; flex-direction: column; align-items: end; gap: 12px; }
.search-box { min-width: 310px; height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.filter-tabs { display: flex; gap: 4px; }
.filter-tabs button { border: 0; padding: 7px 10px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; }
.filter-tabs button.active { color: var(--forest); background: var(--paper-deep); }
.meeting-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.meeting-grid .meeting-card a { min-height: 315px; display: flex; flex-direction: column; }
.meeting-grid .meeting-card h3 { margin-top: 45px; }
.meeting-grid .card-footer { margin-top: auto; }
.empty-state { padding: 50px; border: 1px dashed var(--line); color: var(--muted); grid-column: 1 / -1; text-align: center; }

.meeting-page { overflow: hidden; }
.meeting-hero { padding: 56px 0 90px; }
.back-link { display: inline-block; margin-bottom: 60px; color: var(--muted); font-size: 12px; text-decoration: none; }
.meeting-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.meeting-meta > * + *::before { content: "·"; margin-right: 16px; color: var(--line); }
.meeting-meta .status::before { display: none; }
.meeting-hero h1 { max-width: 1080px; font-size: clamp(48px, 7vw, 94px); }
.meeting-dek { max-width: 900px; margin: 38px 0 0; color: #4e5954; font: 500 20px/1.55 var(--sans); }
.meeting-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 38px; }
.primary-action, .secondary-action { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; text-decoration: none; font-size: 12px; font-weight: 700; }
.primary-action { color: var(--paper); background: var(--forest); }
.secondary-action { border: 1px solid var(--line); }
.quality-mark { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--forest-bright); font-size: 11px; font-weight: 700; }

.briefing { border-top: 1px solid var(--ink); }
.highlight-list { border-top: 1px solid var(--line); }
.highlight-card { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.highlight-number { color: var(--clay); font: 600 28px/1 var(--serif); }
.highlight-card h3 { margin: 0 0 9px; font: 600 28px/1.1 var(--serif); }
.highlight-card p { max-width: 840px; color: #56605c; line-height: 1.55; }

.evidence-block { margin-top: 16px; }
.evidence-block summary { width: fit-content; display: flex; align-items: center; gap: 7px; color: var(--forest-bright); cursor: pointer; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; list-style: none; }
.evidence-block summary::-webkit-details-marker { display: none; }
.evidence-lines { display: grid; gap: 7px; margin-top: 10px; }
.evidence-line { max-width: 780px; padding: 12px 14px; border: 0; border-left: 2px solid var(--lime); color: inherit; background: rgba(200, 220, 130, .13); cursor: pointer; text-align: left; }
.evidence-line span { display: block; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.evidence-line q { display: block; margin-top: 5px; font: 500 13px/1.45 var(--serif); quotes: none; }

.record-layout { display: grid; grid-template-columns: 280px 1fr; gap: 90px; padding: 90px 0; border-top: 1px solid var(--ink); }
.record-aside { position: sticky; top: 120px; height: fit-content; }
.record-aside p { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.record-aside dl { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--line); }
.record-aside dl div { padding-top: 13px; }
.record-aside dt { font: 600 22px var(--serif); }
.record-aside dd { margin: 2px 0 0; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.record-timeline { border-top: 1px solid var(--line); }
.record-row { display: grid; grid-template-columns: 22px 1fr; gap: 18px; padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.record-rail { display: flex; justify-content: center; position: relative; }
.record-rail::after { content: ""; width: 1px; background: var(--line); position: absolute; top: 18px; bottom: -33px; }
.record-row:last-child .record-rail::after { display: none; }
.record-rail span { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--forest); z-index: 1; box-shadow: 0 0 0 5px var(--paper); }
.record-kicker { display: flex; gap: 10px; color: var(--forest-bright); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.record-status { color: var(--clay); }
.record-body h3 { margin: 8px 0 8px; font: 600 25px/1.15 var(--serif); }
.record-body > p { color: #535e59; line-height: 1.55; font-size: 14px; }
.record-body ul { padding-left: 18px; color: #535e59; font-size: 12px; line-height: 1.55; }
.people { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.people span { padding: 5px 8px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; }

.watchlist { display: grid; grid-template-columns: 280px 1fr; gap: 90px; padding: 75px 0; border-top: 1px solid var(--ink); }
.watchlist > div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.watchlist article { padding: 24px; background: var(--paper-deep); }
.watchlist article p { margin: 0; font: 600 18px/1.25 var(--serif); }
.analysis-pending { margin-block: 30px 80px; padding: 44px; border: 1px solid var(--line); background: var(--white); }
.analysis-pending p { max-width: 660px; margin: 20px 0 0; color: var(--muted); line-height: 1.6; }

.transcript-section { padding: 80px max(24px, calc((100vw - 1180px) / 2)); color: #eef3ed; background: #10241e; }
.transcript-header { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.16); }
.transcript-header .eyebrow { color: var(--lime); }
.transcript-header p { margin: 8px 0 0; color: #9eada7; font-size: 11px; }
.transcript-search { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.transcript-search input { color: white; }
.transcript-scroll { max-height: 760px; overflow: auto; margin-top: 20px; scrollbar-color: #567366 transparent; }
.transcript-line { display: grid; grid-template-columns: 38px 90px 1fr; gap: 12px; padding: 10px 10px; border-bottom: 1px solid rgba(255,255,255,.07); transition: background .3s; }
.transcript-line.highlighted { background: rgba(200,220,130,.2); }
.transcript-line a, .transcript-line time { color: #758c83; font-size: 9px; text-decoration: none; }
.transcript-line p { margin: 0; color: #ced8d3; font: 400 13px/1.5 var(--sans); }
.transcript-line strong { color: var(--lime); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.transcript-limit { padding: 30px; color: #8ca097; text-align: center; font-size: 12px; }
.transcript-pagination { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 10px 4px; color: #8ca097; font-size: 11px; }
.transcript-pagination div { display: flex; gap: 7px; }
.transcript-pagination button { padding: 7px 11px; border: 1px solid rgba(255,255,255,.18); color: #dbe4df; background: transparent; cursor: pointer; font-size: 10px; }
.transcript-pagination button:disabled { opacity: .35; cursor: default; }

.site-footer { min-height: 230px; display: grid; grid-template-columns: 80px 1fr 180px; gap: 30px; align-items: start; padding: 55px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); }
.site-footer strong { font: 600 22px var(--serif); }
.site-footer p { max-width: 550px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.footer-meta { color: var(--muted); font-size: 9px; line-height: 1.8; text-transform: uppercase; letter-spacing: .12em; }
.loading-shell, .loading-detail, .error-page { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 18px; color: var(--muted); }
.error-page h1 { font: 600 52px var(--serif); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .city-nav { grid-column: 1 / -1; width: 100%; overflow-x: auto; justify-content: center; }
  .about-link { display: none; }
  .hero-grid, .record-layout, .watchlist { grid-template-columns: 1fr; gap: 45px; }
  .hero-grid { align-items: start; }
  .city-stats { max-width: 500px; }
  .meeting-grid { grid-template-columns: 1fr 1fr; }
  .record-aside { position: static; }
  .watchlist > div:last-child { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-width { width: min(100% - 28px, 1180px); }
  .site-header { padding: 12px 14px; gap: 10px; }
  .brand small { display: none; }
  .city-nav { justify-content: start; }
  .city-hero { padding: 70px 0 48px; }
  .hero-grid { gap: 48px; }
  .hero-grid h1 { font-size: 57px; }
  .hero-copy { margin-top: 28px; font-size: 16px; }
  .city-stats dt { font-size: 31px; }
  .featured-section, .records-section, .briefing { padding: 45px 0; }
  .meeting-card.featured a { min-height: 410px; padding: 28px; }
  .meeting-card.featured h3 { font-size: 39px; }
  .meeting-grid { grid-template-columns: 1fr; }
  .records-heading, .section-heading, .transcript-header { align-items: stretch; flex-direction: column; }
  .record-controls { align-items: stretch; }
  .search-box { min-width: 0; width: 100%; }
  .meeting-hero { padding: 34px 0 65px; }
  .back-link { margin-bottom: 38px; }
  .meeting-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
  .meeting-meta > * + *::before { display: none; }
  .meeting-hero h1 { font-size: 49px; }
  .meeting-dek { font-size: 16px; }
  .quality-mark { width: 100%; margin: 7px 0 0; }
  .highlight-card { grid-template-columns: 42px 1fr; gap: 10px; }
  .record-layout, .watchlist { padding: 58px 0; }
  .record-row { grid-template-columns: 16px 1fr; gap: 10px; }
  .transcript-section { padding: 60px 14px; }
  .transcript-line { grid-template-columns: 35px 1fr; }
  .transcript-line time { display: none; }
  .transcript-pagination { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 50px 1fr; }
  .footer-meta { display: none; }
}
