/*
Theme Name: TMA Divi Child
Theme URI: https://www.tma-invest.com/
Template: Divi
Author: Tulett, Matthews & Associates
Description: Minimal Divi child theme for Tulett, Matthews & Associates. Exists to hold the site's custom CSS in a version-controlled file instead of the Theme Options database field. Deliberately contains no template overrides and no font or script changes.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
License: Proprietary
Text Domain: tma-divi-child
*/

/* ==========================================================================
   Site CSS

   This file is where the site's custom CSS belongs.

   It is currently EMPTY ON PURPOSE. The 64KB now sitting in
   Divi > Theme Options > Custom CSS has not been moved yet, because that move
   changes CSS load order and needs to be done in stages with checks between
   each one. See MIGRATION-NOTES.md in this folder.

   Two rules for anything added below:

   1. Do not paste the Theme Options CSS in wholesale. Move it in sections,
      checking the result after each one. Theme Options CSS is injected AFTER
      this stylesheet, so any rule that currently wins on source order rather
      than specificity will start losing once it moves here.

   2. Keep the section comments from the original. They are the only
      documentation of what most of these rules are for.
   ========================================================================== */

/* ==========================================================================
   SITE CSS - moved here from Divi > Theme Options > Custom CSS, 16 Sep 2026.

   This is the whole of the old Theme Options Custom CSS field, in its
   ORIGINAL SOURCE ORDER. Order matters: a number of rules here override an
   earlier one at the same specificity and win only by coming later
   (.wt-rings, .wws-rings, .hm-tree and the .svc-panel type rules all do
   this). Do not reorder or regroup this file.

   Why it was moved: the Theme Options field is sanitised by WordPress on
   every save. It deletes everything between a less-than sign and the next
   greater-than sign, converts remaining greater-than signs and ampersands
   to HTML entities, and strips backslash escapes. That had already
   destroyed 53 child-combinator selectors, the \00BB list marker and 29
   lines of this stylesheet. A theme file is not sanitised.

   One deliberate change from the original text: a comment that read
   "Divi handles <=980px with its own !important rule" now reads
   "980px and below". That single "<" is what ate the 29 lines.

   Backups: Claude outputs/site-css-backup/
     divi-theme-options-custom-css.css        the clean pre-corruption copy
     tma-live-custom-css-2026-09-16.css       the corrupted copy, for reference

   Pending: the text-wrap:balance rule near the top is why the bio page
   eyebrows do not fill their boxes, and all eight bio pages carry a
   module-level override to undo it. Replace those eight with the CSS class
   hero-eyebrow on each eyebrow module plus one rule:
       body #page-container .hero-eyebrow h1 { text-wrap: wrap; }
   ========================================================================== */

/* --------------------------------------------------------------------------
   SCRUBBED 17 Sep 2026. 13.9KB (22%) removed after auditing every selector
   against all 61 pages and a 24-post sample of the live site.

   Removed, because the markup no longer exists anywhere:
     - the click-to-open service panel system (.svc-panel, .svc-scrim,
       .svc-panels, .svc-close, #svc-1..6)  53 blocks, 6.3KB
       The matching script was removed from Theme Options > Integration > head
       at the same time. The two were a pair; do not restore one alone.
     - portfolio-management hero mark (.pm-mark and its art classes)  1.5KB
     - book page hero (.bk-*)  1.2KB
     - service-page resource links (.svc-read/.svc-listen/.svc-res/
       .svc-lede/.svc-sub)  1.7KB
     - CSS for two trashed pages: 171 Partners & Custodians,
       376143 Learn with our guides  0.7KB
     - one empty @media block and one duplicate .hm-svg rule

   Also repaired: seven comments whose closing delimiter had been eaten by the
   Theme Options sanitiser. The prose is kept; the unreachable rule bodies
   below each one were removed and marked. Their selectors cannot be recovered.

   KEPT deliberately, even though nothing matches them today:
     - .tma-facts and the .tma-hero/.tma-mark alias, both added 8 Sep 2026 and
       apparently staged for pages not yet built
     - the .hm-dot/.hm-dots/.hm-coin.c6/.hm-stem.s6 sub-rules, part of the
       live How We Help money-tree hero
     - the CSS for draft post 398878

   Verified: 318 declarations removed, and not one surviving declaration
   changed its winning value.
   -------------------------------------------------------------------------- */

/* Reduce line spacing in classic Divi dropdown menus */
#top-menu li li a, 
.et_pb_menu .nav li li a {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    line-height: 1.2em !important;
}

/* Optional: Tighten space between the list items themselves */
#top-menu li li, 
.et_pb_menu .nav li li {
    padding: 0 !important;
}




/* Articles hero: article rules aligned right, shortest at the top, so their left
   ends sit exactly on a curve rising to the top right - writing and growth as one
   object. Rules draw in from the right bottom-to-top, the curve then traces along
   their ends, node lands on the apex. Runs 1.7s, deliberately slower than the
   other heroes. Seven rules on a smooth S-curve: flat at the foot, steepest through
   the middle, easing to level at the apex.
   Endpoint x values are derived from the curve - if you move one,
   move the other. */
.ar-bg{ position:absolute; right:max(10%, calc((100% - 1080px)/2)); top:50%; transform:translateY(-50%); width:47%; max-width:620px;
  z-index:0; pointer-events:none; line-height:0 }
.ar-svg{ display:block; width:100%; height:auto }
.ar-rule{ stroke:#FFFFFF; stroke-width:2.4; stroke-linecap:round; vector-effect:non-scaling-stroke; fill:none;
  transform-box:fill-box; transform-origin:right center; opacity:0;
  animation:ar-draw 0.88s cubic-bezier(.2,.7,.25,1) var(--d,0s) both }
.ar-accent{ stroke:#F2D135; stroke-width:2.6 }
.ar-spine{ stroke:#FFFFFF; stroke-width:1.5; fill:none; vector-effect:non-scaling-stroke;
  stroke-dasharray:1; stroke-dashoffset:1; opacity:0; animation:ar-trace 1.13s ease-out 0.13s both }
.ar-node{ fill:#F2D135; transform-box:fill-box; transform-origin:center; opacity:0;
  animation:ar-pop 0.38s ease-out var(--d,1.88s) both }
.ar-tick{ fill:#FFFFFF; transform-box:fill-box; transform-origin:center; opacity:0;
  animation:ar-pop 0.38s ease-out var(--d,0s) both }
@keyframes ar-draw{ from{ transform:scaleX(0); opacity:0 } to{ transform:scaleX(1); opacity:var(--o,.3) } }
@keyframes ar-trace{ 0%{ stroke-dashoffset:1; opacity:0 } 20%{ opacity:var(--o,.6) } 100%{ stroke-dashoffset:0; opacity:var(--o,.6) } }
@keyframes ar-pop{ from{ transform:scale(.3); opacity:0 } to{ transform:scale(1); opacity:var(--o,.85) } }
@media (prefers-reduced-motion:reduce){ .ar-rule,.ar-spine,.ar-node,.ar-tick{ animation:none; opacity:var(--o,.3); transform:none; stroke-dashoffset:0 } }

/* Guides hero: stacked guide covers, fanning right. Sheets and rules fade in
   staggered under 0.8s, matching the other hero entrances. Masked so the left
   edge is clear of the copy it overlaps. */
.gd-bg{ position:relative; width:100%; z-index:0; pointer-events:none; line-height:0;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, transparent 14%, rgba(0,0,0,.35) 34%, rgba(0,0,0,.8) 62%, #000 84%);
  mask-image:linear-gradient(to right, transparent 0%, transparent 14%, rgba(0,0,0,.35) 34%, rgba(0,0,0,.8) 62%, #000 84%) }
.gd-svg{ display:block; width:100%; height:auto }
.gd-sheet{ fill:none; stroke:#FFFFFF; stroke-width:1.2; vector-effect:non-scaling-stroke;
  opacity:0; animation:gd-in 0.63s ease-out var(--d,0s) both }
.gd-rule{ stroke:#FFFFFF; stroke-width:1.5; stroke-linecap:round; vector-effect:non-scaling-stroke;
  opacity:0; animation:gd-in 0.63s ease-out var(--d,0s) both }
.gd-accent{ stroke:#F2D135 }
@keyframes gd-in{ from{ opacity:0 } to{ opacity:var(--o,.28) } }
@media (prefers-reduced-motion:reduce){ .gd-sheet,.gd-rule{ animation:none; opacity:var(--o,.28) } }
@media (max-width:980px){ .gd-bg{ display:none } }

/* Header FOUT. The nav stack was bare "Archivo" with no fallback, so until the
   webfont arrives from fonts.gstatic.com the menu renders in the browser default
   - measured 4.7% wider than Archivo (384.5px vs 367.4px for the menu string at
   600/15px), so it visibly reflows on swap. This fallback is Arial scaled to
   Archivo’s width, so the swap is imperceptible. Remove once the fonts are
   self-hosted and arrive before first paint. */
@font-face{font-family:"Archivo Fallback";src:local("Arial"),local("Helvetica");font-weight:100 500;font-style:normal;size-adjust:97.6%}
@font-face{font-family:"Archivo Fallback";src:local("Arial Bold"),local("Helvetica Bold"),local("Arial");font-weight:501 900;font-style:normal;size-adjust:95.6%}
#main-header, #main-header a, #top-menu a, #top-header, #top-header a, .et_mobile_menu a{ font-family:Archivo,"Archivo Fallback",Helvetica,Arial,sans-serif }
/* Fixed-header offset. The generated Divi CSS assumes a 111px header, but the
   real one measures 166px (35px top bar + 131px main header), so Divi rewrites
   #page-container padding to 165px about 16ms after load - a visible 54px jump
   on every page. Matching the static value removes it. Divi handles 980px and below with
   its own !important rule, so this stays desktop-only. Recheck if the logo or
   top bar height changes. */
.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container{padding-top:165px}

/* Divi 5 marks animated modules with .et_animated (opacity:0) but never emits
   et_animation_data, so the waypoints that would reveal them are never registered
   and the content stays invisible. Page-level animations have been cleared in the
   builder; this covers the module presets that still carry one. Delete once the
   presets are cleared too. */
.et_animated{ opacity:1 !important }

/* Who We Serve (page 396750): sticky life-stage image + scroll fade. Kept here so the Divi Builder cannot strip it. */
body.page-id-396750 .tma-work ul li::marker{content:"»  ";color:#4A8FAE;font-weight:700}body.page-id-396750 #page-container{overflow:visible !important}


/* How We Help (page 396747): tighten Divi's default 30px vertical module gap
   so the deliberate per-module padding reads as the spacing rhythm. */
body.page-id-396747 .et_pb_button:hover{opacity:.85}


/* ============================================================
   Why TMA (page 397976) - PHONE ONLY.
   Everything below sits inside max-width:767px, so the desktop
   layout is mathematically untouched.
   Fixes: inconsistent side gutters (were 56 / 41 / 21px),
   oversized section padding (1400px total on a 7947px page),
   and one button under the 44px tap-target minimum.
   ============================================================ */
@media (max-width: 767px){

  /* one consistent gutter down the whole page */
  body.page-id-397976 .et_pb_section > .et_pb_row{
    width: 86% !important;
    max-width: 86% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* tighten the vertical rhythm for a small screen */
  body.page-id-397976 .et_pb_section:not(.et_pb_section_0){
    padding-top: 56px !important;
    padding-bottom: 56px !important;
    /* S0/S1 carried 48px side padding, which pushed their rows in to a 70px gutter */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* every button a comfortable tap target */
  body.page-id-397976 a.et_pb_button:not(.preset--module--divi-button--cpqtigyywr){
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* a nested row already sits inside an inset column - keep it flush */
  body.page-id-397976 .et_pb_column .et_pb_row{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* THE ACTUAL STACKING BUG:
     the columns are already tagged et_flex_column_24_24_phone (full width),
     but every row is flex-wrap:nowrap, so they were forced onto one line
     and squeezed off the screen. Let them wrap, and hold each at 100%. */
  body.page-id-397976 .et_pb_row{
    flex-wrap: wrap !important;
  }
  body.page-id-397976 .et_pb_row > .et_pb_column{
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}


/* ------------------------------------------------------------
   GLOBAL THEME FOOTER - phone only.
   The footer nav is a 4-column CSS grid with hard-coded tracks
   (~520px of columns + gaps inside a 370px container), so it ran
   off the right edge of every page on a phone. Collapse to one
   column. This is site-wide because the footer is site-wide.
   ------------------------------------------------------------ */
@media (max-width: 767px){
  .et-l--footer div[style*="grid-template"]{
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

/* Option B - card grid with drawer underneath */


/* --- services refinement --- */


/* ===== How We Help — six services =====
   Layout and behaviour only. No type, colour or size overrides —
   titles and body copy render at the theme's own settings.        */
body.page-id-396747 #page-container{overflow:visible !important}


/* ===== click-to-open ¾ panels (scratch page) ===== */


/* The six card columns now carry their own background AND border in the
   builder, so nothing is hardcoded here. Anything added back to .svc-cell will
   silently outrank the builder settings - same specificity, later in source. */

/* click affordance: Services page only — that is where .svc-open actually
   opens a panel. The homepage service cards carry .svc-open from a Divi preset
   but have no panel behind them, so they must not look clickable. */
.page-id-396747 .svc-open{cursor:pointer;transition:transform .25s ease}
@media (min-width: 768px){ .page-id-396747 .svc-open:hover{transform:translateY(-2px)} }


body.svc-locked{overflow:hidden}


/* ===== navy intro column - suppress inherited hover tint =====
   The DEFAULT COLUMN PRESET carries a background-color on :hover
   (--gcid-1hondza6kh = #E7F3F8 at 20%). Invisible on cream sections, but on
   the navy "What makes us different" intro it reads as a pale panel behind
   the text.
   Scoped to that ONE column on purpose: columns 15-18 (the four principle
   cards) use the same inherited hover deliberately - background tint plus the
   yellow spine, transition background-color .3s, border-width .3s - and a
   blanket reset flattened it. Leave those alone.
   Permanent fix: clear Background > Hover on the default column preset in the
   builder, then delete this block. */


/* Card 01 gradient line. The page-level CSS draws this with
   .et_pb_section_4 .et_pb_row:not(:first-child) .et_pb_column:after - the
   :not(:first-child) was written when the intro row still lived inside
   section 4. The intro now has its own section, so the first row IS card 01,
   and it silently lost its line. This restores it for that row only.
   Proper fix: delete :not(:first-child) from both rules in the page Custom
   CSS (Divi page settings > Advanced > Custom CSS), then remove this block. */
body.home .et_pb_section_4 .et_pb_row:first-child .et_pb_column:after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:2px;
  background:linear-gradient(90deg,#FF6B35,#F2D135);
  clip-path:inset(0 100% 0 0);
  transition:clip-path 1.4s cubic-bezier(.22,1,.36,1);
}
body.home .et_pb_section_4 .et_pb_row:first-child .et_pb_column.et_had_animation:after{
  clip-path:inset(0 0 0 0);
}


/* title -- rule body removed: its selector was destroyed by the Theme Options sanitiser and cannot be recovered */

/* title size: Divi module rules outrank a single class -- rule body removed: its selector was destroyed by the Theme Options sanitiser and cannot be recovered */


/* Tax Services marks "What you’ll receive" as an h5 where the other five
   panels use an h6 -- rule body removed: its selector was destroyed by the Theme Options sanitiser and cannot be recovered */


/* resource link: no pill -- rule body removed: its selector was destroyed by the Theme Options sanitiser and cannot be recovered */


/* subtitles: body font, bold -- rule body removed: its selector was destroyed by the Theme Options sanitiser and cannot be recovered */


/* ===== svc-panel pass 3: match the current markup =====
   Titles are now H4; subtitles are a mix of H5, H6 and bold paragraphs
   depending on the panel. These selectors cover every variant so no content
   has to change. If the markup is ever standardised -- rule body removed: its selector was destroyed by the Theme Options sanitiser and cannot be recovered */


/* subtitles: heading or bold paragraph,

.svc-panel .et_pb_text_inner > p > strong -- rule body removed: its selector was destroyed by the Theme Options sanitiser and cannot be recovered */


/* ===== svc-panel pass 4 =====
   Only the H4 title remains a heading; every subtitle is now a bold
   paragraph. All type black, 24px title, hairline under each subtitle,
   equal gaps between sections, 15px body and list spacing at default
   line height. */


/* ===== Who We Serve hero: three rising ranges =====
   Three silhouettes, each higher than the last - the three stages. The only
   motion is a staggered fade: smallest range first, then middle, then the
   tall near one. Nothing translates, so there is no drift and nothing for the
   eye to track sideways. */

body.page-id-396750 .et_pb_section_0{ position:relative; overflow:hidden }
body.page-id-396750 .et_pb_section_0 .et_pb_row:last-child,
body.page-id-396750 .et_pb_section_0 .et_pb_row:last-child .et_pb_column:last-child{ position:static }
body.page-id-396750 .et_pb_section_0 .et_pb_column_0,
body.page-id-396750 .et_pb_section_0 .et_pb_column_1,
body.page-id-396750 .et_pb_section_0 .et_pb_column_2{ position:relative; z-index:2 }


/* preset --divi-text--default sets width:80% and shrinks the scene box */
body.page-id-396750 .wws-rings{ width:auto; left:auto }
.wws-rings .et_pb_text_inner{ position:absolute; top:0; right:0; bottom:0; left:0 }
.wws-scape{ position:absolute; top:0; right:0; bottom:0; left:0 }
.wws-mts{ position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100% }


/* the ranges - furthest and smallest is palest, the tall near one carries most weight */
.wws-m1,.wws-m2,.wws-m3{ fill:#003F5A; stroke:none; opacity:0; will-change:opacity, transform }
.wws-m1{ --o:.095; animation:wws-fade 1.6s cubic-bezier(.22,.61,.24,1) 0.1s forwards }
.wws-m2{ --o:.088; animation:wws-fade 1.6s cubic-bezier(.22,.61,.24,1) 0.55s forwards }
.wws-m3{ --o:.125; animation:wws-fade 1.6s cubic-bezier(.22,.61,.24,1) 1s forwards }


/* light behind the highest peak */
.wws-glow{
  position:absolute;
  right:15%;
  top:12%;
  width:230px;
  height:230px;
  display:block;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.7), rgba(255,255,255,0) 68%);
}

@keyframes wws-fade{
  0%{ opacity:0; transform:translateY(16px) }
  55%{ opacity:calc(var(--o,.1) * .55) }
  100%{ opacity:var(--o,.1); transform:none }
}


/* Ranges fade in one at a time, left to right. Opacity only - they never move. */

.wt-glint{ fill:none; stroke:#BBD9E6; stroke-width:1.4; stroke-linecap:round; vector-effect:non-scaling-stroke }
.wt-glints{ opacity:0; animation:wt-glint 0.53s ease-out 0.36s forwards }
@keyframes wt-glint{ from{ opacity:0 } to{ opacity:.62 } }

@media (prefers-reduced-motion:reduce){
  .wws-m1,.wws-m2,.wws-m3{ animation:none; opacity:var(--o,.1); transform:none }
}
@media (max-width:980px){
  .wws-rings{ display:none }
}


/* ===== How We Help hero: money tree =====
   Moved here from the home page and recoloured for the navy gradient: the
   line work is white rather than navy, and the coins keep a warm champagne
   fill so they read as metal against the blue rather than as holes. */

body.page-id-396747 .et_pb_section_0{ position:relative; overflow:hidden }
body.page-id-396747 .et_pb_section_0 .et_pb_row:has(.hm-tree),
body.page-id-396747 .et_pb_section_0 .et_pb_column:has(.hm-tree){ position:static }
body.page-id-396747 .et_pb_section_0 .et_pb_row{ position:relative; z-index:2 }
body.page-id-396747 .et_pb_section_0 .et_pb_row:has(.hm-tree){ z-index:0 }
body.page-id-396747 .et_pb_section_0 .et_pb_column_0,
body.page-id-396747 .et_pb_section_0 .et_pb_column_1,
body.page-id-396747 .et_pb_section_0 .et_pb_column_2,
body.page-id-396747 .et_pb_section_0 .et_pb_column_3{ position:relative; z-index:3 }
.hm-tree .et_pb_text_inner{ position:absolute; top:0; right:0; bottom:0; left:0 }


.hm-wash{
  position:absolute;
  top:0; right:0; bottom:0; left:0;
  display:block;
  background:radial-gradient(46% 58% at 68% 46%, rgba(255,255,255,.10) 0%, rgba(255,255,255,.045) 46%, rgba(255,255,255,0) 76%);
  opacity:0;
  animation:hm-in 0.6s ease-out forwards;
}
.hm-dot{ fill:#FFFFFF }
.hm-dots{ opacity:0; animation:hm-dots 0.6s ease-out 0.14s forwards }

.hm-stem{
  fill:none;
  stroke:#FFFFFF;
  stroke-width:1.1;
  stroke-linecap:round;
  opacity:.34;
  vector-effect:non-scaling-stroke;
  stroke-dasharray:1; stroke-dashoffset:1;
  animation:hm-grow 0.79s cubic-bezier(.16,.84,.34,1) forwards;
}
.hm-stem.s1{ animation-delay:.04s } .hm-stem.s2{ animation-delay:.04s }
.hm-stem.s3{ animation-delay:.13s } .hm-stem.s4{ animation-delay:.17s }
.hm-stem.s5{ animation-delay:.22s } .hm-stem.s6{ animation-delay:.26s }

.hm-coin{ opacity:0; animation:hm-in 0.5s ease-out forwards }
.hm-coin.c1{ animation-delay:.15s } .hm-coin.c2{ animation-delay:.19s }
.hm-coin.c3{ animation-delay:.24s } .hm-coin.c4{ animation-delay:.3s }
.hm-coin.c5{ animation-delay:.35s } .hm-coin.c6{ animation-delay:.4s }
.hm-cring,
.hm-cinner{ fill:none; stroke:#FFFFFF; stroke-width:.85; opacity:.32; vector-effect:non-scaling-stroke }

.hm-base{ opacity:0; animation:hm-in 0.5s ease-out 0.07s forwards }
.hm-bowl{ fill:none; stroke:#FFFFFF; stroke-width:1.15; opacity:.28; vector-effect:non-scaling-stroke }
.hm-rim{ stroke:#FFFFFF; stroke-width:1.15; opacity:.46; stroke-linecap:round; vector-effect:non-scaling-stroke }
.hm-foot{ stroke:#FFFFFF; stroke-width:1; opacity:.26; stroke-linecap:round; vector-effect:non-scaling-stroke }

@keyframes hm-grow{ to{ stroke-dashoffset:0 } }
@keyframes hm-in{ to{ opacity:1 } }
@keyframes hm-dots{ to{ opacity:.62 } }

@media (prefers-reduced-motion:reduce){
  .hm-stem{ animation:none; stroke-dashoffset:0 }
  .hm-coin,.hm-base,.hm-wash{ animation:none; opacity:1 }
  .hm-dots{ animation:none; opacity:.62 }
}
@media (max-width:980px){
  .hm-tree{ display:none }
}


/* ===== Why TMA hero: ripples on water =====
   Three drop points, not one -- a single set of perfectly concentric rings
   reads as a target, however you style it. Crests carry a small 3rd/5th
   harmonic wobble so they are not mathematically perfect, and the stroke is a
   gradient across the canvas so the light falls unevenly the way it does on
   water. Mid crests carry a paler trough line just beneath them.
   Geometry lives in the module SVG on page 397976, admin label "Hero rings". */

body.page-id-397976 .et_pb_section_0{ position:relative; overflow:hidden }
body.page-id-397976 .et_pb_section_0 .et_pb_row:has(.wt-rings),
body.page-id-397976 .et_pb_section_0 .et_pb_column:has(.wt-rings){ position:static }
body.page-id-397976 .et_pb_section_0 .et_pb_row{ position:relative; z-index:2 }
body.page-id-397976 .et_pb_section_0 .et_pb_row:has(.wt-rings){ z-index:0 }
body.page-id-397976 .et_pb_section_0 .et_pb_column_0,
body.page-id-397976 .et_pb_section_0 .et_pb_column_1,
body.page-id-397976 .et_pb_section_0 .et_pb_column_2{ position:relative; z-index:3 }
.wt-rings .et_pb_text_inner{ position:absolute; top:0; right:0; bottom:0; left:0 }
.wt-svg{ position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100% }


/* the crest, and the paler trough riding just under it */
.wt-wave{ fill:none; stroke:url(#wtg); stroke-width:1.15; vector-effect:non-scaling-stroke }
.wt-sheen{ fill:none; stroke:#A9CBD9; vector-effect:non-scaling-stroke; opacity:.6 }


/* each ring spreads from its own drop point */
.wt-src.v1 .wt-ripple{ transform-origin:700px 182px }
.wt-src.v2 .wt-ripple{ transform-origin:858px 104px }
.wt-src.v3 .wt-ripple{ transform-origin:548px 268px }
.wt-ripple{ opacity:0; animation:wt-ripple 6.88s ease-out infinite }
@keyframes wt-ripple{ 0%{ opacity:0; transform:scale(.16) } 22%{ opacity:calc(var(--o,.2) * .18) } 50%{ opacity:calc(var(--o,.2) * .62) } 74%{ opacity:var(--o,.2) } 100%{ opacity:0; transform:scale(1) } }
.wt-ripple.k1{ --o:.68; animation-delay:0s }
.wt-ripple.k2{ --o:.61; animation-delay:-0.46s }
.wt-ripple.k3{ --o:.53; animation-delay:-0.92s }
.wt-ripple.k4{ --o:.46; animation-delay:-1.38s }
.wt-ripple.k5{ --o:.39; animation-delay:-1.83s }
.wt-ripple.k6{ --o:.34; animation-delay:-2.29s }
.wt-ripple.k7{ --o:.30; animation-delay:-2.75s }
.wt-ripple.k8{ --o:.25; animation-delay:-3.21s }
.wt-ripple.k9{ --o:.21; animation-delay:-3.67s }
.wt-ripple.k10{ --o:.17; animation-delay:-4.13s }
.wt-ripple.k11{ --o:.15; animation-delay:-4.58s }
.wt-ripple.k12{ --o:.13; animation-delay:-5.04s }
.wt-ripple.k13{ --o:.26; animation-delay:-1.83s }
.wt-ripple.k14{ --o:.22; animation-delay:-2.75s }
.wt-ripple.k15{ --o:.18; animation-delay:-3.66s }
.wt-ripple.k16{ --o:.16; animation-delay:-4.58s }
.wt-ripple.k17{ --o:.13; animation-delay:-5.5s }
.wt-ripple.k18{ --o:.12; animation-delay:-6.41s }
.wt-ripple.k19{ --o:.21; animation-delay:-3.67s }
.wt-ripple.k20{ --o:.18; animation-delay:-4.77s }
.wt-ripple.k21{ --o:.15; animation-delay:-5.87s }
.wt-ripple.k22{ --o:.13; animation-delay:-6.97s }
.wt-ripple.k23{ --o:.11; animation-delay:-8.07s }

@media (prefers-reduced-motion:reduce){
  .wt-ripple{ animation:none; opacity:var(--o,.2); transform:none }
  .wt-glints{ animation:none; opacity:.5 }
}
@media (max-width:980px){
  .wt-rings{ display:none }
}


/* ===== Home hero: building blocks =====
   Seven towers rising 2 to 8 courses, wide and narrow blocks alternating like
   staggered brickwork. Each block is laid bottom-up, tower by tower, so the
   graphic builds itself. Per-block opacity and delay are inline on the rects.
   Geometry lives in the module SVG on page 397849, admin label "Hero blocks". */
body.home .et_pb_section_0{ position:relative; overflow:hidden }
body.home .et_pb_section_0 .et_pb_row:has(.hm-blocks),
body.home .et_pb_section_0 .et_pb_column:has(.hm-blocks){ position:static }
body.home .et_pb_section_0 .et_pb_row{ position:relative; z-index:2 }
body.home .et_pb_section_0 .et_pb_row:has(.hm-blocks){ z-index:0 }
.hm-blocks .et_pb_text_inner{ position:absolute; top:0; right:0; bottom:0; left:0 }
.hm-svg{ position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100% }

/* each block is set down into place and settles */
/* Hairline risers rather than solid slabs - the weight comes from the outline,
   with the top block of each riser filled a little more so the staircase reads.
   The climb line draws itself up the steps once the blocks have landed. */
.hm-b{ fill:#003F5A; opacity:0; transform-box:fill-box; transform-origin:center bottom;
  animation:hm-lay 0.63s cubic-bezier(.25,.9,.3,1) both }
.hm-ground{ fill:none; stroke:#003F5A; stroke-width:1; vector-effect:non-scaling-stroke;
  opacity:0; animation:hm-base 0.63s ease-out 0.03s forwards }
@keyframes hm-base{ to{ opacity:.13 } }
@keyframes hm-lay{ from{ opacity:0; transform:translateY(14px) scaleY(.86) }
  to{ opacity:var(--o,.15); transform:none } }

@media (prefers-reduced-motion:reduce){
  .hm-b{ animation:none; opacity:var(--o,.2); transform:none }
}
@media (max-width:980px){
  .hm-blocks{ display:none }
}


/* ===== Our Team (page 132) =====
   Hero only. Everything else on this page - type, colour, spacing, card
   background and border - is set natively on the Divi 5 modules, so it stays
   editable in the builder and inherits the theme defaults.
   Warp and weft interlacing: each thread fades in on a diagonal sweep, so the
   cloth appears to weave itself. Fade only - no transform. */
body.page-id-132 .et_pb_section.tm-hero{ position:relative; overflow:hidden }
body.page-id-132 .tm-hero .et_pb_row:has(.tm-flock),
body.page-id-132 .tm-hero .et_pb_column:has(.tm-flock){ position:static }
body.page-id-132 .tm-hero .et_pb_row{ position:relative; z-index:2 }
body.page-id-132 .tm-hero .et_pb_row:has(.tm-flock){ z-index:0 }
body.page-id-132 .tm-hero-copy{ position:relative; z-index:3 }
.tm-flock{ position:absolute; top:0; right:0; bottom:0; left:0; margin:0; width:auto; height:auto;
  overflow:hidden; pointer-events:none; z-index:0;
  -webkit-mask-image:linear-gradient(to right, transparent 30%, rgba(0,0,0,.55) 48%, #000 66%, #000 92%, transparent 100%);
  mask-image:linear-gradient(to right, transparent 30%, rgba(0,0,0,.55) 48%, #000 66%, #000 92%, transparent 100%) }
.tm-flock .et_pb_text_inner,.tm-flock-inner{ position:absolute; top:0; right:0; bottom:0; left:0 }
.tm-svg{ position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100% }


/* A team working for you: the client at the centre, each colleague linked in.
   Open rings rather than dots. Work flows inward - the dashes on each link
   travel toward the client - and a slow light passes around the ring.
   Opacity and stroke-dash only; nothing moves position. */
.tm-core,.tm-halo,.tm-ringc,.tm-node,.tm-seed,.tm-link{ opacity:0 }
.tm-core,.tm-halo,.tm-ringc,.tm-seed{
  animation:tm-join 0.5s cubic-bezier(.2,.7,.25,1) var(--din,0.11s) both }
.tm-node{
  animation:tm-join 1.13s cubic-bezier(.2,.7,.25,1) var(--din,0.38s) both,
            tm-lit 11.25s ease-in-out var(--lit,5s) infinite }
.tm-link{ stroke-dasharray:3 7;
  animation:tm-join 1.13s ease-out var(--din,0.38s) both,
            tm-flow var(--flow,4s) linear calc(var(--din,0.38s) + 1.13s) infinite }
.tm-halo.h1{ animation:tm-join 1.13s ease-out var(--din,0.38s) both,
             tm-breathe 9.38s ease-in-out 2s infinite }
.tm-halo.h2{ animation:tm-join 1.13s ease-out var(--din,0.38s) both,
             tm-breathe 9.38s ease-in-out 3s infinite }
@keyframes tm-join{ from{ opacity:0 } to{ opacity:var(--o,.25) } }
@keyframes tm-lit{ 0%,100%{ opacity:var(--o,.25) } 46%{ opacity:calc(var(--o,.25) * 2.3) } }
@keyframes tm-breathe{ 0%,100%{ opacity:var(--o,.1) } 50%{ opacity:calc(var(--o,.1) * 2.1) } }
@keyframes tm-flow{ to{ stroke-dashoffset:-10 } }
@media (prefers-reduced-motion:reduce){
  .tm-core,.tm-halo,.tm-ringc,.tm-node,.tm-seed,.tm-link{ animation:none; opacity:var(--o,.25) }
}

/* Threads settle in on a diagonal -- rule body removed: its selector was destroyed by the Theme Options sanitiser and cannot be recovered */

/* ===== Partners (page 171) =====
   Hero only. Cards, logos, spacing and type are native Divi 5 module settings.
   Overlapping rings: separate firms, shared ground. Each ring carries fill,
   stroke and opacity as SVG attributes so a missing stylesheet cannot paint
   them black. Fade and settle, no transform on the circles themselves. */


.pt-rings{ position:absolute; top:0; right:0; bottom:0; left:0; margin:0; width:auto; height:auto;
  overflow:hidden; pointer-events:none; z-index:0;
  -webkit-mask-image:linear-gradient(to right, transparent 28%, rgba(0,0,0,.3) 48%, #000 66%, #000 92%, transparent 100%);
  mask-image:linear-gradient(to right, transparent 28%, rgba(0,0,0,.3) 48%, #000 66%, #000 92%, transparent 100%) }
.pt-rings .et_pb_text_inner,.pt-rings-inner{ position:absolute; top:0; right:0; bottom:0; left:0 }
.pt-svg{ position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100% }
.pt-ring,.pt-fill{ opacity:0; animation:pt-in 0.5s cubic-bezier(.2,.7,.25,1) both }
@keyframes pt-in{ from{ opacity:0 } to{ opacity:var(--o,.25) } }
@media (prefers-reduced-motion:reduce){ .pt-ring,.pt-fill{ animation:none; opacity:var(--o,.25) } }
@media (max-width:980px){ .pt-rings{ display:none } }


/* Podcast hero — episode archive backdrop (page 333800) */
.epc-hero{ position:relative; overflow:hidden }
.epc-hero .et_pb_row, .epc-hero .et_pb_column{ position:static }
.epc-hero .et_pb_text, .epc-hero .et_pb_button_module_wrapper,
.epc-hero .et_pb_social_media_follow{ position:relative; z-index:2 }
.epc-svg{ display:block; width:100%; height:auto }

/* depth contours sounding out from the lower right; reuses the Articles keyframes */
.epc-arc{ fill:none; stroke:#FFFFFF; stroke-width:1.6; stroke-linecap:round; vector-effect:non-scaling-stroke;
  stroke-dasharray:1; stroke-dashoffset:1; opacity:0;
  animation:ar-trace 1.38s cubic-bezier(.2,.7,.25,1) var(--d,0s) both }
.epc-arc.epc-accent{ stroke:#F2D135; stroke-width:2.4 }
.epc-core{ fill:#F2D135; transform-box:fill-box; transform-origin:center; opacity:0; --o:.9;
  animation:ar-pop 0.43s ease-out 1.19s both }
@media (prefers-reduced-motion:reduce){
  .epc-arc{ animation:none; opacity:var(--o,.3); stroke-dashoffset:0 }
  .epc-core{ animation:none; opacity:.9 }
}
@media (max-width:980px){
  .epc-bg{ opacity:.75; width:100%; max-width:100%; right:0 }
}


/* Subscribe + social on one line */
.epc-hero .et_pb_button_module_wrapper{ display:inline-block; vertical-align:middle }
.epc-hero .et_pb_social_media_follow{ display:inline-block; vertical-align:middle;
  margin:0 0 0 30px }
.epc-hero .et_pb_social_media_follow ul{ margin-bottom:0 }
.epc-hero .et_pb_social_media_follow li:last-child{ margin-right:0 }
@media (max-width:767px){
  .epc-hero .et_pb_button_module_wrapper,
  .epc-hero .et_pb_social_media_follow{ display:block }
  .epc-hero .et_pb_social_media_follow{ margin:24px 0 0 }
}

/* epc-cta-row */


/* In the News hero — each rule writes itself left to right, like a line of text (page 376483) */
.nw-clips{ display:block; width:100%; height:auto; margin:0; opacity:.7;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, transparent 21%, rgba(0,0,0,.22) 38%, rgba(0,0,0,.6) 62%, rgba(0,0,0,.88) 81%, #000 93%);
  mask-image:linear-gradient(to right, transparent 0%, transparent 21%, rgba(0,0,0,.22) 38%, rgba(0,0,0,.6) 62%, rgba(0,0,0,.88) 81%, #000 93%) }
.nw-clips rect{ transform-box:fill-box; transform-origin:left center;
  animation:nw-write var(--t,9s) linear var(--d,0s) infinite }
@keyframes nw-write{
  0%{ transform:scaleX(0); opacity:var(--o,.6);
      animation-timing-function:cubic-bezier(.3,.1,.4,1) }
  16%{ transform:scaleX(1); opacity:var(--o,.6) }
  78%{ transform:scaleX(1); opacity:var(--o,.6) }
  92%{ transform:scaleX(1); opacity:0 }
  100%{ transform:scaleX(0); opacity:0 }
}
@media (prefers-reduced-motion:reduce){
  .nw-clips rect{ animation:none; opacity:var(--o,.6) }
}
@media (max-width:980px){
  .nw-clips{ margin:26px 0 0 }
}


/* Homepage building blocks — sit back a little further */
body.page-id-397849 .hm-svg{ opacity:.8 }


/* Book page hero — open book, a few leaves turning (page 255) */


@keyframes bk-in{ from{ opacity:0 } to{ opacity:var(--o,.34) } }
/* each leaf lifts from the spine, settles, and releases — one at a time */

@keyframes bk-leaf{
  0%{ transform:rotate(26deg); opacity:0 }
  10%{ opacity:.26 }
  28%{ transform:rotate(0deg); opacity:.26 }
  38%{ transform:rotate(-8deg); opacity:0 }
  100%{ transform:rotate(-8deg); opacity:0 }
}


/* Blog post typography — the default text preset forces h2 to 40px, so this outranks it */
body.page-id-398878 .et_pb_text_inner h1{ font-size:38px; line-height:1.22 }
body.page-id-398878 .et_pb_text_inner h2{ font-size:27px; line-height:1.32 }
body.page-id-398878 .et_pb_text_inner h3{ font-size:20px; line-height:1.34 }
body.page-id-398878 .et_pb_text_inner h4{ font-size:14px; letter-spacing:1.6px }
body.page-id-398878 .et_pb_blurb_container h4,
body.page-id-398878 .et_pb_blurb_container h4 span{ font-size:19px; line-height:1.34 }
@media (max-width:767px){
  body.page-id-398878 .et_pb_text_inner h1{ font-size:27px }
  body.page-id-398878 .et_pb_text_inner h2{ font-size:21px }
}


/* Principles library hero — 19 principles in six sections (page 396757) */
.ix-hero{ position:relative; overflow:hidden }
.ix-hero .et_pb_row, .ix-hero .et_pb_column{ position:static }
.ix-svg{ display:block; width:100%; height:auto }
.ix-copy{ position:relative; z-index:2 }

/* ten numbered rules; gold is darkened here because the hero behind it is pale blue */
.ix-rule{ stroke:#1F5570; stroke-width:1.6; stroke-linecap:round; vector-effect:non-scaling-stroke; fill:none;
  transform-box:fill-box; transform-origin:left center; opacity:0;
  animation:ar-draw 0.75s cubic-bezier(.2,.7,.25,1) var(--d,0s) both }
.ix-num{ font-family:Archivo,"Archivo Fallback",Helvetica,Arial,sans-serif; font-size:12px; font-weight:700;
  letter-spacing:1px; fill:#4A8FAE; opacity:0;
  animation:ix-fade 0.56s ease-out var(--d,0s) both }
.ix-rule.ix-accent{ stroke:#F2D135; stroke-width:2.4 }
.ix-num.ix-accent{ fill:#F2D135 }
.ix-dot{ fill:#F2D135; transform-box:fill-box; transform-origin:center; opacity:0; --o:.95;
  animation:ar-pop 0.38s ease-out 1.19s both }
@keyframes ix-fade{ from{ opacity:0 } to{ opacity:var(--o,.72) } }
@media (prefers-reduced-motion:reduce){
  .ix-rule,.ix-num,.ix-dot{ animation:none; opacity:var(--o,.5); transform:none }
}
@media (max-width:980px){
  .ix-copy{ max-width:100% }
}


/* How We Help CTA: this column belongs to the shared "Ready when you are" library
   module (398250), so a native row gap there would change every page that uses it.
   Scoped here instead. */
body.page-id-396747 .et_pb_column_22{--vertical-gap:12px}

/* Homepage philosophy cards: content slides out from the yellow rule on scroll */
.hm-card{ clip-path:inset(0) }
.hm-card > .et_pb_module{ transform:translateX(-36px); opacity:0;
  transition:transform .75s cubic-bezier(.2,.7,.25,1), opacity .6s ease-out }
.hm-card.hm-in > .et_pb_module{ transform:none; opacity:1 }
.hm-card.hm-in.hm-d2 > .et_pb_module{ transition-delay:.16s }
.hm-card.hm-in.hm-d3 > .et_pb_module{ transition-delay:.32s }
.hm-card.hm-in.hm-d4 > .et_pb_module{ transition-delay:.48s }
@media (prefers-reduced-motion:reduce){
  .hm-card > .et_pb_module{ transform:none; opacity:1; transition:none }
}


/* Blog posts: add a line break of space before every article h4 */
body.postid-376299 #left-area .et_pb_text_inner h4,
body.postid-376225 #left-area .et_pb_text_inner h4,
body.postid-376174 #left-area .et_pb_text_inner h4,
body.postid-376168 #left-area .et_pb_text_inner h4,
body.postid-376096 #left-area .et_pb_text_inner h4,
body.postid-375842 #left-area .et_pb_text_inner h4,
body.postid-375841 #left-area .et_pb_text_inner h4,
body.postid-339828 #left-area .et_pb_text_inner h4,
body.postid-339760 #left-area .et_pb_text_inner h4,
body.postid-339722 #left-area .et_pb_text_inner h4,
body.postid-339648 #left-area .et_pb_text_inner h4,
body.postid-339651 #left-area .et_pb_text_inner h4,
body.postid-339640 #left-area .et_pb_text_inner h4,
body.postid-339634 #left-area .et_pb_text_inner h4,
body.postid-339630 #left-area .et_pb_text_inner h4,
body.postid-339627 #left-area .et_pb_text_inner h4,
body.postid-339619 #left-area .et_pb_text_inner h4,
body.postid-339402 #left-area .et_pb_text_inner h4,
body.postid-375984 #left-area .et_pb_text_inner h4{ margin-top:25px }


/* Heading family: H6 Archivo. H2/H4 now inherit the global heading font (Lustria)
   set in Divi > Theme Options, so module and preset fonts can override them. */

body #page-container h6{ font-family:Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif }


/* Even out heading line lengths so no single word is left stranded */
body #page-container h1,
body #page-container h2,
body #page-container h3,
body #page-container h4{ text-wrap:balance }


/* anchored sections clear the fixed header when linked to from another page */
.et_pb_section[id]{ scroll-margin-top:155px }
#power-years,#approaching-retirement,#retired{ scroll-margin-top:115px }

/* Guide cards: the Divi blurb preset carries a hover state that re-applies bottom margins
   to the description and its paragraphs, so the card grew ~5px and the row nudged whenever
   you hovered it. Pin every hover value to its resting value. Fix properly in the Builder by
   clearing the blurb preset's hover state, then delete this block. */

/* ---- Guides cards ------------------------------------------------------
   1) Hover shift: the Divi blurb preset applies `margin-block-end:.3em;
      padding-bottom:unset` to EVERY descendant on :hover. Wherever that
      differs from the resting value the card text jumps. Pinning the resting
      values with !important makes the preset's (non-important) hover
      declarations lose the cascade, so hovering changes nothing.
   Card text flows from the top. An earlier revision pushed the last line to
      the bottom of each card with an auto top margin; that rule is gone. */
.preset--module--divi-blurb--asdkyvo5vq{ margin-block-end:0 !important; padding-bottom:20px !important;
  flex:1 1 auto !important; align-self:stretch !important }
.preset--module--divi-blurb--asdkyvo5vq .et_pb_blurb_content,
.preset--module--divi-blurb--asdkyvo5vq .et_pb_blurb_container,
.preset--module--divi-blurb--asdkyvo5vq .et_pb_blurb_description,
.preset--module--divi-blurb--asdkyvo5vq .et_pb_main_blurb_image,
.preset--module--divi-blurb--asdkyvo5vq .et_pb_image_wrap,
.preset--module--divi-blurb--asdkyvo5vq img{ margin-block-end:0 !important; padding-bottom:0 !important }
.preset--module--divi-blurb--asdkyvo5vq .et_pb_module_header{ margin-block-end:0 !important; padding-bottom:10px !important }
.preset--module--divi-blurb--asdkyvo5vq .et_pb_blurb_content{ flex:1 1 auto !important }
.preset--module--divi-blurb--asdkyvo5vq .et_pb_blurb_container{ flex:1 1 auto !important }
.preset--module--divi-blurb--asdkyvo5vq .et_pb_blurb_description :last-child{ margin-block-end:0 !important; padding-bottom:0 !important }

/* Footer bottom bar. Divi 5 holds Theme Builder columns at flex-grow:1 / width:100%, so the
   copyright and the legal links wrapped onto two lines however the column Width was set in
   the Builder. Shrink both columns to their content and group the pair to the right.
   Selector is positional - if the footer rows are reordered, update the row number.
   Replace with native column flex settings if a later Divi build exposes them, then delete. */
.et_pb_row_1_tb_footer{ flex-wrap:nowrap; align-items:center; justify-content:flex-end; column-gap:8px;
  /* stop 102px short of the row edge so the pair lines up with the last social icon above,
     which ends 102px inside the row. Tied to four icons at the current column width -
     if a social account is added or removed, remeasure. */
  padding-right:102px }
.et_pb_row_1_tb_footer > .et_pb_column{ flex:0 0 auto !important; width:auto !important; max-width:none }
.et_pb_row_1_tb_footer > .et_pb_column > .et_pb_module{ width:auto !important; text-align:right }
@media (max-width:980px){
  .et_pb_row_1_tb_footer{ padding-right:0 }
}
@media (max-width:767px){
  .et_pb_row_1_tb_footer{ flex-wrap:wrap; justify-content:center }
  .et_pb_row_1_tb_footer > .et_pb_column{ width:100% !important }
  .et_pb_row_1_tb_footer > .et_pb_column > .et_pb_module{ text-align:center }
}

/* Home, How We Help and Who We Serve hero graphics were sized to the whole section (or
   trapped inside a narrow column), so they overran the content edge and cropped. Anchor each
   to the same right edge as the other heroes - level with the Contact Us button - and size it
   to its own aspect ratio so nothing is cut. Each already carries a left-fade mask for the
   text overlap. Replace with native module sizing if Divi ever exposes it, then delete. */
.hm-blocks{ top:auto; left:auto; bottom:0; right:max(10%, calc((100% - 1080px)/2));
  width:47%; max-width:620px; height:auto; aspect-ratio:880 / 394 }
/* How We Help intentionally uses a tall graphic inside its own narrow column, so it is
   left as authored - resizing it to the wide right-hand box shrank it to 169px. */
/* Who We Serve keeps its graphic inside the copy column, so free it first */
/* Who We Serve geometry now comes from the shared hero spec below. */


/* ===== HERO GRAPHIC SPEC =====================================================
   One geometry for every hero, modelled on the podcast page:
     - fades in from the left, sitting behind the copy
     - fills 2/3 of the section height, centred vertically
     - right edge runs 10% of the content width past the Contact Us button
     - box takes each graphic's own aspect ratio, so nothing is ever cropped
   Supersedes the per-page geometry above. Each hero only contributes its
   aspect-ratio below; everything else is shared. ========================== */
:is(.et_pb_row,.et_pb_column):has(:is(.hm-blocks,.wws-rings,.hm-tree,.wt-rings,.epc-bg,.ar-bg,.gd-bg,.nw-graphic,.ix-bg,.wz-bg)){ position:static }
:is(.et_pb_column):has(:is(.hm-blocks,.wws-rings,.hm-tree,.wt-rings,.epc-bg,.ar-bg,.gd-bg,.nw-graphic,.ix-bg,.wz-bg)) > :is(.et_pb_text,.et_pb_button_module_wrapper,.et_pb_social_media_follow,.et_pb_blurb):not(:is(.hm-blocks,.wws-rings,.hm-tree,.wt-rings,.epc-bg,.ar-bg,.gd-bg,.nw-graphic,.ix-bg,.wz-bg)){ position:relative; z-index:2; max-width:72% }
/* hero headlines get a wider measure than body copy */
:is(.et_pb_column):has(:is(.hm-blocks,.wws-rings,.hm-tree,.wt-rings,.epc-bg,.ar-bg,.gd-bg,.nw-graphic,.ix-bg,.wz-bg)) > .et_pb_text.et_pb_module:has(h1){ max-width:82% }
.hm-blocks,.wws-rings,.hm-tree,.wt-rings,.epc-bg,.ar-bg,.gd-bg,.nw-graphic,.ix-bg,.wz-bg{
  position:absolute !important; top:50% !important; bottom:auto !important; left:auto !important;
  right:max(0px, calc((100% - 1080px)/2 - 162px)) !important;
  transform:translateY(-50%) !important;
  height:67% !important; width:auto !important; max-width:none !important; margin:0 !important;
  z-index:0; pointer-events:none; line-height:0; overflow:visible;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.18) 22%, rgba(0,0,0,.55) 46%, rgba(0,0,0,.85) 68%, #000 86%);
  mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.18) 22%, rgba(0,0,0,.55) 46%, rgba(0,0,0,.85) 68%, #000 86%) }
.hm-blocks > svg, .hm-blocks svg,
.wws-rings > svg, .wws-rings svg,
.hm-tree > svg, .hm-tree svg,
.wt-rings > svg, .wt-rings svg,
.epc-bg > svg, .epc-bg svg,
.ar-bg > svg, .ar-bg svg,
.gd-bg > svg, .gd-bg svg,
.nw-graphic > svg, .nw-graphic svg,
.ix-bg > svg, .ix-bg svg{ display:block; width:100%; height:100% }
.hm-blocks{ aspect-ratio:568 / 256 }
.wws-rings{ aspect-ratio:1150 / 380 }

/* Who We Serve: nudge the mountains 30px right of the shared hero position */
.wws-rings{ right:max(0px, calc((100% - 1080px)/2 - 192px)) !important }
.hm-tree{ aspect-ratio:335 / 430 }
.hm-tree{ height:84% !important }
.hm-tree{ right:max(0px, calc((100% - 1080px)/2 - 20px)) !important }
.hm-tree{ -webkit-mask-image:none !important; mask-image:none !important }  /* How We Help runs larger than the rest */
.wt-rings{ aspect-ratio:1130 / 498 }
/* Why TMA: nudge the ripples 30px right of the shared hero position */
.wt-rings{ right:max(0px, calc((100% - 1080px)/2 - 192px)) !important }
/* softer left fade than the shared spec - the rings sit behind a lot of copy here */
.wt-rings{ -webkit-mask-image:linear-gradient(to right, rgba(0,0,0,.30) 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,.8) 48%, #000 72%); mask-image:linear-gradient(to right, rgba(0,0,0,.30) 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,.8) 48%, #000 72%) }
.epc-bg{ aspect-ratio:620 / 300 }

.epc-bg{ height:53.6% !important }  /* tightened up 20% per request */
.ar-bg{ aspect-ratio:560 / 300 }
.gd-bg{ aspect-ratio:620 / 300 }
.nw-graphic{ aspect-ratio:596 / 230 }
.ix-bg{ aspect-ratio:400 / 290 }
@media (max-width:980px){
  .hm-blocks,.wws-rings,.hm-tree,.wt-rings,.epc-bg,.ar-bg,.gd-bg,.nw-graphic,.ix-bg,.wz-bg{ position:static; transform:none; width:100%; height:auto; right:auto; opacity:.75 }
  :is(.et_pb_column):has(:is(.hm-blocks,.wws-rings,.hm-tree,.wt-rings,.epc-bg,.ar-bg,.gd-bg,.nw-graphic,.ix-bg,.wz-bg)) > :is(.et_pb_text,.et_pb_button_module_wrapper,.et_pb_social_media_follow,.et_pb_blurb){ max-width:100% }
}

/* Webinar hero: five interlocking pieces, keystone in gold. Own prefix so it no longer
   shares Why TMA’s wt- markup. Gold darkened for the pale hero behind it. */
.wz-bg{ aspect-ratio:575 / 461 }
/* gentler left fade than the shared spec so the left-hand pieces still read */
.wz-bg{ -webkit-mask-image:linear-gradient(to right, rgba(0,0,0,.42) 0%, rgba(0,0,0,.66) 18%, rgba(0,0,0,.88) 44%, #000 68%); mask-image:linear-gradient(to right, rgba(0,0,0,.42) 0%, rgba(0,0,0,.66) 18%, rgba(0,0,0,.88) 44%, #000 68%) }
.wz-bg > svg{ display:block; width:100%; height:100% }
.wz-p{ fill:none; stroke:#1F5570; stroke-width:1.6; stroke-linejoin:round; vector-effect:non-scaling-stroke;
  transform-box:fill-box; transform-origin:center; opacity:0;
  animation:wz-set 0.63s cubic-bezier(.25,.9,.3,1) var(--d,0s) both }
.wz-p.wz-key{ stroke:#D2B03A; stroke-width:2.4 }
@keyframes wz-set{ from{ opacity:0; transform:translateY(10px) } to{ opacity:var(--o,.4); transform:none } }
@media (prefers-reduced-motion:reduce){
  .wz-p{ animation:none; opacity:var(--o,.4); transform:none }
}


/* Registration & Custody hero (page 160): artwork 20% larger, shifted right so its
   right edge lands 20px past the Contact Us button. Scoped to this page because
   /partners-custodians/ (page 171) shares .pt-rings and must stay as it is. */
body.page-id-160 .pt-rings{ right:-20px }
body.page-id-160 .pt-rings svg{ transform:translateX(55px) scale(1.2); transform-origin:100% 50% }
/* stronger left fade so the rings clear the headline before they read */
body.page-id-160 .pt-rings{ -webkit-mask-image:linear-gradient(to right, transparent 42%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.5) 73%, rgba(0,0,0,.9) 86%, #000 93%, transparent 100%); mask-image:linear-gradient(to right, transparent 42%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.5) 73%, rgba(0,0,0,.9) 86%, #000 93%, transparent 100%) }


/* ===== SERVICE PAGE BODY (svc-page) — added 8 Sep 2026 ===== */

/* Mirrors the .svc-panel system used by the How We Help popups.
   Scoped to .svc-page so it never touches .svc-panel, which is
   position:fixed and must stay that way. */
.svc-page .et_pb_text_inner{ position:relative; max-width:1100px }
.svc-page .et_pb_text_inner::before{ content:""; display:block; width:120px; height:3px;
  background:linear-gradient(90deg,#FF6B35,#F2D135); margin:0 0 44px }
.svc-page h1{ margin:0 0 18px }
.svc-page p, .svc-page li{ font-size:18px; line-height:1.65; color:#191919 }

.svc-page .et_pb_text_inner h2{ margin:44px 0 14px; padding-bottom:10px; border-bottom:1px solid #E4E8ED }
.svc-page ul{ list-style:disc; padding:0 0 0 18px; margin:0 0 15px }
/* the module carries listSpacing:6px; the panel list breathes at 15px */
.svc-page .et_pb_text_inner li{ margin:0 0 15px !important; line-height:1.6 }
.svc-page li::marker{ content:"• "; color:#4A8FAE }
/* !important because Divi puts padding-bottom:1em on every p in a text module */


@media (max-width:980px){ .svc-page .et_pb_text_inner h2{ margin:36px 0 12px } }

/* ===== PORTFOLIO MANAGEMENT HERO (pm-hero / pm-mark) — added 8 Sep 2026 ===== */

/* Placement is declared here rather than borrowing .hm-tree, whose rules are
   scoped to page-id-396747 and do not follow to another page. */
.pm-hero{ position:relative; overflow:hidden }


.pm-hero .et_pb_column > .et_pb_module:not(.pm-mark),
.pm-hero .et_pb_column > .et_pb_button_module_wrapper{ position:relative; z-index:2 }


/* vector-effect is safe at this scale, unlike the 2560-wide letterbox mark */


@keyframes pm-draw{ from{ stroke-dashoffset:1 } to{ stroke-dashoffset:0 } }
@keyframes pm-in{ from{ opacity:0 } to{ opacity:1 } }
@keyframes pm-dots{ from{ opacity:0 } to{ opacity:.85 } }


/* ===== Reusable alias of the hero pattern for any page — added 8 Sep 2026 =====
   Same geometry as .pm-hero / .pm-mark. The art-level classes (.pm-svg, .pm-wash,
   .pm-arc, .pm-core, .pm-dot, .pm-dots) are generic and shared by both. */
.tma-hero{ position:relative; overflow:hidden }
.tma-hero .et_pb_row:has(.tma-mark), .tma-hero .et_pb_column:has(.tma-mark){ position:static }
.tma-hero .et_pb_row:has(.tma-mark){ z-index:0 }
.tma-hero .et_pb_column > .et_pb_module:not(.tma-mark),
.tma-hero .et_pb_column > .et_pb_button_module_wrapper{ position:relative; z-index:2 }
.tma-mark{ position:absolute; inset:auto max(6%, 50% - 560px) 0 auto;
  width:34%; max-width:400px; height:auto; aspect-ratio:360 / 462; z-index:0 }
.tma-mark .et_pb_text_inner{ position:absolute; inset:0 }
.tma-mark p{ margin:0; padding:0 }
@media (max-width:980px){ .tma-mark{ display:none } }

/* FAQ question / answer pairs inside an .svc-page module — added 8 Sep 2026 */
.svc-page .et_pb_text_inner h3{ margin:26px 0 6px }
.svc-page .et_pb_text_inner h3 + p{ margin:0 0 4px }


/* ===== Facts band — added 8 Sep 2026 =====
   The same navy ground as the heroes, used as a divider between argument and
   proof. Figures come from the homepage statistics band, so they only need
   updating in two places. */
.tma-facts{ background-image:radial-gradient(circle at left top,#2B87DA 0%,#003F5A 100%) }

/* The cloned text module carries a light preset background; on the navy
   band that reads as a pale panel behind the figures, so clear it. */
.tma-facts .et_pb_text, .tma-facts .et_pb_text_inner{ background:transparent !important }
.tma-facts .et_pb_row{ padding-top:60px !important; padding-bottom:60px !important }
.tma-facts .fig-row{ display:flex; flex-wrap:wrap; gap:40px 56px }
.tma-facts .fig{ flex:1 1 170px }
.tma-facts .fig b{ display:block; font-family:Lustria,Georgia,"Times New Roman",serif;
  font-size:44px; line-height:1.05; font-weight:400; color:#fff }
.tma-facts .fig span{ display:block; margin-top:8px; font-size:13px; font-weight:700;
  letter-spacing:1.6px; text-transform:uppercase; color:#A9CBD9; line-height:1.4 }
.tma-facts p.asof{ margin:26px 0 0 !important; padding-bottom:0 !important;
  font-size:13px; line-height:1.6; color:#A9CBD9 }
@media (max-width:980px){
  .tma-facts .fig{ flex:1 1 45% }
  .tma-facts .fig b{ font-size:34px }
}

/* Fonts to avoid flashing on load */
body, p, li, a, span, .et_pb_text, .et_pb_module { font-family: Archivo, Arial, Helvetica, sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: Lustria, Georgia, "Times New Roman", serif; }

:root {
  --et_global_heading_font: Lustria, Georgia, "Times New Roman", serif !important;
  --et_global_body_font: Archivo, Arial, Helvetica, sans-serif !important;
}

/* Nav dropdown items regular. #et-top-navigation sets 600 and the sub-menu links inherit it. */
#et-top-navigation #top-menu ul.sub-menu a,
.et-menu-nav ul.sub-menu a,
.et_mobile_menu ul.sub-menu a { font-weight: 400; }

/* Sidebar widget lists. Divi sets line-height:1.6em on body, which resolves to a fixed
   28.8px and is inherited by the 14px sidebar links. A unitless value scales to their own size. */
#sidebar li,
#sidebar li a,
#sidebar .et_pb_widget li { line-height: 1.35; }
#sidebar .et_pb_widget li { margin-bottom: 10px; }


/* Content sub-headings. The divi-text preset sets h3 to 24px Lustria uppercase, the same
   size as h2, so an h3 reads as a different heading rather than a subordinate one.
   Scoped to the article body preset so the site-wide footer CTA h3 keeps its 40px display styling. */
#page-container .preset--module--divi-text--91ct0142tf .et_pb_text_inner h3 {
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}

/* full width hero text on mobile */
@media (max-width:767px){
  :is(.et_pb_column):has(:is(.hm-blocks,.wws-rings,.hm-tree,.wt-rings,.epc-bg,.ar-bg,.gd-bg,.nw-graphic,.ix-bg,.wz-bg)) > :is(.et_pb_text,.et_pb_button_module_wrapper,.et_pb_social_media_follow,.et_pb_blurb){ max-width:100% !important }
  .svc-page p, .svc-page li{ font-size:16px }
  body.page-id-397976 .et_pb_section:not(.et_pb_section_0){ padding-top:32px !important; padding-bottom:32px !important }
}

/* In the News (376483 EN, 376579 FR): article titles run full width on phone */
@media (max-width: 767px){
  body.page-id-376483 #page-container .et_pb_blurb :is(h2,h3,h4),
  body.page-id-376579 #page-container .et_pb_blurb :is(h2,h3,h4){ text-wrap:wrap }
}

/* Guest bio popups: body copy 16px on phone, to match the rest of the site.
   The bio module is moved into the popup by script, outside its section, so its Divi phone setting does not reach it. */
@media (max-width: 767px){
  body .popupContents .fullBio__bio,
  body .popupContents .fullBio__bio p,
  body .popupContents .fullBio__bio li{ font-size:16px }
}

/* Podcast lists on service pages: a little more space between titles on phone.
   Blog Extras has no native setting for the gap between list items. */
@media (max-width: 767px){
  /* the list preset sets margin:0 !important, so this has to match it */
  body .tma-podcast-list .el-dbe-blog-extra article.et_pb_post + article.et_pb_post{ margin-top:10px !important }
}


/* Phone: legacy post titles to the 32px H1 scale, and stop floated images squeezing text (theme post template, no Divi setting) */
@media (max-width:767px){
  .single .et_post_meta_wrapper h1.entry-title{font-size:32px;line-height:1.1}
  .single #et-main-area .wp-caption.alignleft,.single #et-main-area .wp-caption.alignright,.single #et-main-area img.alignleft,.single #et-main-area img.alignright{float:none;display:block;margin:0 auto 24px;max-width:100%}
}


/* Phone: principle and process cards (hm-card) show the orange sweep line permanently (no hover on touch, so it only appeared on the tapped card) */
@media (max-width:767px){
  body.home .et_pb_section_4 .et_pb_column::after,body .hm-card::after{clip-path:inset(0)!important;animation:none!important}
}


/* Phone: service pages, even 24px rhythm inside the long text blocks (accent line, then heading) */
@media (max-width:767px){
  .svc-page .et_pb_text_inner::before{margin-bottom:24px!important}
  .svc-page .et_pb_text_inner h2{margin-top:0!important}
  .svc-page .et_pb_text_inner h3{margin-top:24px}
  .svc-page .et_pb_text_inner > h3:first-child{margin-top:0}
}


/* Phone: post hero titles (guides, principles) fill the line instead of balancing into short lines */
@media (max-width:767px){
  body.single-post #page-container .et_pb_section_0 h1,body.single-post #page-container .et_pb_section_0 h2{text-wrap:wrap}
}


/* ===== Service pages only: tighter spacing around section titles (28 Nov 2026) =====
   Scoped by parent page (EN /services/ 396747, FR /fr/nos-services/ 402721) so the
   careers pages, which also use .svc-page, keep the original spacing above. */
.parent-pageid-396747 .svc-page .et_pb_text_inner::before,
.parent-pageid-402721 .svc-page .et_pb_text_inner::before{ margin-bottom:24px }
.parent-pageid-396747 .svc-page .et_pb_text_inner h2,
.parent-pageid-402721 .svc-page .et_pb_text_inner h2{ margin:24px 0 8px }
.parent-pageid-396747 .svc-page .et_pb_text_inner h3,
.parent-pageid-402721 .svc-page .et_pb_text_inner h3{ margin:12px 0 2px }
@media (max-width:980px){
  .parent-pageid-396747 .svc-page .et_pb_text_inner h2,
  .parent-pageid-402721 .svc-page .et_pb_text_inner h2{ margin:20px 0 8px }
}
@media (max-width:767px){
  .parent-pageid-396747 .svc-page .et_pb_text_inner > h3:first-child,
  .parent-pageid-402721 .svc-page .et_pb_text_inner > h3:first-child{ margin-top:0 }
}
