/* Executive Narrative GCC: card standard (matches the homepage "Who We Work With" and metrics bands).
   Navy / ivory / gold cards, square with one angled corner, large thin numerals, staircase on 3-card rows. */
@font-face{font-family:'EN Numeral';src:url(/assets/fonts/manrope-300.woff2) format('woff2');font-weight:300;font-display:swap}

html body :is(.grid3,.cards):not(#_){counter-reset:encard;gap:18px!important;align-items:start;border:0!important}
html body :is(.grid3,.cards) > .card:not(#_):not(#__){
  --navy:#0B1F3A;--ivory:#F3EFE7;--gold:#C59B2D;--cut:36px;
  counter-increment:encard;position:relative;border:0!important;border-radius:0!important;box-shadow:none!important;
  padding:28px 28px 36px!important;
  clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%)}
html[lang=ar] body :is(.grid3,.cards) > .card:not(#_):not(#__){clip-path:polygon(0 0,100% 0,100% 100%,var(--cut) 100%,0 calc(100% - var(--cut)))}

/* colour cycle: three-column grids */
html body .grid3 > .card:nth-child(3n+1):not(#_):not(#__),
html body .cards:not(.four) > .card:nth-child(3n+1):not(#_):not(#__){background:var(--navy)!important;--fg:#F9F7F4;--txt:rgba(249,247,244,.84);--acc:#C59B2D;--line:rgba(249,247,244,.14)}
html body .grid3 > .card:nth-child(3n+2):not(#_):not(#__),
html body .cards:not(.four) > .card:nth-child(3n+2):not(#_):not(#__){background:var(--ivory)!important;--fg:#0B1F3A;--txt:#24364F;--acc:#8A6013;--line:rgba(11,31,58,.12)}
html body .grid3 > .card:nth-child(3n):not(#_):not(#__),
html body .cards:not(.four) > .card:nth-child(3n):not(#_):not(#__){background:var(--gold)!important;--fg:#0B1F3A;--txt:#0B1F3A;--acc:#0B1F3A;--line:rgba(11,31,58,.18)}
/* colour cycle: four-column grids */
html body .cards.four > .card:nth-child(4n+1):not(#_):not(#__){background:var(--navy)!important;--fg:#F9F7F4;--txt:rgba(249,247,244,.84);--acc:#C59B2D;--line:rgba(249,247,244,.14)}
html body .cards.four > .card:is(:nth-child(4n+2),:nth-child(4n)):not(#_):not(#__){background:var(--ivory)!important;--fg:#0B1F3A;--txt:#24364F;--acc:#8A6013;--line:rgba(11,31,58,.12)}
html body .cards.four > .card:nth-child(4n+3):not(#_):not(#__){background:var(--gold)!important;--fg:#0B1F3A;--txt:#0B1F3A;--acc:#0B1F3A;--line:rgba(11,31,58,.18)}

html body :is(.grid3,.cards) > .card:not(#_):not(#__){color:var(--fg)!important}
html body :is(.grid3,.cards) > .card:not(#_) :is(h3,h4,strong){color:var(--fg)!important}
html body :is(.grid3,.cards) > .card:not(#_) :is(p,li,span:not(.num)){color:var(--txt)!important}
html body :is(.grid3,.cards) > .card:not(#_) a{color:var(--fg)!important;text-decoration-color:var(--acc)!important}
html body :is(.grid3,.cards) > .card:not(#_) li{border-color:var(--line)!important}
html body :is(.grid3,.cards) > .card:not(#_) h3{font-size:19px!important;font-weight:700!important;letter-spacing:-.01em;line-height:1.25!important;margin:0 0 10px!important}

/* numerals: existing .num, or an automatic 01, 02, 03 */
html body :is(.grid3,.cards) > .card:not(#_) > .num,
html body :is(.grid3,.cards) > .card:not(#_):not(:has(> .num))::before{
  display:block;font-family:'EN Numeral','Manrope',sans-serif!important;font-weight:300!important;font-size:44px!important;line-height:.86!important;
  letter-spacing:-.05em!important;color:var(--fg)!important;margin:0 0 18px!important;opacity:1}
html body :is(.grid3,.cards) > .card:not(#_):not(:has(> .num))::before{content:counter(encard,decimal-leading-zero)}
html body :is(.grid3,.cards) > .card:not(#_)::after{content:'';display:block;width:28px;height:2px;background:var(--acc);position:absolute;top:28px;inset-inline-end:28px}

/* staircase on rows of exactly three */
@media(min-width:901px){
  html body :is(.grid3,.cards):has(> .card:nth-child(3):last-child) > .card:nth-child(2):not(#_):not(#__){margin-top:24px!important}
  html body :is(.grid3,.cards):has(> .card:nth-child(3):last-child) > .card:nth-child(3):not(#_):not(#__){margin-top:48px!important}
}
@media(max-width:900px){
  html body :is(.grid3,.cards):has(> .card:nth-child(3):last-child) > .card:nth-child(2):not(#_):not(#__){margin-inline-start:6%!important}
  html body :is(.grid3,.cards):has(> .card:nth-child(3):last-child) > .card:nth-child(3):not(#_):not(#__){margin-inline-start:12%!important}
}
@media(max-width:480px){
  html body :is(.grid3,.cards) > .card:not(#_):not(#__){padding:24px 22px 32px!important;--cut:26px}
  html body :is(.grid3,.cards) > .card:not(#_) > .num,
  html body :is(.grid3,.cards) > .card:not(#_):not(:has(> .num))::before{font-size:40px!important}
}
html[lang=ar] body :is(.grid3,.cards) > .card:not(#_) :is(h3,p,li){font-family:'Cairo',Arial,sans-serif!important;letter-spacing:0}

/* ivory card on an ivory or tinted section: switch to white so it still reads as a card */
html body :is(.ivory,.alt,.section-alt,.bg-ivory) :is(.grid3,.cards) > .card:not(#_):not(#__):is([style],:not([style])){--ivory:#FFFFFF}
html body :is(.ivory,.alt,.section-alt,.bg-ivory) .grid3 > .card:nth-child(3n+2):not(#_):not(#__),
html body :is(.ivory,.alt,.section-alt,.bg-ivory) .cards:not(.four) > .card:nth-child(3n+2):not(#_):not(#__),
html body :is(.ivory,.alt,.section-alt,.bg-ivory) .cards.four > .card:is(:nth-child(4n+2),:nth-child(4n)):not(#_):not(#__){background:#FFFFFF!important;box-shadow:0 18px 40px -28px rgba(11,31,58,.35)!important}

/* navy card on a navy section: lift it one shade so it still reads as a card */
html body :is(.dark,.navy,.theme-dark,#method) .grid3 > .card:nth-child(3n+1):not(#_):not(#__),
html body :is(.dark,.navy,.theme-dark,#method) .cards:not(.four) > .card:nth-child(3n+1):not(#_):not(#__),
html body :is(.dark,.navy,.theme-dark,#method) .cards.four > .card:nth-child(4n+1):not(#_):not(#__){background-color:var(--navy)!important;box-shadow:inset 0 0 0 1px rgba(249,247,244,.32)!important;background-image:linear-gradient(to bottom right,transparent calc(50% - 1px),rgba(249,247,244,.32) calc(50% - .5px),rgba(249,247,244,.32) calc(50% + .5px),transparent calc(50% + 1px))!important;background-size:var(--cut) var(--cut)!important;background-position:100% 100%!important;background-repeat:no-repeat!important}
html[lang=ar] body :is(.dark,.navy,.theme-dark,#method) .grid3 > .card:nth-child(3n+1):not(#_):not(#__):not(#___),html[lang=ar] body :is(.dark,.navy,.theme-dark,#method) .cards:not(.four) > .card:nth-child(3n+1):not(#_):not(#__):not(#___),html[lang=ar] body :is(.dark,.navy,.theme-dark,#method) .cards.four > .card:nth-child(4n+1):not(#_):not(#__):not(#___){background-image:linear-gradient(to bottom left,transparent calc(50% - 1px),rgba(249,247,244,.32) calc(50% - .5px),rgba(249,247,244,.32) calc(50% + .5px),transparent calc(50% + 1px))!important;background-position:0 100%!important}

/* a note that closes a numbered set: not part of the count, outlined instead of filled */
html body :is(.grid3,.cards) > .card.card-note:not(#_):not(#__):not(#___){counter-increment:none;background:transparent!important;clip-path:none;
  box-shadow:inset 0 0 0 1px rgba(11,31,58,.22)!important;--fg:#0B1F3A;--txt:#24364F;--acc:#8A6013;align-self:stretch}
html body :is(.grid3,.cards) > .card.card-note:not(#_):not(#__)::before{content:none!important;display:none!important}
html body :is(.grid3,.cards) > .card.card-note:not(#_)::after{display:none}
html body :is(.grid3,.cards) > .card.card-note:not(#_) .note-k{font:800 11px/1.2 'Manrope',sans-serif;letter-spacing:.17em;text-transform:uppercase;color:#8A6013;margin:4px 0 16px}
html[lang=ar] body :is(.grid3,.cards) > .card.card-note:not(#_) .note-k{font-family:'Cairo',Arial,sans-serif;letter-spacing:0;font-size:13px}
html body :is(.grid3,.cards) > .card.card-note:not(#_) h3{color:#0B1F3A!important}

/* hero proof bar (Diagnostic, Executive Positioning): same numerals as the metrics bands */
html body .proofbar .proof strong:not(#_){font-family:'EN Numeral','Manrope',sans-serif!important;font-weight:300!important;font-size:clamp(34px,3vw,42px)!important;line-height:.9!important;letter-spacing:-.045em!important;color:#F9F7F4!important;margin-bottom:10px;white-space:nowrap}
html body .proofbar .proof strong sup{font-family:'Manrope',sans-serif;font-size:.42em;font-weight:400;vertical-align:top;position:relative;top:-.02em;margin-left:.06em;letter-spacing:0;color:#C59B2D}
html body .proofbar .proof:not(#_){padding-inline-end:18px;border-inline-start:1px solid rgba(249,247,244,.14);padding-inline-start:18px}
html body .proofbar .proof:first-child:not(#_){border-inline-start:0;padding-inline-start:0}
html body .proofbar .proof span:not(#_){display:block;font-size:11px!important;line-height:1.5!important;letter-spacing:.06em;color:rgba(249,247,244,.7)!important}
html[lang=ar] body .proofbar .proof span:not(#_){letter-spacing:0;font-size:12.5px!important}
@media(max-width:640px){html body .proofbar .proof:nth-child(3):not(#_){border-inline-start:0;padding-inline-start:0}}
