/*
 * Board staging 365917 · Who we are revamp (preview, ?wwa=2) · 24 November 2026
 * Author: Adam Ma'anit
 * Loads only on page 7846 when the preview flag is set, after the shared design-review stylesheet.
 * Every rule is scoped to body.bod-wwa2 so nothing applies to the page as ordinary visitors see it.
 * Rollback: remove bod-stage-who-we-are-20261124.php and this folder, then purge this file from the CDN.
 */
body.bod-wwa2{
  --wwa-grid:1200px; --wwa-gutter:20px;
  --wwa-ink:var(--bod-color-text,#111e3c); --wwa-muted:var(--bod-color-muted,#455770);
  /* Red is an accent only: heading rules, the eyebrow and hover. Text and surfaces stay in the navy family. */
  --wwa-red:#bc1519;
  --wwa-surface:var(--studio-highlight,#fcfdfd); --wwa-band:var(--studio-sheet,#e9eef1); --wwa-line:var(--bod-color-border-soft,#c3cfde);
  /* Portrait duotone: shadows map to the first colour, highlights to the second */
  --wwa-duo-dark:oklch(23% .063 266); --wwa-duo-light:oklch(96.2% .011 250);
  /* On hover and keyboard focus a portrait sharpens: deeper shadows, cleaner highlights */
  --wwa-duo-dark-hi:oklch(19% .062 266); --wwa-duo-light-hi:oklch(98.6% .005 250);
  --wwa-mono-bg:#1a2a4f; --wwa-mono-ink:oklch(82% .045 258);
}
@media (min-width:768px){body.bod-wwa2{--wwa-gutter:32px}}
@media (prefers-color-scheme:dark){body.bod-wwa2:not(.bod-wwa-light){
  --wwa-red:#f4767a;
  --wwa-surface:var(--studio-sheet,oklch(23.5% .052 265)); --wwa-band:var(--studio-sheet,oklch(23.5% .052 265)); --wwa-line:var(--bod-color-border-soft,oklch(41% .05 262));
  --wwa-duo-dark:oklch(14.5% .037 265); --wwa-duo-light:oklch(88.5% .036 258);
  --wwa-duo-dark-hi:oklch(13% .038 266); --wwa-duo-light-hi:oklch(94% .022 255);
  --wwa-mono-bg:var(--studio-shade,oklch(28.5% .054 264)); --wwa-mono-ink:oklch(70% .06 260);
}}

/* Reset page-level element styles on the new parts only (the organisation tree keeps its own styles).
   Kept to one class per selector so the rules below, which are just as specific, can override it. */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) :is(.wwa-eyebrow,.wwa-how__title,.wwa-jump__list,.wwa-jump__item,.wwa-group__head,.wwa-group__title,.wwa-group__intro,.wwa-treecard__title,.wwa-treecard__text,.wwa-treecard__cta,.wwa-grid,.wwa-card,.wwa-card__role,.wwa-card__name){margin:0;padding:0;border:0;background:none;max-width:none;font-family:inherit;text-transform:none;letter-spacing:normal;text-align:start;list-style:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) :is(.wwa-jump__item,.wwa-card)::before{content:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) [id^="wwa-"]{scroll-margin-top:1.5rem}

/* Hero eyebrow: the page is "Who we are", the headline is "About us" */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-eyebrow{display:flex;align-items:center;gap:.6rem;margin-block-end:.75rem;font-size:.78rem;line-height:1.2;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--wwa-red)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-eyebrow::before{content:"";inline-size:2rem;block-size:3px;background:var(--wwa-red)}

/* Jump links */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-jump{align-self:stretch;box-sizing:border-box;inline-size:100%;margin-block:2rem 0;padding-block:.85rem;border-block:1px solid var(--wwa-line)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-jump__list{display:flex;flex-wrap:wrap;gap:.35rem 1.75rem}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-jump a{display:inline-block;padding-block:.35rem;font-size:.95rem;line-height:1.3;font-weight:700;color:var(--wwa-ink);text-decoration:underline;text-decoration-color:var(--wwa-line);text-decoration-thickness:2px;text-underline-offset:5px}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-jump a:hover{text-decoration-color:var(--wwa-red)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-jump a:focus-visible{outline:3px solid var(--wwa-ink);outline-offset:3px;border-radius:2px}

/* Section headings share one treatment: a short red rule, then the title */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) :is(.wwa-how__title,.wwa-group__title){position:relative;padding-block-start:1rem;font-size:clamp(1.6rem,1.2rem + 1.6vw,2.2rem);line-height:1.15;font-weight:800;letter-spacing:-.015em;color:var(--wwa-ink);text-wrap:balance}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) :is(.wwa-how__title,.wwa-group__title)::before{content:"";position:absolute;inset-block-start:0;inset-inline-start:0;inline-size:3rem;block-size:4px;background:var(--wwa-red)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-how__title{align-self:stretch;inline-size:100%;margin-block:2.75rem 1.5rem}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .bde-accordion__title-tag{text-transform:none}
/* Close the gap between the section heading and the existing two columns of text */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .bde-columns-7846-108{margin-block-start:0;padding-block-start:0}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .bde-columns-7846-108 > .bde-column{padding-block-start:0}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .bde-columns-7846-108 > .bde-column > :first-child{margin-block-start:0}

/* New sections */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-section{padding-block:clamp(2.75rem,5vw,4.25rem)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-container{box-sizing:border-box;max-inline-size:calc(var(--wwa-grid) + 2 * var(--wwa-gutter));margin-inline:auto;padding-inline:var(--wwa-gutter)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-group--executive{background:var(--wwa-band)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-group__head{display:grid;gap:.5rem;max-inline-size:46rem;margin-block-end:2rem}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-group__intro{font-size:1.02rem;line-height:1.6;color:var(--wwa-ink)}

/* Portrait cards: a photograph with its caption, no box around it */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.75rem 1rem}
@media (min-width:40rem){html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem 1.25rem}}
@media (min-width:62rem){html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.25rem 1.5rem}}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card{position:relative;display:flex;flex-direction:column;min-inline-size:0;border-radius:4px}
/* One treatment for every portrait: greyscale, then shadows to Board navy and highlights to a cool paper tone.
   Dark studio backdrops and bright white ones end up in the same two-colour range, so the set reads as one. */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__media{--dd:var(--wwa-duo-dark);position:relative;isolation:isolate;aspect-ratio:4 / 5;background:var(--dd);border-radius:4px;overflow:hidden}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__img{display:block;inline-size:100%;block-size:100%;max-inline-size:none;object-fit:cover;object-position:50% 18%;border-radius:0;filter:grayscale(1) contrast(calc(1.09 * var(--boost,1))) brightness(var(--lift,1));mix-blend-mode:screen}
/* Framed around the face: the loader supplies the size and offset that put each face at the same size and height */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__img--focus{position:absolute;inset:auto;left:var(--l);top:var(--t);inline-size:var(--w);block-size:var(--h);object-position:50% 50%}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__media::after{content:"";position:absolute;z-index:2;inset:0;background:var(--wwa-duo-light);mix-blend-mode:multiply;pointer-events:none}
/* Fallback when a record has no image at all: a monogram tile in the same two colours */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--monogram .wwa-card__media{background:linear-gradient(155deg,var(--wwa-mono-bg),color-mix(in oklch,var(--wwa-mono-bg) 78%,var(--wwa-duo-dark)))}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--monogram .wwa-card__media::after{content:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__initials{display:grid;place-items:center;block-size:100%;font-size:clamp(2.5rem,1.5rem + 3.4vw,4rem);line-height:1;font-weight:800;letter-spacing:.04em;color:var(--wwa-mono-ink)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__body{display:flex;flex-direction:column;gap:.3rem;padding:.8rem 0 0}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__name{font-size:1.06rem;line-height:1.25;font-weight:800;color:var(--wwa-ink);overflow-wrap:normal}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__role{font-size:.84rem;line-height:1.4;font-weight:500;color:var(--wwa-muted)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__name a{color:inherit;text-decoration:none;background:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__name a::after{content:"";position:absolute;inset:0;z-index:1}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__name a:focus-visible{outline:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card:has(a:focus-visible){outline:3px solid var(--wwa-ink);outline-offset:4px}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card:hover .wwa-card__name a{text-decoration:underline;text-decoration-color:var(--wwa-red);text-decoration-thickness:2px;text-underline-offset:4px}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card:is(:hover,:focus-within) .wwa-card__media{--dd:var(--wwa-duo-dark-hi)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card:is(:hover,:focus-within) .wwa-card__media::after{background-color:var(--wwa-duo-light-hi)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card:is(:hover,:focus-within) .wwa-card__img{filter:grayscale(1) contrast(calc(1.16 * var(--boost,1))) brightness(calc(1.03 * var(--lift,1)))}
@media (prefers-reduced-motion:no-preference){
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__img{transition:transform .35s ease,filter .3s ease}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__media,html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__media::after{transition:background-color .3s ease}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card:hover .wwa-card__img{transform:scale(1.035)}
}
@media (forced-colors:active){
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__img{mix-blend-mode:normal}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__media::after{content:none}
}

/* Honorary Officers: the President leads on a row of his own, the other four follow by rank */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--lead{grid-column:1 / -1;background:var(--wwa-surface);border:1px solid var(--wwa-line);overflow:hidden}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--lead .wwa-card__media{border-radius:0}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--lead .wwa-card__name{font-size:clamp(1.5rem,1.15rem + 1.6vw,2.15rem);letter-spacing:-.015em}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--lead .wwa-card__role{font-size:.8rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--wwa-muted)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--lead .wwa-card__body{gap:.5rem;padding:1.1rem 1.25rem 1.4rem}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__bio{margin:.4rem 0 0;padding:0;max-inline-size:38rem;font-size:.98rem;line-height:1.6;color:var(--wwa-ink)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card__more{margin:.5rem 0 0;padding:0;font-size:.9rem;font-weight:700;color:var(--wwa-ink);text-decoration:underline;text-decoration-color:var(--wwa-red);text-decoration-thickness:2px;text-underline-offset:4px}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-group--officers .wwa-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:34rem){
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--lead{flex-direction:row;align-items:stretch}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--lead .wwa-card__media{flex:0 0 clamp(11rem,34%,21rem);aspect-ratio:1 / 1}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-card--lead .wwa-card__body{justify-content:center;padding:1.5rem clamp(1.25rem,4vw,3rem)}
}
@media (min-width:46rem){
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-group--officers .wwa-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Banner linking to the organisation tree page */
/* The shared Board in numbers component sits between the explanatory text and the tree banner */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-figures{padding-block:clamp(2.5rem,5vw,4rem) 0}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-figures + .wwa-treeband{padding-block-start:clamp(1.5rem,3vw,2rem)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treeband{padding-block:clamp(2.5rem,5vw,4rem) clamp(1rem,2vw,1.5rem)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard{position:relative;display:grid;background:var(--wwa-surface);border:1px solid var(--wwa-line);border-radius:4px;overflow:hidden}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__body{display:flex;flex-direction:column;justify-content:center;gap:.75rem;padding:clamp(1.5rem,4vw,3rem)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard .wwa-eyebrow{margin-block-end:0}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__title{font-size:clamp(1.6rem,1.2rem + 1.6vw,2.2rem);line-height:1.15;font-weight:800;letter-spacing:-.015em;color:var(--wwa-ink);text-wrap:balance}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__title a{color:inherit;text-decoration:none;background:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__title a::after{content:"";position:absolute;inset:0;z-index:1}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__title a:focus-visible{outline:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard:has(a:focus-visible){outline:3px solid var(--wwa-ink);outline-offset:4px}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__text{max-inline-size:30rem;font-size:1.02rem;line-height:1.6;color:var(--wwa-ink)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__cta{margin-block-start:.35rem;font-size:.98rem;font-weight:700;color:var(--wwa-ink);text-decoration:underline;text-decoration-color:var(--wwa-red);text-decoration-thickness:2px;text-underline-offset:5px}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__arrow{display:inline-block;text-decoration:none}
/* The picture is the live tree, laid out at its full desktop width and scaled to fit the window, which shows
   its upper part and fades out. tan(atan2(a,b)) is the ratio of two lengths, so the scale follows the window. */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__art{position:relative;container-type:inline-size;block-size:clamp(12rem,42vw,16rem);overflow:hidden;background:var(--wwa-band);border-block-start:1px solid var(--wwa-line)}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__art::after{content:"";position:absolute;z-index:2;inset-inline:0;inset-block-end:0;block-size:38%;background:linear-gradient(to bottom,transparent,var(--wwa-band));pointer-events:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__live{position:absolute;inset-block-start:1.25rem;inset-inline-start:1.25rem;inline-size:78rem;transform-origin:0 0;scale:.4;scale:tan(atan2(100cqw - 2.5rem,78rem));pointer-events:none;user-select:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__live #bod-etz :is(.bod-etz__head,.bod-etz__updated){display:none}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__live #bod-etz{margin:0;padding:0;background:none}
@media (min-width:52rem){
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__art{block-size:auto;min-block-size:21rem;border-block-start:0;border-inline-start:1px solid var(--wwa-line)}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__live{inset-block-start:1.75rem;inset-inline-start:1.75rem;scale:tan(atan2(100cqw - 3.5rem,78rem))}
}
@media (prefers-reduced-motion:no-preference){
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__live{transition:translate 2.2s cubic-bezier(.2,.6,.2,1)}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard__arrow{transition:transform .2s ease}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard:is(:hover,:focus-within) .wwa-treecard__live{translate:0 -13rem}
  html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) .wwa-treecard:is(:hover,:focus-within) .wwa-treecard__arrow{transform:translateX(4px)}
}
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) > .bde-section-7846-177{padding-block:0 clamp(1.5rem,3vw,2.5rem)}

/* One gutter for the whole page: the two existing sections sat a second gutter inside the grid below 1264px */
html body.bod-wwa2 main:is(#bod-main-content,.bde-themeless-template-content-area) > .bde-section > .section-container{box-sizing:border-box;inline-size:auto;max-inline-size:calc(var(--wwa-grid) + 2 * var(--wwa-gutter));margin-inline:auto;padding-inline:var(--wwa-gutter)}

/* Live site: its own column row is inset 35px; line the explanatory text up with the section heading */
html body.bod-wwa2.bod-wwa-light main:is(#bod-main-content,.bde-themeless-template-content-area) .bde-columns-7846-108{margin-inline-start:0;inline-size:100%}
