/* Hallmark · shape: Marquee Hero (/), Long Document (inner pages) · genre: modern-minimal · theme: brand · redesign: full · brand: Lifeline/Childline Zambia (spec 2026-11-11) · job: call
 * paper: oklch(98.5% 0.006 295) · accent: oklch(64.3% 0.224 4) · display: Maven Pro · body: Montserrat · hero: Counter (/), Banner (inner pages) · nav: floating pill, the logo and the site's own menu, Donate as its one button · footer: mast over index columns, the site's own sitemap · signature: the two free numbers, 116 and 933, as the hero's two call cards
 * axes: tinted paper/Maven Pro/pink · posture: Full palette (ink purple, field mint on one card and the buttons on purple, signal pink in the portraits, cream on one panel) · imagery: the site's own stencil portraits and donor logos · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: R, four brand colours; each now holds one job and the page is mostly paper */
/* Hallmark · reworded "Read More" to "About Childline 116" and "About Lifeline 933" · 19 names the stock link label */
/* Hallmark · reworded "Need to talk?" and "Our counsellors are ready!" to "Need to talk? Our counsellors are ready!" · the two heads became the one hero head, 58 holds the hero to a headline and a sentence */
/* Hallmark · dropped "Children call: 116", "Adults call: 933", "call 116 for free", "call 933 for free", "Contact us through:" as headings · the same words stay on the page as the call cards and a lead line */
/* Hallmark · dropped "Build by 2LINKit" · the credit named the builder of the old theme */
/* Hallmark · answered F4 · the mint button is the one primary inverted for the purple panels, where an ink fill would vanish */
/* Hallmark · waive 49b · post and page titles in the footer and the menus, two lines at most on a phone · they are the site's own titles and cannot shorten */
/* Hallmark · waive 44c · inner pages open on a Banner posture, a title panel then the page's own content · a contact page or a post is a document, its head should not fill the screen */
/* Hallmark · waive 78 · inner pages are a Long Document shape, their heads sit inline in the editor's content and in the side card · the owner writes those headings in WordPress */
/* Hallmark · dismissed 19 · "all rights reserved" is the owner's legal line and legal text is never reworded */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(98.5% 0.006 295); --color-paper-2: oklch(92.8% 0.061 97); --color-paper-3: oklch(95% 0.014 295);
  --color-ink: oklch(31.1% 0.092 295); --color-ink-2: oklch(40% 0.075 295); --color-muted: oklch(50% 0.05 295);
  --color-rule: oklch(84% 0.03 295); --color-rule-dark: oklch(46% 0.08 295);
  --color-field: oklch(78.7% 0.151 168);
  --color-accent: oklch(64.3% 0.224 4); --color-accent-ink: oklch(20% 0.08 295); --color-focus: oklch(45% 0.2 295);
  --font-display: "Maven Pro", ui-sans-serif, system-ui, sans-serif; --font-body: "Montserrat", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body);
  --radius-card: 28px; --radius-sm: 12px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.02em;
}
@font-face { font-family: "Maven Pro"; src: url("../fonts/maven-pro-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/*PAGE*/
:root { --nav-height: 72px; --tracking-display: -0.03em; }

html body { background: var(--color-paper); color: var(--color-ink); font-weight: 400; }
main { display: block; background: var(--color-paper); color: var(--color-ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* Controls */
.btn, .entry .wp-block-file__button, .entry .wp-block-button__link, .entry button[type="submit"], .entry input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 2px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover, .entry .wp-block-file__button:hover, .entry .wp-block-button__link:hover, .entry button[type="submit"]:hover, .entry input[type="submit"]:hover { background: var(--color-ink-2); }
.btn:active, .entry button[type="submit"]:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"], .entry button[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; color: var(--color-ink); }
.btn--quiet:hover { background: var(--color-paper-3); }
.on-ink .btn { border-color: var(--color-field); background: var(--color-field); color: var(--color-ink); }
.on-ink .btn:hover { background: var(--color-paper); border-color: var(--color-paper); }
.on-ink .btn--quiet { background: transparent; border-color: var(--color-paper); color: var(--color-paper); }
.on-ink .btn--quiet:hover { background: var(--color-ink-2); border-color: var(--color-paper); }
.on-ink :focus-visible, .on-ink .btn:focus-visible { outline-color: var(--color-field); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* The nav: a floating pill */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); padding-top: var(--space-sm); }
.nav__in { position: relative; display: flex; align-items: center; justify-content: space-between; column-gap: var(--space-lg); min-height: var(--nav-height); padding-inline: var(--space-lg) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); }
.nav__logo { flex-shrink: 0; display: block; }
.nav__logo img { width: 142px; height: 48px; }
.nav__links { min-width: 0; }
.nav__menu { display: flex; align-items: center; gap: var(--space-lg); }
.nav__menu > li { position: relative; flex-shrink: 0; }
.nav__menu a { display: inline-flex; align-items: center; min-height: 48px; color: var(--color-paper); font-size: var(--text-md); text-decoration: none; white-space: nowrap; }
.nav__menu a:hover { color: var(--color-field); }
.nav__menu a.btn:hover { color: var(--color-paper); }
.nav__menu > .menu-item-has-children > a { gap: var(--space-xs); }
.nav__menu > .menu-item-has-children > a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav__menu .sub-menu { position: absolute; right: 0; top: 100%; z-index: var(--z-dropdown); display: none; min-width: 16rem; padding: var(--space-xs) var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--space-lg); background: var(--color-paper); }
.nav__menu li:hover > .sub-menu, .nav__menu li:focus-within > .sub-menu, .nav__menu li.is-open > .sub-menu { display: grid; }
.nav__menu .sub-menu a { color: var(--color-ink); }
.nav__menu .sub-menu a:hover { color: var(--color-ink); text-decoration: underline; }
.nav__menu .sub-menu :focus-visible { outline-color: var(--color-focus); }
.nav__toggle { display: none; }

/* The nav, folded behind its Menu button: on narrow screens, set by the script */
.nav--compact .nav__in { flex-wrap: wrap; padding-inline: var(--space-lg); border-radius: var(--radius-card); }
.nav--compact .nav__toggle { display: inline-flex; }
.nav--compact .nav__links { display: none; width: 100%; padding-bottom: var(--space-lg); }
.nav--compact.nav--open .nav__links { display: block; }
.nav--compact .nav__menu { flex-direction: column; align-items: flex-start; gap: 0; }
.nav--compact .nav__menu a { white-space: normal; }
.nav--compact .nav__menu .sub-menu { position: static; display: grid; min-width: 0; padding: 0 0 0 var(--space-md); border: 0; background: transparent; }
.nav--compact .nav__menu .sub-menu a { color: var(--color-paper); }
.nav--compact .nav__menu .sub-menu :focus-visible { outline-color: var(--color-field); }
.nav--compact .nav__menu > .menu-item-has-children > a::after { display: none; }
.nav--compact .nav__menu a.btn { margin-top: var(--space-sm); }

/* The hero: a counter, the two numbers are the action */
.hero { background: var(--color-paper); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-2xl); min-height: min(calc(100svh - var(--nav-height) - var(--space-sm)), 52rem); padding-block: var(--space-xl); }
.hero__text { display: grid; gap: var(--space-lg); }
.hero h1 { max-width: none; font-size: clamp(2.5rem, 4.4vw + 0.5rem, 4.75rem); }
.hero .lead { max-width: 30ch; color: var(--color-ink-2); }
.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.line { position: relative; display: flex; flex-direction: column; min-height: clamp(520px, 62svh, 640px); padding: var(--space-lg); overflow: hidden; border-radius: var(--radius-card); text-decoration: none; transition: transform var(--dur-short) var(--ease-out); }
.line--child { background: var(--color-field); color: var(--color-ink); }
.line--adult { background: var(--color-ink); color: var(--color-paper); }
.line:hover { transform: translateY(-4px); }
.line:active { transform: translateY(0); }
.line:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.line__who { font: 600 var(--text-lead)/1.2 var(--font-body); }
.line__num { margin-top: var(--space-xs); font: 700 clamp(6rem, 8.6vw, 9rem)/0.9 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }
.line--adult .line__num { color: var(--color-field); }
.line__face { position: absolute; right: -8%; bottom: var(--space-xl); z-index: var(--z-base); width: 108%; max-width: none; height: auto; }
.line__go { position: relative; z-index: var(--z-raised); align-self: flex-start; margin-top: auto; }
.line--child:hover .line__go { background: var(--color-ink-2); }
.line--adult:hover .line__go { background: var(--color-paper); border-color: var(--color-paper); }

/* Sections and panels */
.section { padding-block: var(--section-gap-s) 0; }
.section--last { padding-bottom: var(--section-gap); }
.panel { padding: var(--space-2xl); border-radius: var(--radius-card); }
.panel--cream { background: var(--color-paper-2); }
.panel--ink { background: var(--color-ink); color: var(--color-paper); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: center; }
.head { display: grid; gap: var(--space-lg); }
.face { width: 100%; height: auto; }
.intro { color: var(--color-ink-2); }

.child .split, .life .split { align-items: start; }
.child__head { grid-column: 1 / span 5; }
.child__body { grid-column: 7 / span 6; display: grid; gap: var(--space-xl); }
.child__face { max-width: 400px; margin-top: var(--space-lg); }
.issues { max-width: 22ch; font: 700 var(--text-3xl)/1.15 var(--font-display); letter-spacing: var(--tracking-display); }

.life__rows { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); }
.life__head { grid-column: 8 / span 5; }
.life__face { max-width: 360px; margin-top: var(--space-lg); }
.rows li { display: flex; align-items: center; min-height: 72px; border-top: var(--rule-hair) solid var(--color-ink); font: 700 var(--text-title)/1.2 var(--font-display); }
.rows li:last-child { border-bottom: var(--rule-hair) solid var(--color-ink); }

.chat__body { grid-column: 1 / span 7; display: grid; gap: var(--space-2xl); }
.chat__face { grid-column: 8 / span 5; }
.reach li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 112px; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.reach li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.reach h3 { font-size: var(--text-2xl); }

.give__text { grid-column: 1 / span 7; display: grid; gap: var(--space-lg); justify-items: start; }
.give__face { grid-column: 9 / span 4; justify-self: end; }
.give .lead { max-width: 44ch; }

.donors__head { margin-bottom: var(--space-2xl); }
.donors__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); }
.donors__grid li { display: grid; place-items: center; min-height: 152px; padding: var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--space-lg); }
.donors__grid a { display: grid; place-items: center; border-radius: var(--space-xs); }
.donors__grid img { width: var(--w); height: auto; mix-blend-mode: multiply; }

/* The head of an inner page */
.pagehead, .linehead { padding-top: var(--space-lg); }
.pagehead__in { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: end; column-gap: var(--space-2xl); min-height: 300px; padding: var(--space-2xl) var(--space-2xl) 0; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-3); }
.pagehead__in--plain { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: var(--space-2xl); }
.pagehead__text { display: grid; gap: var(--space-md); align-self: center; padding-bottom: var(--space-2xl); }
.pagehead__in--plain .pagehead__text { padding-bottom: 0; }
.pagehead h1, .linehead h1 { max-width: 22ch; font-size: var(--text-display-s); }
.pagehead__back, .pagehead__meta { font-size: var(--text-sm); color: var(--color-ink-2); }
.pagehead__back a { font-weight: 600; }
.linehead__in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: end; column-gap: var(--space-2xl); padding: var(--space-2xl) var(--space-2xl) 0; overflow: hidden; border-radius: var(--radius-card); }
.linehead__in--childline { background: var(--color-field); color: var(--color-ink); }
.linehead__in--lifeline { background: var(--color-ink); color: var(--color-paper); }
.linehead__text { display: grid; gap: var(--space-lg); align-self: center; justify-items: start; padding-bottom: var(--space-2xl); }
.linehead h1 { font-size: var(--text-display); }
.linehead .lead { max-width: 30ch; font-weight: 600; }

/* The body of an inner page: the content, and the numbers beside it */
.body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; padding-block: var(--space-2xl) var(--section-gap-s); }
.entry { grid-column: 1 / span 7; min-width: 0; }
.body--wide .entry { grid-column: 1 / -1; }
.aside { grid-column: 9 / span 4; position: sticky; top: calc(var(--nav-height) + var(--space-xl)); }
.callcard { display: grid; gap: var(--space-md); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper); }
.callcard h2 { font-size: var(--text-2xl); }
.callcard__lines li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-dark); font-weight: 600; }
.callcard__lines .btn { min-width: 6rem; font: 700 var(--text-xl)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.callcard__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* Content written in the editor */
.entry > * + * { margin-top: var(--space-md); }
.entry > p:first-child { font-size: var(--text-lead); line-height: 1.45; }
.entry p { max-width: 65ch; }
.entry p:empty { display: none; }
.entry h2 { margin-top: var(--space-2xl); font-size: var(--text-2xl); }
.entry > h2:first-child { margin-top: 0; }
.entry h3, .entry h4 { margin: var(--space-xl) 0 0; font: 700 var(--text-xl)/1.2 var(--font-display); letter-spacing: var(--tracking-display); }
.entry h5, .entry h6 { margin: var(--space-2xs) 0 0; font: 400 var(--text-md)/1.4 var(--font-body); color: var(--color-ink-2); }
.entry a:not([class]) { font-weight: 600; overflow-wrap: anywhere; }
.entry :is(ul, ol):not([class]), .entry :is(ul, ol).wp-block-list { max-width: 65ch; }
.entry :is(ul, ol):not([class]) > li, .entry :is(ul, ol).wp-block-list > li { padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.entry :is(ul, ol):not([class]) > li:last-child, .entry :is(ul, ol).wp-block-list > li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.entry ol:not([class]), .entry ol.wp-block-list { list-style: decimal inside; }
.entry img, .entry iframe, .entry video { border-radius: var(--space-md); }
.entry iframe { width: 100%; min-height: 360px; border: 0; }
.entry blockquote { margin: var(--space-xl) 0; padding-left: var(--space-lg); border-left: 2px solid var(--color-ink); font-size: var(--text-lead); }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; }
.entry .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--space-lg); }
.entry .wp-block-file > a:first-child { flex: 1; min-width: 12rem; font-weight: 600; }

/* Forms in the content */
.entry form { max-width: 34rem; }
.entry label { display: block; margin-bottom: var(--space-2xs); font-weight: 600; }
.entry input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="image"]):not([type="hidden"]), .entry select, .entry textarea { width: 100%; min-height: 48px; padding: var(--space-xs) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-sm); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.entry textarea { min-height: 160px; }
.entry input:focus-visible, .entry select:focus-visible, .entry textarea:focus-visible { outline-color: var(--color-focus); }
.entry input:disabled, .entry select:disabled, .entry textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.entry .wpforms-field { margin-top: var(--space-md); padding: 0; }
.entry .wpforms-field-sublabel { margin-top: var(--space-2xs); font-size: var(--text-sm); font-weight: 400; color: var(--color-ink-2); }
.entry .wpforms-submit-container { margin-top: var(--space-lg); }

/* The team page: a name and a role to a row */
.entry .team { display: flex; align-items: center; gap: var(--space-md); min-height: 88px; margin: 0; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.entry .team:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.entry .team img { width: 56px; height: 56px; border-radius: var(--radius-pill); object-fit: cover; }
.entry .team > div:first-child:has(img[src*="no-avatar"]) { display: none; }
.entry .team h4 { margin: 0; }
.entry .team h5 { margin: var(--space-2xs) 0 0; }

/* Lists of posts and FAQ topics */
.index li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); align-items: center; column-gap: var(--space-lg); min-height: 72px; padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.index li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.index time { font-size: var(--text-sm); color: var(--color-ink-2); font-variant-numeric: tabular-nums; }
.index a { font: 700 var(--text-lg)/1.25 var(--font-display); text-decoration: none; }
.index a:hover { text-decoration: underline; }
.index--topics li { grid-template-columns: minmax(0, 1fr); }
.faqgroup { margin-top: var(--space-2xl); }
.faqgroup > * + * { margin-top: var(--space-md); }
.faqgroup .index { margin-top: var(--space-lg); }
.pagination { margin-top: var(--space-xl); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); }

/* The footer */
.footer { padding-block: var(--section-gap-s) var(--space-xl); border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--color-ink); color: var(--color-paper); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule-dark); }
.footer h3 { margin-bottom: var(--space-md); }
.footer__cols p { max-width: 36ch; }
.footer__cols li a { display: flex; align-items: center; min-height: 44px; padding-block: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-rule-dark); text-decoration: none; }
.footer__cols li a:hover { color: var(--color-field); }
.footer__menu .sub-menu { padding-left: var(--space-md); }
.footer__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-3xl); font-size: var(--text-sm); }
.footer__end img { width: 118px; height: 40px; }

/* Narrower screens */
@media (max-width: 72rem) {
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .entry { grid-column: 1 / -1; }
  .aside { grid-column: 1 / -1; position: static; max-width: 28rem; }
}
@media (max-width: 60rem) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; padding-block: var(--space-xl) 0; }
  .hero .lead { max-width: none; }
  .line { min-height: 460px; }
  .line__face { width: 80%; right: -6%; bottom: 0; }
  .panel { padding: var(--space-lg); }
  .child__head, .child__body, .life__rows, .life__head, .chat__body, .chat__face, .give__text, .give__face { grid-column: 1 / -1; }
  .life__head { order: -1; }
  .child__face, .life__face, .chat__face, .give__face { max-width: 320px; justify-self: start; }
  .donors__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pagehead__in, .linehead__in { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg) var(--space-lg) 0; min-height: 0; }
  .pagehead__in--plain { padding-bottom: var(--space-lg); }
  .pagehead__text, .linehead__text { padding-bottom: var(--space-lg); }
  .pagehead__in--plain .pagehead__text { padding-bottom: 0; }
  .pagehead__face { display: none; }
  .pagehead__text { padding-bottom: var(--space-lg); }
  .linehead__face { max-width: 280px; justify-self: end; }
}
@media (max-width: 40rem) {
  .lines { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .line { min-height: 260px; }
  .line__face { width: 58%; right: -4%; bottom: -4%; }
  .line__num { font-size: 5.5rem; }
  .donors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
  .donors__grid li { min-height: 112px; padding: var(--space-md); }
  .donors__grid img { width: calc(var(--w) * 0.75); }
  .index li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xs); }
  .callcard { padding: var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .line { transition: none; }
  .line:hover { transform: none; }
}

/* Without scripting the menu wraps instead of folding */
html:not(.js) .nav__in { flex-wrap: wrap; padding-block: var(--space-sm); border-radius: var(--radius-card); }
html:not(.js) .nav__menu { flex-wrap: wrap; row-gap: 0; }

/* The team page sets its people two across on wide screens */
@media (min-width: 40rem) {
  .entry:has(> .team) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); }
  .entry:has(> .team) > :not(.team) { grid-column: 1 / -1; margin-bottom: var(--space-lg); }
}

/* The impact section: a dark band, the video growing into place as it scrolls in */
.impact { margin-top: var(--section-gap-s); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }
.impact__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.impact__head h2 { grid-column: 1 / span 5; font-size: var(--text-display-s); }
.impact__side { grid-column: 7 / span 6; display: grid; gap: var(--space-lg); justify-items: start; }
.impact__media { margin-top: var(--space-2xl); }
.impact__media:empty { display: none; }
.impactpage__media { padding-top: var(--space-xl); }
.impactpage__media:empty { display: none; }
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-card); background: var(--color-ink-2); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--empty { display: grid; place-items: center; padding: var(--space-xl); border: 2px dashed var(--color-rule-dark); background: transparent; text-align: center; }
.video--empty p { max-width: 44ch; }
.impactpage__media .video--empty { border-color: var(--color-rule); }
@media (max-width: 60rem) {
  .impact__head h2, .impact__side { grid-column: 1 / -1; }
}

/* Arriving on the home page: the headline, the line and the two cards rise in turn. Runs once, with or without scripting. */
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(18px) scale(1.06); } to { opacity: 1; transform: none; } }
[data-rise] { animation: rise 720ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
.line[data-rise] .line__face { animation: settle 900ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 320ms); }
.line[data-rise] .line__num { animation: rise 640ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 220ms); }

/* Further down, each block eases in as it enters the screen. Visible at rest when scripting is off. */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-long) var(--ease-out), transform 640ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* The video scales up from a smaller card as the band scrolls into view, where the browser can tie motion to scroll. */
@keyframes grow { from { transform: scale(0.82); opacity: 0.6; } to { transform: none; opacity: 1; } }
@supports (animation-timeline: view()) {
  .impact__media { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; transform-origin: 50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  [data-rise], .line[data-rise] .line__face, .line[data-rise] .line__num, .impact__media { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
