/* v22.49.86 · home hero, redesigned motion (owner, 15 Nov 2026 15:47: "give it more attention, it is our forefront").
   Seven one-line slides. Each line rises in word by word from behind a mask, the key phrase is in a phase colour (owner's choice),
   and the outgoing line lifts away. A numbered rail (desktop) or segmented bar (phone) shows every topic and the time left.
   The rest stays black and white. */
.hx{position:relative;padding:clamp(34px,6vw,76px) 0 clamp(26px,4vw,48px);overflow:hidden}   /* v23.06 (owner, 18 Nov 2026 20:05: "remove this line"): no line between the carousel and Demo By Role */
.hx-g{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(28px,5vw,72px);align-items:center}
.hx-m{min-width:0}
/* kicker: 01 / 07 · topic */
.hx-k{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.hx-n{font-variant-numeric:tabular-nums;color:var(--heading);white-space:nowrap;flex:none}
.hx-k{flex-wrap:nowrap;min-width:0}.hx-k::before{flex:none}
.hx-k::before{content:"";width:28px;height:2px;background:var(--heading);order:1}
.hx-n{order:0}.hx-l{order:2;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .3s ease,transform .3s ease}   /* one line always: no jump */
.hx-k.swap .hx-l{opacity:0;transform:translateY(-6px)}
[dir=rtl] .hx-k{letter-spacing:0;text-transform:none;font-size:14px}
/* the line */
.hx-v{display:grid;font:700 clamp(26px,4vw,52px)/1.18 var(--f-head);letter-spacing:-.015em;color:var(--heading)}
[dir=rtl] .hx-v{font-family:var(--f-ar);line-height:1.5;letter-spacing:0}
.hx-s{grid-area:1/1;margin:0;max-width:22ch;opacity:0;visibility:hidden}
[dir=rtl] .hx-s{max-width:24ch}
.hx-s.cur{opacity:1;visibility:visible}
.js .hx-s:not(.cur):not(.out){visibility:hidden}
.hx-s.out{opacity:1;visibility:visible;pointer-events:none}
/* words (added by hero.js): a clipped box and the moving word inside it */
.hx .w{display:inline-block;overflow:hidden;vertical-align:bottom;padding:.06em 0 .14em;margin:-.06em 0 -.14em}
[dir=rtl] .hx .w{padding:.15em .12em .32em;margin:-.15em -.12em -.32em}   /* room for madda, hamza and tall letters */
.hx .w>span{display:inline-block;transform:translateY(135%);opacity:0;filter:blur(6px) drop-shadow(0 0 0 transparent);
  transition:transform .8s cubic-bezier(.16,1,.3,1),opacity .6s ease,filter .7s ease;transition-delay:calc(var(--i) * 42ms)}
.hx-s.cur .w>span{transform:none;opacity:1;filter:blur(0) var(--g,drop-shadow(0 0 0 transparent))}
.hx-s.out .w>span{transform:translateY(-135%);opacity:0;filter:blur(4px) drop-shadow(0 0 0 transparent);transition-duration:.42s,.35s,.4s;transition-timing-function:cubic-bezier(.7,0,.84,0),ease,ease;transition-delay:calc(var(--i) * 14ms)}
.hx-em{font-style:normal}
/* slide 1 (owner, 17:56-17:57): "MTWAFIQ is your office of:" then three areas (v22.49.90), one at a time, 3 s each: the old one fades out, the new one fades in.
   Without JavaScript, in print and with reduced motion they show as one list. Each area glows orange like the key phrases. */
.hx-rot{display:block;transition:opacity .4s ease .55s}
.hx-rot>span{filter:var(--g);white-space:nowrap}
.hx-rot>span.hx-cw{white-space:normal;text-wrap:balance}   /* v22.49.90 (owner, 15 Nov 2026 20:11): "Governance, Risk, Compliance" is one area and may wrap on a phone */
.hx-rot>span:not(:last-child)::after{content:" · ";-webkit-text-fill-color:var(--heading);color:var(--heading)}
[dir=rtl] .hx-rot>span:not(:last-child)::after{content:"، "}
/* with JavaScript the areas share one place from the first paint (no jump when hero.js starts); hx-rotl = the list (reduced motion) */
.js .hx-rot:not(.hx-rotl){display:grid;justify-items:start}
.js .hx-rot:not(.hx-rotl)>span{grid-area:1/1;opacity:0;transform:translateY(.22em);transition:opacity .45s ease,transform .7s cubic-bezier(.16,1,.3,1)}
.js .hx-rot:not(.hx-rotl)>span.on{opacity:1;transform:none;transition-delay:.45s,.45s}
.js .hx-rot:not(.hx-rotl)>span::after{content:none}
.js .hx-s:not(.cur) .hx-rot{opacity:0;transition-delay:0s}
/* the small list under a line (slide 2: the 12 countries, owner 16:34); fades in after the words land */
.hx-cn{display:block;margin-top:16px;max-width:60ch;font:500 clamp(13px,1.15vw,15px)/1.7 var(--f-body);letter-spacing:.01em;color:var(--muted);
  opacity:0;transform:translateY(8px);transition:opacity .6s ease .55s,transform .7s cubic-bezier(.16,1,.3,1) .55s}
[dir=rtl] .hx-cn{font-family:var(--f-ar);font-size:clamp(14px,1.2vw,16px);letter-spacing:0}
.hx-s.cur .hx-cn{opacity:1;transform:none}
.hx-s.out .hx-cn{opacity:0;transition-delay:0s,0s;transition-duration:.3s,.3s}
/* key phrases: the phase colours with the same glow as the Initiate, Deliver and Celebrate titles (owner, 15:52 and 16:02).
   Dark: the titles' bright gradient fill and drop-shadow glow. Light: the brand colours (each 3:1 or more on white, large bold text) and a soft glow. */
.hx-ci{color:#EC6C25;--g:drop-shadow(0 0 10px rgba(236,108,37,.28))}
.hx-cd{color:#3E9B34;--g:drop-shadow(0 0 10px rgba(62,155,52,.26))}
.hx-cc{color:#17A3A0;--g:drop-shadow(0 0 10px rgba(23,163,160,.28))}
[data-theme=dark] :is(.hx-ci,.hx-cd,.hx-cc){color:transparent;-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;background-repeat:no-repeat}
[data-theme=dark] .hx-ci{background-image:linear-gradient(180deg,#FFB07A 0%,#FF8A3D 55%,#FF8A3D 100%);--g:drop-shadow(0 0 14px rgba(255,138,61,.35))}
[data-theme=dark] .hx-cd{background-image:linear-gradient(180deg,#A3F094 0%,#6EE05A 55%,#6EE05A 100%);--g:drop-shadow(0 0 14px rgba(110,224,90,.35))}
[data-theme=dark] .hx-cc{background-image:linear-gradient(180deg,#8AF3EF 0%,#2EE3DC 55%,#2EE3DC 100%);--g:drop-shadow(0 0 14px rgba(46,227,220,.35))}
@media (prefers-contrast:more){[data-theme=dark] :is(.hx-ci,.hx-cd,.hx-cc){-webkit-text-fill-color:currentColor;background:none;--g:drop-shadow(0 0 0 transparent)}[data-theme=dark] .hx-ci{color:#FF8A3D}[data-theme=dark] .hx-cd{color:#6EE05A}[data-theme=dark] .hx-cc{color:#2EE3DC}}
@media (prefers-contrast:more){:root:not([data-theme=dark]) .hx-ci{color:#B34E12}:root:not([data-theme=dark]) .hx-cd{color:#2C7A24}:root:not([data-theme=dark]) .hx-cc{color:#0E7C7A}:root:not([data-theme=dark]) :is(.hx-ci,.hx-cd,.hx-cc){--g:drop-shadow(0 0 0 transparent)}}
em:is(.hx-ci,.hx-cd,.hx-cc){filter:var(--g)}
/* the word mask leaves room for the glow on coloured words */
.hx .w:has(>:is(.hx-ci,.hx-cd,.hx-cc)){padding:.3em .45em;margin:-.3em -.45em}
/* pause */
.hx-p{margin-top:26px;font:inherit;font-size:13px;padding:6px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);cursor:pointer;visibility:hidden}
.hx.on .hx-p{visibility:visible}
.hx-p:hover{border-color:var(--border-2);color:var(--heading)}
/* the rail: every topic, the current one marked, its time filling */
.hx-d{list-style:none;margin:0;padding:0;display:grid;gap:2px;border-inline-start:1px solid var(--border)}
.hx-d button{position:relative;display:grid;grid-template-columns:34px 1fr;align-items:center;width:100%;padding:9px 0 9px 18px;border:0;background:none;
  font:inherit;font-size:14px;text-align:start;color:var(--muted);cursor:pointer;transition:color .3s ease}
[dir=rtl] .hx-d button{padding:9px 18px 9px 0}
.hx-d b{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.hx-d button:hover,.hx-d button[aria-current=true]{color:var(--heading)}
.hx-d button[aria-current=true] span{font-weight:600}
.hx-d i{position:absolute;inset-inline-start:-1px;top:0;bottom:0;width:2px;background:var(--heading);transform:scaleY(0);transform-origin:top}
.hx-d button[aria-current=true] i{transform:scaleY(1)}
.hx.run .hx-d button[aria-current=true] i{transform:scaleY(0);animation:hxfill var(--hx-t,6s) linear forwards}
.hx.hold .hx-d button[aria-current=true] i{animation-play-state:paused}   /* paused: the bar freezes where it is */
@keyframes hxfill{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.js .hx:not(.on) .hx-d{visibility:hidden}
/* without JavaScript: slide 1 only, no rail and no button that cannot work */
html:not(.js) .hx-d,html:not(.js) .hx-p{display:none}
/* phone: the rail becomes a segmented bar under the line */
@media (max-width:860px){
  .hx-g{grid-template-columns:1fr;gap:22px}
  .hx-d{grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;border:0;order:2}
  .hx-d button{display:block;height:24px;padding:0}
  [dir=rtl] .hx-d button{padding:0}
  .hx-d b,.hx-d span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .hx-d button::before{content:"";position:absolute;inset-inline:0;top:11px;height:3px;border-radius:3px;background:var(--border)}
  .hx-d i{inset-inline:0;top:11px;bottom:auto;height:3px;width:auto;border-radius:3px;transform:scaleX(0);transform-origin:left}
  [dir=rtl] .hx-d i{transform-origin:right}
  .hx-d button[aria-current=true] i{transform:scaleX(1)}
  .hx.run .hx-d button[aria-current=true] i{animation-name:hxfillx}
  .hx-p{margin-top:18px}
}
@keyframes hxfillx{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* reduced motion: a plain swap, no moving words, no running bar */
@media (prefers-reduced-motion:reduce){
  .hx .w>span,.hx-s.out .w>span{transition:opacity .2s linear;transform:none;filter:var(--g,none)}
  .hx-cn{transition:opacity .2s linear;transform:none}
  .hx-l{transition:none}
  .hx.run .hx-d button[aria-current=true] i{animation:none;transform:scaleY(1)}
}
@media print{.hx-p,.hx-d{display:none!important}.hx-rot{display:block!important;opacity:1!important}.hx-rot>span{display:inline!important;opacity:1!important;transform:none!important}.hx-rot>span:not(:last-child)::after{content:" · "!important}[dir=rtl] .hx-rot>span:not(:last-child)::after{content:"، "!important}.hx-rot{display:block!important}.hx-rot>span{grid-area:auto!important}.hx .w>span{filter:none!important;transition:none!important}.hx-s{opacity:0!important;visibility:hidden!important}.hx-s:first-child{opacity:1!important;visibility:visible!important}.hx .w>span{transform:none!important;opacity:1!important}}
