/* Section depth (pilot, 24 Nov 2026). Almost flat: two faint tonal washes and a fine grain, laid over the approved colour.
   The colour itself is never changed. Use .lias-depth-n on a navy section or .lias-depth-c on a cream one.
   Pilot: cream = the client story card (class added in ClientStoryCard); navy = the closing call-to-action band (selector below).
   Audience pages only: the selector needs the v2 client story card, so not the homepage and not Teams. */
:root{
  --lias-grain-n:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  --lias-grain-c:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
html body main .lias-depth-n:not(#_):not(#__){
  background-image:radial-gradient(60% 75% at 92% 8%,rgba(180,194,217,.035),transparent 78%),radial-gradient(70% 80% at 0% 120%,rgba(9,15,38,.14),transparent 76%),var(--lias-grain-n)!important;
  background-size:100% 100%,100% 100%,180px 180px!important;
  background-repeat:no-repeat,no-repeat,repeat!important;
  background-blend-mode:normal,normal,soft-light!important}
html body main .lias-depth-c:not(#_):not(#__){
  background-image:radial-gradient(55% 60% at 85% 0%,rgba(255,255,255,.35),transparent 80%),radial-gradient(65% 75% at 0% 100%,rgba(205,178,117,.055),transparent 90%),var(--lias-grain-c)!important;
  background-size:100% 100%,100% 100%,180px 180px!important;
  background-repeat:no-repeat,no-repeat,repeat!important;
  background-blend-mode:normal,normal,multiply!important}
/* Calm / dark theme: leave the surfaces flat */
html[data-lias-theme="dark"] main .lias-depth-c:not(#_):not(#__){background-image:none!important}
@media(prefers-reduced-transparency:reduce){html body main :is(.lias-depth-n,.lias-depth-c):not(#_):not(#__){background-image:none!important}}

/* Pilot navy: closing band on audience pages */
html body main:has(.cst--v2) .acb:not(#_):not(#__){
  background-image:radial-gradient(60% 75% at 92% 8%,rgba(180,194,217,.035),transparent 78%),radial-gradient(70% 80% at 0% 120%,rgba(9,15,38,.14),transparent 76%),var(--lias-grain-n)!important;
  background-size:100% 100%,100% 100%,180px 180px!important;background-repeat:no-repeat,no-repeat,repeat!important;background-blend-mode:normal,normal,soft-light!important}

/* Extension (audience pages only): the shared template's cream sections and the closing band.
   Not the homepage, not Teams (neither carries the v2 client story card). The big example band keeps its own glow. */
html body main:has(.cst--v2) :is(.au-rec,.hw--aud,.au-sc,.bt,.exba,.wch,.arv,.au-fq,.gl):not(#_):not(#__){
  background-image:radial-gradient(55% 60% at 85% 0%,rgba(255,255,255,.35),transparent 80%),radial-gradient(65% 75% at 0% 100%,rgba(205,178,117,.055),transparent 90%),var(--lias-grain-c)!important;
  background-size:100% 100%,100% 100%,180px 180px!important;background-repeat:no-repeat,no-repeat,repeat!important;background-blend-mode:normal,normal,multiply!important}
html[data-lias-theme="dark"] body main:has(.cst--v2) :is(.au-rec,.hw--aud,.au-sc,.bt,.exba,.wch,.arv,.au-fq,.gl):not(#_):not(#__){background-image:none!important}
@media(prefers-reduced-transparency:reduce){html body main:has(.cst--v2) :is(.au-rec,.hw--aud,.au-sc,.bt,.exba,.wch,.arv,.au-fq,.gl,.acb):not(#_):not(#__){background-image:none!important}}
