@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --ink: #16202c;
  --paper: #ffffff;
  --deep: #13243a;
  --accent: #9a5a22;
  --accent-ink: #ffffff;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}

/* The template's look. Colours and faces come from the brief (look.colors, look.fonts) as the tokens above this
   line; everything here is shared by every client site. No external file is loaded: fonts are served by the site
   itself, which keeps it fast (Google requirement 6) and keeps third parties off the page. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  --muted: color-mix(in srgb, var(--ink) 66%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 14%, var(--paper));
  --tint: color-mix(in srgb, var(--deep) 5%, var(--paper));
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; font-weight: 600; }
h1 { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.2vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 18px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

.ribbon { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 14px; font-weight: 600; padding: 7px 16px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--accent); }
.btn:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Header: brand, navigation, the target action. On a phone the navigation becomes its own scrolling row. */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.head-row { display: flex; align-items: center; gap: 12px 28px; min-height: 76px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; margin-right: auto; }
.mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--deep); color: var(--paper); font-size: 17px; letter-spacing: .02em; flex: none; }
.main-nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
@media (max-width: 860px) {
  .head-cta { display: none; }
  .main-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 2px; }
  .main-nav a { white-space: nowrap; }
}

/* Hero: the mission, word for word, on the organisation's deep colour. */
.hero { background: var(--deep); color: var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 32px; padding-block: 72px 80px; }
.hero .eyebrow { color: color-mix(in srgb, var(--accent) 70%, var(--paper)); }
.hero h1 { margin-top: 14px; }
.mission { margin-top: 22px; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; max-width: 38em; color: color-mix(in srgb, var(--paper) 88%, var(--deep)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.motif { width: 100%; max-width: 380px; justify-self: end; color: var(--accent); }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 48px 56px; }
  .motif { display: none; }
}

.band { padding-block: 64px; }
.band-alt { background: var(--tint); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head a { font-weight: 600; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.two-col h2 { margin-bottom: 12px; }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); } .band { padding-block: 48px; } }
.col-label { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }

/* Programs: one card each on the home page, one row each on the programs page. */
.p-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
@media (min-width: 900px) {
  .p-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.p-card a { display: grid; gap: 10px; height: 100%; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; background: var(--paper); }
.p-card a:hover { border-color: var(--accent); }
.p-card p { color: var(--muted); font-size: 16px; }
.more { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 15px; }
.p-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.p-rows li a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 40px; padding: 26px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.p-rows li:last-child a { border-bottom: 1px solid var(--line); }
.p-rows h2 { font-size: 26px; }
.p-rows p { color: var(--muted); }
.p-rows li a:hover h2 { color: var(--accent); }
@media (max-width: 760px) { .p-rows li a { grid-template-columns: minmax(0, 1fr); } }

/* Articles */
.a-list { list-style: none; margin: 0; padding: 0; }
.a-item a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.a-kind { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.a-title { font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.25; }
.a-item a:hover .a-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.a-sum { color: var(--muted); font-size: 16px; }
.a-date { color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); font-style: italic; padding: 16px 0; }

.cta-band { background: var(--deep); color: var(--paper); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-block: 44px; }
.cta-text { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; max-width: 30em; }

/* Blocks of inner pages: each block is a section; the heading block opens the page, the last block closes it. */
.blk { padding-block: 0 44px; }
.blk-head { padding-top: 56px; padding-bottom: 0; }
main > .blk:last-child { padding-bottom: 72px; }
.blk:has(+ .cta-band) { padding-bottom: 64px; }
.blk > .wrap.block { margin-top: 0; }

/* Inner pages */
.page { padding-block: 56px 72px; }
.page-head { display: grid; gap: 14px; max-width: 46em; margin-bottom: 36px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); }
.meta { color: var(--muted); font-size: 15px; }
.crumbs { font-size: 15px; margin-bottom: 18px; color: var(--muted); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px 64px; align-items: start; }
@media (max-width: 860px) { .page-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 40em; display: grid; gap: 18px; }
.prose h2 { margin-top: 18px; }
.prose h3 { margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.prose blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-family: var(--display); font-size: 21px; }
.prose code { font-size: .9em; background: var(--tint); padding: 1px 5px; border-radius: 3px; }
.facts dl { margin: 0; display: grid; gap: 4px; padding: 20px 22px; background: var(--tint); border-radius: 6px; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0; }
.block { margin-top: 48px; display: grid; gap: 14px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.p-name { font-weight: 700; }
.p-role { color: var(--muted); }
.blog-cols h2 { font-size: 28px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.article-body { font-size: 18px; }
.cta-box { margin-top: 44px; max-width: 40em; padding: 26px 28px; border: 1px solid var(--line); border-radius: 6px; display: grid; gap: 16px; justify-items: start; background: var(--tint); }
.cta-box p { font-size: 18px; }
.also { font-size: 15px; color: var(--muted); }
.contact { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 28px; font-size: 18px; }
.contact dt { font-weight: 700; }
.contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

.site-foot { border-top: 1px solid var(--line); background: var(--tint); font-size: 15px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; padding-block: 40px 48px; }
.foot-org { display: grid; gap: 4px; }
.f-name { color: var(--ink); font-weight: 700; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: start; }
.foot-nav a { color: var(--ink); }
@media (max-width: 640px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
