/* Pathways Opportunity Council pages: POC 2026 brand system.
   White ground. Source Serif Pro (Source Serif 4) display, Source Sans 3 body,
   Space Mono labels. All colour pairs below pass WCAG AA on white. */

:root {
  --poc-white: #ffffff;
  --poc-slate: #3a4a5e;
  --poc-ink: #1e1c19;
  --poc-ink-mid: #3d3a35;
  --poc-ink-light: #6e6960;
  --poc-rule: #d9d5ce;
  --poc-tint: #f5f4f1;
  --poc-copper: #9e4e1a;
  --poc-blue: #005894;
  --poc-auburn: #cd4b00;
  --poc-garnet: #73000a;
  --accent: var(--poc-slate);
  --serif: "Source Serif Pro", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--poc-white);
  color: var(--poc-ink-mid);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--poc-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--poc-ink); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--poc-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--poc-ink); font-weight: 400; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.125rem); margin-top: 0.35rem; }
h3 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: 0.5rem; font-weight: 600; }
p { margin: 0 0 1.25rem; }
strong { color: var(--poc-ink); font-weight: 600; }
ul, ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
li { margin-bottom: 0.5rem; }
sup { line-height: 0; font-size: 0.72em; }
sup a { text-decoration: none; padding: 0 0.15em; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--poc-ink); color: #fff; padding: 0.6rem 1rem;
  font-family: var(--mono); font-size: 0.85rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; outline-color: var(--poc-auburn); }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.measure { max-width: 46rem; }
@media (min-width: 720px) { .wrap { padding: 0 2rem; } }

/* Header */
.site-header { border-bottom: 1px solid var(--poc-rule); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; min-height: 4rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.wordmark { font-family: var(--serif); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.95rem; color: var(--poc-ink); text-decoration: none; }
.wordmark:hover { color: var(--poc-blue); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--poc-slate); text-decoration: none; padding: 0.35rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--poc-ink); text-decoration: underline; text-underline-offset: 0.35em; }

/* Labels */
.label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--poc-blue); margin: 0 0 0.5rem; }
.meta { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--poc-ink-light); }

/* Hero */
.hero { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--poc-rule); }
.hero .accent-rule { width: 4.5rem; height: 4px; background: var(--accent); margin: 0 0 1.5rem; }
.hero .subtitle { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--poc-ink-mid); line-height: 1.4; margin: 1rem 0 1.5rem; max-width: 46rem; }
.hero .byline { margin: 0 0 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 1.5rem; }
.btn {
  display: inline-block; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--poc-ink); background: var(--poc-white); border: 1.5px solid var(--poc-ink); padding: 0.7rem 1.1rem; text-decoration: none;
}
.btn:hover { background: var(--poc-ink); color: #fff; }
.btn-primary { background: var(--poc-ink); color: #fff; }
.btn-primary:hover { background: var(--poc-slate); border-color: var(--poc-slate); }
@media (min-width: 720px) { .hero { padding: 3.5rem 0 2.75rem; } }

/* Sections */
.section { padding: 2.5rem 0 0.5rem; }
.section + .section { border-top: 1px solid var(--poc-rule); margin-top: 1.5rem; }
.section-head { margin-bottom: 1.25rem; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--poc-ink); }

/* Callouts and asides */
.callout { background: var(--poc-tint); border-left: 4px solid var(--accent); padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; }
.callout .label { color: var(--poc-slate); }
.callout p:last-child { margin-bottom: 0; }
.callout-grid { display: grid; gap: 1.25rem; margin: 1.5rem 0 2rem; }
@media (min-width: 900px) { .callout-grid { grid-template-columns: 1fr 1fr; } .callout-grid .callout { margin: 0; } }
.notice { border: 1px solid var(--poc-rule); padding: 1rem 1.25rem; font-size: 1rem; color: var(--poc-ink-mid); margin: 1.5rem 0; }
.notice p:last-child { margin-bottom: 0; }

/* Three numbers */
.stats { display: grid; gap: 1.25rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { border-top: 4px solid var(--accent); padding-top: 1rem; }
.stat .figure { font-family: var(--serif); font-size: clamp(2.25rem, 4.5vw, 3rem); line-height: 1; color: var(--poc-ink); display: block; margin-bottom: 0.75rem; }
.stat p { font-size: 1rem; line-height: 1.55; margin-bottom: 0.5rem; }
.stat .meta { display: block; }

/* Pull quotes */
blockquote { margin: 1.75rem 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--accent); }
blockquote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--poc-ink); margin-bottom: 0.75rem; }
blockquote footer { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--poc-ink-light); }

/* Data figure */
figure { margin: 2rem 0; }
figcaption { font-size: 0.95rem; color: var(--poc-ink-light); margin-top: 0.75rem; }
table.data { width: 100%; border-collapse: collapse; font-size: 1rem; }
table.data caption { text-align: left; font-family: var(--serif); font-size: 1.15rem; color: var(--poc-ink); padding-bottom: 0.75rem; caption-side: top; }
table.data th, table.data td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--poc-rule); vertical-align: middle; }
table.data thead th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--poc-ink-light); font-weight: 400; }
table.data tbody th { font-weight: 400; color: var(--poc-ink-mid); width: 55%; }
table.data td.num { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--poc-ink); }
.bar { display: block; height: 0.9rem; background: var(--poc-blue); min-width: 2px; }
.bar-cell { width: 30%; }
@media (max-width: 599px) { .bar-cell { display: none; } table.data tbody th { width: auto; } }

/* Series list */
.series { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; }
.series li { border: 1px solid var(--poc-rule); padding: 1.25rem 1.5rem; }
.series li.is-current { border-color: var(--accent); border-width: 2px; }
.series .label { margin-bottom: 0.35rem; }
.series h3 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.series p { margin: 0; font-size: 1rem; }
.series .status { display: inline-block; margin-top: 0.6rem; }

/* Partner and about blocks */
.partners { display: grid; gap: 1.5rem; margin: 1.5rem 0 1rem; }
@media (min-width: 900px) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partners > div { border-top: 2px solid var(--poc-rule); padding-top: 1rem; font-size: 1rem; }
.partners h3 { margin-top: 0; font-size: 1.15rem; }
.partners p { margin-bottom: 0.75rem; }

/* Endnotes */
.notes { font-size: 0.95rem; color: var(--poc-ink-mid); }
.notes ol { padding-left: 1.5rem; }
.notes li { margin-bottom: 0.75rem; }
.notes a { overflow-wrap: anywhere; }
.backlink { font-family: var(--mono); font-size: 0.75rem; text-decoration: none; margin-left: 0.35rem; }

/* CTA band */
.cta { background: var(--poc-tint); border-top: 4px solid var(--accent); padding: 2rem 0; margin-top: 2.5rem; }
.cta p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--poc-rule); margin-top: 3rem; padding: 2rem 0 2.5rem; font-size: 0.95rem; color: var(--poc-ink-light); }
.site-footer p { margin: 0 0 0.5rem; }
.site-footer .tagline { font-family: var(--serif); color: var(--poc-ink); font-size: 1.05rem; }
.site-footer .attribution { color: var(--poc-ink-mid); }
.site-footer nav a { margin-right: 1.25rem; }

/* Screen-reader-only text */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
