/* The homepage customer section: one large frame for Wadi Group, then one stage where two equal stories take turns (markup: families/home_stories.py, js/v7/stories.js).
   Every slide sits in the same grid cell, so the stage never changes height. Motion: transform and opacity only.
   Without JavaScript the stories follow each other. */
.t7.t7-home .hw :where(h3,h4,p,ul,figure,blockquote){margin:0;padding:0;list-style:none}

/* ---------- Wadi Group: one frame. He stands on the savings ---------- */
.t7.t7-home .hw{--man:560px;position:relative;margin-top:clamp(34px,3.4vw,56px);background:var(--t7-blue);color:#fff;box-shadow:16px 16px 0 var(--t7-ink)}
.t7.t7-home .hw-top{position:relative;min-height:calc(var(--man) + 60px);overflow:hidden;background:
  linear-gradient(26.57deg,transparent calc(50% - .5px),rgba(143,152,255,.16) 50%,transparent calc(50% + .5px)) 0 0/160px 80px,
  linear-gradient(-26.57deg,transparent calc(50% - .5px),rgba(143,152,255,.16) 50%,transparent calc(50% + .5px)) 0 0/160px 80px,
  radial-gradient(46% 78% at 78% 50%,#5566FF 0,transparent 100%),var(--t7-blue)}
.t7.t7-home .hw-tx{position:relative;z-index:1;display:flex;flex-direction:column;box-sizing:border-box;width:62%;min-height:calc(var(--man) + 60px);padding:clamp(30px,3vw,48px)}
.t7.t7-home .hw :is(h3,blockquote,.hw-say p,.hw-say b){color:#fff}
.t7.t7-home .hw-id{display:flex;align-items:center;gap:22px;margin-bottom:30px!important}
.t7.t7-home .hw-id img{width:auto;height:66px}
.t7.t7-home .hw-id span{padding:8px 16px 9px;background:var(--t7-lime);color:var(--t7-ink);font:600 20px/1.2 var(--display)}
.t7.t7-home .hw .vx-lock{--l:min(7.2vw,104px);margin-block:auto}
/* never mirror the photo: it ends at his shoulder, so its right edge is the frame's right edge, and the lime bar closes it */
.t7.t7-home .hw-man{position:absolute;right:12px;bottom:0;width:auto!important;height:var(--man);max-width:none!important}
.t7.t7-home .hw-top::after{content:"";position:absolute;inset:0 0 0 auto;width:12px;background:var(--t7-lime)}
.js .t7.t7-home .hw.in .hw-man{animation:hs-stand .9s cubic-bezier(.2,.8,.2,1) .1s both}
.t7.t7-home .hw .hw-say{margin-top:clamp(22px,2.2vw,34px)!important}
.t7.t7-home .hw .hw-say blockquote{font:600 clamp(22px,1.9vw,28px)/1.28 var(--display);letter-spacing:-.015em;text-wrap:balance}
.t7.t7-home .hw .hw-say .vx-name{margin-top:14px;padding:0}
.t7.t7-home .hw .hw-say .vx-name b{font-size:20px}
.t7.t7-home .hw .hw-say .vx-name small{margin-top:2px;color:#DCE0FF;font-size:16px}
.t7.t7-home .hw .vx-watch--big{gap:20px;padding:12px 32px 12px 12px;font-size:23px}
.t7.t7-home .hw .vx-watch--big small{font-size:16px}
.t7.t7-home .hw .vx-watch--big .vx-watch__i{width:64px;height:64px}
.t7.t7-home .hw .vx-watch--big svg{width:32px;height:32px}

/* the savings: the floor he stands on */
.t7.t7-home .hw-floor{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(28px,3.4vw,56px);padding:clamp(24px,2.4vw,36px) clamp(30px,3vw,48px);background:var(--t7-lime)}
.t7.t7-home .hw-floor :is(h4,p,b,span){color:var(--t7-ink)}
.t7.t7-home .hw-roi b{display:block;font:700 clamp(84px,8.4vw,128px)/.9 Outfit,Arial,sans-serif;letter-spacing:-.055em;white-space:nowrap}
.t7.t7-home .hw-roi span{display:block;margin-top:10px;font:600 17px/1.3 var(--display)}
.t7.t7-home .hw-claim{padding-inline-start:clamp(28px,3.4vw,56px);border-inline-start:2px solid var(--t7-ink)}
.t7.t7-home .hw-claim h4{font:600 clamp(28px,2.7vw,42px)/1.06 var(--display);letter-spacing:-.035em;text-wrap:balance}
.t7.t7-home .hw-claim p{margin-top:12px;font:400 16px/1.4 var(--body)}
.t7.t7-home .hw-claim p b{font-weight:600}
.t7.t7-home .hw-floor ul{display:grid;gap:14px;width:190px}
.t7.t7-home .hw-floor li{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px}
.t7.t7-home .hw-floor li b{font:700 40px/1 Outfit,Arial,sans-serif;letter-spacing:-.04em}
.t7.t7-home .hw-floor li span{font-size:14.5px;line-height:1.25}
.t7.t7-home .hs{--man:490px;position:relative;margin-top:clamp(72px,6.4vw,104px);box-shadow:16px 16px 0 #C3C9F0}
.t7.t7-home .hs :where(h3,p,ul,figure,blockquote){margin:0;padding:0;list-style:none}

/* ---------- the three tabs: value first, customer second ---------- */
.t7.t7-home .hs-tabs__in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.t7.t7-home .hs .hs-tab{position:relative;display:flex;align-items:center;gap:24px;min-width:0;padding:16px 20px 22px 16px;border:1px solid var(--t7-line);border-bottom:0;background:#fff;color:var(--t7-ink);text-align:start;cursor:pointer}
.t7.t7-home .hs .hs-tab+.hs-tab{border-inline-start:0}
.t7.t7-home .hs .hs-tab[aria-selected=true]{background:var(--t7-lime);border-color:var(--t7-lime)}
.t7.t7-home .hs-tab__l{position:relative;flex:none;width:176px;height:92px;background:#fff}
.t7.t7-home .hs-tab__l img{position:absolute;inset:6px 8px;width:calc(100% - 16px);height:calc(100% - 12px);object-fit:contain}
.t7.t7-home .hs-tab__t{min-width:0}
.t7.t7-home .hs-tab__t b{display:block;font:600 clamp(28px,2.9vw,46px)/1.05 var(--display);letter-spacing:-.03em}
.t7.t7-home .hs-tab__t small{display:block;margin-top:5px;font:500 17px/1.3 var(--display);color:var(--t7-soft)}
.t7.t7-home .hs-tab[aria-selected=true] small{color:var(--t7-ink)}
.t7.t7-home .hs-tab__bar{position:absolute;inset:auto 0 0;height:6px;background:var(--t7-ink);transform:scaleX(0);transform-origin:0 50%}
.t7.t7-home .hs :is(.hs-tab,.hs-pause):focus-visible{z-index:2;outline:3px solid var(--t7-blue);outline-offset:3px}

/* ---------- the stage ---------- */
.t7.t7-home .hs-stage{display:grid;overflow:hidden;background:var(--t7-blue);color:#fff}
.t7.t7-home .hs-slide{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);min-width:0}
.t7.t7-home .hs.is-live .hs-slide{grid-area:1/1;visibility:hidden;opacity:0;transition:opacity .45s ease,visibility 0s .45s}
.t7.t7-home .hs.is-live .hs-slide.is-on{visibility:visible;opacity:1;transition:opacity .45s ease}
.t7.t7-home .hs :is(h3,p,blockquote,.hs-fig span){color:#fff}

/* ---------- the result ---------- */
.t7.t7-home .hs-tx{display:flex;flex-direction:column;min-width:0;padding:clamp(26px,2.6vw,42px)}
.t7.t7-home .hs-num b{display:block;color:var(--t7-lime);font:700 clamp(96px,11vw,172px)/1 Outfit,"Thmanyah Sans",Arial,sans-serif;letter-spacing:-.05em;white-space:nowrap}
.t7.t7-home .hs-num b{margin-block:-.1em 0}
.t7.t7-home .hs-num span{display:block;margin-top:20px;font:600 clamp(19px,1.6vw,25px)/1.3 var(--display)}
.t7.t7-home .hs-num s{text-decoration:line-through 2px var(--t7-lime)}
.t7.t7-home .hs h3{margin-top:clamp(20px,2vw,32px);max-width:15em;font:600 clamp(28px,2.7vw,42px)/1.08 var(--display);letter-spacing:-.03em;text-wrap:balance}
.t7.t7-home .hs-meter{margin-top:clamp(20px,1.9vw,30px)}
.t7.t7-home .hs-meter div{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:4px}
.t7.t7-home .hs-meter i{height:34px;background:#4A55FF}
.t7.t7-home .hs-meter i.on{background:var(--t7-lime);transform-origin:50% 100%}
.t7.t7-home .hs.is-live .is-on .hs-meter i.on{animation:hs-grow .5s cubic-bezier(.2,.8,.2,1) .3s both}
@keyframes hs-grow{from{opacity:0;transform:scaleY(.2)}to{opacity:1;transform:none}}
.t7.t7-home .hs .hs-meter p{display:flex;justify-content:space-between;gap:16px;margin-top:10px;font:500 16px/1.35 var(--display)}
.t7.t7-home .hs-meter b{font-weight:600}
.t7.t7-home .hs-meter span{color:#DCE0FF}
.t7.t7-home .hs-act{display:flex;align-items:center;flex-wrap:wrap;gap:18px 30px;margin-top:clamp(22px,2.1vw,32px)}
.t7.t7-home .hs .hs-act .vx-watch{box-shadow:6px 6px 0 var(--t7-ink)}
.t7.t7-home .hs .hs-act .eprf-go{color:#fff}
.t7.t7-home .hs-fig{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:auto!important;padding-top:clamp(26px,2.4vw,38px)!important}
.t7.t7-home .hs-fig li{padding-top:14px;border-top:2px solid rgba(255,255,255,.55)}
.t7.t7-home .hs-fig b{display:block;font:700 clamp(34px,3vw,46px)/1 Outfit,Arial,sans-serif;letter-spacing:-.04em}
.t7.t7-home .hs-fig span{display:block;margin-top:6px;font-size:16px;line-height:1.35}

/* ---------- the person, always on the same line: same head size, same name plate ---------- */
.t7.t7-home .hs-man{display:flex;flex-direction:column;min-width:0;background:var(--t7-ink)}
.t7.t7-home .hs-man__ph{position:relative;flex:1 0 calc(var(--man) + 14px);overflow:hidden;border-bottom:8px solid var(--t7-lime);background:
  linear-gradient(26.57deg,transparent calc(50% - .5px),rgba(143,152,255,.13) 50%,transparent calc(50% + .5px)) 0 0/160px 80px,
  linear-gradient(-26.57deg,transparent calc(50% - .5px),rgba(143,152,255,.13) 50%,transparent calc(50% + .5px)) 0 0/160px 80px,
  radial-gradient(58% 74% at 56% 52%,#2B38E6 0,transparent 100%),var(--t7-ink)}
/* never squeeze or mirror a face */
.t7.t7-home .hs-man__ph img{position:absolute;bottom:0;left:50%;width:auto!important;height:var(--man);max-width:none!important;margin-left:calc(var(--man)*-.672)}
.t7.t7-home .hs.is-live .is-on .hs-man__ph img{animation:hs-stand .7s cubic-bezier(.2,.8,.2,1) both}
.t7.t7-home .hs.is-live .is-on .hs-num{animation:hs-stand .7s cubic-bezier(.2,.8,.2,1) .06s both}
@keyframes hs-stand{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
.t7.t7-home .hs-man figcaption{display:flex;flex-direction:column;min-height:196px;padding:20px clamp(22px,2.2vw,34px) 26px}
.t7.t7-home .hs .hs-man blockquote{font:600 clamp(21px,1.8vw,27px)/1.28 var(--display);letter-spacing:-.015em;text-wrap:pretty}
.t7.t7-home .hs .vx-name{margin-top:auto;padding-top:14px}
.t7.t7-home .hs .vx-name b{font-size:20px}
.t7.t7-home .hs .vx-name small{margin-top:2px;color:#DCE0FF;font-size:15px}

.t7.t7-home .hs .hs-pause{position:absolute;z-index:1;top:-58px;inset-inline-end:0;display:none;place-items:center;width:44px;height:44px;border:1px solid var(--t7-line);background:#fff;color:var(--t7-ink);cursor:pointer}
.t7.t7-home .hs.is-live .hs-pause{display:grid}
.t7.t7-home .hs-pause i{width:12px;height:14px;border-inline:4px solid currentColor}
.t7.t7-home .hs.is-still .hs-pause i{width:0;height:0;border:solid transparent;border-width:8px 0 8px 13px;border-left-color:currentColor}
.t7.t7-home .hs+.t7-band{margin-top:clamp(52px,4.6vw,76px)}

/* ---------- smaller screens ---------- */
@media (max-width:1180px){
  .t7.t7-home .hw{--man:min(44vw,500px)}
  .t7.t7-home .hw-floor{grid-template-columns:auto minmax(0,1fr)}
  .t7.t7-home .hw-floor ul{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));width:auto;padding-top:18px!important;border-top:2px solid var(--t7-ink)}
  .t7.t7-home .hs{--man:430px}
  .t7.t7-home .hs-tab__l{width:130px;height:76px}
}
@media (max-width:860px){
  .t7.t7-home .hw,.t7.t7-home .hs{box-shadow:8px 8px 0 var(--t7-ink)}
  .t7.t7-home .hw{--man:min(84vw,440px)}
  .t7.t7-home .hw-top{display:flex;flex-direction:column;min-height:0}
  .t7.t7-home .hw-tx{display:contents}
  .t7.t7-home .hw-tx>*{margin-inline:20px}
  .t7.t7-home .hw-id{order:1;padding-top:24px!important;margin-bottom:22px!important;justify-content:space-between}
  .t7.t7-home .hw-id img{height:54px}
  .t7.t7-home .hw .vx-lock{--l:min(11.2vw,80px);order:2;margin-block:0 10px}
  .t7.t7-home .hw-man{order:3;position:relative;right:auto;align-self:flex-end;margin-right:12px;margin-left:0}
  .t7.t7-home .hw-top::after{inset:auto 0 auto auto;top:0;height:calc(100% - 0px)}
  .t7.t7-home .hw-say{order:4;margin-inline:0!important;padding:22px 20px 0!important;border-top:8px solid var(--t7-lime)}
  .t7.t7-home .hw .hs-act{order:5;margin-block:22px 28px}
  .t7.t7-home .hw .vx-watch--big{width:100%}
  .t7.t7-home .hw-floor{grid-template-columns:minmax(0,1fr);gap:20px;padding:26px 20px}
  .t7.t7-home .hw-claim{padding:18px 0 0;border-inline-start:0;border-top:2px solid var(--t7-ink)}
  .t7.t7-home .hw-floor li{grid-template-columns:minmax(0,1fr);gap:4px;align-content:start}
  .t7.t7-home .hs-meter div{gap:2px}
  .t7.t7-home .hs-meter i{height:26px}
  .t7.t7-home .hs .hs-meter p{font-size:15px}
  .t7.t7-home .hs{--man:min(78vw,400px)}
  .t7.t7-home .hs-slide{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}
  .t7.t7-home .hs-man{order:-1}
  .t7.t7-home .hs-man__ph{flex:none;height:calc(var(--man) + 22px)}
  .t7.t7-home .hs-man figcaption{min-height:216px}
  .t7.t7-home .hs .hs-tab{flex-direction:column;align-items:center;gap:8px;padding:10px 6px 18px;text-align:center}
  .t7.t7-home .hs-tab__l{width:100%;max-width:140px;height:62px}
  .t7.t7-home .hs-tab__t b{font-size:clamp(20px,5.6vw,28px)}
  .t7.t7-home .hs-tab__t small{display:none}
  .t7.t7-home .hs-num b{font-size:min(21vw,120px)}
  .t7.t7-home .hs .hs-pause{top:calc(var(--man)*.03 + 110px);inset-inline-end:8px;background:var(--t7-ink);border-color:rgba(255,255,255,.5);color:#fff}
}

/* ---------- Arabic ---------- */
[dir=rtl] .t7.t7-home .eprf :is(small,small b,.eprf-go,p,.hs-fig span){font-family:var(--display)}
[dir=rtl] .t7.t7-home .eprf .t7-h2{line-height:1.3}
[dir=rtl] .t7.t7-home .eprf-go:hover svg{transform:translateX(-4px)}
[dir=rtl] .t7.t7-home .hs .hs-tab{padding:14px 14px 20px 18px}
[dir=rtl] .t7.t7-home .hs-tab__bar{transform-origin:100% 50%}
[dir=rtl] .t7.t7-home .hs-tab__t b{line-height:1.35;letter-spacing:0}
[dir=rtl] .t7.t7-home .hw{box-shadow:-16px 16px 0 var(--t7-ink)}
[dir=rtl] .t7.t7-home .hs{box-shadow:-16px 16px 0 #C3C9F0}
[dir=rtl] .t7.t7-home .hw .vx-lock{--l:min(6.6vw,96px)}
/* his photo never moves or flips: in Arabic the words go to the left of him instead */
[dir=rtl] .t7.t7-home .hw-tx{margin-right:auto}
[dir=rtl] .t7.t7-home .hw :is(.hw-claim h4,.hw-say blockquote){line-height:1.45;letter-spacing:0}
[dir=rtl] .t7.t7-home .hw .vx-watch--big{padding:12px 12px 12px 32px}
[dir=rtl] .t7.t7-home .hs-num b{line-height:1;letter-spacing:-.02em}
[dir=rtl] .t7.t7-home .hs h3{max-width:none;line-height:1.34;letter-spacing:0}
[dir=rtl] .t7.t7-home .hs .hs-man blockquote{line-height:1.6;letter-spacing:0}
[dir=rtl] .t7.t7-home .hs .hs-act .vx-watch{box-shadow:-6px 6px 0 var(--t7-ink)}
@media (max-width:860px){
  [dir=rtl] .t7.t7-home :is(.hw,.hs){box-shadow:-8px 8px 0 var(--t7-ink)}
  [dir=rtl] .t7.t7-home .hw .vx-lock{--l:min(13vw,88px)}
  [dir=rtl] .t7.t7-home .hw-man{align-self:flex-start}
  [dir=rtl] .t7.t7-home .hs .hs-tab{padding:8px 4px 16px}
}
@media (prefers-reduced-motion:reduce){
  .t7.t7-home .hs.is-live .hs-slide{transition:none!important}
  .t7.t7-home .hs.is-live .is-on :is(.hs-man__ph img,.hs-num,.hs-meter i),.js .t7.t7-home .hw.in .hw-man{animation:none!important}
}
/* without JavaScript nothing waits to be revealed, and the stories follow each other */
html:not(.js) .t7.t7-home :is(.rise,.lift,.day){opacity:1;transform:none}
.t7.t7-home .hs:not(.is-live) .hs-tabs{display:none}
.t7.t7-home .hs:not(.is-live) .hs-slide+.hs-slide{border-top:8px solid var(--t7-lime)}
