/* Agency site engine. Palette and typeface come from /brand.css (the client pack's site.json). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: #fff; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--primary); }
/* Focus: an ink ring with an accent halo on light surfaces (3:1 or better on white and surface);
   the accent ring alone on the dark header, nav, hero and footer. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--accent); }
.site-header :focus-visible, .site-nav :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); box-shadow: none; }
.hero .next-meeting :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 5px var(--accent); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; color: var(--ink); font-weight: 500; }
h1 { font-size: 2.1rem; margin: 0 0 .5rem; }
h2 { font-size: 1.45rem; margin: 0 0 .75rem; }
h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
p { margin: 0 0 .8rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip link and demo banner */
.skip { position: absolute; left: 12px; top: -48px; background: var(--accent); color: var(--ink); padding: 8px 14px; z-index: 50; font-weight: 500; }
.skip:focus { top: 8px; }
.demo-banner { background: #fff4cc; color: #5c4400; border-bottom: 1px solid #e8d48a; font-size: .875rem; padding: 7px 0; text-align: center; }
.demo-banner a { color: #5c4400; }

/* Header and navigation */
.site-header { background: var(--header); color: #fff; }
.site-header .bar { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.site-header .logo { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.site-header .logo img { display: block; width: auto; height: auto; max-height: 62px; }
.site-header .site-name { font-size: 1.15rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.site-header .header-search { margin-left: auto; display: flex; }
.site-header .header-search input { width: 240px; padding: 8px 10px; border: 1px solid #555; border-radius: 4px 0 0 4px; font: inherit; font-size: .9rem; }
.site-header .header-search button { background: var(--primary); color: #fff; border: 0; border-radius: 0 4px 4px 0; padding: 0 14px; font: inherit; font-size: .9rem; cursor: pointer; }
.site-nav { background: var(--ink); border-bottom: 4px solid var(--accent); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav a { display: block; padding: 12px 14px; color: #fff; text-decoration: none; font-size: .95rem; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: #fff; }
/* Two copies of the menu: the wide list, and on phones a <details> that loads closed and opens without JS.
   A closed <details> hides its content in every browser, whatever the CSS, so the wide list is its own <ul>. */
.site-nav .nav-phone { display: none; }
@media (max-width: 860px) {
  .site-header .site-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .bar { flex-wrap: wrap; padding: 10px 20px; }
  .site-header .logo img { width: auto; height: auto; max-height: 62px; }
  .site-header .header-search { margin-left: 0; width: 100%; }
  .site-header .header-search input { flex: 1; width: auto; min-width: 0; }
  .site-nav .nav-wide { display: none; }
  .site-nav .nav-phone { display: block; }
  .site-nav details summary { display: block; color: #fff; padding: 12px 0; cursor: pointer; font-weight: 500; list-style: none; }
  .site-nav details summary::-webkit-details-marker { display: none; }
  .site-nav details summary::after { content: ""; display: inline-block; margin-left: 10px; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
  .site-nav details[open] summary::after { transform: translateY(1px) rotate(-135deg); }
  .site-nav details:not([open]) ul { display: none; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 10px 0; }
}

/* Breadcrumbs */
.crumbs { background: var(--surface); font-size: .875rem; }
.crumbs ol { list-style: none; margin: 0; padding: 8px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--muted); margin-right: 6px; }

main { display: block; }
.section { padding: 44px 0; }
/* An element that is both .wrap and .section (or .page-body) keeps .wrap's side padding; on phones the content would touch the screen edges. */
.wrap.section { padding-left: 20px; padding-right: 20px; }
.section.alt { background: #f7f7f7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--primary); font-weight: 500; margin-bottom: 6px; }

/* Home hero */
.hero { background: var(--ink); color: #fff; padding: 48px 0 52px; border-bottom: 4px solid var(--primary); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.hero h1 { color: #fff; font-size: 2.4rem; }
.hero .lede { color: #e2e2e2; font-size: 1.1rem; max-width: 40em; }
.hero-search { display: flex; margin: 22px 0 12px; max-width: 640px; }
.hero-search input { flex: 1; min-width: 0; padding: 14px 16px; font: inherit; font-size: 1.05rem; border: 0; border-radius: 6px 0 0 6px; }
.hero-search button { background: var(--accent); color: var(--ink); border: 0; border-radius: 0 6px 6px 0; padding: 0 24px; font: inherit; font-weight: 500; font-size: 1.05rem; cursor: pointer; }
.hero-search button:hover { background: var(--accent); filter: brightness(1.08); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.quick a { display: inline-block; color: #fff; border: 1px solid #6a6a6a; border-radius: 999px; padding: 5px 12px; font-size: .875rem; text-decoration: none; }
.quick a:hover { border-color: var(--accent); color: var(--accent); }
.next-meeting { background: #fff; color: var(--text); border-radius: 8px; padding: 20px 22px; border-top: 5px solid var(--accent); }
.next-meeting h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: minmax(0, 1fr); } .hero h1 { font-size: 1.8rem; } }

/* Doorways */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.door { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; border-top: 5px solid var(--link); display: flex; flex-direction: column; }
.door.primary { border-top-color: var(--primary); }
.door.accent { border-top-color: var(--accent); }
.door.header { border-top-color: var(--header); }
.door h3 a { color: var(--ink); text-decoration: none; }
.door h3 a:hover { color: var(--primary); text-decoration: underline; }
.door ul { margin: auto 0 0; padding: 10px 0 0; list-style: none; font-size: .925rem; }
.door li { padding: 3px 0; }
@media (max-width: 1000px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } }

/* Fast Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.stat .label { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--muted); }
.stat .figure { font-size: 2rem; font-weight: 500; color: var(--ink); margin: 4px 0 6px; line-height: 1.1; }
.stat .asof { font-size: .85rem; color: var(--primary); margin-bottom: 6px; }
.stat .source { font-size: .78rem; color: var(--muted); margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* Dated lists */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.dated { list-style: none; margin: 0; padding: 0; }
.dated li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.datebox { background: var(--primary); color: #fff; border-radius: 6px; text-align: center; padding: 6px 0; line-height: 1.1; align-self: start; }
.datebox .m { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.datebox .d { display: block; font-size: 1.4rem; font-weight: 500; }
.dated .title { font-weight: 500; color: var(--ink); }

/* Programs */
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.program h3 a { color: var(--ink); }
.program ul { padding-left: 1.1rem; margin: .5rem 0 0; font-size: .925rem; }
@media (max-width: 860px) { .programs { grid-template-columns: 1fr; } }

/* Content pages */
.page-head { background: var(--surface); padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.page-head .summary { font-size: 1.1rem; color: var(--muted); max-width: 52em; margin: 0; }
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; padding: 32px 0 48px; }
.wrap.page-body { padding-left: 20px; padding-right: 20px; }
@media (max-width: 960px) { .page-body { grid-template-columns: 1fr; } }
.prose { max-width: 46em; }
.prose section { margin-bottom: 28px; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .3rem; }
.links { list-style: none; padding: 0; margin: .5rem 0 0; }
.links li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.links .kind { display: inline-block; min-width: 4.5em; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 18px; }
.aside-box h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: .925rem; }
.aside-box li:last-child { border-bottom: 0; }
.sources { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 28px; }
.sources a { word-break: break-all; }

/* Filing chooser */
.filing { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 14px; background: #fff; }
.filing dl { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 12px; margin: .5rem 0 0; font-size: .925rem; }
.filing dt { color: var(--muted); }
.filing dd { margin: 0; }
.tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; background: var(--surface); border-radius: 4px; padding: 2px 7px; color: var(--ink); }

/* Tables */
table.data { width: 100%; border-collapse: collapse; font-size: .925rem; }
table.data caption { text-align: left; font-weight: 500; color: var(--ink); padding-bottom: 8px; }
table.data th, table.data td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.data th { background: var(--surface); font-weight: 500; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Search results */
.results { list-style: none; padding: 0; margin: 0; }
.results li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--header); color: #d8d8d8; padding: 36px 0 24px; margin-top: 0; font-size: .9rem; border-top: 4px solid var(--accent); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.site-footer .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.site-footer h2 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .legal { border-top: 1px solid #555; margin-top: 24px; padding-top: 14px; font-size: .8rem; color: #bdbdbd; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Review fixes: source lines on dated items, the filing tag after its heading, demo notes */
.source-line { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.tag-line { margin: 0 0 .5rem; }
.demo-note { background: #fff4cc; border-color: #e8d48a; }

/* Data Center */
.section-tight { margin: 0 0 40px; }
.table-scroll { overflow-x: auto; margin-bottom: 8px; }
.table-scroll table.data { min-width: 640px; }
.download { font-size: .875rem; white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin: 0 0 18px; }
.filters > div { display: flex; flex-direction: column; gap: 4px; font-size: .875rem; }
.filters label { font-weight: 500; color: var(--ink); }
.filters input, .filters select { font: inherit; padding: 7px 9px; border: 1px solid var(--muted); border-radius: 4px; min-width: 12em; background: #fff; }
.filters button { font: inherit; background: var(--primary); color: #fff; border: 0; border-radius: 4px; padding: 8px 16px; cursor: pointer; }
.filters button:hover { background: var(--primary-dark); }
.filters .actions { flex-direction: row; align-items: center; gap: 14px; }
.result-line { margin: 0 0 10px; }
table.data th a.sort { color: var(--ink); }
table.data th a.sort:hover { color: var(--primary); }
table.data th[aria-sort] a.sort { font-weight: 700; }
.pager { display: flex; gap: 16px; align-items: center; margin: 14px 0; font-size: .925rem; }
.kpis { margin-bottom: 36px; }
.kpis .figure { font-size: 1.6rem; }
svg.bars { display: block; width: 100%; max-width: 720px; height: auto; margin: 0 0 14px; }
svg.bars rect { fill: var(--primary); }
svg.bars text { fill: var(--muted); font-size: 12px; font-family: var(--font); }
dl.terms { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 6px 16px; margin: 0; max-width: 46em; }
dl.terms dt { color: var(--muted); }
dl.terms dd { margin: 0; }
@media (max-width: 560px) { dl.terms { grid-template-columns: 1fr; } dl.terms dd { margin-bottom: 8px; } }
.notice { background: var(--surface); border-left: 4px solid var(--accent); padding: 12px 16px; margin: 16px 0; }
.notice p:last-child { margin-bottom: 0; }
.source-block { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 12px; }
.source-block p { margin-bottom: .4rem; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 4px 0 0; padding: 0; font-size: .95rem; }
.page-head .hero-search input, .section-tight .hero-search input, .not-found .hero-search input { border: 1px solid var(--muted); }
.not-found .hero-search { margin-top: 0; }

/* Filing */
:root { --error: #b42318; } /* 6.6:1 on white */
.filing-body { max-width: 46em; }
.filing-link { margin: .25rem 0 .5rem; }
.button { display: inline-block; font: inherit; font-weight: 500; line-height: 1.3; background: var(--primary); color: #fff; border: 2px solid var(--primary); border-radius: 4px; padding: 9px 18px; cursor: pointer; text-decoration: none; }
.button:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.button.secondary { background: #fff; color: var(--primary); }
.button.secondary:hover { background: var(--surface); color: var(--primary-dark); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.filing-form { margin-top: 24px; }
.filing-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.filing-form legend { padding: 0; margin: 0 0 14px; }
.filing-form legend h2 { margin: 0; }
.filing-form fieldset.row { border: 1px solid var(--line); border-radius: 8px; padding: 6px 18px 18px; margin: 0 0 16px; background: #fff; }
.filing-form fieldset.row legend { padding: 0 6px; margin: 0 0 8px; font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.field { margin: 0 0 20px; }
.field label { display: block; font-weight: 500; color: var(--ink); margin: 0 0 4px; }
.field .hint { color: var(--muted); font-size: .925rem; margin: 0 0 4px; }
.field .cite { color: var(--muted); font-size: .8rem; margin: 0 0 6px; }
.field input, .field select, .field textarea { font: inherit; padding: 7px 9px; border: 1px solid var(--muted); border-radius: 4px; background: #fff; color: var(--text); width: 100%; max-width: 32em; }
.field input.short { max-width: 14em; }
.field textarea { max-width: none; min-height: 6.5em; resize: vertical; }
.field .check { display: flex; gap: 12px; align-items: flex-start; }
.field .check input { width: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: var(--primary); }
.field .check label { font-weight: 400; margin: 0; }
.field.has-error { border-left: 4px solid var(--error); padding-left: 14px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border: 2px solid var(--error); }
.field-error { color: var(--error); font-weight: 500; margin: 0 0 6px; }
.error-summary { border: 4px solid var(--error); background: #fff; padding: 16px 20px; margin: 0 0 24px; }
.error-summary h2 { margin: 0 0 10px; }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--error); font-weight: 500; }
.private-link { background: var(--surface); border-left: 4px solid var(--primary); padding: 14px 16px; margin: 0 0 24px; }
.private-link label { display: block; font-weight: 500; color: var(--ink); margin: 0 0 6px; }
.private-link input { font: inherit; font-size: .9rem; width: 100%; padding: 7px 9px; border: 1px solid var(--muted); border-radius: 4px; background: #fff; color: var(--text); }
.private-link p { font-size: .925rem; margin: 8px 0 0; }
.private-link form { margin: 10px 0 0; }
.privacy-notice { border-top: 1px solid var(--line); margin: 32px 0 0; padding-top: 12px; font-size: .925rem; }
.privacy-notice h2 { font-size: 1.1rem; }
.answers h3, .answers h4 { margin-top: 18px; }
ol.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
ol.timeline li { position: relative; counter-increment: step; padding: 0 0 20px 44px; min-height: 30px; }
ol.timeline li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border: 2px solid var(--muted); border-radius: 50%; background: #fff; color: var(--muted); font-size: .875rem; line-height: 26px; text-align: center; }
ol.timeline li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }
ol.timeline li:last-child::after { display: none; }
ol.timeline li.done::before { content: "\2713"; background: var(--primary); border-color: var(--primary); color: #fff; }
ol.timeline li.now::before { border-color: var(--primary); color: var(--primary); }
ol.timeline .step-label { display: block; font-weight: 500; color: var(--ink); }
ol.timeline li[aria-current="step"] .step-label { font-weight: 700; }
ol.timeline .step-state { display: block; font-size: .875rem; color: var(--muted); }
@media print {
  .skip, .site-header, .site-nav, .crumbs, .site-footer, .private-link, .no-print, .filing-form { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; }
  .page-head { background: none; border: 0; padding: 0 0 12px; }
  .wrap { max-width: none; padding: 0; }
  .section, .wrap.section { padding: 0; }
  .wrap.page-body { padding-left: 0; padding-right: 0; }
  .filing-body { max-width: none; }
  ol.timeline li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  dl.terms dd { break-inside: avoid; }
  h2, h3, h4, dl.terms dt { break-after: avoid; }
}
