/* TAFES website. An established-NGO look (founder, 2026-11-24: "professional NGO
   sites ... fonts spacing menus ... navy blue"): solid navy and white, the logo's red
   only for giving and small accents; square corners, thin rules instead of shadows,
   real photographs; Montserrat headings, Open Sans text; a serif only on the
   licence certificate. Mobile first. */
:root {
  --navy: #13294b;
  --navy-deep: #0b1b33;
  --navy-soft: #eef2f7;
  --red: #c8102e;
  --gold: #a8843a;
  --ink: #222831;
  --sub: #5c6470;
  --line: #e1e4e9;
  --paper: #ffffff;
  --grey: #f4f5f7;
  --head: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  /* a jump to a section stops below everything pinned at the top (header, section bar),
     with breathing room; --stick is measured by site.js on every screen size */
  scroll-padding-top: calc(var(--stick, 140px) + 24px); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy-deep); line-height: 1.22; margin: 0 0 .55em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.kicker { display: block; font-family: var(--head); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--red); margin-bottom: 12px; }
.rule { width: 50px; height: 3px; background: var(--red); border: 0; margin: 0 0 24px; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.1rem; color: var(--sub); max-width: 740px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--sub); }
.section { padding: 90px 0; }
.section.grey { background: var(--grey); }
.section.navy { background: var(--navy); color: #d5dcea; }
.section.navy h2, .section.navy h3 { color: #fff; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* buttons: square, uppercase, as charities use them */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 0; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: #a00d25; }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--navy-deep); }
.btn.outline { border-color: currentColor; color: inherit; background: transparent; }
.btn.outline:hover { background: rgba(255,255,255,.1); }
.btn.white { background: #fff; color: var(--navy-deep); }
.link-arrow { font-family: var(--head); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* utility bar and header */
.topbar { background: var(--navy-deep); color: #a9b5cc; font-size: .8rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #e6ebf4; text-decoration: none; }
.topbar .social { display: flex; gap: 18px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 64px; width: auto; display: block; }
.nav { display: none; }
.nav > a, .nav .dd > a { font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-deep); text-decoration: none; padding: 31px 0; white-space: nowrap; border-bottom: 3px solid transparent; display: block; }
.nav > a:hover, .nav > a.on, .nav .dd:hover > a, .nav .dd > a.on { border-bottom-color: var(--red); }
/* dropdowns: straight panel under the item, navy rule on top */
.nav .dd { position: relative; }
.nav .dd > a::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 7px; vertical-align: 2px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.nav .drop { display: none; position: absolute; top: 100%; left: -22px; min-width: 270px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); box-shadow: 0 14px 30px rgba(11,27,51,.12); padding: 8px 0; z-index: 60; }
.nav .dd:hover .drop, .nav .dd:focus-within .drop { display: block; }
.nav .drop a { display: block; padding: 10px 22px; font-size: .92rem; font-weight: 400; color: var(--ink); text-decoration: none; white-space: nowrap; border-left: 3px solid transparent; }
.nav .drop a:hover { background: var(--navy-soft); border-left-color: var(--red); color: var(--navy-deep); }
.nav .drop a.top { font-family: var(--head); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.nav .drop.cols { min-width: 460px; display: none; grid-template-columns: 1fr 1fr; }
.nav .dd:hover .drop.cols, .nav .dd:focus-within .drop.cols { display: grid; }
.mobile-nav a.sub { padding-left: 42px; font-family: var(--sans); font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.header-cta { display: none; }
.menu-btn { width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: var(--navy-deep); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 15px 22px; border-bottom: 1px solid var(--line); font-family: var(--head); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-deep); text-decoration: none; }
.mobile-nav a.give { color: var(--red); }
@media (min-width: 1100px) {
  .nav { display: flex; gap: 28px; }
  .menu-btn { display: none; }
  .header-cta { display: inline-flex; }
}

/* hero: a real photograph with a plain dark wash */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; background: var(--navy-deep) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(11, 27, 51, .62); }
.hero .wrap { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: #fff; max-width: 720px; }
.hero p { font-size: 1.15rem; color: #e3e8f1; max-width: 600px; }
.hero .kicker { color: #fff; opacity: .85; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 700px) { .hero { min-height: 520px; } }

.page-head { background: var(--navy) center/cover no-repeat; color: #fff; position: relative; }
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(11, 27, 51, .78); }
.page-head .wrap { position: relative; padding-top: 80px; padding-bottom: 64px; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #d5dcea; max-width: 700px; margin: 0; font-size: 1.05rem; }
.crumbs { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #a9b5cc; margin-bottom: 16px; font-family: var(--head); font-weight: 600; }
.crumbs a { color: #fff; text-decoration: none; }

/* grids */
.grid { display: grid; gap: 30px; }
@media (min-width: 680px) { .grid.two, .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* three pillars, divided by thin rules */
.pillars { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 40px 30px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .pillar { border-bottom: 0; border-right: 1px solid var(--line); } .pillar:last-child { border-right: 0; } }
.pillar .num { font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--red); }
.pillar h3 { margin-top: 10px; font-size: 1.3rem; }

/* figures band */
.figures { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figure { padding: 26px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.14); }
.figure:last-child { border-right: 0; }
.figure b { display: block; font-family: var(--head); font-size: 2.4rem; color: #fff; line-height: 1.1; }
.figure span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #a9b5cc; font-family: var(--head); font-weight: 600; }

/* programme tiles */
.tile { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tile .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.tile .abbr { font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .18em; color: var(--red); }
.tile h3 { margin: 8px 0 10px; }
.tile p { color: var(--sub); font-size: .95rem; }
.tile .link-arrow { margin-top: auto; }

/* a programme in full */
.programme { padding: 56px 0; border-bottom: 1px solid var(--line); }
.programme:last-child { border-bottom: 0; }
.programme ul { padding-left: 20px; color: var(--ink); }
.programme li { margin-bottom: 6px; }

/* people */
.people { display: grid; gap: 30px 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .people { grid-template-columns: repeat(4, 1fr); } }
.person .ph { aspect-ratio: 4 / 5; background: var(--navy-soft); overflow: hidden; display: grid; place-items: center; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(.95); }
.person .ph .initials { font-family: var(--head); font-weight: 700; font-size: 2rem; color: var(--navy); letter-spacing: .06em; }
.person b { display: block; font-family: var(--head); font-size: .95rem; margin-top: 14px; color: var(--navy-deep); line-height: 1.35; }
.person span { display: block; font-size: .85rem; color: var(--sub); margin-top: 2px; }
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin: 0 0 32px; }
.group-title h2 { margin: 0; }
.group-title span { color: var(--sub); font-size: .9rem; }

/* testimonies */
.testimony { border-left: 3px solid var(--red); padding: 4px 0 4px 24px; }
.testimony p { font-size: 1.05rem; color: var(--ink); }
.testimony b { font-family: var(--head); font-size: .85rem; letter-spacing: .06em; color: var(--navy-deep); }

/* lists */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.numbered { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.numbered li { counter-increment: n; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--head); font-weight: 700; color: var(--red); font-size: .9rem; letter-spacing: .06em; }
.defs dt { font-family: var(--head); font-weight: 700; color: var(--navy-deep); margin-top: 22px; }
.defs dd { margin: 6px 0 0; color: var(--ink); }
.timeline { border-left: 2px solid var(--line); padding-left: 26px; margin-left: 6px; }
.timeline div { position: relative; margin-bottom: 24px; }
.timeline div::before { content: ""; position: absolute; left: -33px; top: 7px; width: 12px; height: 12px; background: var(--red); }
.timeline b { font-family: var(--head); color: var(--navy-deep); }

.anchors { background: var(--grey); border-bottom: 1px solid var(--line); position: sticky; top: var(--head-h, 84px); z-index: 20; overflow-x: auto; white-space: nowrap; }
.anchors .wrap { display: flex; gap: 26px; }
.anchors a { display: inline-block; padding: 15px 0; font-family: var(--head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.anchors a:hover { color: var(--red); }

/* regions */
.region { border-top: 1px solid var(--line); }
.region:last-child { border-bottom: 1px solid var(--line); }
.region summary { list-style: none; cursor: pointer; padding: 22px 0; display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; }
.region summary::-webkit-details-marker { display: none; }
.region summary h3 { margin: 0; font-size: 1.15rem; }
.region summary .count { color: var(--sub); font-size: .85rem; }
.region summary::after { content: "+"; font-family: var(--head); font-size: 1.5rem; color: var(--red); width: 20px; text-align: center; }
.region[open] summary::after { content: "\2212"; }
.region .inner { padding: 0 0 30px; }
.coords { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 22px; }
.coords .c { display: flex; gap: 14px; align-items: center; }
.coords img, .coords .av { width: 56px; height: 56px; object-fit: cover; object-position: 50% 20%; background: var(--navy-soft); display: grid; place-items: center; font-family: var(--head); font-weight: 700; color: var(--navy); }
.coords b { display: block; font-family: var(--head); font-size: .92rem; color: var(--navy-deep); }
.coords small { color: var(--sub); }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th { text-align: left; font-family: var(--head); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); padding: 12px 14px; border-bottom: 2px solid var(--navy); white-space: nowrap; }
td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:hover td { background: var(--grey); }

/* forms */
.filters { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 760px) { .filters { grid-template-columns: 2fr 1fr 1fr; } }
label { display: block; font-family: var(--head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #c9ced8; border-radius: 0; font: inherit; color: var(--ink); background: #fff; box-sizing: border-box; }
/* one height for every single-line field: the browser's own look differs between
   search boxes and dropdowns, so it is switched off and drawn the same way */
input, select { height: 52px; line-height: 1.2; padding-top: 0; padding-bottom: 0; -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
select { padding-right: 42px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%2313294b'/%3E%3C/svg%3E") no-repeat right 16px center; }
input[type="radio"], input[type="checkbox"] { height: auto; -webkit-appearance: auto; appearance: auto; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; }

/* licence status */
.status { display: inline-block; font-family: var(--head); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border: 1px solid currentColor; white-space: nowrap; }
.status.active { color: #19703a; }
.status.expired { color: #b0122b; }
.status.none { color: #7a6420; }
.status.revoked { color: #fff; background: #b0122b; padding: 2px 8px; }
.tally { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: 28px; }
.tally.four { grid-template-columns: repeat(2, 1fr); }
.tally.four div:nth-child(2) { border-right: 0; }
.tally.four div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .tally.four { grid-template-columns: repeat(4, 1fr); } .tally.four div:nth-child(2) { border-right: 1px solid var(--line); } .tally.four div:nth-child(-n+2) { border-bottom: 0; } }
/* licences page */
.kind-tabs { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--navy); margin-bottom: 22px; }
.kind-tabs button { font-family: var(--head); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; background: none; border: 0; padding: 14px 20px; color: var(--navy-deep); cursor: pointer; }
.kind-tabs button.on { background: var(--navy); color: #fff; }
.kind-tabs button:not(.on):hover { background: var(--navy-soft); }
.lic-type { border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 26px; background: #fff; }
.lic-type .code { font-family: "Courier New", monospace; font-weight: 700; letter-spacing: .2em; color: var(--red); }
.lic-type h3 { margin: 6px 0 10px; }
.account-rule { margin-top: 30px; }
.account-rule h3 { margin-top: 0; }
.verify { background: #fff; border: 1px solid var(--line); padding: 26px; }
.verify-row { display: flex; gap: 0; }
.verify-row input { flex: 1; min-width: 0; font-family: "Courier New", monospace; letter-spacing: .06em; }
.verify-result:empty { display: none; }
.verify-result { margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--line); background: var(--grey); line-height: 1.6; }
.verify-result.good { border-left-color: #19703a; }
.verify-result.bad { border-left-color: #b0122b; }
.reg-lic { margin: 0 0 18px; font-weight: 600; }
.status.due { color: #9a5b00; }
.status.suspended { color: #fff; background: #9a5b00; padding: 2px 8px; }
.sub-h { font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
/* accounts for giving */
table.accounts .acc-no span { font-family: "Courier New", monospace; font-weight: 700; font-size: 1.02rem; letter-spacing: .06em; color: var(--navy-deep); }
.copy { font-family: var(--head); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: none; border: 1px solid var(--navy); color: var(--navy); padding: 3px 8px; margin-left: 6px; cursor: pointer; }
.copy:hover { background: var(--navy); color: #fff; }
tr.no-pay td { background: #fbeef0; }
tr.no-pay .acc-no span { text-decoration: line-through; color: #8a1c2c; }
.warn { color: #b0122b; font-size: .82rem; }
/* one CU's page */
.cu-facts dl { display: grid; grid-template-columns: 1fr; margin: 0 0 40px; border-top: 2px solid var(--navy); }
.cu-facts dt, .cu-facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cu-facts dt { font-family: var(--head); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sub); padding-bottom: 0; border-bottom: 0; }
@media (min-width: 760px) { .cu-facts dl { grid-template-columns: 240px 1fr; } .cu-facts dt { padding-bottom: 12px; border-bottom: 1px solid var(--line); } }
/* news */
.news-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: 1fr 1fr 1fr; } }
.post-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-card .pc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-soft); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .pc-img img { transform: scale(1.03); }
.post-card .pc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { margin: 4px 0 10px; font-size: 1.15rem; line-height: 1.35; }
.post-card h3 a { color: var(--navy-deep); text-decoration: none; }
.post-card h3 a:hover { color: var(--red); }
.post-card p { margin: 0 0 12px; color: var(--sub); }
.post-card .pc-meta { font-size: .85rem; margin-top: auto; }
.group-title .link-arrow { align-self: flex-end; }
.post-layout { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .post-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.post-body { max-width: 740px; font-size: 1.08rem; line-height: 1.85; }
.post-body .lead { font-size: 1.25rem; color: var(--navy-deep); }
blockquote.story { margin: 26px 0; padding: 26px 30px; border-left: 4px solid var(--red); background: var(--grey); font-family: var(--serif); font-size: 1.2rem; line-height: 1.7; color: var(--navy-deep); }
blockquote.story cite { display: block; margin-top: 12px; font-family: var(--head); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sub); }
.share { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; font-size: .92rem; }
.share a { margin-left: 12px; }
.more-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy-deep); text-decoration: none; font-weight: 600; line-height: 1.4; }
.more-link .kicker { display: block; margin-bottom: 2px; }
.more-link:hover { color: var(--red); }
/* events: a square date block, then the details */
.event-list { display: grid; gap: 0; }
.ev-year { font-size: 1.5rem; margin: 10px 0 0; padding-bottom: 12px; border-bottom: 2px solid var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.ev-year span { font-family: var(--sans); font-size: .95rem; font-weight: 400; color: var(--sub); }
.ev-month { font-family: var(--head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 30px 0 4px; }
.ev { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ev-date { background: var(--navy); color: #fff; text-align: center; padding: 10px 4px; align-self: start; }
.ev-date b { display: block; font-family: var(--head); font-size: 1.7rem; line-height: 1; }
.ev-date span { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; color: #c9d3e6; }
.ev.past .ev-date { background: #8b94a3; }
.ev-body h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--navy-deep); }
.ev-when { margin: 0; color: var(--ink); }
.ev-who { margin: 4px 0 0; font-size: .9rem; }
.ev-links { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ev-now, .ev-past { font-family: var(--head); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-left: 10px; padding: 3px 7px; vertical-align: 2px; }
.ev-now { background: var(--red); color: #fff; }
.ev-past { border: 1px solid var(--line); color: var(--sub); }
.event-list.compact .ev { grid-template-columns: 62px 1fr; gap: 16px; padding: 14px 0; }
.event-list.compact .ev-date b { font-size: 1.35rem; }
.event-list.compact .ev-past { display: none; }
a.cu-link { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
a.cu-link:hover { color: var(--red); }
a.view { text-decoration: none; display: inline-block; }
.tally div { padding: 20px; border-right: 1px solid var(--line); }
.tally div:last-child { border-right: 0; }
.tally b { display: block; font-family: var(--head); font-size: 1.9rem; color: var(--navy-deep); }
.tally span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sub); font-family: var(--head); font-weight: 600; }
.view { font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: none; border: 1px solid var(--navy); padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.view:hover { background: var(--navy); color: #fff; }

/* give */
.give-layout { display: grid; gap: 40px; }
@media (min-width: 980px) { .give-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.step { margin-bottom: 40px; }
.step h3 { display: flex; gap: 12px; align-items: baseline; }
.step h3 .n { font-size: .8rem; color: var(--red); letter-spacing: .1em; }
.choices { display: grid; gap: 12px; }
@media (min-width: 640px) { .choices { grid-template-columns: repeat(2, 1fr); } }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: 18px 20px; border: 1px solid #c9ced8; cursor: pointer; background: #fff; height: 100%; }
.choice span b { display: block; font-family: var(--head); color: var(--navy-deep); font-size: .95rem; }
.choice span small { color: var(--sub); }
.choice input:checked + span { border: 2px solid var(--navy); padding: 17px 19px; background: var(--navy-soft); }
.choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.amounts button { font-family: var(--head); font-weight: 700; font-size: .85rem; padding: 13px 18px; border: 1px solid #c9ced8; background: #fff; cursor: pointer; color: var(--navy-deep); }
.amounts button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.summary { background: var(--navy); color: #d5dcea; padding: 34px 30px; }
@media (min-width: 980px) { .summary { position: sticky; top: 110px; } }
.summary h3 { color: #fff; }
.summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.summary .row span:last-child { color: #fff; text-align: right; font-weight: 600; }
.summary .btn { width: 100%; margin-top: 14px; }
.summary .phone { font-family: var(--head); font-size: 1.6rem; color: #fff; font-weight: 700; margin: 18px 0 4px; letter-spacing: .02em; }
.ways { display: grid; gap: 0; border: 1px solid var(--line); }
@media (min-width: 760px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way { padding: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .way { border-bottom: 0; border-right: 1px solid var(--line); } .way:last-child { border-right: 0; } }
.way ol { padding-left: 18px; margin: 0; font-size: .93rem; }
.way li { margin-bottom: 4px; }
.notice { border-left: 3px solid var(--gold); background: #faf6ec; padding: 16px 20px; font-size: .93rem; }
.appeal { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .appeal { grid-template-columns: 1.2fr 1fr; } }
.appeal .goal { font-family: var(--head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #fff; }

/* call to action band */
.band { background: var(--red); color: #fff; padding: 56px 0; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.band h2 { color: #fff; margin: 0; }
.band p { margin: 6px 0 0; color: #ffe3e7; }

/* footer */
.site-footer { background: var(--navy-deep); color: #a9b5cc; padding: 70px 0 28px; font-size: .9rem; }
.site-footer h4 { color: #fff; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #e6ebf4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .cols { display: grid; gap: 40px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer .logo { width: 78px; margin-bottom: 18px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; }

/* the operational licence: an official document */
.cert-backdrop { position: fixed; inset: 0; background: rgba(11, 27, 51, .78); z-index: 100; display: none; overflow-y: auto; padding: 24px 12px 40px; }
.cert-backdrop.open { display: block; }
.cert-tools { max-width: 880px; margin: 0 auto 14px; display: flex; justify-content: flex-end; gap: 10px; }
.cert { max-width: 880px; margin: 0 auto; background: #fffdf6; color: #1e2228; padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.cert .frame { border: 2px solid var(--navy-deep); padding: 7px; background:
  repeating-linear-gradient(45deg, rgba(19,41,75,.07) 0 1px, transparent 1px 6px),
  repeating-linear-gradient(-45deg, rgba(168,132,58,.07) 0 1px, transparent 1px 6px); }
.cert .inner { border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -6px; background: #fffdf6; padding: clamp(24px, 5vw, 56px) clamp(18px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cert .inner::before { content: ""; position: absolute; inset: 0; background: url("../img/blue-logo.png") center 58%/52% no-repeat; opacity: .045; pointer-events: none; }
.cert .crest { width: 96px; margin: 0 auto 8px; }
.cert .org { font-family: var(--serif); font-size: clamp(.95rem, 2.4vw, 1.2rem); color: var(--navy-deep); letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.cert .reg { font-size: .7rem; color: var(--sub); letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 22px; }
.cert .title { font-family: var(--serif); font-size: clamp(1.6rem, 4.6vw, 2.6rem); color: var(--navy-deep); margin: 0; letter-spacing: .04em; }
.cert .subtitle { font-family: var(--serif); font-style: italic; color: var(--red); margin: 4px 0 6px; }
.cert .no { font-family: "Courier New", monospace; letter-spacing: .16em; font-size: .85rem; color: var(--navy-deep); margin-bottom: 26px; }
.cert .certify { font-family: var(--serif); font-style: italic; color: var(--sub); margin: 0; }
.cert .cu { font-family: var(--serif); font-size: clamp(1.25rem, 3.4vw, 1.9rem); color: var(--navy-deep); margin: 12px auto 6px; border-bottom: 1px solid var(--gold); display: inline-block; padding: 0 14px 8px; }
.cert .where { color: var(--sub); margin: 6px 0 20px; font-size: .95rem; }
.cert .text { font-family: var(--serif); max-width: 600px; margin: 0 auto 24px; font-size: .95rem; line-height: 1.8; }
.cert .dates { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 600px; margin: 0 auto 30px; border: 1px solid var(--line); background: #fff; }
.cert .dates div { padding: 10px 6px; border-right: 1px solid var(--line); }
.cert .dates div:last-child { border-right: 0; }
.cert .dates small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); font-family: var(--head); font-weight: 600; }
.cert .dates b { font-family: var(--serif); font-size: .98rem; color: var(--navy-deep); font-weight: 400; }
.cert .signs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: end; }
.cert .sign { border-top: 1px solid #1e2228; padding-top: 8px; font-size: .78rem; color: var(--sub); }
.cert .sign b { display: block; font-family: var(--serif); font-size: .92rem; color: #1e2228; font-weight: 400; }
/* the seal: square, straight lines only (founder: "no rounded stuff") */
.cert .seal { width: 116px; height: 116px; display: grid; place-items: center; text-align: center; font-family: var(--head); font-size: .56rem; font-weight: 700; letter-spacing: .16em; color: var(--navy-deep); line-height: 1.5; background: #fffdf6; border: 3px double var(--gold); outline: 1px solid var(--gold); outline-offset: 4px; }
.cert .seal img { width: 46px; margin: 0 auto 4px; }
.cert .stamp { position: absolute; top: 7%; right: 6%; transform: rotate(-12deg); border: 3px double currentColor; padding: 6px 16px; font-family: var(--head); font-weight: 800; letter-spacing: .2em; font-size: clamp(.9rem, 2.6vw, 1.35rem); opacity: .82; }
.cert .stamp.active { color: #19703a; }
.cert .stamp.expired { color: #b0122b; }
.cert .stamp.none { color: #7a6420; }
.cert .stamp.revoked { color: #b0122b; opacity: .95; }
.cert .stamp.due { color: #19703a; }
.cert .stamp.suspended { color: #9a5b00; }
.cert .stamp.specimen { color: #b0122b; }
.cert.is-specimen .inner::after { content: "SPECIMEN"; position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-24deg); font-family: var(--head); font-weight: 800; font-size: clamp(3rem, 12vw, 7rem); letter-spacing: .2em; color: rgba(176, 18, 43, .1); pointer-events: none; }
.cert .foot { margin-top: 26px; font-size: .68rem; color: var(--sub); letter-spacing: .04em; }
@media (max-width: 560px) { .cert .signs { grid-template-columns: 1fr; } .cert .seal { margin: 0 auto; } .cert .stamp { top: 14px; right: 10px; } .cert .dates { grid-template-columns: 1fr; } .cert .dates div { border-right: 0; border-bottom: 1px solid var(--line); } }
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body * { visibility: hidden; }
  .cert, .cert * { visibility: visible; }
  .cert-backdrop { position: static; background: none; padding: 0; }
  .cert { position: absolute; left: 0; top: 0; width: 100%; max-width: none; box-shadow: none; }
  .cert-tools { display: none; }
}

/* ---------- Strategic Task Force: a quiet, internal-unit page reached only from the footer */
.site-footer a.quiet { color: rgba(255, 255, 255, .16); text-decoration: none; font-family: "Courier New", monospace; font-size: .7rem; letter-spacing: .2em; margin-left: 14px; }
.site-footer a.quiet:hover, .site-footer a.quiet:focus { color: rgba(255, 255, 255, .6); }
body[data-page="strategic-taskforce"] main { background: #070f1d; color: #b8c2d4; }
.ops-head { background: #070f1d; border-bottom: 1px solid #1c2a44; padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 70px);
  background-image: linear-gradient(rgba(120, 150, 200, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 150, 200, .05) 1px, transparent 1px); background-size: 48px 48px; }
.ops-code { font-family: "Courier New", monospace; font-size: .78rem; letter-spacing: .3em; color: #6f7f9c; margin: 0 0 18px; }
.ops-head h1 { color: #fff; margin: 0; font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.01em; }
.ops-lead { color: #8e9bb4; font-size: 1.15rem; margin: 14px 0 0; }
.ops { padding: clamp(48px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); }
.ops-label { font-family: "Courier New", monospace; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: #6f7f9c; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid #1c2a44; }
.ops-text { font-size: 1.08rem; line-height: 1.85; color: #c9d2e2; max-width: 680px; }
.ops-split { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ops-split { grid-template-columns: minmax(0, 1fr) 300px; } }
.ops-links ul { list-style: none; margin: 0; padding: 0; }
.ops-links li { padding: 12px 0; border-bottom: 1px solid #1c2a44; color: #dfe5ef; }
.ops-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 700px) { .ops-areas { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.ops-areas li { padding: 16px 0; border-bottom: 1px solid #1c2a44; color: #e8edf5; font-size: 1.05rem; }
.ops-areas span { display: inline-block; width: 92px; font-family: "Courier New", monospace; font-size: .78rem; letter-spacing: .12em; color: #c8102e; }
.ops-team { display: flex; flex-wrap: wrap; gap: 1px; }
.ops-team > div { border: 1px solid #1c2a44; min-width: 240px; }
.ops-team > div { background: #0b1628; padding: 24px 20px; }
.ops-team .av, .ops-team img { display: grid; place-items: center; width: 64px; height: 64px; object-fit: cover; object-position: 50% 20%; background: #14223b; color: #8e9bb4; font-family: var(--head); font-weight: 700; margin-bottom: 14px; filter: grayscale(.35); }
.ops-team b { display: block; color: #fff; font-weight: 600; }
.ops-team small { display: block; color: #8e9bb4; margin-top: 4px; line-height: 1.4; }
.ops-note { font-size: .85rem; color: #5e6c86; margin-top: 18px; }
.ops-value { display: grid; grid-template-columns: 1fr; gap: 1px; background: #1c2a44; border: 1px solid #1c2a44; margin-bottom: 26px; }
@media (min-width: 760px) { .ops-value { grid-template-columns: repeat(3, 1fr); } }
.ops-value div { background: #0b1628; padding: 26px 24px; }
.ops-value b { display: block; font-family: var(--head); font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: #fff; letter-spacing: -.01em; }
.ops-value span { display: block; color: #8e9bb4; margin-top: 6px; }
.ops-wins { display: grid; gap: 1px; grid-template-columns: 1fr; background: #1c2a44; border: 1px solid #1c2a44; }
@media (min-width: 900px) { .ops-wins { grid-template-columns: 1fr 1fr; } .ops-wins.one { grid-template-columns: 1fr; } }
.ops-wins article { background: #0b1628; padding: 30px 28px; }
.ops-wins h3 { color: #fff; margin: 6px 0 10px; font-size: 1.3rem; }
.ops-wins ul { margin: 0 0 18px; padding-left: 18px; color: #c9d2e2; line-height: 1.9; }
.ops-status { font-family: "Courier New", monospace; font-size: .72rem; letter-spacing: .26em; color: #3fbf73; margin: 0; }
.ops-status.live { color: #e0a23a; }
.ops-worth { border-top: 1px solid #1c2a44; padding-top: 14px; margin: 0; color: #dfe5ef; }
.ops-worth span { display: block; font-family: "Courier New", monospace; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: #6f7f9c; margin-bottom: 4px; }
