/* Portage — HYBRID: the old portage.media look (light desk scene, two-tone navy/yellow titles, presenter cards,
   3D services carousel, giant pale words, one-row booking form, navy footer) on top of the rebuilt site (site.css). */
:root { --bg: #F4F4F4; --paper: #FFFFFF; --navy: #114151; --yt: #F2B807; --teal: #1E5A6B; }
body { background: var(--bg); }

/* two-tone titles */
.tt { color: var(--navy); }
.tt > span { display: block; }
.tt__y { color: var(--yt); }
.tt--inline > span { display: inline; }
.tt--xl { font-size: clamp(40px, 5.4vw, 76px); font-weight: 900; line-height: 1.05; }
.sec--navy .tt { color: #fff; } .sec--navy .tt__y { color: var(--y); }
.sh--c { text-align: center; margin-inline: auto; }
.sh--c .kicker { justify-content: center; }

/* buttons: old site = yellow pills */
.btn--out { color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--out:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
html[lang=en] .btn--y { text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }

/* ---------- header: light ---------- */
.hd { color: var(--navy); }
.hd.is-solid { background: rgba(244, 244, 244, .92); box-shadow: 0 1px 0 rgba(17, 65, 81, .1); }
.hd__nav a:hover { background: rgba(17, 65, 81, .07); }
.hd__nav a[aria-current] { color: var(--yt); }
html[lang=en] .hd__nav a { text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hd__lang { box-shadow: inset 0 0 0 1.5px rgba(17, 65, 81, .25); }
.hd__lang:hover { color: var(--navy); background: var(--y); box-shadow: none; }
.hd__burger { background: rgba(17, 65, 81, .08); }
.hd__burger span { background: var(--navy); }
.mnav { background: var(--bg); color: var(--navy); }
.mnav nav a { border-bottom-color: rgba(17, 65, 81, .1); }
.mnav nav a[aria-current] { color: var(--yt); }
.mnav__row a { background: #fff; }

/* ---------- desk props ---------- */
.desk { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pr { position: absolute; height: auto; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .16)); will-change: translate; }

/* ---------- hero: desk scene ---------- */
.hx { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 50% 55%, #fff 0%, var(--bg) 70%); padding-top: var(--hd); }
.hx__in { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center;
  min-height: min(860px, calc(100svh - var(--hd) - 54px)); padding: clamp(190px, 22vh, 230px) 0 60px; justify-content: center; }
.hx__k { animation: fade .8s var(--ease) both; }
.hx h1 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 900; line-height: 1.02; color: var(--navy); margin-bottom: 24px; max-width: 13em; }
html[lang=ar] .hx h1 { line-height: 1.3; font-size: clamp(38px, 5.2vw, 72px); }
.hx h1 .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.hx h1 .ln span { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: var(--d); }
.hx h1 .ln:nth-child(2) span { color: var(--yt); }
.hx__lead { font-size: 19px; max-width: 36em; color: var(--muted); animation: fade 1s .45s var(--ease) both; }
.hx__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; animation: fade 1s .6s var(--ease) both; }
.pr--imac { width: min(520px, 46vw); left: 50%; margin-left: calc(min(520px, 46vw) / -2); top: calc(var(--hd) + 6px); filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .14)); }
.pr--kb { width: min(250px, 22vw); left: 50%; margin-left: calc(min(250px, 22vw) / -2); top: calc(var(--hd) + min(520px, 46vw) * .245 + 34px); }
.pr--pl1 { width: 230px; left: -40px; top: 120px; }
.pr--pl2 { width: 200px; right: 2%; top: 46%; }
.pr--cam { width: 250px; left: 4%; bottom: 40px; transform: rotate(-18deg); }
.pr--clap { width: 190px; left: 27%; bottom: -40px; transform: rotate(14deg); }
.pr--paper { width: 190px; right: 7%; bottom: -20px; transform: rotate(-22deg); }
.pr--tgt { width: 70px; right: 14%; top: 150px; }
.hx__ticker { position: relative; z-index: 1; background: var(--navy); overflow: hidden; padding: 16px 0; }
.hx__ticker .tick span { color: rgba(255, 255, 255, .85); }

/* logos strip on light */
.trust { border-bottom: 0; background: #fff; }

/* ---------- presenter cards (old site) ---------- */
.hsplit { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hsplit--rev { grid-template-columns: 1.05fr .95fr; }
.hsplit__txt h2 { margin-bottom: 22px; }
.hsplit__txt > p { color: var(--muted); font-size: 18px; }
.hsplit__txt .btn { margin-top: 14px; }
.pcard { position: relative; aspect-ratio: 1 / 1.02; display: flex; align-items: flex-end; justify-content: center; }
.pcard__bg { position: absolute; inset: 22% 6% 0 6%; border-radius: 34px; background: linear-gradient(160deg, var(--teal), #0C3341 85%); box-shadow: 0 40px 70px -40px rgba(10, 42, 53, .7); }
.pcard__bg::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px 260px at 30% 10%, rgba(255, 255, 255, .16), transparent 70%); }
.pcard__p { position: relative; width: 86%; height: auto; border-radius: 0 0 34px 34px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .25)); }
.pcard--alt .pcard__p { width: 78%; }
.pcard__ring { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 26px solid var(--y); inset-inline-end: -2%; top: 6%; z-index: -1; }
.trailer { position: absolute; top: 2%; inset-inline-end: 2%; width: 148px; height: 148px; display: grid; place-items: center; z-index: 2; color: var(--navy); }
.trailer__txt { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.trailer__txt text { font: 800 11.2px var(--f-h); letter-spacing: .18em; fill: var(--navy); }
html[lang=ar] .trailer__txt text { letter-spacing: 0; font-size: 12.5px; }
.trailer__play { width: 64px; height: 64px; border-radius: 50%; background: var(--y); display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(242, 184, 7, .9); transition: transform .3s var(--ease); }
.trailer__play .ic { width: 26px; height: 26px; }
.trailer:hover .trailer__play { transform: scale(1.1); }
@keyframes spin { to { transform: rotate(360deg); } }

/* partner checks */
.hchecks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 26px 0 10px; }
.hchecks li { display: flex; gap: 14px; align-items: flex-start; }
.hchecks .partner__n { flex: none; width: 38px; height: 38px; border-width: 4px; margin: 0; }
.hchecks h3 { font-size: 17px; margin-bottom: 4px; }
.hchecks p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- 3D services carousel ---------- */
.hsvc { overflow: hidden; }
.cf { position: relative; }
.cf__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px calc(50% - min(210px, 40vw)) 40px; scrollbar-width: none; }
.cf__track::-webkit-scrollbar { display: none; }
.cf__item { flex: none; width: min(420px, 80vw); scroll-snap-align: center; transition: transform .25s linear, opacity .3s; transform-origin: center; opacity: .75; }
.cf__item.is-on { opacity: 1; }
.cf__item a { display: block; height: 100%; background: var(--bg); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 50px -36px rgba(10, 42, 53, .55); }
.cf__img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.cf__txt { padding: 0 26px 26px; }
.cf__txt .svc__ic { margin: -28px 0 16px; position: relative; background: var(--y); box-shadow: 0 0 0 6px var(--bg); }
.cf__txt h3 { margin-bottom: 8px; color: var(--navy); }
.cf__txt p { color: var(--muted); font-size: 15px; margin: 0; }
.cf__nav { display: flex; justify-content: center; gap: 12px; }
.cf__btn { width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; background: var(--navy); color: #fff; display: grid; place-items: center; transition: background .25s, color .25s; }
.cf__btn:hover { background: var(--y); color: var(--ink); }
.cf__btn[data-dir="-1"] .ic { transform: scaleX(-1); }
[dir=rtl] .cf__btn[data-dir="-1"] .ic { transform: none; }
[dir=rtl] .cf__btn[data-dir="1"] .ic { transform: scaleX(-1); }
.hsvc__foot { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- platforms ---------- */
.hplat__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hplat__txt p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.hplat__art { position: relative; max-width: 470px; margin-inline: auto; width: 100%; }
.pcard--sm .pcard__p { width: 84%; }
.bub { position: absolute; width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; color: #fff; z-index: 3;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .35), inset 0 -6px 10px rgba(0, 0, 0, .18), inset 0 6px 10px rgba(255, 255, 255, .25);
  animation: float 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); }
.bub .ic { width: 36px; height: 36px; }
.bub--ig { background: radial-gradient(circle at 30% 110%, #FFD86A 0%, #F5653A 35%, #D6246E 60%, #7B3FE4 100%); top: 4%; inset-inline-start: -6%; }
.bub--yt { background: #FF2D2D; top: 30%; inset-inline-start: -12%; }
.bub--tt { background: #111; top: 58%; inset-inline-start: -4%; }
.bub--sc { background: #FFFC00; color: #111; top: 8%; inset-inline-end: -6%; }
.bub--fb { background: #1877F2; top: 40%; inset-inline-end: -10%; }
.bub--li { background: #0A66C2; top: 70%; inset-inline-end: -3%; }

/* ---------- giant words + phones ---------- */
.hbig { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; background: var(--bg); }
.hbig__giant { position: absolute; inset: 50% 0 auto; transform: translateY(-50%); margin: 0; padding-inline: 3vw; display: flex; flex-direction: column;
  font: 900 clamp(70px, 11vw, 180px)/.9 var(--f-h); text-transform: uppercase; color: rgba(17, 65, 81, .07); letter-spacing: -.02em; pointer-events: none; }
html[lang=ar] .hbig__giant { line-height: 1.15; letter-spacing: 0; }
.hbig__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; aspect-ratio: 9 / 19; border-radius: 40px; background: #fff; padding: 12px; inset-inline-start: 34%; top: 0;
  box-shadow: 0 0 0 2px #d9dde0, 0 40px 60px -30px rgba(0, 0, 0, .45); }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 70px; height: 7px; margin-left: -35px; border-radius: 9px; background: #dfe3e6; z-index: 1; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; background: #111; }
.phone--back { inset-inline-start: 4%; top: 60px; transform: rotate(-8deg) scale(.9); opacity: .95; }
.hbig__txt h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.hbig__txt > p { color: var(--muted); }
.hbig__txt h2 { margin: 30px 0 16px; font-size: clamp(28px, 3.4vw, 44px); }
.pr--bg1 { width: 240px; inset-inline-start: -50px; bottom: -40px; }
.pr--bg2 { width: 210px; inset-inline-end: -30px; top: 30px; transform: rotate(25deg); }

/* steps on white */
.sec--paper .step { background: var(--bg); }

/* ---------- book your appointment ---------- */
.book { position: relative; overflow: hidden; background: #fff; padding: clamp(70px, 9vw, 120px) 0; text-align: center; }
.book__in { position: relative; z-index: 1; max-width: 1100px; }
.book__logo { width: 240px; height: auto; margin: 0 auto 26px; }
.book h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 900; }
.book__sub { color: var(--muted); font-size: 18px; margin: 14px auto 36px; max-width: 40em; }
.book__form { text-align: start; }
.lf--row .lf__grid { grid-template-columns: repeat(4, 1fr); }
.lf--row .fld input, .lf--row .fld select { background: var(--bg); }
.lf--row .lf__foot { flex-direction: column; align-items: stretch; }
.lf--row .lf__foot .btn { width: 100%; justify-content: center; }
.lf--row .lf__foot small { text-align: center; }
.book__direct { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin: 30px 0 0; color: var(--muted); }
.book__direct a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.book__direct .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--y); color: var(--ink); }
.book__direct b { font: 700 17px var(--f-h); }
html[lang=ar] .book__direct b { font-family: 'Montserrat', sans-serif; }
.pr--bk1 { width: 220px; inset-inline-start: -60px; top: -40px; }
.pr--bk2 { width: 190px; inset-inline-end: -30px; bottom: -30px; transform: rotate(-20deg); }

/* ---------- page heroes: light desk ---------- */
.ph { background: radial-gradient(800px 420px at 30% 60%, #fff 0%, var(--bg) 70%); color: var(--navy); }
.ph::before { display: none; }
.ph h1 { color: var(--navy); }
.ph__lead { color: var(--muted); }
.ph .kicker--y { color: var(--navy); }
.ph__chips a { background: #fff; color: var(--navy); box-shadow: 0 1px 0 rgba(17, 65, 81, .08); }
.desk--ph { z-index: 0; }
.pr--ph1 { width: 260px; inset-inline-end: -50px; top: 70px; }
.pr--ph2 { width: 230px; inset-inline-end: 12%; bottom: -60px; transform: rotate(-16deg); }
.pr--ph3 { width: 200px; inset-inline-end: 20%; top: 64px; transform: rotate(8deg); opacity: .9; }

/* contact & other pages on light bg */
.ct__form { background: #fff; }
.ct__card { background: #fff; }
.ct__card--wa { background: var(--navy); }
.why__list li { background: #fff; }

/* ---------- footer: old navy with centred logo ---------- */
.hft { background: var(--navy); color: rgba(255, 255, 255, .82); padding-top: 70px; }
.hft__top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; align-items: center; padding-bottom: 50px; }
.hft__col h3 { color: #fff; font-size: 19px; text-transform: none; letter-spacing: 0; margin: 0 0 12px; }
.hft__col p { font-size: 15px; }
.hft__col p + h3 { margin-top: 24px; }
.hft__info { display: grid; gap: 14px; margin-top: 18px; }
.hft__info li { display: flex; gap: 14px; align-items: center; }
.hft__ic { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); display: grid; place-items: center; }
.hft__ic .ic { width: 18px; height: 18px; }
.hft__info span:last-child { display: flex; flex-direction: column; font-size: 15px; }
.hft__info b { color: #fff; font: 700 14px var(--f-h); }
.hft__info a:hover { color: var(--y); }
html[lang=ar] .hft__info a[dir=ltr] { text-align: end; }
.hft__logo { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hft__logo img { width: min(300px, 100%); height: auto; }
.hft__logo .soc { justify-content: center; }
.hft__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font: 600 14px var(--f-h); }
.hft__nav a:hover { color: var(--y); }
.hft .ft__bar { justify-content: center; text-align: center; border-top-color: rgba(255, 255, 255, .14); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .lf--row .lf__grid { grid-template-columns: 1fr 1fr; }
  .hft__top { grid-template-columns: 1fr 1fr; }
  .hft__logo { grid-column: 1 / -1; order: -1; }
  .pr--pl2 { right: -40px; }
}
@media (max-width: 900px) {
  .hsplit, .hsplit--rev, .hplat__in, .hbig__in { grid-template-columns: 1fr; }
  .hsplit--rev .pcard { order: -1; }
  .pcard { max-width: 520px; margin-inline: auto; width: 100%; }
  .phones { height: 520px; max-width: 420px; margin-inline: auto; width: 100%; }
  .hplat__art { max-width: 380px; }
  .pr--tgt, .pr--paper { display: none; }
  .pr--ph3 { display: none; }
}
@media (max-width: 640px) {
  .hx__in { padding: 172px 0 50px; min-height: 0; }
  .hx h1 { font-size: 40px; } html[lang=ar] .hx h1 { font-size: 36px; }
  .hx__lead { font-size: 17px; }
  .hx__btns { width: 100%; } .hx__btns .btn { flex: 1; justify-content: center; }
  .pr--imac { width: 300px; margin-left: -150px; }
  .pr--kb { width: 150px; margin-left: -75px; top: calc(var(--hd) + 300px * .245 + 22px); }
  .pr--pl1 { width: 130px; left: -50px; top: 90px; }
  .pr--pl2 { width: 120px; right: -50px; top: 120px; }
  .pr--cam { width: 130px; left: -30px; bottom: 10px; }
  .pr--clap { width: 110px; left: auto; right: -20px; bottom: -20px; }
  .hchecks { grid-template-columns: 1fr; }
  .trailer { width: 116px; height: 116px; } .trailer__play { width: 52px; height: 52px; }
  .bub { width: 56px; height: 56px; border-radius: 17px; } .bub .ic { width: 28px; height: 28px; }
  .bub--yt, .bub--fb { display: none; }
  .bub--ig { inset-inline-start: -2%; } .bub--sc { inset-inline-end: -2%; } .bub--tt { inset-inline-start: 0; } .bub--li { inset-inline-end: 0; }
  .phone { width: 200px; inset-inline-start: 38%; } .phones { height: 450px; }
  .phone--back { inset-inline-start: 0; }
  .lf--row .lf__grid { grid-template-columns: 1fr; }
  .book__logo { width: 190px; }
  .hft__top { grid-template-columns: 1fr; }
  .pr--ph1 { width: 150px; inset-inline-end: -60px; top: auto; bottom: 10px; }
  .pr--ph2 { display: none; }
  .pr--bk1, .pr--bk2 { width: 120px; }
  .pr--bg1, .pr--bg2 { width: 130px; }
}
.hsplit__txt .tt, .hbig__txt .tt { font-size: clamp(30px, 3.3vw, 46px); }
/* hero spacing fix (kicker vs keyboard, camera vs text) */
.hbig__giant { color: rgba(17, 65, 81, .085); }
.trailer__txt text { direction: ltr; unicode-bidi: plaintext; }
@media (min-width: 641px) {
  .hx__in { justify-content: flex-start; padding-top: clamp(236px, 27vh, 256px); }
  .pr--kb { width: min(200px, 18vw); margin-left: calc(min(200px, 18vw) / -2); top: calc(var(--hd) + min(520px, 46vw) * .231 + 14px); }
  .pr--cam { width: 210px; left: 1%; bottom: 10px; }
  .pr--clap { left: 22%; }
}
@media (max-width: 640px) { .trailer { top: -6%; inset-inline-end: -2%; } }

/* =====================================================================
   ENERGY PASS (2026-12-02, user: "not energetic") — bold hero, moving tapes,
   colour blocks, stronger motion. Overrides everything above.
   ===================================================================== */
/* hero */
.hx--e { background: radial-gradient(700px 520px at 78% 55%, #fff 0%, transparent 70%), var(--bg); }
.hx__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: center;
  min-height: min(880px, calc(100svh - var(--hd))); padding: 40px 0 90px; }
.hx--e h1 { font-size: clamp(44px, 5.7vw, 86px); text-align: start; max-width: none; margin-bottom: 18px; }
html[lang=ar] .hx--e h1 { font-size: clamp(40px, 5.2vw, 76px); }
.hx--e h1 .ln span { position: relative; }
.hx--e h1 .ln:nth-child(2) { padding-bottom: .2em; margin-bottom: -.12em; }
.swoosh { position: absolute; inset-inline-start: 0; bottom: -.14em; width: 100%; height: .26em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--navy); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1s 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hx--e .hx__k { margin-bottom: 22px; }
.hx__rot { display: flex; align-items: center; flex-wrap: wrap; gap: .45em; font: 800 clamp(19px, 1.9vw, 27px)/1.2 var(--f-h); color: var(--navy); margin: 6px 0 20px; animation: fade 1s .5s var(--ease) both; }
.rot { display: inline-grid; background: var(--navy); color: var(--y); padding: .22em .6em; border-radius: 14px; overflow: hidden; transform: rotate(-1.5deg); box-shadow: 0 14px 26px -14px rgba(17, 65, 81, .8); }
.rot b { grid-area: 1 / 1; white-space: nowrap; transform: translateY(115%); opacity: 0; transition: transform .55s var(--ease), opacity .4s; }
.rot b.on { transform: none; opacity: 1; }
.rot b.out { transform: translateY(-115%); opacity: 0; }
.hx--e .hx__lead { max-width: 32em; text-align: start; }
.hx--e .hx__btns { justify-content: flex-start; }
.hx__art { position: relative; height: min(640px, 72vh); min-height: 460px; display: grid; place-items: end center; }
.hx__burst { position: absolute; width: 150%; aspect-ratio: 1; left: 50%; top: 52%; translate: -50% -50%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(251, 198, 24, .22) 0 7deg, transparent 7deg 15deg); animation: spin 70s linear infinite;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); }
.hx--e .hx__ring { position: absolute; width: min(500px, 88%); aspect-ratio: 1; border-radius: 50%; border: clamp(40px, 4.6vw, 62px) solid var(--y);
  left: 50%; bottom: 8%; translate: -50% 0; animation: popS 1s .2s var(--ease) both; box-shadow: 0 30px 80px -30px rgba(242, 184, 7, .8); }
.hx__dash { position: absolute; width: min(600px, 106%); aspect-ratio: 1; border-radius: 50%; border: 3px dashed rgba(17, 65, 81, .35);
  left: 50%; bottom: 0; translate: -50% 0; animation: spin 30s linear infinite; }
.hx__person { position: relative; width: min(440px, 84%); height: auto; animation: up 1.1s .35s var(--ease) both; filter: drop-shadow(0 30px 40px rgba(10, 42, 53, .3));
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, #000 84%, transparent 100%); }
.hx--e .chip { z-index: 3; }
.hx--e .chip--a { inset-inline-start: -2%; top: 22%; }
.hx--e .chip--b { inset-inline-end: -4%; top: 46%; }
.chip--d { inset-inline-start: 4%; bottom: 12%; animation-delay: -3s, 1.15s; }
@keyframes popS { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
/* hero props: placed at the edges, they wobble */
.hx--e .pr { animation: wob 7s ease-in-out infinite; }
.hx--e .pr:nth-child(2n) { animation-duration: 9s; animation-direction: reverse; }
@keyframes wob { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
.hx--e .pr--imac { width: 290px; margin: 0; left: auto; top: auto; inset-inline-start: 6%; bottom: -46px; transform: rotate(-9deg); }
.hx--e .pr--kb { width: 170px; margin: 0; left: auto; inset-inline-start: -50px; top: 120px; transform: rotate(-20deg); }
.hx--e .pr--pl1 { width: 210px; left: auto; inset-inline-start: -120px; top: 38%; }
.hx--e .pr--pl2 { width: 190px; right: auto; inset-inline-end: -60px; top: 110px; }
.hx--e .pr--cam { width: 220px; left: auto; inset-inline-start: 40%; bottom: -30px; transform: rotate(-24deg); }
.hx--e .pr--clap { width: 170px; left: auto; inset-inline-end: 3%; bottom: 40px; transform: rotate(16deg); }
.hx--e .pr--tgt { width: 76px; right: auto; inset-inline-end: 30%; top: 130px; }

/* crossed moving tapes */
.tapes { position: relative; z-index: 5; height: 150px; margin: -70px 0 -50px; overflow: hidden; pointer-events: none; }
.tape { position: absolute; left: -6%; right: -6%; top: 50%; padding: 15px 0; overflow: hidden; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .45); }
.tape--y { background: var(--y); transform: translateY(-50%) rotate(-3deg); }
.tape--n { background: var(--navy); transform: translateY(-50%) rotate(2.4deg); }
.tape .tick { animation-duration: 32s; }
.tape--n .tick { animation-direction: reverse; animation-duration: 38s; }
.tape .tick span { font: 900 21px/1 var(--f-h); letter-spacing: .03em; text-transform: uppercase; }
html[lang=ar] .tape .tick span { font-size: 22px; letter-spacing: 0; }
.tape--y .tick span, .tape--y .tick i { color: var(--navy); }
.tape--n .tick span { color: #fff; } .tape--n .tick i { color: var(--y); }
.tape .tick i { font-size: 18px; margin: 0 18px; }
.tapes--alt { margin: -60px 0 -60px; }
.tapes--alt .tape--y { background: #fff; }
.trust { padding-top: 70px; }

/* yellow sticker for the second title line on coloured blocks */
.hplat .tt__y, .hproc .tt__y, .book .tt__y { display: inline-block; background: var(--navy); color: var(--y); padding: .02em .28em .08em; border-radius: 14px; transform: rotate(-1.5deg); margin-top: .1em; }
.book .tt__y { background: var(--y); color: var(--navy); }

/* platforms = yellow block */
.hplat { background: var(--y); overflow: hidden; }
.hplat .tt { color: var(--navy); }
.hplat__txt p { color: var(--navy); opacity: .8; }
.hplat__orbit { position: absolute; inset: 2% -4% -4%; border-radius: 50%; border: 3px dashed rgba(17, 65, 81, .35); animation: spin 36s linear infinite; }
.hplat .pcard__bg { background: linear-gradient(160deg, var(--navy), #082430 85%); }
.bub { animation: floatB 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
@keyframes floatB { 0%, 100% { translate: 0 0; rotate: -7deg; } 50% { translate: 0 -18px; rotate: 7deg; } }

/* process = navy block with white cards */
.hproc { background: var(--deep); color: #fff; }
.hproc .kicker { color: #fff; }
.hproc .tt { color: #fff; }
.hproc .tt__y { background: var(--y); color: var(--navy); }
.hproc .step { background: #fff; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.hproc .step:hover { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6); }
.hproc .step::after { background: var(--y); }

/* moving project-photo strip */
.strip { display: flex; overflow: hidden; direction: ltr; margin: 70px -3% 0; transform: rotate(-2deg); }
.strip__track { display: flex; gap: 16px; padding-inline-end: 16px; flex: none; animation: marqT 55s linear infinite; }
.strip img { height: 190px; width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; flex: none; }
.strip:hover .strip__track { animation-play-state: paused; }

/* stronger reveals: rise + de-blur; two-tone titles slide in from both sides */
.reveal { transform: translateY(60px) scale(.97); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { filter: none; }
.reveal .tt > span { opacity: 0; transform: translateX(-50px); transition: opacity .8s .15s var(--ease), transform .9s .15s var(--ease); }
.reveal .tt > .tt__y { transform: translateX(50px) rotate(0); transition-delay: .32s; }
.reveal.is-in .tt > span { opacity: 1; transform: none; }
.reveal.is-in .tt > .tt__y { transform: rotate(-1.5deg); }
.hsplit .reveal.is-in .tt > .tt__y, .hsvc .reveal.is-in .tt > .tt__y, .sec--navy .reveal.is-in .tt > .tt__y, .hbig .reveal.is-in .tt > .tt__y { transform: none; }

/* presenter cards & carousel: livelier */
.pcard__p { transition: transform .6s var(--ease); }
.pcard:hover .pcard__p { transform: translateY(-8px) scale(1.03); }
.cf__item.is-on a { box-shadow: 0 40px 60px -30px rgba(10, 42, 53, .65); }
.cf__item.is-on .svc__ic { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { scale: 1; } 50% { scale: 1.12; } }

/* yellow buttons: shine sweep · WhatsApp: pulse ring */
.btn--y { position: relative; overflow: hidden; isolation: isolate; }
.btn--y::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); translate: -130% 0; animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 55% { translate: -130% 0; } 100% { translate: 130% 0; } }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 3px solid #25D366; animation: ping 2s ease-out infinite; }
@keyframes ping { from { scale: 1; opacity: .8; } to { scale: 1.7; opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .reveal { filter: none; } .reveal .tt > span { opacity: 1; transform: none; } .swoosh path { stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .hx__grid { grid-template-columns: 1fr; padding: 30px 0 80px; min-height: 0; gap: 10px; }
  .hx__art { height: 430px; min-height: 0; }
  .hx--e .pr--imac { inset-inline-start: auto; inset-inline-end: -60px; top: 60px; width: 220px; }
  .hx--e .pr--cam { inset-inline-start: -40px; bottom: 0; width: 150px; }
  .hx--e .pr--clap, .hx--e .pr--kb, .hx--e .pr--tgt { display: none; }
}
@media (max-width: 640px) {
  .hx--e h1 { font-size: 42px; } html[lang=ar] .hx--e h1 { font-size: 38px; }
  .hx__art { height: 380px; }
  .hx--e .hx__ring { width: 300px; border-width: 40px; }
  .hx__dash { width: 360px; }
  .hx--e .chip--a { inset-inline-start: 0; top: 14%; } .hx--e .chip--b { inset-inline-end: 0; top: 44%; }
  .hx--e .chip--c { display: none; } .chip--d { display: none; }
  .hx--e .pr--pl1 { width: 120px; inset-inline-start: -50px; bottom: auto; top: 380px; }
  .hx--e .pr--pl2 { width: 110px; inset-inline-end: -45px; top: 90px; }
  .hx--e .pr--imac { width: 170px; inset-inline-end: -70px; top: 220px; }
  .hx--e .pr--cam { display: none; }
  .tapes { height: 120px; margin: -55px 0 -40px; }
  .tape { padding: 11px 0; } .tape .tick span { font-size: 16px; }
  .strip img { height: 130px; }
  .hplat__orbit { inset: 6% -2% 0; }
}
/* energy hero tuning */
.hx--e h1 { font-size: clamp(42px, 4.3vw, 66px); }
html[lang=ar] .hx--e h1 { font-size: clamp(38px, 4.1vw, 62px); }
@media (min-width: 901px) {
  .hx--e .pr--kb { display: none; }
  .hx--e .pr--cam { width: 190px; inset-inline-start: 47%; bottom: -70px; }
}
.hx--e h1 .mark { font-style: normal; background: linear-gradient(var(--navy), var(--navy)) no-repeat 0 94% / 0% .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: mark .9s 1.1s var(--ease) forwards; }
[dir=rtl] .hx--e h1 .mark { background-position: 100% 94%; }
@keyframes mark { to { background-size: 100% .1em; } }
@media (prefers-reduced-motion: reduce) { .hx--e h1 .mark { background-size: 100% .1em; } }
.sec--navy { overflow: hidden; }
@media (max-width: 640px) {
  .hx--e .hx__btns { flex-direction: column; }
  .hx--e .hx__btns .btn { width: 100%; justify-content: center; }
  .hx--e .pr--imac, .hx--e .pr--pl1 { display: none; }
  .hx--e .pr--pl2 { top: 70px; }
  .hx__rot { font-size: 19px; }
}
main { overflow-x: clip; } /* slide-in titles + tilted strips never widen the page (RTL) */
@media (max-width: 640px) { .hx--e .pr--pl2 { top: 190px; width: 100px; inset-inline-end: -52px; } }
.tapes, .tape { direction: ltr; }
.tape .tick span { white-space: nowrap; }
@media (max-width: 640px) { html .tape .tick span, html[lang=ar] .tape .tick span { font-size: 15px; line-height: 1.2; } .tape .tick i { margin: 0 12px; font-size: 13px; } }
