:root {
  color-scheme: light;
  --cp-bg: #f7f4ef;
  --cp-bg-elevated: #fcfbf8;
  --cp-surface: #ffffff;
  --cp-surface-soft: #f5f5f5;
  --cp-border: #dedede;
  --cp-border-strong: #919191;
  --cp-text: #242424;
  --cp-text-muted: #5c5c5c;
  --cp-text-soft: #6f6f6f;
  --cp-accent: #b11f4b;
  --cp-accent-hover: #9a1a41;
  --cp-accent-soft: rgba(177, 31, 75, 0.08);
  --cp-accent-fg: #ffffff;
  --cp-success: #16a34a;
  --cp-danger: #dc2626;
  --cp-warning: #f59e0b;
  --cp-link: #0078d4;
  --cp-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  --cp-overlay: rgba(255, 255, 255, 0.8);
  --cp-panel: rgba(255, 255, 255, 0.86);
  --cp-panel-strong: rgba(255, 255, 255, 0.96);
  --cp-sheen: rgba(255, 255, 255, 0.55);
  --cp-highlight: rgba(177, 31, 75, 0.12);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --cp-bg: #3d3b3a;
  --cp-bg-elevated: #343231;
  --cp-surface: #292929;
  --cp-surface-soft: #2e2e2e;
  --cp-border: #474747;
  --cp-border-strong: #5f5f5f;
  --cp-text: #dedede;
  --cp-text-muted: #919191;
  --cp-text-soft: #b0b0b0;
  --cp-accent: #fd8ea1;
  --cp-accent-hover: #fb7b91;
  --cp-accent-soft: rgba(253, 142, 161, 0.14);
  --cp-accent-fg: #1a1a1a;
  --cp-success: #4ade80;
  --cp-danger: #f87171;
  --cp-warning: #fbbf24;
  --cp-link: #4da6ff;
  --cp-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --cp-overlay: rgba(41, 41, 41, 0.88);
  --cp-panel: rgba(41, 41, 41, 0.72);
  --cp-panel-strong: rgba(41, 41, 41, 0.96);
  --cp-sheen: rgba(255, 255, 255, 0.04);
  --cp-highlight: rgba(253, 142, 161, 0.12);
}

.accepted-about-page { background: var(--cp-surface); overflow-x: visible; }

/* Accepted About and governance design, scoped to preserve the shared GEF identity. */
.gef-design {
  --cp-bg: var(--surface);
  --cp-surface: var(--surface);
  --cp-surface-soft: var(--stone);
  --cp-border: var(--rule);
  --cp-border-strong: var(--slate);
  --cp-text: var(--text);
  --cp-text-muted: var(--slate);
  --cp-accent: var(--green);
  --cp-accent-hover: var(--green-2);
  --cp-accent-fg: var(--white);
  --cp-feature: var(--forest);
  --cp-feature-fg: var(--white);
  --cp-gold: var(--gold);
  --cp-heading: var(--heading);
  background: var(--cp-bg);
  color: var(--cp-text);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.6;
}
.gef-design :where(h1,h2,h3,h4) { color: var(--cp-heading); font-family: var(--font-text); letter-spacing: -.015em; }
.gef-design h1 { font-size: 3rem; line-height: 1.06; font-weight: 700; max-width: 23ch; margin: 0; text-wrap: balance; }
.gef-design h2 { font-size: 2rem; line-height: 1.15; font-weight: 600; text-wrap: balance; margin: 0 0 20px; }
.gef-design h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; }
.gef-design p { max-width: 68ch; }
.gef-design a { color: var(--cp-accent); }
.gef-design a:hover { color: var(--cp-accent-hover); }
.gef-design :where(a,summary,button):focus-visible { outline: 3px solid var(--cp-accent); outline-offset: 4px; }
.design-wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.design-breadcrumbs { padding: 24px 0 0; font-size: .9375rem; color: var(--cp-text-muted); }
.design-breadcrumbs a { color: var(--cp-text-muted); }
.design-breadcrumbs span { margin-inline: 10px; }
.intro-panel { padding: 44px 0 48px; }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 64px; align-items: start; }
.intro-crest { margin-top: 8px; width: 128px; }
.heritage-type { font-family: var(--font-display); font-weight: 500; display: block; margin-top: 4px; }
.intro-description { font-size: 1.25rem; max-width: 64ch; color: var(--cp-text-muted); margin: 24px 0; }
.design-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.design-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--cp-accent);
  color: var(--cp-accent-fg) !important;
  text-decoration: none;
  border: 1px solid var(--cp-accent);
  border-radius: 2px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}
.design-button:hover { background: var(--cp-accent-hover); }
.text-action { font-weight: 600; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.text-action span[aria-hidden] { font-size: 1.25rem; }
.foundation-facts { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--cp-border); font-size: 1rem; }
.foundation-facts p { margin: 0; color: var(--cp-text-muted); }
.foundation-facts strong { color: var(--cp-heading); font-weight: 600; }
.reading-layout { display: grid; grid-template-columns: 172px minmax(0,1fr); gap: 64px; }
.page-navigation { align-self: start; position: sticky; top: 104px; padding-top: 8px; }
.page-navigation h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 16px; }
.page-navigation ul { list-style: none; padding: 0; margin: 0; }
.page-navigation a { display: block; padding: 10px 0; font-size: 1rem; line-height: 1.25; color: var(--cp-text-muted); text-decoration: none; }
.page-navigation a:hover { color: var(--cp-accent); text-decoration: underline; }
.page-navigation .directory-link { color: var(--cp-accent); font-weight: 600; padding-top: 24px; }
.mobile-sections { display: none; }
.page-content { min-width: 0; }
.content-section { padding: 48px 0; border-top: 1px solid var(--cp-border); }
.content-section[id], .content-section [id], .funding-feature[id] { scroll-margin-top: 104px; }
.section-opening { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.section-opening > p { font-size: 1rem; color: var(--cp-text-muted); margin: 0; white-space: nowrap; }
.purpose-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; padding-top: 24px; }
.purpose-grid h3 { margin-bottom: 12px; }
.purpose-grid p { font-size: 1.0625rem; margin-bottom: 0; }
.funding-feature { margin: 4px 0 48px; background: var(--cp-feature); color: var(--cp-feature-fg); }
.funding-feature h2, .funding-feature h3, .funding-feature a { color: var(--cp-feature-fg); }
.funding-feature a:hover { color: var(--cp-gold); }
.funding-feature :where(a,summary):focus-visible { outline-color: var(--cp-feature-fg); }
.funding-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.funding-figure { margin: 0; display: flex; flex-direction: column; }
.funding-figure img { width: 100%; height: auto; flex: 1; object-fit: cover; min-height: 260px; }
.funding-figure figcaption { padding: 12px 24px; font-size: .9375rem; color: var(--cp-gold); line-height: 1.4; }
.funding-copy { padding: 36px 32px 28px; }
.funding-copy h2 { margin-bottom: 20px; }
.funding-copy p { font-size: 1.0625rem; margin-bottom: 20px; }
.funding-copy .text-action { font-size: 1rem; }
.funding-explanation { padding: 24px 28px; border-top: 1px solid var(--cp-gold); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.funding-explanation h3 { font-size: 1rem; margin: 0 0 8px; }
.funding-explanation p { font-size: .9375rem; line-height: 1.5; margin: 0; }
.leadership-preview, .directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; }
.directory-person { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--cp-border); min-width: 0; }
.directory-person img { width: 104px; height: 104px; object-fit: contain; background: var(--cp-surface-soft); }
.directory-person h3 { font-size: 1.0625rem; line-height: 1.3; margin: 0 0 8px; overflow-wrap: anywhere; letter-spacing: 0; }
.directory-person p { font-size: .9375rem; line-height: 1.4; margin: 0; color: var(--cp-text-muted); }
.leadership-preview { margin: 8px 0 24px; }
.preview-person { border-bottom: 0; padding-top: 12px; }
.collaboration-list { margin: 24px 0 8px; padding: 0; list-style: none; }
.collaboration-list li { display: flex; justify-content: space-between; gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--cp-border); }
.collaboration-list strong { font-size: 1.0625rem; line-height: 1.4; font-weight: 600; }
.collaboration-list a { font-size: 1rem; flex-shrink: 0; }
.design-disclosure { border-bottom: 1px solid var(--cp-border); }
.design-disclosure summary { padding: 20px 0; cursor: pointer; font-size: 1.0625rem; font-weight: 600; min-height: 48px; }
.design-disclosure > :not(summary) { font-size: 1rem; }
.relationship-names { padding-left: 20px; columns: 2; column-gap: 32px; }
.relationship-names li { padding-bottom: 12px; break-inside: avoid; }
.accountability-intro { color: var(--cp-text-muted); font-size: 1.0625rem; }
.appeal-note { margin-top: 28px; background: var(--cp-surface-soft); padding: 24px; }
.appeal-note h3 { margin-bottom: 12px; }
.appeal-note p { font-size: 1rem; margin: 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-layout address { font-style: normal; font-size: 1.0625rem; }
.contact-layout address a { display: inline-block; padding-top: 8px; overflow-wrap: anywhere; }
.contact-layout .office-hours { color: var(--cp-text-muted); font-size: 1rem; margin-top: 12px; }
.enquiry-routes { margin: 0 0 24px; padding: 0; list-style: none; }
.enquiry-routes a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--cp-border); font-size: 1.0625rem; text-decoration: none; }
.enquiry-routes a:hover { text-decoration: underline; }
.enquiry-explanation { font-size: .9375rem; color: var(--cp-text-muted); margin: 12px 0 0; }
.enquiry-context { font-size: 1rem; font-weight: 600; }
.enquiry-context[hidden] { display: none; }
.design-footer { background: var(--cp-feature); color: var(--cp-feature-fg); padding: 40px 0 28px; }
.design-footer h2, .gef-design.design-footer a { color: var(--cp-feature-fg); }
.gef-design.design-footer a:hover { color: var(--cp-gold); }
.design-footer h2 { font-size: 1.5rem; max-width: 24ch; margin-bottom: 12px; }
.design-footer :focus-visible { outline-color: var(--cp-feature-fg) !important; }
.footer-layout { display: flex; justify-content: space-between; gap: 32px; }
.footer-layout p { font-size: 1rem; margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 32px; font-size: 1rem; }
.footer-links a { display: block; padding: 8px 0; min-height: 44px; }
.committee-entry { padding: 20px 0; border-bottom: 1px solid var(--cp-border); }
.committee-entry h3 { font-size: 1.125rem; margin-bottom: 8px; }
.committee-entry p { font-size: 1rem; margin: 0; color: var(--cp-text-muted); }
.sisco-entry { margin-top: 28px; padding: 24px; background: var(--cp-surface-soft); }
.sisco-entry p { font-size: 1rem; margin-bottom: 0; }
.chair-history { list-style: none; padding: 0; margin: 20px 0 0; }
.chair-history li { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--cp-border); }
.chair-history time { color: var(--cp-text-muted); font-size: 1rem; }
.chair-history strong { font-size: 1.0625rem; font-weight: 600; }
html.a11y-text-lg .gef-design { font-size: 1.25rem; }
html.a11y-text-xl .gef-design { font-size: 1.375rem; }
html.a11y-font .gef-design, html.a11y-font .gef-design :where(h1,h2,h3,h4), html.a11y-font .gef-design .heritage-type { font-family: Arial, sans-serif; }
html.a11y-spacing .gef-design { line-height: 1.8; word-spacing: .12em; letter-spacing: .05em; }
html.a11y-text-xl .reading-layout, html.a11y-spacing .reading-layout { grid-template-columns: 156px minmax(0,1fr); gap: 36px; }
html.a11y-text-xl .directory-grid, html.a11y-spacing .directory-grid { grid-template-columns: minmax(0,1fr); }
html.a11y-text-xl .gef-design :where(p, a, li, address, summary), html.a11y-spacing .gef-design :where(p, a, li, address, summary) { overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .design-wrap { width: calc(100% - 64px); }
  .reading-layout { grid-template-columns: 148px minmax(0,1fr); gap: 36px; }
  .directory-person { grid-template-columns: 88px minmax(0,1fr); gap: 16px; }
  .directory-person img { width: 88px; height: 88px; }
  .funding-layout { grid-template-columns: 1fr; }
  .funding-figure { display: grid; grid-template-columns: minmax(0,1fr) 140px; align-items: end; }
  .funding-figure img { min-height: 0; height: auto; object-fit: contain; }
  .funding-figure figcaption { padding: 16px; }
  .funding-copy { padding: 28px; }
  .leadership-preview, .directory-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .gef-design { font-size: 1.0625rem; }
  .design-wrap { width: calc(100% - 40px); }
  .design-breadcrumbs { padding-top: 20px; font-size: .875rem; }
  .intro-panel { padding: 32px 0; }
  .intro-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
  .intro-crest { display: none; }
  .gef-design h1 { font-size: 2.125rem; }
  .gef-design h2 { font-size: 1.625rem; }
  .intro-description { font-size: 1.125rem; margin: 20px 0; }
  .foundation-facts { gap: 12px; margin-top: 24px; padding-top: 20px; }
  .foundation-facts p { font-size: .9375rem; flex-basis: 100%; }
  .reading-layout, html.a11y-text-xl .reading-layout, html.a11y-spacing .reading-layout { display: block; }
  .page-navigation { display: none; }
  .mobile-sections { display: block; border-top: 1px solid var(--cp-border); border-bottom: 1px solid var(--cp-border); margin-bottom: 32px; }
  .mobile-sections summary { cursor: pointer; padding: 16px 0; font-size: 1rem; font-weight: 600; min-height: 48px; }
  .mobile-sections ul { list-style: none; padding: 0 0 12px; margin: 0; }
  .mobile-sections a { display: block; padding: 10px 0; font-size: 1rem; min-height: 44px; }
  .content-section { padding: 32px 0; }
  .content-section[id], .content-section [id], .funding-feature[id] { scroll-margin-top: 88px; }
  .purpose-grid { grid-template-columns: minmax(0,1fr); gap: 24px; padding-top: 12px; }
  .purpose-grid h3 { font-size: 1.25rem; }
  .funding-feature { margin-bottom: 32px; }
  .funding-figure { display: block; }
  .funding-figure img { width: 100%; height: auto; }
  .funding-figure figcaption { padding: 12px 20px; }
  .funding-copy { padding: 24px 20px; }
  .funding-explanation { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 20px; }
  .directory-person { grid-template-columns: 88px minmax(0,1fr); gap: 16px; padding: 20px 0; }
  .directory-person img { width: 88px; height: 88px; }
  .directory-person h3 { font-size: 1.0625rem; }
  .leadership-preview { margin-bottom: 16px; gap: 0; }
  .collaboration-list li { display: block; padding: 16px 0; }
  .collaboration-list a { display: block; padding-top: 8px; }
  .relationship-names { columns: 1; }
  .contact-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .contact-layout address, .enquiry-routes a { font-size: 1.0625rem; }
  .footer-layout { display: block; }
  .footer-links { margin-top: 24px; gap: 8px 20px; }
  .design-footer { padding-top: 32px; }
  .section-opening { align-items: start; gap: 12px; }
  .section-opening > p { padding-top: 4px; font-size: .9375rem; white-space: normal; }
  .chair-history li { grid-template-columns: minmax(0,1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .reading-layout { display: block; }
  .design-wrap { width: 100%; }
  .content-section, .funding-feature { break-inside: avoid; }
}
