/* ==========================================================================
   wp-adapt.css
   Companion to prototype.css (which is the approved prototype, ported verbatim).

   Two jobs only:
   1. WordPress essentials the static prototype never needed (screen-reader
      utilities, skip link, admin-bar offset, core alignment/caption classes).
   2. A small set of functional components the prototype never designed
      (data tables, filter bars, document rows, pagination, notices). These
      are written strictly in the prototype's own idiom - same tokens, same
      radii, same muted/line colours - so they read as part of the system.

   Nothing here restyles a component the prototype already defined.
   ========================================================================== */

/* --- Hero image default ------------------------------------------------- */
/* prototype.css expects --hero-img; PHP overrides this per page. */
:root{--hero-img:linear-gradient(120deg,#163f32,#285947)}

/* --- WordPress accessibility essentials --------------------------------- */
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal}
.skip-link:focus{left:16px;top:16px;z-index:100;width:auto;height:auto;padding:12px 18px;background:var(--gold);color:var(--ink);border-radius:999px;font-weight:800;clip:auto;position:fixed}
:where(a,button,input,textarea,select,[tabindex]):focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.admin-bar header{top:32px}
@media(max-width:782px){.admin-bar header{top:46px}}

/* --- WordPress core content classes ------------------------------------- */
.alignleft{float:left;margin:0 24px 18px 0}
.alignright{float:right;margin:0 0 18px 24px}
.aligncenter{margin-left:auto;margin-right:auto;display:block}
.alignwide,.alignfull{max-width:none}
.wp-caption,figure{max-width:100%;margin:0}
.wp-caption-text,figcaption{font-size:13px;color:var(--muted);padding-top:8px}
.sticky,.bypostauthor{}
img{max-width:100%;height:auto}
.prose>*+*{margin-top:1em}
.prose h2,.prose h3{margin-bottom:.4em}
.prose a{color:var(--g);text-decoration:underline;text-underline-offset:3px}

/* --- Buttons: prototype defines .btn/.cta; add only disabled + button reset */
button.btn{border:0;cursor:pointer;font:inherit;font-weight:800}
.btn[aria-disabled=true],.btn:disabled{opacity:.55;cursor:not-allowed}
.btn-row{display:flex;gap:12px;flex-wrap:wrap}

/* --- Data tables (strategy, partners, impact) --------------------------- */
.table-wrap{overflow-x:auto;margin-top:25px;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.cohf-table{width:100%;border-collapse:collapse;font-size:15px;min-width:560px}
.cohf-table th,.cohf-table td{padding:15px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.cohf-table thead th{background:var(--c);font:650 12px/1.3 var(--font-body);text-transform:uppercase;letter-spacing:1.4px;color:var(--g)}
.cohf-table tbody th{font-weight:700;color:var(--g);white-space:nowrap}
.cohf-table tbody tr:last-child th,.cohf-table tbody tr:last-child td{border-bottom:0}
.impact .table-wrap{background:transparent;border-color:#ffffff2e}
.impact .cohf-table thead th{background:#ffffff14;color:#f2c969}
.impact .cohf-table th,.impact .cohf-table td{border-bottom-color:#ffffff1f}
.impact .cohf-table tbody th{color:#fff}

/* --- Checklists --------------------------------------------------------- */
.list-check{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.list-check li{position:relative;padding-left:30px;color:var(--muted)}
.list-check li:before{content:"";position:absolute;left:0;top:.45em;width:16px;height:16px;border-radius:50%;background:var(--s);box-shadow:inset 0 0 0 2px var(--g)}
.list-check--2col{columns:2;column-gap:45px}
.list-check--2col li{break-inside:avoid}
@media(max-width:700px){.list-check--2col{columns:1}}
.impact .list-check li,.dark-sec .list-check li{color:#d0ddd6}

/* --- Filter bar (programmes, resources) --------------------------------- */
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}
.filter-bar button{padding:10px 17px;border:1px solid var(--line);border-radius:999px;background:#fff;font:650 13px var(--font-body);color:var(--g);cursor:pointer;transition:.18s}
.filter-bar button:hover{border-color:var(--g)}
.filter-bar button[aria-pressed=true]{background:var(--g);border-color:var(--g);color:#fff}

/* --- Document rows (resources) ------------------------------------------ */
.resource-row{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:22px 0;border-bottom:1px solid var(--line)}
.resource-row:first-of-type{border-top:1px solid var(--line)}
.resource-row__type{margin:0 0 6px;font:800 11px var(--font-body);text-transform:uppercase;letter-spacing:2px;color:var(--t)}
.resource-row__title{margin:0;font:600 21px var(--font-display),serif}
.resource-row__title a:hover{color:var(--t)}
.resource-row__meta{margin:6px 0 0;font-size:13px;color:var(--muted)}
@media(max-width:600px){.resource-row{display:block}.resource-row>div+div{margin-top:14px}}

/* --- Search form -------------------------------------------------------- */
.search-form__row{display:flex;gap:10px;flex-wrap:wrap}
.search-form__input{min-width:230px;flex:1}
.search-form__label{display:block;font:650 13px var(--font-body);margin-bottom:6px;color:var(--g)}

/* --- Pagination --------------------------------------------------------- */
.pagination{margin-top:35px}
.pagination ul{list-style:none;display:flex;gap:8px;padding:0;margin:0;flex-wrap:wrap}
.pagination a,.pagination span{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:12px;font-weight:700;background:#fff}
.pagination .current{background:var(--g);border-color:var(--g);color:#fff}

/* --- Notices ------------------------------------------------------------ */
.payment-placeholder,.partner-empty,.impact-disclaimer,.form-notice{border:1px dashed var(--line);border-left:4px solid var(--gold);border-radius:14px;padding:22px 24px;background:#fff;color:var(--muted);font-size:15px}
.impact .impact-disclaimer{background:#ffffff0f;border-color:#ffffff33;border-left-color:var(--gold);color:#d0ddd6}
.form-notice--error{border-left-color:#b3402c}
.form-notice--success{border-left-color:#2f7d54}

/* --- Forms: prototype styles form/.field/.full; add label + required ---- */
.field label{font:650 13px var(--font-body);color:var(--g)}
.field .req{color:var(--t)}
.field__hint{font-size:12px;color:var(--muted)}
input:focus,textarea:focus,select:focus{outline:2px solid var(--g);outline-offset:1px}
.honeypot{position:absolute;left:-9999px}

/* --- Leadership portrait photograph ------------------------------------- */
/* prototype .portrait is a monogram tile; this lets a real photo fill it. */
.portrait--photo{padding:0}
.portrait img{width:100%;height:100%;object-fit:cover;display:block}

/* --- Programme/impact helpers the prototype implies but never styled ---- */
.card .card-body>.kicker{display:block;margin-bottom:6px}
.step b,.year b{display:block;margin:2px 0 6px;color:var(--g)}
.numbers--4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.numbers--4{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.numbers--4{grid-template-columns:1fr}}
.section-head--stack{display:block}
.anchor-offset{scroll-margin-top:96px}

/* --- Image placeholder (media.php fallback when no image is attached) ---- */
.media-placeholder{display:grid;place-items:center;min-height:205px;background:linear-gradient(135deg,var(--s),#f2eee2);color:var(--g)}
.media-placeholder span{font:800 11px var(--font-body);text-transform:uppercase;letter-spacing:2px;opacity:.75}

/* ==========================================================================
   v5 UI LAYER - top bar, navigation, hero slider
   Loaded after prototype.css, so these rules intentionally override a few of
   the prototype's values. Each override is there to fix an observed defect on
   the live site, not to restyle the design.
   ========================================================================== */

/* --- Chrome height budget -------------------------------------------------
   The hero is sized against the real height of the fixed chrome above it so
   that the tallest slide always fits inside the first viewport.
   -------------------------------------------------------------------------- */
:root{--cohf-topbar-h:34px;--cohf-header-h:72px;--cohf-chrome:calc(var(--cohf-topbar-h) + var(--cohf-header-h))}

/* --- Top utility bar ------------------------------------------------------
   Was: full-width flex with 8px padding and no small-screen handling.
   Now: tighter, vertically centred, and it keeps the contact details on one
   line instead of letting them collide with the strapline.
   -------------------------------------------------------------------------- */
.top{background:var(--g);color:#eaf2ed;font-size:12.5px;line-height:1.3}
.top .container{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:var(--cohf-topbar-h);padding:0}
.top span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.top a{color:#eaf2ed;opacity:.92}
.top a:hover{opacity:1;color:var(--gold)}
@media(max-width:900px){
  .top{display:block;font-size:11.5px}
  .top .container{justify-content:center;text-align:center}
  .top span:first-child{display:none}
}

/* --- Header and primary navigation ---------------------------------------
   Observed defect: nine menu items plus the brand lockup and CTA overflowed
   the 1180px container, so .links wrapped onto a second line and pushed the
   header to ~100px tall. Fixes: a slightly smaller brand, a tighter nav
   scale, no-wrap items, and a compact CTA.
   -------------------------------------------------------------------------- */
.nav{height:var(--cohf-header-h);gap:18px;flex-wrap:nowrap}
.brand{gap:9px;flex:0 0 auto;min-width:0}
.brand>span:last-child{font-size:13.5px;line-height:1.15;letter-spacing:.2px;white-space:nowrap}
.brand small{font-size:8.5px;letter-spacing:1.3px;white-space:nowrap}
.mark{width:36px;height:36px;font:600 18px var(--font-display);flex:0 0 auto}

.links{gap:0 15px;font-size:12.5px;flex:1 1 auto;justify-content:center;flex-wrap:nowrap;min-width:0}
.links a{white-space:nowrap;padding:6px 0;border-bottom:2px solid transparent;transition:.18s}
.links a:hover{color:var(--t);border-bottom-color:var(--t)}
.links a[aria-current]{color:var(--g);border-bottom-color:var(--gold)}

header .cta{flex:0 0 auto;padding:10px 16px;font-size:12.5px;white-space:nowrap}

/* Between 901px and 1150px the nav is tight: shrink the scale rather than wrap. */
@media(max-width:1150px){
  .brand>span:last-child{font-size:12px}
  .links{gap:0 11px;font-size:11.5px}
  header .cta{padding:9px 13px;font-size:11.5px}
  .mark{width:33px;height:33px;font-size:16px}
}

/* --- Mobile navigation ---------------------------------------------------
   The prototype hid .links below 900px and offered nothing in its place, so
   small screens had no navigation at all. This adds a real toggle + panel.
   -------------------------------------------------------------------------- */
.nav-toggle{display:none;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;flex:0 0 auto}
.nav-toggle__bars,.nav-toggle__bars:before,.nav-toggle__bars:after{display:block;width:18px;height:2px;background:var(--g);border-radius:2px;content:"";position:relative}
.nav-toggle__bars:before{position:absolute;top:-6px}
.nav-toggle__bars:after{position:absolute;top:6px}
.nav-toggle[aria-expanded=true] .nav-toggle__bars{background:transparent}
.nav-toggle[aria-expanded=true] .nav-toggle__bars:before{top:0;transform:rotate(45deg)}
.nav-toggle[aria-expanded=true] .nav-toggle__bars:after{top:0;transform:rotate(-45deg)}

@media(max-width:900px){
  .nav{height:64px;gap:12px;justify-content:space-between}
  .nav-toggle{display:inline-flex}
  header .cta{display:none}
  .links{
    display:none;
    position:absolute;left:0;right:0;top:100%;
    flex-direction:column;justify-content:flex-start;align-items:stretch;
    gap:0;background:#fff;border-top:1px solid var(--line);
    box-shadow:0 20px 40px #17231e1f;padding:8px 20px 18px;
    max-height:calc(100svh - 64px);overflow-y:auto
  }
  header{position:sticky}
  .links.is-open{display:flex}
  .links a{font-size:15px;padding:13px 0;border-bottom:1px solid var(--line)}
  .links a:last-of-type{border-bottom:0}
  .links .cta-mobile{margin-top:12px;text-align:center;background:var(--gold);border-radius:999px;padding:13px 18px;font-weight:800;border-bottom:0}
}

/* --- Hero slider ---------------------------------------------------------
   Observed defect: prototype .hero used min-height:650px with an h1 of up to
   78px, so on a 1366x768 laptop the headline was cut off by the fold and the
   buttons were below it. The hero is now height-capped against the real
   chrome height and the type scale is reduced to match.
   -------------------------------------------------------------------------- */
.hero--slider{
  position:relative;
  min-height:0;
  height:clamp(400px, calc(100svh - var(--cohf-chrome)), 560px);
  overflow:hidden;
  isolation:isolate;
}
.admin-bar .hero--slider{height:clamp(380px, calc(100svh - var(--cohf-chrome) - 32px), 560px)}
@media(max-width:782px){.admin-bar .hero--slider{height:clamp(380px, calc(100svh - var(--cohf-chrome) - 46px), 560px)}}

/* Image layers sit behind the gradient; the gradient stays on .hero itself. */
.hero--slider .hero__layers{position:absolute;inset:0;z-index:-2}
.hero--slider .hero__layer{
  position:absolute;inset:0;
  background-position:center;background-size:cover;background-repeat:no-repeat;
  opacity:0;transition:opacity .9s ease;
}
.hero--slider .hero__layer.is-active{opacity:1}
/* Gradient overlay, matching the prototype's hero treatment. */
.hero--slider:before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,#0e2d23f5,#0e2d23c4,#0e2d2352);
}
/* With slide layers present the element's own background image is redundant. */
.hero--slider.has-slides{background-image:none}

.hero--slider .inner{padding:26px 0;max-width:690px;position:relative;z-index:1}
.hero--slider .hero__pane{animation:cohfHeroIn .55s ease both}
@keyframes cohfHeroIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

.hero--slider h1{font-size:clamp(27px,3.5vw,46px);line-height:1.07;margin:10px 0}
.hero--slider p{font-size:clamp(14.5px,1.25vw,17px);line-height:1.5;margin:0;max-width:56ch}
.hero--slider .eyebrow{font-size:10.5px;letter-spacing:1.8px}
.hero--slider .buttons{margin-top:20px;gap:10px}
.hero--slider .btn{padding:11px 18px;font-size:13.5px}

/* Short viewports: shed the supporting paragraph rather than overflow. */
@media(max-height:620px){
  .hero--slider p{display:none}
  .hero--slider h1{font-size:clamp(24px,3vw,34px)}
  .hero--slider .inner{padding:18px 0}
}

/* --- Slider controls ----------------------------------------------------- */
.hero__controls{
  position:absolute;left:0;right:0;bottom:16px;z-index:2;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  pointer-events:none;
}
.hero__controls>*{pointer-events:auto}
.hero__arrow{
  width:42px;height:42px;flex:0 0 auto;
  display:grid;place-items:center;
  border:1px solid #ffffff5c;border-radius:50%;
  background:#0e2d2359;color:#fff;font-size:22px;line-height:1;
  cursor:pointer;transition:.18s;backdrop-filter:blur(6px);
}
.hero__arrow:hover{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.hero__dots{display:flex;gap:9px;align-items:center;margin:auto}
.hero__dot{
  width:11px;height:11px;padding:0;border-radius:50%;
  border:1px solid #ffffff9c;background:#ffffff38;cursor:pointer;transition:.2s;
}
.hero__dot:hover{background:#fff}
.hero__dot.is-active{background:var(--gold);border-color:var(--gold);width:26px;border-radius:999px}

@media(max-width:700px){
  .hero__arrow{display:none}
  .hero__controls{justify-content:center;bottom:12px}
}

@media(prefers-reduced-motion:reduce){
  .hero--slider .hero__layer{transition:none}
  .hero--slider .hero__pane{animation:none}
}

/* ==========================================================================
   v6 TYPOGRAPHY AND COPY PLACEMENT
   The prototype sets sizes but not line-breaking, measure or vertical rhythm,
   so long headlines produced single-word last lines and paragraphs ran to
   ~100 characters on wide screens. These rules govern where words land.
   ========================================================================== */

/* --- Line breaking -------------------------------------------------------
   balance: spreads a heading evenly across its lines instead of leaving one
   word stranded. pretty: stops paragraphs ending on a single short word.
   Both degrade silently in browsers that lack them.
   -------------------------------------------------------------------------- */
h1,h2,h3,.section-head h2,.cta-band h2,.card h3,.step h3,.year h3,.leader h3,.purpose h3{
  text-wrap:balance;
  hyphens:none;
  overflow-wrap:break-word;
}
p,.prose p,.card p,.step p,.purpose p,.section-head p{text-wrap:pretty}

/* --- Measure -------------------------------------------------------------
   Comfortable reading is roughly 60-75 characters. The prototype's fluid
   columns exceeded that on large monitors.
   -------------------------------------------------------------------------- */
.section-head p{max-width:62ch}
.story-copy p,.feature p{max-width:64ch}
.prose{max-width:70ch}
.prose.is-wide{max-width:none}
.card p,.purpose p{max-width:46ch}
.step p,.year p{max-width:34ch}
.cta-band p{max-width:58ch}
.quote{max-width:52ch}

/* --- Vertical rhythm -----------------------------------------------------
   One consistent interval between a kicker, its heading and its paragraph,
   replacing the assorted inline margins used across templates.
   -------------------------------------------------------------------------- */
.kicker,.eyebrow{margin:0 0 10px}
.section-head h2{margin:0}
.section-head{align-items:end;gap:34px;margin-bottom:40px}
.section-head>div{min-width:0}
.section-head p{margin:0;align-self:end}

.story-copy>*+*,.feature>div>*+*{margin-top:18px}
.story-copy h2,.feature h2{margin:0}
.story-copy .kicker,.feature .kicker{margin-bottom:8px}
.story-copy .btn,.feature .btn{margin-top:8px}

.card-body>*+*{margin-top:10px}
.card-body h3{margin:0}
.card-body p{margin:0}
.card-body .arrow{display:inline-block;margin-top:14px}

.purpose article>*+*{margin-top:10px}
.purpose h3{margin:0}
.step>*+*{margin-top:8px}
.step h3{margin:0}

/* Quote: give it room to read as a pull-quote rather than a wedged block. */
.quote{margin-top:26px;padding-left:22px;line-height:1.28}

/* Facts row: even spacing and no cramped single-column collapse. */
.facts{gap:14px;margin:22px 0}
.fact strong{margin-bottom:4px}
.fact span{display:block;line-height:1.35}

/* --- Headline scale trims ------------------------------------------------
   The prototype's 46-50px section headings crowded two-column rows on
   mid-size laptops, which is where most of this site will be read.
   -------------------------------------------------------------------------- */
.section-head h2{font-size:clamp(26px,2.9vw,40px);line-height:1.1}
.story-copy h2,.feature h2{font-size:clamp(26px,2.9vw,40px);line-height:1.1}
.cta-band h2{font-size:clamp(24px,2.5vw,34px);line-height:1.12}
.page-hero h1{font-size:clamp(28px,3.6vw,46px);line-height:1.08;margin:10px 0 0}
.page-hero p{margin:16px 0 0;max-width:62ch;font-size:clamp(15px,1.2vw,17.5px)}
.page-hero{padding:64px 0}

/* --- Stacked section heads on narrow screens ----------------------------- */
@media(max-width:820px){
  .section-head{display:block;margin-bottom:30px}
  .section-head p{margin-top:14px;max-width:none}
  .story-copy p,.feature p{max-width:none}
}

/* --- Long single words (URLs, email addresses) --------------------------- */
.resource-row__title,.contact-details a,.prose a{overflow-wrap:anywhere}

/* ==========================================================================
   v7 BRAND LOGO
   The prototype's .mark is a green circle containing the letter "C". The real
   logo is a four-hand mark, so the circle treatment must be switched off
   wherever an image is used - otherwise the artwork sits inside a green disc.
   ========================================================================== */

.mark--logo{
  width:auto;
  height:40px;
  background:none;
  border-radius:0;
  display:block;
  object-fit:contain;
  flex:0 0 auto;
}

/* The mark is wider than the old disc, so the lockup needs a touch less gap
   and the wordmark a slightly tighter measure to keep the header on one line. */
.brand{gap:10px}
.brand>span:last-child{font-size:13px}

/* WordPress custom logo, if one is set in the Customizer, obeys the same box. */
.custom-logo{height:40px;width:auto;max-width:min(320px,42vw);display:block;object-fit:contain;object-position:left center}
.brand:has(.screen-reader-text) .custom-logo{max-width:min(360px,46vw)}
.custom-logo-link{display:flex;align-items:center;flex:0 0 auto}

/* Footer sits on dark green. The mark reads well there; the full colour
   wordmark does not, which is why the footer pairs the mark with live white
   type rather than the supplied lockup. */
footer .mark--logo{height:44px}

@media(max-width:1150px){
  .mark--logo,.custom-logo{height:36px}
  .brand>span:last-child{font-size:12px}
}
@media(max-width:900px){
  .mark--logo,.custom-logo{height:38px}
  .brand>span:last-child{font-size:12.5px}
}
@media(max-width:480px){
  /* Very narrow: keep the mark, drop the descriptor line, hold one line. */
  .brand>span:last-child{font-size:11.5px}
  .brand small{display:none}
}

/* --- Full horizontal lockup ---------------------------------------------- */
.brand-lockup{display:block;width:100%;max-width:420px;height:auto}
.brand-lockup--sm{max-width:300px}
.brand-lockup--lg{max-width:560px}
/* Guard: the lockup's dark green and red wordmark must not land on a dark
   surface. If it ever does, at least give it a legible plate. */
.s--dark .brand-lockup,.impact .brand-lockup,footer .brand-lockup{
  background:var(--c);padding:14px 18px;border-radius:16px
}

/* Print: the full lockup carries the organisation name and tagline, which is
   what a printed page needs. */
@media print{
  .mark--logo{height:34px}
}

/* --- Print -------------------------------------------------------------- */
@media print{.top,header,.cta,footer,.filter-bar,.pagination{display:none}section{padding:18px 0}}

/* Wide logo lockups: full lockup on desktop, mark alone on phones, so the
   name never shrinks below a legible size. */
.brand-mark-mobile{display:none}
@media(max-width:900px){
  .brand-mark-mobile{display:block}
  .brand .custom-logo{display:none}
}

/* ---------------------------------------------------------------------------
   TYPOGRAPHY  -  Playfair Display (display) + Inter (text/UI), matching
   dckabeten.org. Playfair Italic is the accent voice, reserved for pull
   quotes only - see design-system.css. Self-hosted variable fonts, latin
   subset. Replaces the Georgia/Arial system defaults inherited from the
   prototype. Both families carry an optical-size axis, so display and body
   sizes use genuinely different letterforms rather than one shape scaled.
   --------------------------------------------------------------------------- */
:root{
  --font-display:'Playfair Display',Georgia,'Times New Roman',serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --font-accent:'Playfair Display',Georgia,serif;
}

body{
  font-family:var(--font-body);
  font-optical-sizing:auto;
  font-synthesis:none;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

h1,h2,h3,h4,.fact strong,.number strong,.portrait,.resource-row__title{
  font-family:var(--font-display);
  font-optical-sizing:auto;
  letter-spacing:-0.011em;
}

/* Real hierarchy. Uniform 700 everywhere is what makes type read as machine-set:
   Newsreader has a wide weight axis, so display sizes sit lighter and larger
   while small headings carry more weight to hold their own. */
.hero h1,.page-hero h1{font-weight:500;letter-spacing:-0.021em}
.section-head h2,.story-copy h2,.feature h2,.cta-band h2{font-weight:550;letter-spacing:-0.015em}
h3{font-weight:600;letter-spacing:-0.006em}
.fact strong,.number strong{font-weight:600}

/* Accent voice: Playfair Display Italic. Pull quotes ONLY. The lead-in
   rule below is superseded in design-system.css - Playfair italic is not
   legible enough at lede sizes. */
.quote{
  font-family:var(--font-accent);
  font-style:italic;
  font-weight:450;
  letter-spacing:-0.008em;
}
.section-head p,.hero p,.page-hero p{
  font-family:var(--font-accent);
  font-style:italic;
  font-weight:400;
}

/* Body and UI stay in Inter - it is the workhorse, not the voice. */
p,li,td,input,textarea,select,.card p,.purpose p,.step p,.year p,.leader p{
  font-family:var(--font-body);
}
.eyebrow,.kicker{font-family:var(--font-body);font-weight:700;letter-spacing:.15em}
.links,.cta,.btn,.foot a,.filter-bar button,.foot h3{font-family:var(--font-body)}
.links{font-weight:600}
.cta,.btn{font-weight:700}

/* Tabular figures so impact numbers and timeline years align in their grids. */
.number strong,.fact strong,.year h3{font-variant-numeric:tabular-nums lining-nums}

/* ---------------------------------------------------------------------------
   HEADER FIXES
   1. The mobile CTA lives inside the nav panel so it appears in the slide-down
      menu on phones. It had no base display rule, so on desktop it rendered as
      a plain link after "Contact" - duplicating the gold button beside it.
      It is now explicitly desktop-hidden and revealed only in the mobile panel.
   2. Top utility bar reworked: clearer hierarchy between the positioning line
      and the contact details, real hit areas on the links, and icons so the
      phone and email are scannable rather than a run-on string.
   --------------------------------------------------------------------------- */
.links .cta-mobile{display:none}
@media(max-width:900px){
  .links .cta-mobile{display:block}
}

/* --- Top utility bar --- */
:root{--cohf-topbar-h:38px}
.top{
  background:linear-gradient(90deg,var(--g) 0%,#12352b 100%);
  color:#dbe8e1;
  font-family:var(--font-body);
  font-size:12.5px;
  line-height:1.2;
  border-bottom:1px solid #ffffff14;
}
.top .container{
  display:flex;justify-content:space-between;align-items:center;
  gap:20px;min-height:var(--cohf-topbar-h);padding:0;
}
.top__strapline{
  display:inline-flex;align-items:center;
  font-size:11px;font-weight:600;
  text-transform:uppercase;letter-spacing:.13em;
  color:#a9c2b6;white-space:nowrap;
}
.top__contact{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.top__link{
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 9px;border-radius:8px;
  color:#e7f1eb;font-weight:500;
  transition:background .16s ease,color .16s ease;
}
.top__link:hover,.top__link:focus-visible{background:#ffffff14;color:#fff}
.top__link:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
.top__icon{width:13px;height:13px;flex:0 0 auto;opacity:.75}
.top__link:hover .top__icon{opacity:1;color:var(--gold)}
.top__sep{width:1px;height:13px;background:#ffffff26;flex:0 0 auto}

@media(max-width:900px){
  .top{font-size:12px}
  .top .container{justify-content:center}
  .top__strapline{display:none}
  .top__sep{display:none}
  .top__contact{gap:2px}
  .top__link{padding:8px 10px}
}
@media(max-width:480px){
  .top__link span{font-size:11.5px}
  .top__link{padding:8px 7px;gap:6px}
}

/* ---------------------------------------------------------------------------
   LEADERSHIP PORTRAITS
   The prototype's .portrait is a fixed 220px-tall monogram tile, which in a
   four-column grid is landscape. The supplied photographs are cropped 4:5
   portrait, so a fixed height would crop heads and chests. Matching the slot
   to the artwork keeps every face framed as intended, and the monogram
   fallback still centres correctly inside the taller tile.
   --------------------------------------------------------------------------- */
.portrait{height:auto;aspect-ratio:4/5}
.portrait--photo{padding:0;overflow:hidden}
.portrait img{width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block}
@media(max-width:600px){
  .portrait{aspect-ratio:1/1}
}


/* =========================================================================
   LEADERSHIP  -  governance structure, not a flat list.
   Three tiers read top to bottom: Executive, Board, Management. Portraits
   are a fixed 4:5 so a new photograph drops in without touching layout,
   and a leader without one gets a monogram plate rather than a stock face.
   ========================================================================= */

.leadership .container > .leader-tier + .leader-tier{margin-top:72px}

.leader-tier__head{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 26px;
  padding-bottom:16px;margin-bottom:30px;border-bottom:1px solid var(--line);
}
.leader-tier__title{
  margin:0;font-family:var(--font-display);font-weight:600;
  font-size:clamp(25px,3vw,34px);line-height:1.1;color:var(--g);letter-spacing:-.01em;
}
.leader-tier__intro{margin:0;color:var(--muted);font-size:15px;max-width:56ch}

.leader-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.leader-grid--feature{grid-template-columns:repeat(2,1fr);gap:34px}
.leader-grid--board{grid-template-columns:repeat(3,1fr)}

.leader-card{
  display:flex;flex-direction:column;background:#fff;
  border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  transition:box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.leader-card:hover{transform:translateY(-3px);box-shadow:0 18px 46px rgba(23,35,30,.10);border-color:#cfdad3}

.leader-card__media{position:relative;aspect-ratio:4/5;background:linear-gradient(140deg,var(--s),#f1ece0);overflow:hidden}
.leader-card__media img,.leader-card__img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block}

.leader-card__monogram{
  position:absolute;inset:0;display:grid;place-items:center;
  font-family:var(--font-display);font-weight:600;font-size:clamp(40px,5vw,62px);
  color:var(--g);opacity:.42;letter-spacing:.02em;
}
.leader-card__pending{
  position:absolute;left:14px;bottom:14px;padding:5px 11px;border-radius:999px;
  background:#ffffffe0;color:var(--muted);font-size:10px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
}

.leader-card__body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1 1 auto}
.leader-card__name{
  margin:0 0 5px;font-family:var(--font-display);font-weight:600;
  font-size:21px;line-height:1.18;color:var(--ink);letter-spacing:-.01em;
}
.leader-card__role{
  margin:0 0 12px;color:var(--t);font-size:11px;font-weight:700;
  letter-spacing:.13em;text-transform:uppercase;line-height:1.45;
}
.leader-card__bio{
  margin:0 0 16px;color:var(--muted);font-size:14.5px;line-height:1.62;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.leader-card__more{
  margin-top:auto;align-self:flex-start;background:none;border:0;padding:6px 0;
  color:var(--g);font:700 13px/1 var(--font-body);cursor:pointer;
  border-bottom:1.5px solid var(--gold);transition:color .18s ease,border-color .18s ease;
}
.leader-card__more:hover{color:var(--t);border-color:var(--t)}
.leader-card__more:focus-visible{outline:2px solid var(--g);outline-offset:3px;border-radius:2px}

.leader-grid--feature .leader-card__name{font-size:25px}
.leader-grid--feature .leader-card__bio{-webkit-line-clamp:4;font-size:15px}

/* Governance chain */
.gov-chain{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.gov-chain__item{position:relative;padding:24px 22px 22px;background:#fff;border:1px solid var(--line);margin-left:-1px}
.gov-chain__item:first-child{margin-left:0;border-top-left-radius:16px;border-bottom-left-radius:16px}
.gov-chain__item:last-child{border-top-right-radius:16px;border-bottom-right-radius:16px}
.gov-chain__num{display:block;margin-bottom:9px;color:var(--gold);font:800 12px/1 var(--font-body);letter-spacing:.16em}
.gov-chain__item h3{margin:0 0 6px;font-family:var(--font-display);font-weight:600;font-size:18px;color:var(--g);line-height:1.2}
.gov-chain__item p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.58}

/* Profile panel */
.leader-panel{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:22px}
.leader-panel[hidden]{display:none}
.leader-panel__scrim{position:absolute;inset:0;background:rgba(9,32,25,.62);backdrop-filter:blur(3px)}
.leader-panel__dialog{
  position:relative;width:min(880px,100%);max-height:88vh;overflow:auto;
  background:#fff;border-radius:22px;box-shadow:0 40px 90px rgba(9,32,25,.32);
  animation:cohf-panel-in .22s ease both;
}
@keyframes cohf-panel-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.leader-panel__close{
  position:absolute;top:14px;right:14px;z-index:2;width:40px;height:40px;border-radius:50%;
  border:1px solid var(--line);background:#fffffff2;color:var(--ink);font-size:22px;line-height:1;cursor:pointer;
}
.leader-panel__close:hover{background:var(--c)}
.leader-panel__close:focus-visible{outline:2px solid var(--g);outline-offset:2px}
.leader-panel__grid{display:grid;grid-template-columns:300px 1fr}
.leader-panel__media{position:relative;aspect-ratio:4/5;background:linear-gradient(140deg,var(--s),#f1ece0);overflow:hidden}
.leader-panel__img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block}
.leader-panel__monogram{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--font-display);font-weight:600;font-size:64px;color:var(--g);opacity:.42}
.leader-panel__body{padding:40px 38px}
.leader-panel__name{margin:0 0 7px;font-family:var(--font-display);font-weight:600;font-size:clamp(25px,3vw,33px);line-height:1.12;color:var(--ink)}
.leader-panel__role{margin:0 0 20px;color:var(--t);font-size:11.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;line-height:1.5}
.leader-panel__bio{color:var(--ink);font-size:16px;line-height:1.72}
body.cohf-panel-open{overflow:hidden}

@media(max-width:1100px){
  .leader-grid{grid-template-columns:repeat(3,1fr)}
  .gov-chain{grid-template-columns:repeat(2,1fr)}
  .gov-chain__item{margin-left:-1px;margin-top:-1px;border-radius:0}
  .gov-chain__item:first-child{border-radius:16px 0 0 0}
  .gov-chain__item:last-child{border-radius:0 0 16px 0}
}
@media(max-width:820px){
  .leader-grid,.leader-grid--feature,.leader-grid--board{grid-template-columns:repeat(2,1fr);gap:20px}
  .leadership .container > .leader-tier + .leader-tier{margin-top:54px}
  .leader-panel__grid{grid-template-columns:1fr}
  .leader-panel__media{aspect-ratio:16/10}
  .leader-panel__body{padding:28px 24px 32px}
}
@media(max-width:560px){
  .leader-grid,.leader-grid--feature,.leader-grid--board{grid-template-columns:1fr;gap:18px}
  .leader-tier__head{display:block}
  .leader-tier__intro{margin-top:7px}
  .gov-chain{grid-template-columns:1fr}
  .gov-chain__item{border-radius:0;margin-left:0}
  .gov-chain__item:first-child{border-radius:16px 16px 0 0}
  .gov-chain__item:last-child{border-radius:0 0 16px 16px}
  .leader-panel{padding:0}
  .leader-panel__dialog{max-height:100vh;border-radius:0;width:100%}
}
@media(prefers-reduced-motion:reduce){
  .leader-card,.leader-card__more{transition:none}
  .leader-card:hover{transform:none}
  .leader-panel__dialog{animation:none}
}
