/*
Theme Name: Upscale Main Theme
Theme URI: https://upscale-digital.com
Description: The official standalone theme for Upscale Digital — built by Torch99. No Elementor, no parent theme. Owns ONE global header/footer site-wide and renders every surface with hand-coded, Elementor-free templates: a fully coded, conversion-structured homepage (front-page.php, original SVG hero visual), the /services/ hub and 13 single-service pages with full long-form copy, the /blog/ index with topic filtering, single posts, a coded bilingual contact page, and a global page template for everything else. Bilingual EN/AR with RTL. Purple-on-dark brand system, JSON-LD (Organization/Service/FAQ/Article) for SEO + AI search. Header element IDs are namespaced (t99-) so no legacy/embedded CSS can collide.
Author: Torch99
Author URI: https://torch99.com
Version: 1.6.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary — © Upscale Digital
Text Domain: upscale-main
*/

/* ============ DESIGN TOKENS ============ */
:root{--purple:#9E60F3;--purple-d:#7c3fd4;--purple-soft:#f1e9fe;
  --ink:#0d0d12;--ink2:#17171f;--ink3:#2a2a36;
  --paper:#fff;--mist:#f6f5f9;--line:#e8e7ee;
  --text:#2a2a33;--muted:#74747f;--gold:#ffb020;--green:#1bc070;
  --container:1180px;--article:720px}

/* ============ BASE (scoped to the blog body) ============ */
body.t99-blog{font-family:'Plus Jakarta Sans',system-ui,sans-serif;color:var(--text);
  background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased;margin:0;padding:0}
body.t99-blog *{box-sizing:border-box}
body.t99-blog a{color:inherit;text-decoration:none}
body.t99-blog img{max-width:100%;display:block}
.t99-blog .wrap{max-width:var(--container);margin:0 auto;padding:0 24px}
.t99-blog .article-wrap{max-width:var(--article);margin:0 auto;padding:0 24px}
.t99-blog section{position:relative}
.t99-blog .eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:2.5px;
  text-transform:uppercase;color:var(--purple)}
.t99-blog .eyebrow.on-dark{color:#c79bff}
.t99-blog h1,.t99-blog h2,.t99-blog h3,.t99-blog h4{font-weight:800;line-height:1.2;
  letter-spacing:-.02em;color:var(--ink)}
.t99-blog .btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:16px;
  padding:16px 30px;border-radius:12px;border:0;cursor:pointer;font-family:inherit;
  text-decoration:none;line-height:1;position:relative;
  transition:transform .35s cubic-bezier(.4,0,.2,1),box-shadow .35s cubic-bezier(.4,0,.2,1),
             background-position .55s cubic-bezier(.4,0,.2,1)}
.t99-blog .btn-primary,.t99-blog a.btn-primary{
  background:linear-gradient(120deg,var(--purple) 0%,#b87dff 50%,var(--purple-d) 100%);
  background-size:200% 200%;background-position:0% 0%;
  color:#fff !important;box-shadow:0 10px 28px -8px rgba(158,96,243,.6);
  animation:btnPulse 2.6s ease-in-out infinite}
.t99-blog .btn-primary:hover{background-position:100% 100%;transform:translateY(-3px);
  box-shadow:0 22px 48px -12px rgba(158,96,243,.92);animation:none;color:#fff !important}
@keyframes btnPulse{0%,100%{box-shadow:0 10px 28px -8px rgba(158,96,243,.55)}
  50%{box-shadow:0 16px 38px -10px rgba(158,96,243,.88)}}

/* ============ HEADER ============ */
/* v7+: the header/footer are owned entirely by the .t99-chrome rules further
   down (so they apply site-wide, including Elementor pages). The old
   .t99-blog #t99-hdr rules were removed in v9 because their id-specificity
   (#t99-hdr nav a) overrode the mega-popup link colours and made the dropdown
   text invisible over a transparent header. */

/* ============ READING PROGRESS ============ */
.t99-blog .progress{position:fixed;top:0;left:0;height:3px;background:var(--purple);
  width:0;z-index:60;transition:width .15s ease-out}

/* ============ HERO ============ */
.t99-blog .post-hero{background:var(--ink);color:#fff;padding:130px 0 60px;overflow:hidden}
/* v5 hardening: keep the hero dark + text legible even if the .t99-blog body class
   is ever absent (e.g. a template/cache edge case) so the Insights header never
   renders white-on-white again. */
.post-hero{background:var(--ink);color:#fff;position:relative}
.post-hero h1,.post-hero .eyebrow.on-dark{color:#fff}
.t99-blog .post-hero::before{content:"";position:absolute;top:-180px;right:-120px;width:520px;
  height:520px;border-radius:50%;background:radial-gradient(circle,rgba(158,96,243,.32),transparent 62%)}
.t99-blog .post-hero .article-wrap{position:relative;z-index:2}
.t99-blog .crumb{display:flex;gap:10px;font-size:13px;color:rgba(255,255,255,.5);
  margin-bottom:24px;flex-wrap:wrap}
.t99-blog .crumb a{color:rgba(255,255,255,.7)}.t99-blog .crumb a:hover{color:#fff}
.t99-blog .crumb .sep{opacity:.4}
.t99-blog .post-tag{display:inline-block;font-size:11.5px;font-weight:800;letter-spacing:1.5px;
  text-transform:uppercase;color:#c79bff;background:rgba(158,96,243,.18);
  padding:6px 12px;border-radius:30px;margin-bottom:18px}
.t99-blog .post-hero h1{color:#fff;font-size:clamp(32px,4vw,48px);margin-bottom:22px;line-height:1.15}
.t99-blog .post-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  font-size:14px;color:rgba(255,255,255,.7)}
.t99-blog .post-meta .av{width:44px;height:44px;border-radius:50%;background:var(--purple-soft);
  display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--purple-d);font-size:15px}
.t99-blog .post-meta b{color:#fff;font-weight:700}
.t99-blog .post-meta .sep-d{width:1px;height:24px;background:rgba(255,255,255,.16)}
.t99-blog .share{display:flex;gap:8px;margin-left:auto}
.t99-blog .share a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;transition:.2s}
.t99-blog .share a:hover{background:rgba(158,96,243,.3)}
.t99-blog .share svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2}

/* ============ FEATURED IMAGE ============ */
.t99-blog .featured{margin-top:-30px;padding-bottom:60px}
.t99-blog .featured-img{max-width:980px;margin:0 auto;border-radius:24px;overflow:hidden;
  aspect-ratio:16/9;background:linear-gradient(135deg,#1a1424,#0d0d12);position:relative;
  box-shadow:0 50px 100px -40px rgba(13,13,18,.6);display:flex;align-items:center;justify-content:center}
.t99-blog .featured-img img{width:100%;height:100%;object-fit:cover}
.t99-blog .featured-img.ph::before{content:"";position:absolute;inset:-30%;
  background:radial-gradient(circle at 40% 40%,rgba(158,96,243,.4),transparent 55%)}
.t99-blog .featured-img.ph::after{content:attr(data-label);position:relative;font-weight:800;
  font-size:clamp(60px,10vw,140px);background:linear-gradient(120deg,#fff,#c79bff);
  -webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:-.04em;line-height:1}

/* ============ ARTICLE TYPOGRAPHY ============ */
.t99-blog .article{padding:20px 0 80px;font-family:'Source Serif 4',Georgia,serif;
  font-size:18.5px;line-height:1.72;color:#1a1a22}
.t99-blog .article > p,.t99-blog .article > h2,.t99-blog .article > h3,
.t99-blog .article > ul,.t99-blog .article > ol,.t99-blog .article > blockquote,
.t99-blog .article > figure,.t99-blog .article > table,.t99-blog .article > pre,
.t99-blog .article > .pull,.t99-blog .article > .callout,.t99-blog .article > .img-block,
.t99-blog .article > .table-block,.t99-blog .article > .inline-cta{margin-bottom:26px}
.t99-blog .article > h2{font-family:'Plus Jakarta Sans',sans-serif;
  font-size:clamp(24px,3vw,32px);margin-top:48px;margin-bottom:16px;color:var(--ink)}
.t99-blog .article > h3{font-family:'Plus Jakarta Sans',sans-serif;
  font-size:21px;margin-top:36px;margin-bottom:12px;color:var(--ink)}
.t99-blog .article h2 b,.t99-blog .article h3 b,.t99-blog .article h4 b{font-weight:inherit}
.t99-blog .article a{color:var(--purple-d);font-weight:600;
  border-bottom:1px solid rgba(158,96,243,.3);transition:.2s}
.t99-blog .article a:hover{border-bottom-color:var(--purple)}
.t99-blog .article strong{color:var(--ink);font-weight:700}
.t99-blog .article > p:first-of-type::first-letter{font-family:'Plus Jakarta Sans',sans-serif;
  float:left;font-size:74px;line-height:.85;font-weight:800;color:var(--purple-d);padding:6px 12px 0 0}
.t99-blog .article ul,.t99-blog .article ol{padding-left:28px}
.t99-blog .article li{margin-bottom:10px}
.t99-blog .article ul li::marker{color:var(--purple)}
.t99-blog .article ol li::marker{color:var(--purple);font-weight:800}
.t99-blog .article img{border-radius:16px;margin:8px auto}

/* PULL QUOTE — both .pull and raw <blockquote> */
.t99-blog .pull,.t99-blog .article > blockquote{font-family:'Plus Jakarta Sans',sans-serif;
  font-size:clamp(22px,2.4vw,28px);font-weight:700;line-height:1.32;color:var(--ink);
  border-left:4px solid var(--purple);padding:8px 0 8px 28px;letter-spacing:-.01em}
.t99-blog .pull cite{display:block;margin-top:12px;font-size:14px;font-weight:600;
  color:var(--muted);font-style:normal;letter-spacing:.4px}

/* CALLOUT BOX */
.t99-blog .callout{background:linear-gradient(135deg,var(--purple-soft),#fff);
  border:1px solid rgba(158,96,243,.3);border-radius:18px;padding:24px 28px;
  font-family:'Plus Jakarta Sans',sans-serif;font-size:15.5px;display:flex;gap:18px;align-items:flex-start}
.t99-blog .callout .ic{width:42px;height:42px;flex:none;border-radius:11px;background:var(--purple);
  display:flex;align-items:center;justify-content:center}
.t99-blog .callout .ic svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2.5}
.t99-blog .callout h4{font-size:16px;color:var(--ink);margin-bottom:6px;letter-spacing:0}
.t99-blog .callout p{color:#3a3a44;margin:0;line-height:1.6}
.t99-blog .callout.tip{background:linear-gradient(135deg,#e8fae6,#fff);border-color:rgba(27,192,112,.3)}
.t99-blog .callout.tip .ic{background:var(--green)}
.t99-blog .callout.warning{background:linear-gradient(135deg,#fff3e0,#fff);border-color:rgba(255,176,32,.4)}
.t99-blog .callout.warning .ic{background:var(--gold)}

/* IMAGE WITH CAPTION */
.t99-blog .img-block figure{margin:0;max-width:100%}
.t99-blog .img-block img,.t99-blog .img-block .img-ph{width:100%;border-radius:16px;aspect-ratio:16/9;
  object-fit:cover;background:linear-gradient(135deg,var(--purple-soft),#e6f0ff);
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:80px;
  color:rgba(158,96,243,.2);letter-spacing:-.04em}
.t99-blog .img-block figcaption,.t99-blog .article figcaption{font-family:'Plus Jakarta Sans',sans-serif;
  font-size:13.5px;color:var(--muted);text-align:center;margin-top:14px;line-height:1.5;font-style:normal}

/* COMPARISON TABLE — both .table-block and raw <table> */
.t99-blog .table-block,.t99-blog .article > table{font-family:'Plus Jakarta Sans',sans-serif;
  background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:block;overflow-x:auto}
.t99-blog .table-block table,.t99-blog .article > table{width:100%;border-collapse:collapse;font-size:14.5px}
.t99-blog .table-block th,.t99-blog .table-block td,
.t99-blog .article > table th,.t99-blog .article > table td{padding:14px 18px;text-align:left;
  border-bottom:1px solid var(--line)}
.t99-blog .table-block thead th,.t99-blog .article > table thead th{background:var(--ink);color:#fff;
  font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:1px}
.t99-blog .table-block tbody tr:nth-child(odd),
.t99-blog .article > table tbody tr:nth-child(odd){background:var(--mist)}
.t99-blog .table-cap{font-family:'Plus Jakarta Sans',sans-serif;font-size:13px;
  color:var(--muted);text-align:center;margin-top:10px}

/* INLINE CTA */
.t99-blog .inline-cta{font-family:'Plus Jakarta Sans',sans-serif;background:var(--ink);color:#fff;
  border-radius:18px;padding:32px;text-align:center;overflow:hidden;position:relative}
.t99-blog .inline-cta::before{content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 50% 120%,rgba(158,96,243,.4),transparent 60%)}
.t99-blog .inline-cta > *{position:relative;z-index:2}
.t99-blog .inline-cta h4{color:#fff;font-size:21px;margin-bottom:10px;letter-spacing:-.01em}
.t99-blog .inline-cta p{color:rgba(255,255,255,.72);font-size:14.5px;margin-bottom:22px;line-height:1.6}

/* CODE */
.t99-blog .code,.t99-blog .article pre{font-family:'JetBrains Mono','Courier New',monospace;
  background:var(--ink);color:#fff;padding:22px 24px;border-radius:14px;font-size:13.5px;
  line-height:1.6;overflow-x:auto}
.t99-blog .code .key{color:#c79bff}.t99-blog .code .str{color:#7ce39d}.t99-blog .code .com{color:#74747f}

/* AUTHOR BIO */
.t99-blog .author-bio{background:var(--mist);border-radius:20px;padding:36px;margin-top:40px;
  display:flex;gap:24px;align-items:flex-start}
.t99-blog .av-big{width:80px;height:80px;border-radius:50%;
  background:linear-gradient(135deg,var(--purple-soft),var(--purple));display:flex;align-items:center;
  justify-content:center;color:#fff;font-weight:800;font-size:28px;flex:none}
.t99-blog .author-bio h4{font-size:18px;margin-bottom:4px}
.t99-blog .author-bio .role{font-size:13px;color:var(--muted);font-weight:600;
  text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.t99-blog .author-bio p{font-size:14.5px;color:var(--muted)}
.t99-blog .author-bio .links{display:flex;gap:12px;margin-top:14px;font-size:13.5px;
  font-weight:700;color:var(--purple-d)}

/* TAGS */
.t99-blog .tags{margin-top:30px;display:flex;gap:8px;flex-wrap:wrap}
.t99-blog .tag-pill{font-size:12px;font-weight:700;letter-spacing:.5px;color:var(--muted);
  background:var(--mist);border:1px solid var(--line);padding:6px 12px;border-radius:30px;text-transform:uppercase}
.t99-blog .tag-pill:hover{color:var(--purple-d);border-color:var(--purple)}

/* RELATED */
.t99-blog .related{padding:80px 0;background:var(--mist)}
.t99-blog .related-head{margin-bottom:36px}
.t99-blog .related-head .eyebrow{margin-bottom:8px}
.t99-blog .related-head h2{font-size:clamp(24px,3vw,34px)}
.t99-blog .r-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.t99-blog .r-card{background:#fff;border-radius:16px;border:1px solid var(--line);overflow:hidden;
  transition:.25s;display:flex;flex-direction:column}
.t99-blog .r-card:hover{transform:translateY(-4px);box-shadow:0 28px 60px -34px rgba(13,13,18,.32)}
.t99-blog .r-art{aspect-ratio:16/10;background:linear-gradient(135deg,var(--purple-soft),#fff);
  display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.t99-blog .r-art img{width:100%;height:100%;object-fit:cover}
/* Branded placeholder when a post has no cover image yet: dark on-brand panel with a
   small wordmark + glow, instead of giant raw category text ("BLOGPO"). */
.t99-blog .r-art.ph{background:linear-gradient(135deg,#1a1424,#0d0d12)}
.t99-blog .r-art.ph::before{content:"";position:absolute;inset:-20%;
  background:radial-gradient(circle at 38% 36%,rgba(158,96,243,.42),transparent 56%)}
.t99-blog .r-art.ph::after{content:"Upscale";position:relative;font-weight:800;
  font-size:26px;letter-spacing:-.02em;background:linear-gradient(120deg,#fff,#c79bff);
  -webkit-background-clip:text;background-clip:text;color:transparent;opacity:.9}
.t99-blog .r-body{padding:22px;display:flex;flex-direction:column;flex:1}
.t99-blog .r-meta{font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;
  color:var(--purple);margin-bottom:8px}
.t99-blog .r-card h4{font-size:17px;margin-bottom:8px;line-height:1.3}
.t99-blog .r-card p{font-size:14px;color:var(--muted);flex:1}
.t99-blog .r-card .r-foot{font-size:12.5px;color:var(--muted);font-weight:600;
  margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}

/* PAGINATION (author archive) */
.t99-blog .pagination .nav-links{display:inline-flex;gap:8px;flex-wrap:wrap;justify-content:center}
.t99-blog .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;height:42px;padding:0 14px;border-radius:11px;border:1px solid var(--line);
  background:#fff;color:var(--ink);font-weight:700;font-size:14px;font-family:'Plus Jakarta Sans',sans-serif}
.t99-blog .pagination .page-numbers.current{background:var(--purple);color:#fff;border-color:var(--purple)}
.t99-blog .pagination a.page-numbers:hover{border-color:var(--purple);color:var(--purple-d)}

/* NEWSLETTER */
.t99-blog .news{padding:80px 0;background:var(--ink);color:#fff;text-align:center;overflow:hidden}
.t99-blog .news::before{content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 50% 120%,rgba(158,96,243,.42),transparent 60%)}
.t99-blog .news .wrap{position:relative;z-index:2}
.t99-blog .news h2{color:#fff;font-size:clamp(28px,3.4vw,40px);margin:14px auto 14px;max-width:620px}
.t99-blog .news p{color:rgba(255,255,255,.7);max-width:520px;margin:0 auto 26px}
.t99-blog .news-form{display:flex;gap:10px;max-width:480px;margin:0 auto}
.t99-blog .news-form input{flex:1;padding:16px 18px;border-radius:12px;
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;
  font-family:inherit;font-size:15px;outline:0}
.t99-blog .news-form input::placeholder{color:rgba(255,255,255,.4)}

/* FOOTER */
.t99-blog footer.t99-footer{background:#08080b;color:rgba(255,255,255,.6);padding:64px 0 30px}
.t99-blog .foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;
  padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.08)}
.t99-blog footer.t99-footer .logo{margin-bottom:14px}
.t99-blog footer.t99-footer h4{color:#fff;font-size:14px;margin-bottom:16px;letter-spacing:.5px}
.t99-blog footer.t99-footer ul{list-style:none;display:flex;flex-direction:column;gap:10px;
  font-size:14px;padding:0;margin:0}
.t99-blog footer.t99-footer a:hover{color:var(--purple)}
.t99-blog .foot-bottom{display:flex;justify-content:space-between;padding-top:24px;
  font-size:13px;flex-wrap:wrap;gap:10px}
.t99-blog .foot-desc{font-size:14px;max-width:280px;margin-bottom:8px}

@media(max-width:880px){
  .t99-blog .post-hero{padding:110px 0 50px}
  .t99-blog .article{font-size:17.5px}
  .t99-blog .r-grid{grid-template-columns:1fr}
  .t99-blog .news-form{flex-direction:column}
  .t99-blog .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
  .t99-blog .author-bio{flex-direction:column;align-items:center;text-align:center}
}

/* =================================================================== */
/* v7 — GLOBAL CHROME + SERVICES                                       */
/* Scoped to .t99-chrome so the header/footer also work on Elementor   */
/* pages (which don't carry .t99-blog). Service/hub CSS uses .t99-svc.  */
/* =================================================================== */

.t99-chrome #t99-hdr, .t99-chrome #t99-hdr *, .t99-chrome .t99-footer, .t99-chrome .t99-footer *,
.t99-chrome .dd, .t99-chrome .dd *{box-sizing:border-box}
.t99-chrome #t99-hdr, .t99-chrome .t99-footer{font-family:'Plus Jakarta Sans',system-ui,sans-serif}
.t99-chrome #t99-hdr a, .t99-chrome .t99-footer a{text-decoration:none}
.t99-chrome .wrap{max-width:var(--container);margin:0 auto;padding:0 24px}

/* Primitives (so chrome works without .t99-blog) */
.t99-chrome .eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:2.5px;
  text-transform:uppercase;color:var(--purple)}
.t99-chrome .eyebrow.on-dark{color:#c79bff}
.t99-chrome .btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:15px;
  padding:14px 26px;border-radius:12px;border:0;cursor:pointer;font-family:inherit;line-height:1;
  text-decoration:none;transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s,background-position .5s}
.t99-chrome .btn-primary,.t99-chrome a.btn-primary{
  background:linear-gradient(120deg,var(--purple) 0%,#b87dff 50%,var(--purple-d) 100%);
  background-size:200% 200%;color:#fff !important;box-shadow:0 10px 28px -10px rgba(158,96,243,.6)}
.t99-chrome .btn-primary:hover{background-position:100% 100%;transform:translateY(-2px);
  box-shadow:0 20px 44px -14px rgba(158,96,243,.9)}
.t99-chrome .btn-ghost{background:transparent;border:1px solid rgba(255,255,255,.28);color:#fff}
.t99-chrome .btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.t99-svc .btn-ghost{border-color:var(--line);color:var(--ink)}
.t99-svc .btn-ghost:hover{border-color:var(--purple);color:var(--purple-d);background:var(--purple-soft)}

/* ---- HEADER (solid by default; transparent only over a dark hero) ---- */
.t99-chrome #t99-hdr{position:fixed;top:0;left:0;right:0;z-index:50;transition:.3s;
  background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);box-shadow:0 1px 0 rgba(231,230,238,.7)}
.t99-chrome #t99-hdr .bar{display:flex;align-items:center;gap:28px;padding:12px 0;transition:padding .3s}
.t99-chrome #t99-hdr.scrolled .bar{padding:7px 0}
.t99-chrome.has-hero #t99-hdr{background:transparent;box-shadow:none;backdrop-filter:none}
.t99-chrome.has-hero #t99-hdr.scrolled{background:rgba(255,255,255,.92);box-shadow:0 1px 0 rgba(231,230,238,.7);
  -webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}
/* push Elementor page content below the fixed solid header */
.t99-chrome:not(.has-hero) #content{padding-top:70px}

/* Defensive: hide Elementor Theme-Builder header/footer LOCATION templates (we
   don't use them) and any LEGACY chrome baked into page content by earlier
   rebuilds (header#hdr / footer.t99-foot). the_content() strips these too — this
   is a CSS backstop so a second header/footer can never flash in. Scoped to
   #content / .t99-page so it never touches the real global chrome (#t99-hdr). */
.elementor-location-header,.elementor-location-footer{display:none !important}
#content header#hdr,#content footer.t99-foot,
.t99-page header#hdr,.t99-page footer.t99-foot,
.t99-page #hdr,.t99-page .t99-foot,
#content [data-elementor-type="header"],#content [data-elementor-type="footer"],
.t99-page [data-elementor-type="header"],.t99-page [data-elementor-type="footer"]{display:none !important}
/* Re-assert the real global chrome against any leftover legacy hide-rule. */
html body > #t99-hdr{display:block !important}
html body > footer.t99-footer{display:block !important}
/* Legacy pages (e.g. about-us) bake in old CSS reusing our class names
   (.foot-grid/.foot-desc/.bar) — incl. a `.foot-grid>div{opacity:0}` reveal that
   never fires on our footer, hiding it. Force our chrome visible regardless. */
.t99-chrome footer.t99-footer .foot-grid{display:grid !important;opacity:1 !important;transform:none !important;visibility:visible !important}
.t99-chrome footer.t99-footer .foot-grid>div,
.t99-chrome footer.t99-footer .foot-bottom,
.t99-chrome footer.t99-footer .foot-desc{opacity:1 !important;transform:none !important;visibility:visible !important}
.t99-chrome #t99-hdr .bar{opacity:1 !important;transform:none !important;visibility:visible !important}

/* logo — real brand image (replaces the text wordmark) */
.t99-chrome .logo{display:inline-flex;align-items:center;margin-right:auto;line-height:0;flex:none}
.t99-chrome .logo img{height:42px;width:auto;display:block;filter:invert(1);transition:filter .3s,height .3s}
.t99-chrome #t99-hdr.scrolled .logo img{height:34px}
/* whiten the logo while the header is transparent over a dark hero */
.t99-chrome.has-hero #t99-hdr:not(.scrolled) .logo img{filter:brightness(0) invert(1)}

/* nav */
.t99-chrome #t99-hdr nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:600;margin-left:auto}
.t99-chrome .nav-top{color:var(--text);transition:color .2s;position:relative}
.t99-chrome .nav-top:hover,.t99-chrome .nav-top.is-active{color:var(--purple-d)}
.t99-chrome.has-hero #t99-hdr:not(.scrolled) .nav-top{color:rgba(255,255,255,.82)}
.t99-chrome.has-hero #t99-hdr:not(.scrolled) .nav-top:hover{color:#fff}
.t99-chrome .nav-item{position:relative}
.t99-chrome .dd-trigger{display:inline-flex;align-items:center;gap:5px}
.t99-chrome .dd-caret{display:inline-flex;line-height:0}
.t99-chrome .dd-caret svg{width:14px;height:14px;transition:transform .25s}
.t99-chrome .has-dd:hover .dd-caret svg,.t99-chrome .has-dd:focus-within .dd-caret svg{transform:rotate(180deg)}
.t99-chrome .header-cta{padding:10px 18px;font-size:13.5px}
.t99-chrome .nav-cta-mobile{display:none}

/* ---- LANGUAGE SWITCH (WPML EN/AR) — segmented pill ---- */
.t99-chrome .lang-switch{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--line);
  border-radius:999px;padding:3px;background:var(--mist)}
.t99-chrome .lang-link{font-size:12px;font-weight:800;color:var(--muted);min-width:34px;text-align:center;
  padding:6px 11px;border-radius:999px;line-height:1;transition:background .25s,color .25s,box-shadow .25s}
.t99-chrome .lang-link.is-active{background:linear-gradient(120deg,var(--purple),var(--purple-d));color:#fff;
  box-shadow:0 6px 14px -6px rgba(124,63,212,.7)}
.t99-chrome .lang-link:not(.is-active):hover{color:var(--purple-d);background:rgba(158,96,243,.1)}
/* over a dark hero (transparent header) — frosted */
.t99-chrome.has-hero #t99-hdr:not(.scrolled) .lang-switch{border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.t99-chrome.has-hero #t99-hdr:not(.scrolled) .lang-link{color:rgba(255,255,255,.85)}
.t99-chrome.has-hero #t99-hdr:not(.scrolled) .lang-link.is-active{background:linear-gradient(120deg,var(--purple),var(--purple-d));color:#fff}
.t99-chrome.has-hero #t99-hdr:not(.scrolled) .lang-link:not(.is-active):hover{background:rgba(255,255,255,.16);color:#fff}

/* ---- SERVICES DROPDOWN (compact, anchored under "Services", pure CSS hover) ---- */
.t99-chrome .dd{position:absolute;top:calc(100% + 15px);left:50%;width:min(540px,calc(100vw - 32px));
  transform-origin:top center;transform:translateX(-50%) translateY(10px) scale(.97);opacity:0;visibility:hidden;pointer-events:none;
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;
  box-shadow:0 32px 70px -30px rgba(13,13,18,.42),0 4px 14px -8px rgba(13,13,18,.18);
  transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1),visibility .22s;z-index:55}
/* pointer triangle */
.t99-chrome .dd::after{content:"";position:absolute;top:-7px;left:50%;width:13px;height:13px;
  transform:translateX(-50%) rotate(45deg);background:#fff;border-left:1px solid var(--line);border-top:1px solid var(--line);border-radius:4px 0 0 0}
/* invisible hover-bridge so it doesn't close in the gap above the panel */
.t99-chrome .dd::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
.t99-chrome .has-dd:hover .dd,.t99-chrome .has-dd:focus-within .dd{opacity:1;visibility:visible;
  pointer-events:auto;transform:translateX(-50%) translateY(0) scale(1)}
.t99-chrome .dd-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}
.t99-chrome .dd-col{display:flex;flex-direction:column}
.t99-chrome .dd-h{font-size:10.5px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;
  color:var(--purple-d);margin:12px 9px 6px;display:flex;align-items:center;gap:8px}
.t99-chrome .dd-h::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgba(158,96,243,.28),transparent)}
.t99-chrome .dd-link{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:12px;
  color:var(--text);font-size:13.5px;font-weight:600;
  transition:background .2s,color .2s,transform .2s cubic-bezier(.2,.7,.3,1)}
.t99-chrome .dd-link:hover{background:linear-gradient(100deg,var(--purple-soft),rgba(241,233,254,.45));color:var(--purple-d);transform:translateX(3px)}
.t99-chrome .dd-ic{width:32px;height:32px;flex:0 0 32px;box-sizing:border-box;border-radius:9px;background:var(--mist);
  border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;color:var(--purple-d);
  transition:background .2s,border-color .2s,color .2s,transform .2s}
.t99-chrome .dd-link:hover .dd-ic{background:linear-gradient(135deg,var(--purple),var(--purple-d));border-color:transparent;color:#fff;transform:scale(1.08)}
.t99-chrome .dd-ic svg{width:16px;height:16px;flex:none;display:block}
/* footer row in the dropdown */
.t99-chrome .dd-foot{margin-top:14px;padding-top:13px;border-top:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:12px}
.t99-chrome .dd-foot span{font-size:12.5px;color:var(--muted)}
.t99-chrome .dd-all{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#fff;
  padding:8px 14px;border-radius:10px;background:linear-gradient(120deg,var(--purple),var(--purple-d));
  box-shadow:0 8px 20px -10px rgba(124,63,212,.7);transition:transform .2s,box-shadow .2s,gap .2s}
.t99-chrome .dd-all:hover{transform:translateY(-1px);box-shadow:0 14px 28px -12px rgba(124,63,212,.9);gap:9px;color:#fff}
.t99-chrome .dd-all svg{width:14px;height:14px}

/* mobile nav toggle */
.t99-chrome .nav-toggle{display:none;flex-direction:column;gap:5px;background:0;border:0;cursor:pointer;
  padding:8px;margin-left:auto}
.t99-chrome .nav-toggle span{width:24px;height:2px;background:var(--ink);border-radius:2px;transition:.25s}
.t99-chrome.has-hero #t99-hdr:not(.scrolled) .nav-toggle span{background:#fff}
.t99-chrome.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.t99-chrome.nav-open .nav-toggle span:nth-child(2){opacity:0}
.t99-chrome.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---- FOOTER (chrome scope so it works on Elementor pages) ---- */
.t99-chrome footer.t99-footer{background:#08080b;color:rgba(255,255,255,.6);padding:64px 0 30px}
.t99-chrome .foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;
  padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.08)}
.t99-chrome footer.t99-footer .logo{display:inline-block;margin-bottom:14px;line-height:0}
.t99-chrome footer.t99-footer .logo img{height:36px;width:auto;display:block;filter:brightness(0) invert(1)}
.t99-chrome .foot-social{display:flex;gap:9px;margin-top:18px}
.t99-chrome .foot-social a{width:32px;height:32px;flex:0 0 32px;box-sizing:border-box;border-radius:9px;
  display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.7);
  transition:background .2s,color .2s,transform .2s,border-color .2s,box-shadow .2s}
.t99-chrome .foot-social a:hover{background:#fff;border-color:#fff;color:var(--purple-d);transform:translateY(-3px);
  box-shadow:0 10px 22px -10px rgba(255,255,255,.4)}
.t99-chrome .foot-social svg{width:15px;height:15px;flex:none;display:block}

/* ---- STICKY SOCIAL RAIL (auto dynamic-contrast vs the section behind it) ---- */
.social-rail{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:40;
  display:flex;flex-direction:column;align-items:center;gap:14px;color:#fff;transition:color .35s ease}
.social-rail.on-light{color:#14141c}
.social-rail .social-rail-line{width:1px;height:46px;background:currentColor;opacity:.3}
.social-rail a{color:currentColor;opacity:.72;line-height:0;transition:opacity .2s,transform .2s,color .2s}
.social-rail a:hover{opacity:1;transform:scale(1.2);color:var(--purple)}
.social-rail svg{width:17px;height:17px;display:block}
.t99-ar .social-rail{right:auto;left:16px}
@media(max-width:1180px){.social-rail{display:none}}
.t99-chrome footer.t99-footer h4{color:#fff;font-size:14px;margin-bottom:16px;letter-spacing:.5px;font-weight:800}
.t99-chrome footer.t99-footer ul{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14px;padding:0;margin:0}
.t99-chrome footer.t99-footer a{color:rgba(255,255,255,.6)}
.t99-chrome footer.t99-footer a:hover{color:var(--purple)}
.t99-chrome .foot-bottom{display:flex;justify-content:space-between;padding-top:24px;font-size:13px;flex-wrap:wrap;gap:10px}
.t99-chrome .foot-desc{font-size:14px;max-width:280px;margin-bottom:8px}

/* ---- SCROLL REVEAL ---- */
/* Gated on html.js, like the stat numbers: content is only parked at opacity 0
   when JS is actually running to reveal it again. LiteSpeed rewrites the theme
   script to type="litespeed/javascript" (JS Delay), which left all 30 blocks
   below the hero permanently invisible when the observer never armed. */
html.js [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.3,1);transition-delay:var(--d,0ms)}
html.js [data-reveal].in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){html.js [data-reveal]{opacity:1;transform:none;transition:none}}
/* Defensive: an inline icon must never be able to blow out the layout, even
   if a scoped sizing rule is ever missed. */
.t99-chrome svg,.t99-home svg,.t99-svc svg,.t99-blog svg{max-width:100%}

/* =================== SERVICES — SHARED =================== */
.t99-svc .svc-sec-head{max-width:680px;margin:0 auto 40px;text-align:center}
.t99-svc .svc-sec-head .eyebrow{margin-bottom:10px}
.t99-svc .svc-sec-head h2{font-size:clamp(26px,3.2vw,38px);color:var(--ink);letter-spacing:-.02em}
.t99-svc .svc-ic{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;
  border-radius:14px;background:var(--purple-soft);color:var(--purple-d);border:1px solid rgba(158,96,243,.22)}
.t99-svc .svc-ic svg{width:28px;height:28px}
.t99-svc .svc-ic.sm{width:44px;height:44px;border-radius:12px}
.t99-svc .svc-ic.sm svg{width:23px;height:23px}
.t99-svc .svc-cta{display:flex;gap:12px;flex-wrap:wrap}

/* =================== SERVICES HUB =================== */
.t99-svc-hub .svc-hub-hero{background:var(--ink);color:#fff;padding:150px 0 80px;text-align:center;position:relative;overflow:hidden}
.t99-svc-hub .svc-hub-hero::before{content:"";position:absolute;top:-160px;left:50%;transform:translateX(-50%);
  width:760px;height:520px;background:radial-gradient(circle,rgba(158,96,243,.32),transparent 62%)}
.t99-svc-hub .svc-hub-hero-inner{position:relative;z-index:2;max-width:760px;margin:0 auto}
.t99-svc-hub .svc-hub-hero h1{color:#fff;font-size:clamp(34px,4.6vw,54px);line-height:1.1;margin:14px 0 18px;letter-spacing:-.02em}
.t99-svc-hub .svc-hub-hero p{color:rgba(255,255,255,.72);font-size:17px;max-width:600px;margin:0 auto 28px;line-height:1.65}
.t99-svc-hub .svc-hub-hero .svc-cta{justify-content:center}
.t99-svc .svc-hub{padding:72px 0 40px;background:var(--paper)}
.t99-svc .svc-pillar{margin-bottom:64px}
.t99-svc .svc-pillar-head{margin-bottom:24px}
.t99-svc .svc-pillar-head .eyebrow{font-size:14px}
.t99-svc .svc-pillar-blurb{color:var(--muted);font-size:16px;margin-top:6px;max-width:620px}
.t99-svc .svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.t99-svc .svc-tile{display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:#fff;
  border:1px solid var(--line);border-radius:18px;padding:26px 24px;transition:transform .25s,box-shadow .25s,border-color .25s}
.t99-svc .svc-tile:hover{transform:translateY(-5px);box-shadow:0 30px 60px -34px rgba(13,13,18,.34);border-color:rgba(158,96,243,.35)}
.t99-svc .svc-tile h3{font-size:18px;color:var(--ink);letter-spacing:-.01em;line-height:1.25}
.t99-svc .svc-tile p{font-size:14px;color:var(--muted);line-height:1.55;flex:1}
.t99-svc .svc-tile-link{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--purple-d)}
.t99-svc .svc-tile-link svg{width:15px;height:15px;transition:transform .2s}
.t99-svc .svc-tile:hover .svc-tile-link svg{transform:translateX(4px)}
.t99-svc .svc-help{background:var(--ink);color:#fff;padding:60px 0;overflow:hidden;position:relative}
.t99-svc .svc-help::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 120%,rgba(158,96,243,.4),transparent 55%)}
.t99-svc .svc-help-inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.t99-svc .svc-help h2{color:#fff;font-size:clamp(24px,3vw,34px);margin:8px 0 10px}
.t99-svc .svc-help p{color:rgba(255,255,255,.72);max-width:560px}

/* =================== SINGLE SERVICE =================== */
.t99-svc-single .svc-hero{background:var(--ink);color:#fff;padding:140px 0 76px;position:relative;overflow:hidden}
.t99-svc-single .svc-hero::before{content:"";position:absolute;top:-180px;right:-120px;width:560px;height:560px;
  border-radius:50%;background:radial-gradient(circle,rgba(158,96,243,.3),transparent 62%)}
.t99-svc-single .svc-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.2fr .9fr;gap:50px;align-items:center}
.t99-svc-single .svc-hero .crumb{display:flex;gap:10px;font-size:13px;color:rgba(255,255,255,.5);margin-bottom:20px;flex-wrap:wrap}
.t99-svc-single .svc-hero .crumb a{color:rgba(255,255,255,.72)}.t99-svc-single .svc-hero .crumb a:hover{color:#fff}
.t99-svc-single .svc-hero .crumb .sep{opacity:.4}
.t99-svc-single .svc-hero .svc-ic{background:rgba(158,96,243,.16);border-color:rgba(158,96,243,.4);color:#c79bff;margin-bottom:18px}
.t99-svc-single .svc-hero h1{color:#fff;font-size:clamp(32px,4.4vw,52px);line-height:1.08;margin:10px 0 14px;letter-spacing:-.02em}
.t99-svc-single .svc-tag{font-size:19px;font-weight:700;color:#fff;margin-bottom:14px}
.t99-svc-single .svc-intro{color:rgba(255,255,255,.74);font-size:16px;line-height:1.7;max-width:560px;margin-bottom:26px}
.t99-svc-single .svc-hero-art img{width:100%;border-radius:20px;aspect-ratio:4/3;object-fit:cover;
  box-shadow:0 40px 90px -40px rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.08)}
.t99-svc-single .svc-points{padding:80px 0 30px;background:var(--paper)}
.t99-svc-single .svc-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.t99-svc-single .svc-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px 26px;transition:transform .25s,box-shadow .25s}
.t99-svc-single .svc-card:hover{transform:translateY(-4px);box-shadow:0 30px 60px -36px rgba(13,13,18,.3)}
.t99-svc-single .svc-num{font-size:13px;font-weight:800;color:var(--purple);letter-spacing:2px}
.t99-svc-single .svc-card h4{font-size:18px;color:var(--ink);margin:12px 0 8px;letter-spacing:-.01em}
.t99-svc-single .svc-card p{font-size:14.5px;color:var(--muted);line-height:1.6}
.t99-svc-single .svc-process{padding:60px 0 80px;background:var(--paper)}
.t99-svc-single .svc-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.t99-svc-single .svc-step{padding:26px 22px;border:1px solid var(--line);border-radius:16px;background:var(--mist);position:relative}
.t99-svc-single .svc-step-n{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;
  border-radius:50%;background:var(--purple);color:#fff;font-weight:800;font-size:15px;margin-bottom:14px}
.t99-svc-single .svc-step h4{font-size:16px;color:var(--ink);margin-bottom:6px}
.t99-svc-single .svc-step p{font-size:13.5px;color:var(--muted);line-height:1.55}
.t99-svc-single .svc-stats{background:var(--ink);color:#fff;padding:46px 0}
.t99-svc-single .svc-stats-row{display:flex;justify-content:space-around;gap:24px;flex-wrap:wrap;text-align:center}
.t99-svc-single .svc-stats-row div{display:flex;flex-direction:column;gap:4px}
.t99-svc-single .svc-stats-row b{font-size:38px;font-weight:800;color:#fff;letter-spacing:-.02em;
  background:linear-gradient(120deg,#fff,#c79bff);-webkit-background-clip:text;background-clip:text;color:transparent}
.t99-svc-single .svc-stats-row span{font-size:13.5px;color:rgba(255,255,255,.6)}
.t99-svc-single .svc-r-grid{grid-template-columns:repeat(3,1fr)}
.t99-svc .svc-rcard{padding:0;overflow:hidden}
.t99-svc .svc-rcard-top{padding:24px 24px 0}
.t99-svc .svc-rcard .r-body{padding:16px 24px 26px}
.t99-svc .svc-rcard h4{font-size:18px;color:var(--ink);margin-bottom:6px}
.t99-svc .svc-rcard p{font-size:14px;color:var(--muted);line-height:1.55;margin-bottom:14px}
.t99-svc .svc-rcard-link{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--purple-d)}
.t99-svc .svc-rcard-link svg{width:15px;height:15px;transition:transform .2s}
.t99-svc .svc-rcard:hover .svc-rcard-link svg{transform:translateX(4px)}
/* FAQ */
.t99-svc .svc-faq{padding:80px 0;background:var(--mist)}
.t99-svc .svc-faq-wrap{max-width:780px}
.t99-svc .svc-faq-list{display:flex;flex-direction:column;gap:12px}
.t99-svc .svc-faq-item{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.t99-svc .svc-faq-item summary{list-style:none;cursor:pointer;padding:20px 22px;font-weight:700;font-size:16px;
  color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:16px}
.t99-svc .svc-faq-item summary::-webkit-details-marker{display:none}
.t99-svc .svc-faq-ic{flex:none;color:var(--purple-d);transition:transform .25s}
.t99-svc .svc-faq-ic svg{width:20px;height:20px}
.t99-svc .svc-faq-item[open] .svc-faq-ic{transform:rotate(180deg)}
.t99-svc .svc-faq-a{padding:0 22px 20px;color:var(--muted);font-size:15px;line-height:1.65}
/* CTA band */
.t99-svc .svc-cta-band{background:linear-gradient(135deg,var(--purple-d),var(--purple));color:#fff;padding:70px 0;text-align:center}
.t99-svc .svc-cta-band h2{color:#fff;font-size:clamp(26px,3.4vw,40px);max-width:680px;margin:0 auto 12px;letter-spacing:-.02em}
.t99-svc .svc-cta-band p{color:rgba(255,255,255,.85);max-width:560px;margin:0 auto 26px;font-size:16px}
.t99-svc .svc-cta-band .btn-primary{background:#fff;color:var(--purple-d) !important;box-shadow:0 14px 34px -12px rgba(0,0,0,.4)}

/* =================== RESPONSIVE =================== */
@media(max-width:1024px){
  .t99-svc .svc-grid{grid-template-columns:repeat(2,1fr)}
  .t99-svc-single .svc-steps{grid-template-columns:repeat(2,1fr)}
  .t99-svc-single .svc-hero-grid{grid-template-columns:1fr;gap:32px}
  .t99-svc-single .svc-hero-art{max-width:520px}
}
@media(max-width:880px){
  .t99-chrome .nav-toggle{display:flex}
  .t99-chrome #t99-hdr nav{position:fixed;top:0;right:0;height:100dvh;width:min(340px,86vw);
    flex-direction:column;align-items:stretch;justify-content:flex-start;gap:2px;padding:80px 22px 28px;
    background:#0d0d12;transform:translateX(100%);transition:transform .32s cubic-bezier(.2,.7,.3,1);
    margin:0;overflow-y:auto;z-index:48;box-shadow:-20px 0 60px -20px rgba(0,0,0,.6)}
  .t99-chrome.nav-open #t99-hdr nav{transform:translateX(0)}
  .t99-chrome #t99-hdr nav .nav-top{color:#fff;font-size:16px;font-weight:700;padding:13px 0;width:100%;
    border-bottom:1px solid rgba(255,255,255,.08)}
  .t99-chrome #t99-hdr nav .nav-top:hover,.t99-chrome #t99-hdr nav .nav-top.is-active{color:#c79bff}
  .t99-chrome .nav-item{width:100%;position:static}
  .t99-chrome .dd-trigger{width:100%;justify-content:space-between}
  .t99-chrome .dd-caret{display:none}
  /* show the services list inline on mobile (static, not a hover popup) */
  .t99-chrome .dd{position:static;width:auto;transform:none;opacity:1;visibility:visible;
    pointer-events:auto;background:transparent;border:0;border-radius:0;box-shadow:none;padding:2px 0 8px;margin:0}
  .t99-chrome .dd::before,.t99-chrome .dd::after{display:none}
  .t99-chrome .dd-grid{display:block}
  .t99-chrome .dd-col{margin-bottom:4px}
  .t99-chrome .dd-h{color:#c79bff;margin:8px 4px 2px;font-size:10px}
  .t99-chrome .dd-h::after{display:none}
  .t99-chrome .dd-link{color:rgba(255,255,255,.92);padding:9px 6px;font-size:14px}
  .t99-chrome .dd-link:hover{background:rgba(255,255,255,.12);color:#fff;transform:none}
  .t99-chrome .dd-ic{width:28px;height:28px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#c79bff}
  .t99-chrome .dd-foot{border-top-color:rgba(255,255,255,.12);margin-top:8px;padding-top:10px}
  .t99-chrome .dd-foot span{display:none}
  .t99-chrome .dd-all{width:100%;justify-content:center}
  .t99-chrome .nav-cta-mobile{display:inline-flex;margin-top:18px;width:100%;justify-content:center}
  .t99-chrome .header-cta{display:none}
  .t99-chrome .lang-switch{margin-top:16px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
  .t99-chrome .lang-switch .lang-link{color:rgba(255,255,255,.8)}
  .t99-chrome .lang-switch .lang-link.is-active{background:var(--purple);color:#fff}
  .t99-chrome.nav-open::after{content:"";position:fixed;inset:0;background:rgba(10,9,15,.5);z-index:47}
  .t99-svc .svc-grid{grid-template-columns:1fr}
  .t99-svc .svc-grid-3,.t99-svc-single .svc-grid-3,.t99-svc-single .svc-r-grid,.t99-svc .svc-r-grid{grid-template-columns:1fr}
  .t99-svc-single .svc-steps{grid-template-columns:1fr}
  .t99-chrome .foot-grid{grid-template-columns:1fr 1fr;gap:30px}
  .t99-svc .svc-help-inner{flex-direction:column;align-items:flex-start}
}
@media(max-width:560px){
  .t99-chrome .foot-grid{grid-template-columns:1fr}
}

/* =================================================================== */
/* v1.0 — HOMEPAGE (front-page.php)                                     */
/* Scoped to .t99-home. Inherits chrome (.t99-chrome) + base typography */
/* and primitives (.t99-blog). Purple-on-dark brand system.            */
/* =================================================================== */
.t99-home{background:var(--paper)}
.t99-home .grad{background:linear-gradient(110deg,var(--purple) 0%,#c79bff 58%,var(--purple-d) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.t99-home .home-sec-head{max-width:720px;margin:0 auto 48px;text-align:center}
.t99-home .home-sec-head .eyebrow{margin-bottom:12px}
.t99-home .home-sec-head h2{font-size:clamp(28px,3.6vw,44px);letter-spacing:-.025em;color:var(--ink);line-height:1.12}
.t99-home .home-sec-head p{color:var(--muted);font-size:17px;line-height:1.65;margin:14px auto 0;max-width:600px}
.t99-home .home-sec-head--row{display:flex;align-items:flex-end;justify-content:space-between;
  gap:28px;text-align:left;max-width:none}
.t99-home .home-sec-head--row h2{margin:0}

/* ---- HERO ---- */
.t99-home .home-hero{position:relative;background:var(--ink);color:#fff;overflow:hidden;
  padding:clamp(124px,15vw,186px) 0 clamp(70px,9vw,112px)}
.t99-home .home-hero::before{content:"";position:absolute;top:-200px;right:-140px;width:700px;height:700px;
  border-radius:50%;background:radial-gradient(circle,rgba(158,96,243,.34),transparent 62%);pointer-events:none}
.t99-home .home-hero::after{content:"";position:absolute;left:-180px;bottom:-240px;width:540px;height:540px;
  border-radius:50%;background:radial-gradient(circle,rgba(124,63,212,.22),transparent 64%);pointer-events:none}
.t99-home .home-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr .9fr;
  gap:48px;align-items:center}
.t99-home .home-hero-copy .eyebrow{margin-bottom:18px}
.t99-home .home-hero h1{color:#fff;font-size:clamp(36px,5.4vw,64px);line-height:1.05;
  letter-spacing:-.03em;margin:0 0 22px}
.t99-home .home-hero p{color:rgba(255,255,255,.74);font-size:clamp(16px,1.5vw,19px);
  line-height:1.65;max-width:520px;margin:0 0 32px}
.t99-home .home-hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.t99-home .home-hero-art{position:relative;display:flex;justify-content:center;align-items:center;min-height:1px}
/* glow halo BEHIND THE TEXT column (own layer, z-index:-1) — breathes for a
   dynamic hero; follows the text side automatically in RTL. */
.t99-home .home-hero-copy{position:relative}
.t99-home .home-hero-copy::before{content:"";position:absolute;left:40%;top:42%;width:94%;aspect-ratio:1;
  transform:translate(-50%,-50%);border-radius:50%;z-index:-1;pointer-events:none;
  background:radial-gradient(circle at 50% 45%,rgba(158,96,243,.5),rgba(124,63,212,.16) 46%,transparent 72%);
  filter:blur(34px);animation:t99-heroGlow 5.5s ease-in-out infinite}
/* hero art now ships with a TRUE transparent background (alpha baked from the
   glow's brightness), so it composites cleanly on any section — no square box,
   no blend hacks, no mask clipping the streaming particle trails. */
.t99-home .home-hero-art img{position:relative;z-index:1;width:100%;max-width:600px;height:auto}
@keyframes t99-heroGlow{0%,100%{opacity:.78;transform:translate(-50%,-50%) scale(1)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.09)}}
.t99-home .home-hero-art.no-img{min-height:360px;width:100%;border-radius:30px;
  background:radial-gradient(circle at 50% 45%,rgba(158,96,243,.5),transparent 60%)}

/* ---- BRANDS STRIP ---- */
.t99-home .home-brands{padding:64px 0;background:var(--paper);text-align:center;border-bottom:1px solid var(--line)}
.t99-home .home-brands h2{font-size:clamp(20px,2.4vw,28px);color:var(--ink);letter-spacing:-.02em}
.t99-home .home-brands p{color:var(--muted);font-size:15.5px;max-width:560px;margin:12px auto 28px;line-height:1.6}
/* even grid: each logo centered in its own equal cell → consistent alignment */
.t99-home .brand-logos{display:grid;grid-template-columns:repeat(5,1fr);align-items:center;
  gap:20px 28px;max-width:920px;margin:16px auto 0}
.t99-home .brand-logos img{height:auto;max-height:38px;width:auto;max-width:100%;margin:0 auto;
  object-fit:contain;display:block;filter:grayscale(1);opacity:.55;transition:opacity .3s ease,filter .3s ease}
.t99-home .brand-logos img:hover{filter:none;opacity:1}
@media(max-width:760px){.t99-home .brand-logos{grid-template-columns:repeat(3,1fr);gap:24px}}
@media(max-width:460px){.t99-home .brand-logos{grid-template-columns:repeat(2,1fr)}.t99-home .brand-logos img{max-height:32px}}

/* ---- ABOUT ---- */
.t99-home .home-about{padding:clamp(64px,8vw,100px) 0;background:var(--paper)}
.t99-home .home-about-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(36px,5vw,64px);align-items:center}
.t99-home .home-about-art img{width:100%;height:auto;border-radius:24px;object-fit:cover;
  box-shadow:0 50px 100px -44px rgba(13,13,18,.5)}
.t99-home .home-about-copy .eyebrow{margin-bottom:12px}
.t99-home .home-about-copy h2{font-size:clamp(26px,3.4vw,40px);letter-spacing:-.025em;color:var(--ink);
  line-height:1.16;margin-bottom:18px}
.t99-home .home-about-copy p{color:var(--text);font-size:16.5px;line-height:1.7;margin-bottom:26px}
.t99-home .home-about-copy strong{color:var(--ink);font-weight:700}

/* ---- SERVICES ---- */
.t99-home .home-services{padding:clamp(64px,8vw,100px) 0;background:var(--mist)}
.t99-home .home-svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.t99-home .home-svc-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:13px;
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px 26px;overflow:hidden;isolation:isolate;
  transition:transform .35s cubic-bezier(.2,.7,.3,1),box-shadow .35s,border-color .35s}
/* soft purple wash rising from the bottom on hover */
.t99-home .home-svc-card::before{content:"";position:absolute;inset:0;z-index:-1;opacity:0;
  background:radial-gradient(120% 85% at 50% 120%,rgba(158,96,243,.12),transparent 70%);transition:opacity .35s}
/* gradient top accent that wipes in on hover */
.t99-home .home-svc-card::after{content:"";position:absolute;top:0;left:0;right:0;height:3px;transform:scaleX(0);
  transform-origin:left;background:linear-gradient(90deg,var(--purple),#c79bff);transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.t99-home .home-svc-card:hover{transform:translateY(-7px);border-color:rgba(158,96,243,.42);
  box-shadow:0 38px 72px -38px rgba(124,63,212,.5),0 6px 18px -12px rgba(13,13,18,.16)}
.t99-home .home-svc-card:hover::before{opacity:1}
.t99-home .home-svc-card:hover::after{transform:scaleX(1)}
.t99-home .home-svc-ic{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;
  border-radius:15px;background:var(--purple-soft);color:var(--purple-d);border:1px solid rgba(158,96,243,.22);
  transition:transform .35s cubic-bezier(.2,.7,.3,1),background .35s,border-color .35s,color .35s,box-shadow .35s}
.t99-home .home-svc-ic svg{width:27px;height:27px}
.t99-home .home-svc-card:hover .home-svc-ic{background:linear-gradient(135deg,var(--purple),var(--purple-d));
  border-color:transparent;color:#fff;transform:translateY(-4px) scale(1.08) rotate(-4deg);
  box-shadow:0 16px 28px -10px rgba(124,63,212,.7)}
.t99-home .home-svc-card h3{font-size:18px;color:var(--ink);letter-spacing:-.01em;line-height:1.25;transition:color .25s}
.t99-home .home-svc-card:hover h3{color:var(--purple-d)}
.t99-home .home-svc-card p{font-size:14px;color:var(--muted);line-height:1.55;flex:1}
.t99-home .home-svc-link{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;
  color:var(--purple-d);opacity:.6;transition:opacity .25s,gap .25s}
.t99-home .home-svc-card:hover .home-svc-link{opacity:1;gap:9px}
.t99-home .home-svc-link svg{width:15px;height:15px;transition:transform .25s}
.t99-home .home-svc-card:hover .home-svc-link svg{transform:translateX(4px)}
.t99-home .home-svc-foot{text-align:center;margin-top:46px}

/* ---- VALUES ---- */
.t99-home .home-values{padding:clamp(64px,8vw,100px) 0;background:var(--paper)}
.t99-home .home-values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.t99-home .home-value{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;
  padding:38px 32px;overflow:hidden}
.t99-home .home-value::before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;
  background:linear-gradient(90deg,var(--purple),var(--purple-d))}
.t99-home .home-value-n{font-size:14px;font-weight:800;letter-spacing:2px;color:var(--purple)}
.t99-home .home-value h3{font-size:24px;color:var(--ink);letter-spacing:-.02em;margin:14px 0 10px}
.t99-home .home-value p{color:var(--muted);font-size:15.5px;line-height:1.65}

/* ---- GROWTH BAND ---- */
.t99-home .home-growth{position:relative;background:var(--ink);color:#fff;overflow:hidden;
  padding:clamp(60px,7vw,90px) 0}
.t99-home .home-growth::before{content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 85% 120%,rgba(158,96,243,.4),transparent 56%);pointer-events:none}
.t99-home .home-growth-inner{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr .9fr;
  gap:48px;align-items:center}
.t99-home .home-growth-copy .eyebrow{margin-bottom:14px}
.t99-home .home-growth-copy h2{color:#fff;font-size:clamp(26px,3.4vw,42px);letter-spacing:-.025em;
  line-height:1.14;margin-bottom:16px}
.t99-home .home-growth-copy p{color:rgba(255,255,255,.74);font-size:16.5px;line-height:1.7;
  max-width:520px;margin-bottom:28px}
.t99-home .home-stats{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.t99-home .home-stats div{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);
  border-radius:16px;padding:24px}
.t99-home .home-stats b{display:block;font-size:40px;font-weight:800;letter-spacing:-.02em;line-height:1;
  background:linear-gradient(120deg,#fff,#c79bff);-webkit-background-clip:text;background-clip:text;color:transparent}
.t99-home .home-stats span{display:block;margin-top:8px;font-size:13.5px;color:rgba(255,255,255,.62)}

/* ---- TESTIMONIALS ---- */
.t99-home .home-testi{padding:clamp(64px,8vw,100px) 0;background:var(--paper)}
.t99-home .home-testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.t99-home .home-testi-card{margin:0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px 28px}
.t99-home .home-testi-card blockquote{margin:0 0 22px;font-size:16.5px;line-height:1.65;color:var(--ink);
  font-weight:500;position:relative;padding-top:24px}
.t99-home .home-testi-card blockquote::before{content:"\201C";position:absolute;top:-6px;left:-4px;
  font-size:60px;line-height:1;color:var(--purple);opacity:.35;font-family:Georgia,serif}
.t99-home .home-testi-card figcaption{display:flex;align-items:center;gap:12px}
.t99-home .home-testi-av{width:44px;height:44px;border-radius:50%;flex:none;
  background:linear-gradient(135deg,var(--purple-soft),var(--purple));display:flex;align-items:center;
  justify-content:center;color:#fff;font-weight:800;font-size:15px}
.t99-home .home-testi-who b{color:var(--ink);font-weight:700;font-size:15px}

/* ---- BLOG GUIDE ---- */
.t99-home .home-guide{padding:clamp(64px,8vw,100px) 0;background:var(--mist)}
.t99-home .home-guide .btn-ghost.dark{border-color:var(--line);color:var(--ink);white-space:nowrap}
.t99-home .home-guide .btn-ghost.dark:hover{border-color:var(--purple);color:var(--purple-d);background:var(--purple-soft)}
.t99-home .home-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:42px}
.t99-home .home-guide-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;
  display:flex;flex-direction:column;transition:.25s}
.t99-home .home-guide-card:hover{transform:translateY(-4px);box-shadow:0 28px 60px -34px rgba(13,13,18,.32)}
.t99-home .home-guide-art{aspect-ratio:16/10;background:linear-gradient(135deg,var(--purple-soft),#fff);
  display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.t99-home .home-guide-art img{width:100%;height:100%;object-fit:cover}
.t99-home .home-guide-art.ph{background:linear-gradient(135deg,#1a1424,#0d0d12)}
.t99-home .home-guide-art.ph::before{content:"";position:absolute;inset:-20%;
  background:radial-gradient(circle at 38% 36%,rgba(158,96,243,.42),transparent 56%)}
.t99-home .home-guide-art.ph::after{content:"Upscale";position:relative;font-weight:800;font-size:24px;
  letter-spacing:-.02em;background:linear-gradient(120deg,#fff,#c79bff);
  -webkit-background-clip:text;background-clip:text;color:transparent;opacity:.9}
.t99-home .home-guide-body{padding:22px;display:flex;flex-direction:column;flex:1}
.t99-home .home-guide-meta{font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;
  color:var(--purple);margin-bottom:8px}
.t99-home .home-guide-card h3{font-size:17px;color:var(--ink);line-height:1.3;margin-bottom:8px}
.t99-home .home-guide-card p{font-size:14px;color:var(--muted);flex:1}

/* ---- FAQ ---- */
.t99-home .home-faq{padding:clamp(64px,8vw,100px) 0;background:var(--paper)}
.t99-home .home-faq-wrap{max-width:780px;margin:0 auto}
.t99-home .home-faq-list{display:flex;flex-direction:column;gap:12px}
.t99-home .faq-item{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.t99-home .faq-item summary{list-style:none;cursor:pointer;padding:20px 22px;font-weight:700;font-size:16px;
  color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:16px}
.t99-home .faq-item summary::-webkit-details-marker{display:none}
.t99-home .faq-ic{flex:none;color:var(--purple-d);transition:transform .25s}
.t99-home .faq-ic svg{width:20px;height:20px}
.t99-home .faq-item[open] .faq-ic{transform:rotate(180deg)}
.t99-home .faq-a{padding:0 22px 20px;color:var(--muted);font-size:15px;line-height:1.65}

/* ---- CTA ---- */
.t99-home .home-cta{padding:clamp(60px,7vw,92px) 0;background:linear-gradient(135deg,var(--purple-d),var(--purple));color:#fff;text-align:center}
.t99-home .home-cta-inner{max-width:680px;margin:0 auto}
.t99-home .home-cta h2{color:#fff;font-size:clamp(28px,3.6vw,44px);letter-spacing:-.025em;margin-bottom:14px}
.t99-home .home-cta p{color:rgba(255,255,255,.88);font-size:17px;line-height:1.65;margin:0 auto 28px;max-width:520px}
.t99-home .home-cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.t99-home .home-cta .btn-primary{background:#fff;color:var(--purple-d) !important;
  box-shadow:0 14px 34px -12px rgba(0,0,0,.4)}
.t99-home .home-cta .btn-ghost{border-color:rgba(255,255,255,.6);color:#fff}
.t99-home .home-cta .btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.12)}

/* ---- HOMEPAGE RESPONSIVE ---- */
@media(max-width:1024px){
  .t99-home .home-svc-grid{grid-template-columns:repeat(2,1fr)}
  .t99-home .home-testi-grid,.t99-home .home-guide-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:880px){
  .t99-home .home-hero-grid{grid-template-columns:1fr;gap:36px}
  .t99-home .home-hero-art{order:-1;max-width:420px;margin:0 auto}
  .t99-home .home-about-grid{grid-template-columns:1fr;gap:32px}
  .t99-home .home-about-art{max-width:520px}
  .t99-home .home-values-grid{grid-template-columns:1fr}
  .t99-home .home-growth-inner{grid-template-columns:1fr;gap:32px}
  .t99-home .home-sec-head--row{flex-direction:column;align-items:flex-start;gap:18px}
  .t99-home .home-testi-grid,.t99-home .home-guide-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .t99-home .home-svc-grid{grid-template-columns:1fr}
  .t99-home .home-stats{grid-template-columns:1fr 1fr;gap:12px}
  .t99-home .home-stats b{font-size:32px}
}

/* =================================================================== */
/* v1.0.4 — ANIMATIONS (subtle, premium; reduced-motion safe)          */
/* =================================================================== */
/* Hero AI-face: gentle float */
@keyframes t99-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
.t99-home .home-hero-art img{animation:t99-float 6.5s ease-in-out infinite;will-change:transform}
/* Hero background glows: slow drift + breathe */
@keyframes t99-glowA{0%,100%{transform:translate(0,0) scale(1);opacity:.9}50%{transform:translate(-34px,22px) scale(1.1);opacity:1}}
@keyframes t99-glowB{0%,100%{transform:translate(0,0) scale(1);opacity:.8}50%{transform:translate(28px,-20px) scale(1.12);opacity:1}}
.t99-home .home-hero::before{animation:t99-glowA 13s ease-in-out infinite}
.t99-home .home-hero::after{animation:t99-glowB 16s ease-in-out infinite}
/* Hero content: staggered entrance on load (above the fold) */
@keyframes t99-rise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
.t99-home .home-hero-copy>*{opacity:0;animation:t99-rise .8s cubic-bezier(.2,.7,.3,1) forwards}
.t99-home .home-hero-copy .eyebrow{animation-delay:.05s}
.t99-home .home-hero-copy h1{animation-delay:.16s}
.t99-home .home-hero-copy p{animation-delay:.30s}
.t99-home .home-hero-copy .home-hero-cta{animation-delay:.44s}
.t99-home .home-hero-art{animation:t99-rise .9s cubic-bezier(.2,.7,.3,1) .35s both}
/* Value cards: top accent bar wipes in on hover */
.t99-home .home-value::before{transform:scaleX(0);transform-origin:left;transition:transform .4s cubic-bezier(.2,.7,.3,1)}
.t99-home .home-value:hover::before{transform:scaleX(1)}
/* Stat numbers: pop in when JS marks them .counted (count-up handled in JS) */
.t99-home .home-stats b{opacity:0;transform:translateY(8px);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.3,1)}
.t99-home .home-stats b.counted{opacity:1;transform:none}
/* Primary buttons: moving shine sweep on hover */
.t99-chrome .btn-primary{position:relative;overflow:hidden}
.t99-chrome .btn-primary::after{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-18deg);
  transition:left .6s cubic-bezier(.2,.7,.3,1);pointer-events:none}
.t99-chrome .btn-primary:hover::after{left:140%}
/* Respect prefers-reduced-motion */
@media(prefers-reduced-motion:reduce){
  .t99-home .home-hero-art img,.t99-home .home-hero::before,.t99-home .home-hero::after,
  .t99-home .home-hero-copy>*,.t99-home .home-hero-art{animation:none;opacity:1;transform:none}
  .t99-home .home-hero-copy::before{animation:none;opacity:.85;transform:translate(-50%,-50%)}
  .t99-home .home-stats b{opacity:1;transform:none}
  .t99-chrome .btn-primary::after{display:none}
}

/* =================================================================== */
/* RTL / ARABIC (/ar/) — scoped to .t99-ar (body class added on /ar/)   */
/* =================================================================== */
.t99-ar,
.t99-ar.t99-blog,
.t99-ar #t99-hdr, .t99-ar #t99-hdr *,
.t99-ar .t99-footer, .t99-ar .t99-footer *,
.t99-ar .dd, .t99-ar .dd *{font-family:'Tajawal','Plus Jakarta Sans',system-ui,sans-serif}
/* CRITICAL: Arabic letters must join — no letter-spacing, no uppercase tracking */
.t99-ar .eyebrow,.t99-ar .dd-h,.t99-ar .post-tag,.t99-ar .r-meta,.t99-ar .home-guide-meta,
.t99-ar .lang-link,.t99-ar .home-value-n,.t99-ar .svc-num,.t99-ar .svc-step-n,
.t99-ar footer.t99-footer h4,.t99-ar .foot-bottom,.t99-ar .tag-pill,.t99-ar .pagination .page-numbers{
  letter-spacing:normal;text-transform:none}
.t99-ar h1,.t99-ar h2,.t99-ar h3,.t99-ar h4{letter-spacing:normal}
.t99-ar .home-hero h1{line-height:1.18}
/* no Latin-style drop cap in Arabic articles */
.t99-ar .article > p:first-of-type::first-letter{float:none;font-size:inherit;padding:0;color:inherit;font-weight:inherit;line-height:inherit}
/* directional accents that assumed left-origin */
.t99-ar .home-svc-card::after{transform-origin:right}
.t99-ar .home-value::before{transform-origin:right}
.t99-ar .dd-h::after{background:linear-gradient(270deg,rgba(158,96,243,.28),transparent)}
.t99-ar .dd-link:hover{transform:translateX(-3px)}
/* reading-progress bar fills from the right */
.t99-ar .progress{left:auto;right:0}
/* header bar: keep logo on the start (right) side in RTL */
.t99-ar #t99-hdr .logo{margin-right:0;margin-left:auto}

/* =================== CONTACT (tpl-contact) =================== */
.t99-blog .ct-hero{background:var(--ink);color:#fff;position:relative;overflow:hidden;padding:clamp(120px,15vw,180px) 0 clamp(70px,9vw,110px)}
.t99-blog .ct-hero::before{content:"";position:absolute;top:-180px;right:-120px;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(158,96,243,.3),transparent 62%);pointer-events:none}
.t99-blog .ct-grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,5vw,64px);align-items:start}
.t99-blog .ct-copy h1{color:#fff;font-size:clamp(32px,4.4vw,52px);line-height:1.08;letter-spacing:-.02em;margin:14px 0 16px}
.t99-blog .ct-sub{color:rgba(255,255,255,.74);font-size:17px;line-height:1.7;max-width:480px;margin-bottom:32px}
.t99-blog .ct-info{display:flex;flex-direction:column;gap:16px}
.t99-blog .ct-info-row{display:flex;align-items:center;gap:14px;color:#fff}
.t99-blog .ct-info-row span:last-child{display:flex;flex-direction:column;font-size:15px;color:rgba(255,255,255,.85)}
.t99-blog .ct-info-row b{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:1px;color:#c79bff;margin-bottom:3px}
.t99-blog .ct-info-ic{width:44px;height:44px;flex:none;border-radius:12px;background:rgba(158,96,243,.16);border:1px solid rgba(158,96,243,.4);display:flex;align-items:center;justify-content:center;color:#c79bff;transition:background .2s,color .2s}
.t99-blog .ct-info-ic svg{width:20px;height:20px}
.t99-blog a.ct-info-row:hover .ct-info-ic{background:var(--purple);color:#fff}
.t99-blog .ct-card{background:#fff;border-radius:24px;padding:clamp(26px,3vw,38px);box-shadow:0 50px 100px -40px rgba(0,0,0,.6)}
.t99-blog .ct-form{display:flex;flex-direction:column;gap:16px}
.t99-blog .ct-row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.t99-blog .ct-field{display:flex;flex-direction:column;gap:7px}
.t99-blog .ct-field label{font-size:13px;font-weight:700;color:var(--ink)}
.t99-blog .ct-field input,.t99-blog .ct-field select,.t99-blog .ct-field textarea{font-family:inherit;font-size:15px;color:var(--ink);background:var(--mist);border:1px solid var(--line);border-radius:11px;padding:13px 14px;outline:0;width:100%;box-sizing:border-box;transition:border-color .2s,box-shadow .2s,background .2s}
.t99-blog .ct-field input:focus,.t99-blog .ct-field select:focus,.t99-blog .ct-field textarea:focus{border-color:var(--purple);box-shadow:0 0 0 3px rgba(158,96,243,.15);background:#fff}
.t99-blog .ct-field textarea{resize:vertical;min-height:110px}
.t99-blog .ct-submit{margin-top:4px;justify-content:center;width:100%}
.t99-blog .ct-status{font-size:14px;margin:2px 0 0;min-height:1px}
.t99-blog .ct-status.is-ok{color:var(--green)}
.t99-blog .ct-status.is-err{color:#e0563f}
@media(max-width:880px){.t99-blog .ct-grid{grid-template-columns:1fr;gap:32px}}
@media(max-width:480px){.t99-blog .ct-row2{grid-template-columns:1fr}}

/* ============================================================
   DYNAMIC DESIGN ASSETS (v1.3) — ambient motion across the homepage.
   Reuses the existing purple-glow orb language for a cohesive "alive" feel.
   All decorative; gated behind prefers-reduced-motion.
   ============================================================ */

/* Growth/stats: breathe the ambient glow + a slow drifting second orb */
.t99-home .home-growth::before{animation:t99-breathe 9s ease-in-out infinite}
.t99-home .home-growth::after{content:"";position:absolute;top:-150px;left:-120px;width:440px;height:440px;
  border-radius:50%;z-index:1;pointer-events:none;
  background:radial-gradient(circle,rgba(124,63,212,.30),transparent 62%);
  animation:t99-glowA 16s ease-in-out infinite}

/* Stat tiles: animated gradient sheen on the numbers (pairs with the JS count-up) + hover lift */
.t99-home .home-stats b{background-size:220% 100%;animation:t99-sheen 6.5s ease-in-out infinite}
.t99-home .home-stats div{transition:transform .35s cubic-bezier(.2,.7,.3,1),border-color .35s,background .35s}
.t99-home .home-stats div:hover{transform:translateY(-4px);border-color:rgba(158,96,243,.4);
  background:rgba(158,96,243,.10)}

/* CTA: depth + soft breathing light orbs on the otherwise-flat purple block */
.t99-home .home-cta{position:relative;overflow:hidden}
.t99-home .home-cta::before{content:"";position:absolute;top:-150px;right:-110px;width:540px;height:540px;
  border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(255,255,255,.20),transparent 62%);
  animation:t99-glowA 14s ease-in-out infinite}
.t99-home .home-cta::after{content:"";position:absolute;bottom:-190px;left:-130px;width:500px;height:500px;
  border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(124,63,212,.4),transparent 60%);
  animation:t99-glowB 18s ease-in-out infinite}
.t99-home .home-cta-inner{position:relative;z-index:2}

/* Service-card icon: pop on hover (the card already lifts + glows) */
.t99-home .home-svc-ic{transition:transform .35s cubic-bezier(.2,.7,.3,1),background .3s,color .3s,box-shadow .3s}
.t99-home .home-svc-card:hover .home-svc-ic{transform:translateY(-2px) scale(1.08) rotate(-4deg)}

@keyframes t99-breathe{0%,100%{opacity:.82}50%{opacity:1}}
@keyframes t99-sheen{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

@media(prefers-reduced-motion:reduce){
  .t99-home .home-growth::before,.t99-home .home-growth::after,.t99-home .home-stats b,
  .t99-home .home-cta::before,.t99-home .home-cta::after{animation:none}
}

/* ==========================================================================
   CLIENT AUDIT — 2026-07-27 (Website Audit Tracker, 23 items)
   Grouped by the issue they fix so each rule stays traceable to a report line.
   Appended last so these deliberately win over the earlier declarations.
   ========================================================================== */

/* --- #9 / #14 / #22 — "CTA font needs to be white because it isn't showing" ---
   .t99-svc .btn-ghost sets colour:var(--ink) for ghost buttons on the LIGHT
   service surfaces, but the hub hero and every service hero are background:
   var(--ink) — so the label rendered near-black on near-black and vanished.
   Ghost buttons on a dark surface are now explicitly light. Scoped to the dark
   heroes (and the .on-dark opt-in) so the light-surface ghost style is untouched. */
.t99-svc .svc-hub-hero .btn-ghost,
.t99-svc .svc-hero .btn-ghost,
.t99-svc .btn-ghost.on-dark{
  color:#fff;border-color:rgba(255,255,255,.42);background:transparent}
.t99-svc .svc-hub-hero .btn-ghost:hover,
.t99-svc .svc-hero .btn-ghost:hover,
.t99-svc .btn-ghost.on-dark:hover{
  color:#fff;border-color:#fff;background:rgba(255,255,255,.12)}

/* --- #15 / #20 — "title next to their icon should be centered" ---
   The pillar icon and its label were stacked, so the text read as floating above
   the icon rather than sitting with it. One row, centred to each other. */
.t99-svc-single .svc-hero-badge{
  display:flex;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.t99-svc-single .svc-hero-badge .svc-ic{margin-bottom:0;flex:0 0 auto}
.t99-svc-single .svc-hero-badge .eyebrow{margin:0;line-height:1.2}

/* --- #16 / #21 — service hero photography ---
   Each service now supplies its own image (inc/service-content.php) instead of
   sharing its pillar's. Widened from 4/3 to 3/2 so the source frames crop far
   less aggressively, and top-weighted so subjects keep their heads. */
.t99-svc-single .svc-hero-art img{aspect-ratio:3/2;object-position:50% 35%}

/* --- #23 — restored long-form body copy: explainer + why-us sections --- */
.t99-svc-single .svc-explain{padding:76px 0;background:var(--mist)}
.t99-svc-single .svc-explain-wrap{max-width:820px}
.t99-svc-single .svc-explain h2{
  font-size:clamp(25px,3vw,34px);color:var(--ink);letter-spacing:-.02em;margin-bottom:22px}
.t99-svc-single .svc-explain-body p{
  color:var(--text);font-size:17px;line-height:1.8;margin-bottom:16px}
.t99-svc-single .svc-explain-body p:first-child{
  font-size:19px;color:var(--ink);font-weight:600;line-height:1.65}
.t99-svc-single .svc-explain-body p:last-child{margin-bottom:0}

.t99-svc-single .svc-why{padding:80px 0;background:var(--paper)}
.t99-svc-single .svc-why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.t99-svc-single .svc-why-card{
  background:var(--mist);border:1px solid var(--line);border-radius:18px;padding:26px 24px;
  border-top:3px solid var(--purple);transition:transform .25s,box-shadow .25s}
.t99-svc-single .svc-why-card:hover{
  transform:translateY(-4px);box-shadow:0 28px 56px -34px rgba(13,13,18,.32)}
.t99-svc-single .svc-why-card h4{
  font-size:17px;color:var(--ink);margin-bottom:9px;letter-spacing:-.01em}
.t99-svc-single .svc-why-card p{color:var(--muted);font-size:14.5px;line-height:1.65}

/* --- #12 — "About: footer is blurred" ---
   about-us carries legacy CSS baked into its page content that reuses our own
   class names, including a scroll-reveal that parks .foot-grid>div at
   `opacity:0; filter:blur(4px)` until a .foot-visible class is added by script
   that no longer runs. The existing backstop reset opacity/transform/visibility
   but NOT filter — which is exactly why the footer showed up blurred rather than
   missing. Reset the filter (and any inherited backdrop-filter) too. */
.t99-chrome footer.t99-footer,
.t99-chrome footer.t99-footer .foot-grid,
.t99-chrome footer.t99-footer .foot-grid>div,
.t99-chrome footer.t99-footer .foot-bottom,
.t99-chrome footer.t99-footer .foot-desc,
.t99-chrome footer.t99-footer .foot-social,
.t99-chrome .social-rail{filter:none !important;backdrop-filter:none !important}

/* --- #2 — "the last logo on the right appears smaller and far from the others" ---
   The five client logos have very different intrinsic aspect ratios, so capping
   only max-height left the widest ones visually small and the narrowest ones
   adrift in their grid cell. Each logo now gets an equal-width box it is
   centred and contained within, so the row reads as one even strip. */
.t99-home .brand-logos{
  grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(16px,3vw,40px);align-items:center;
  justify-items:center}
.t99-home .brand-logos img{
  width:100%;max-width:160px;height:44px;max-height:none;object-fit:contain;object-position:center;
  margin:0;display:block}
@media(max-width:760px){.t99-home .brand-logos img{height:38px}}
@media(max-width:460px){.t99-home .brand-logos img{height:34px}}

/* --- #1 — "the black square behind the hero image makes it look pasted" ---
   The hero art is a rectangular raster on the dark hero. Its own dark matte read
   as a pasted-on square. Feather the image into the background with a radial
   alpha mask so it has no hard edge, and drop any residual box treatment. */
.t99-home .home-hero-art img{
  background:transparent;border:0;box-shadow:none;border-radius:0;
  -webkit-mask-image:radial-gradient(ellipse 72% 72% at 50% 46%,#000 56%,rgba(0,0,0,.55) 76%,transparent 92%);
          mask-image:radial-gradient(ellipse 72% 72% at 50% 46%,#000 56%,rgba(0,0,0,.55) 76%,transparent 92%)}

/* --- #13 — blog category filter bar --- */
.t99-blog .blog-filter{
  display:flex;flex-wrap:wrap;gap:9px;margin-bottom:34px;justify-content:center}
.t99-blog .blog-chip{
  display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:999px;
  background:#fff;border:1px solid var(--line);color:var(--text);
  font-size:14px;font-weight:600;line-height:1;transition:.2s}
.t99-blog .blog-chip:hover{border-color:var(--purple);color:var(--purple-d)}
.t99-blog .blog-chip.is-on{
  background:var(--ink);border-color:var(--ink);color:#fff}
.t99-blog .blog-chip-n{
  font-size:11.5px;font-weight:700;opacity:.55;
  background:rgba(0,0,0,.06);border-radius:999px;padding:2px 6px}
.t99-blog .blog-chip.is-on .blog-chip-n{background:rgba(255,255,255,.16);opacity:.85}

/* --- #8 — contact info rows ---
   Phone and location are links now (tel: / Maps) like the email row already was,
   so the hover treatment is defined once for all three instead of only firing on
   whichever row happened to be an <a>. */
.t99-chrome .ct-info-row{transition:color .2s,transform .2s}
a.ct-info-row:hover{color:var(--purple-d);transform:translateX(3px)}
a.ct-info-row:hover .ct-info-ic{
  background:var(--purple);color:#fff;border-color:var(--purple)}
.t99-chrome .ct-info-ic{transition:background .2s,color .2s,border-color .2s}

/* --- responsive for the sections added above --- */
@media(max-width:900px){
  .t99-svc-single .svc-why-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .t99-svc-single .svc-why-grid{grid-template-columns:1fr}
  .t99-svc-single .svc-explain{padding:56px 0}
  .t99-svc-single .svc-explain-body p{font-size:16px}
  .t99-svc-single .svc-explain-body p:first-child{font-size:17.5px}
  .t99-blog .blog-filter{justify-content:flex-start}
}

/* RTL: the contact-row hover nudge must travel the other way on /ar/. */
.t99-ar a.ct-info-row:hover,html[dir="rtl"] a.ct-info-row:hover{transform:translateX(-3px)}

/* ==========================================================================
   v1.5.0 — HOMEPAGE v2 (conversion structure + "The Climb" hero visual),
   contact-page depth, newsletter wiring, stats hardening, services grid on
   mobile. Appended last so these deliberately win over earlier declarations.
   ========================================================================== */

/* --- stats: numbers render without JS; html.js (set in wp_head) opts into the reveal --- */
.t99-home .home-stats b{opacity:1;transform:none}
html.js .t99-home .home-stats b{opacity:0;transform:translateY(8px)}
html.js .t99-home .home-stats b.counted{opacity:1;transform:none}

/* --- HERO v2 --- */
.t99-home .home-hero{padding:clamp(118px,13vw,166px) 0 clamp(54px,7vw,92px);isolation:isolate}
.t99-home .home-hero-dots{position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:radial-gradient(circle,rgba(255,255,255,.075) 1px,transparent 1px);background-size:34px 34px;
  -webkit-mask:linear-gradient(to right,#000 0%,rgba(0,0,0,.55) 42%,transparent 64%);
          mask:linear-gradient(to right,#000 0%,rgba(0,0,0,.55) 42%,transparent 64%)}
.t99-ar .home-hero-dots{-webkit-mask:linear-gradient(to left,#000 0%,rgba(0,0,0,.55) 42%,transparent 64%);mask:linear-gradient(to left,#000 0%,rgba(0,0,0,.55) 42%,transparent 64%)}
/* NOTE: the two-column track is scoped to >=881px on purpose. Declared
   unconditionally here it landed AFTER the @media(max-width:880px) collapse
   above at equal specificity and won at every width, so the hero never
   stacked on phones (h1 rendered 165px wide in a 390px viewport). */
.t99-home .home-hero-grid{gap:clamp(24px,4vw,56px);align-items:center}
@media(min-width:881px){.t99-home .home-hero-grid{grid-template-columns:1.04fr .96fr}}
.t99-home .home-hero-copy::before{left:34%;top:46%;width:86%;opacity:.7}
.t99-home .home-hero h1{font-size:clamp(36px,4.9vw,62px);line-height:1.06;margin-bottom:20px}
.t99-home .home-hero h1 .grad{background:linear-gradient(120deg,var(--purple),#e0b4ff,var(--purple-d),#c79bff);
  background-size:300% 300%;-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:t99-gradshift 5s ease-in-out infinite alternate}
.t99-home .home-hero p{margin-bottom:26px}
.t99-home .btn-lg{padding:17px 32px;font-size:16.5px}
.t99-home .home-hero-cta .btn-ghost{color:#fff;border-color:rgba(255,255,255,.34)}
.t99-home .btn-arrow{display:inline-flex;line-height:0;transition:transform .3s cubic-bezier(.4,0,.2,1)}
.t99-home .btn-arrow svg{width:16px;height:16px}
.t99-home .btn:hover .btn-arrow{transform:translateX(4px)}
.t99-ar .btn-arrow svg{transform:scaleX(-1)}
.t99-ar .btn:hover .btn-arrow{transform:translateX(-4px)}
.t99-home .home-hero-copy .home-hero-micro{font-size:13.5px;color:rgba(255,255,255,.55);margin:14px 0 0;max-width:none;line-height:1.6;animation-delay:.5s}
.t99-home .home-hero-micro a{color:rgba(255,255,255,.82);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.3)}
.t99-home .home-hero-micro a:hover{color:#fff;text-decoration-color:#fff}
.t99-home .home-hero-copy .home-hero-trust{margin-top:26px;display:flex;align-items:center;gap:11px;font-size:14px;
  color:rgba(255,255,255,.68);animation-delay:.6s}
.t99-home .trust-ic{display:inline-flex;width:30px;height:30px;flex:none;border-radius:9px;align-items:center;justify-content:center;
  background:rgba(158,96,243,.16);border:1px solid rgba(158,96,243,.4);color:#c79bff}
.t99-home .trust-ic svg{width:16px;height:16px}

/* The Climb */
.t99-home .home-hero-visual{position:relative;z-index:1;display:flex;justify-content:flex-end;align-items:flex-end;min-height:1px;
  opacity:0;animation:t99-rise .9s cubic-bezier(.2,.7,.3,1) .2s forwards}
.t99-home .climb{position:relative;width:100%;max-width:520px;perspective:1200px}
/* the fade sits on the SVG layer only, so the floating chips are never dimmed by it */
.t99-home .climb-inner{transform:rotateX(4deg) rotateY(-6deg);transition:transform .15s ease-out;will-change:transform;
  -webkit-mask:linear-gradient(to right,transparent 0%,rgba(0,0,0,.6) 6%,#000 16%);
          mask:linear-gradient(to right,transparent 0%,rgba(0,0,0,.6) 6%,#000 16%)}
.t99-ar .climb-inner{-webkit-mask:linear-gradient(to left,transparent 0%,rgba(0,0,0,.6) 6%,#000 16%);mask:linear-gradient(to left,transparent 0%,rgba(0,0,0,.6) 6%,#000 16%)}
.t99-home .climb-svg{width:100%;height:auto;display:block;overflow:visible}
.t99-home .climb-bars rect,.t99-home .climb-treads rect{transform-box:fill-box;transform-origin:bottom;
  animation:t99-barrise 1.1s cubic-bezier(.22,1,.36,1) both}
.t99-home .climb-bars rect:nth-child(1),.t99-home .climb-treads rect:nth-child(1){animation-delay:.05s}
.t99-home .climb-bars rect:nth-child(2),.t99-home .climb-treads rect:nth-child(2){animation-delay:.15s}
.t99-home .climb-bars rect:nth-child(3),.t99-home .climb-treads rect:nth-child(3){animation-delay:.25s}
.t99-home .climb-bars rect:nth-child(4),.t99-home .climb-treads rect:nth-child(4){animation-delay:.35s}
.t99-home .climb-bars rect:nth-child(5),.t99-home .climb-treads rect:nth-child(5){animation-delay:.45s}
.t99-home .climb-bars rect:nth-child(6),.t99-home .climb-treads rect:nth-child(6){animation-delay:.55s}
.t99-home .climb-treads rect{transform-origin:left;animation-name:t99-treadwipe;animation-duration:.6s}
.t99-home .climb-line{stroke-dasharray:820;stroke-dashoffset:820;animation:t99-linedraw 1.4s .5s cubic-bezier(.4,0,.2,1) both}
.t99-home .climb-dots circle{opacity:0;animation:t99-nodein .4s ease-out both}
.t99-home .climb-dots circle:nth-child(1){animation-delay:.7s}
.t99-home .climb-dots circle:nth-child(2){animation-delay:.9s}
.t99-home .climb-dots circle:nth-child(3){animation-delay:1.1s}
.t99-home .climb-dots circle:nth-child(4){animation-delay:1.3s}
.t99-home .climb-dots circle:nth-child(5){animation-delay:1.5s}
.t99-home .climb-node{opacity:0;animation:t99-nodein .5s 1.7s ease-out both}
.t99-home .climb-ring{opacity:0;transform-box:fill-box;transform-origin:center;animation:t99-ringpulse 2.4s 1.9s ease-out infinite}
.t99-home .climb-chip{position:absolute;display:flex;flex-direction:column;gap:2px;padding:12px 16px;border-radius:14px;
  background:rgba(20,15,35,.62);border:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 14px 34px -16px rgba(0,0,0,.6);
  opacity:0;animation:t99-chipin .7s ease-out both,t99-chipfloat 4s ease-in-out 1s infinite}
.t99-home .climb-chip b{font-size:22px;font-weight:800;color:#fff;line-height:1;letter-spacing:-.02em}
.t99-home .climb-chip span{font-size:11.5px;font-weight:600;letter-spacing:.4px;color:rgba(255,255,255,.64);white-space:nowrap}
.t99-home .chip-a{left:-2%;top:18%;animation-delay:.9s,1.9s}
.t99-home .chip-b{right:-1%;top:0;animation-delay:1.1s,2.1s}
.t99-home .chip-c{left:15%;bottom:1%;animation-delay:1.3s,2.3s}
@keyframes t99-gradshift{0%{background-position:0% 50%}100%{background-position:200% 50%}}
@keyframes t99-barrise{from{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}
@keyframes t99-treadwipe{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}
@keyframes t99-linedraw{to{stroke-dashoffset:0}}
@keyframes t99-nodein{to{opacity:1}}
@keyframes t99-ringpulse{0%{opacity:.9;transform:scale(1)}70%{opacity:0;transform:scale(3.6)}100%{opacity:0;transform:scale(3.6)}}
@keyframes t99-chipin{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes t99-chipfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

/* --- BRANDS: tighter, sits right under the hero as the first proof --- */
.t99-home .home-brands{padding:52px 0 56px}
.t99-home .home-brands h2{font-size:clamp(18px,2vw,24px)}
.t99-home .home-brands p{margin:10px auto 26px;font-size:15px}

/* --- HOW WE WORK: three principles that "climb" --- */
.t99-home .home-how{padding:clamp(64px,8vw,100px) 0;background:var(--paper);position:relative;overflow:hidden}
.t99-home .home-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:end}
.t99-home .home-how-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px 28px 32px;
  overflow:hidden;isolation:isolate;transition:transform .35s cubic-bezier(.2,.7,.3,1),box-shadow .35s,border-color .35s}
.t99-home .home-how-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;transform:scaleX(0);transform-origin:left;
  background:linear-gradient(90deg,var(--purple),#c79bff);transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.t99-home .home-how-card:hover{transform:translateY(-6px);border-color:rgba(158,96,243,.4);
  box-shadow:0 36px 70px -40px rgba(124,63,212,.45),0 6px 18px -12px rgba(13,13,18,.16)}
.t99-home .home-how-card:hover::after{transform:scaleX(1)}
.t99-home .home-how-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.t99-home .home-how-n{font-size:13px;font-weight:800;letter-spacing:2.5px;color:var(--purple)}
.t99-home .home-how-ic{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:15px;
  background:var(--purple-soft);color:var(--purple-d);border:1px solid rgba(158,96,243,.22);transition:.35s}
.t99-home .home-how-ic svg{width:26px;height:26px}
.t99-home .home-how-card:hover .home-how-ic{background:linear-gradient(135deg,var(--purple),var(--purple-d));color:#fff;border-color:transparent;
  transform:translateY(-3px) rotate(-4deg);box-shadow:0 16px 28px -10px rgba(124,63,212,.7)}
.t99-home .home-how-card h3{font-size:21px;color:var(--ink);letter-spacing:-.02em;line-height:1.2;margin-bottom:10px}
.t99-home .home-how-card p{color:var(--muted);font-size:15px;line-height:1.65}
@media(min-width:1025px){
  /* the three cards step upward left→right — the climb, literally */
  .t99-home .home-how-card:nth-child(2){margin-bottom:22px}
  .t99-home .home-how-card:nth-child(3){margin-bottom:44px}
  .t99-ar .home-how-card:nth-child(2){margin-bottom:22px}
}

/* --- SERVICES by pillar: 13 cards → 4 rich cards --- */
.t99-home .home-pillar-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.t99-home .home-pillar{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;display:flex;flex-direction:column;
  transition:transform .35s cubic-bezier(.2,.7,.3,1),box-shadow .35s,border-color .35s}
.t99-home .home-pillar:hover{transform:translateY(-5px);border-color:rgba(158,96,243,.35);box-shadow:0 36px 70px -40px rgba(13,13,18,.35)}
.t99-home .home-pillar-art{display:block;aspect-ratio:16/6.5;overflow:hidden;background:var(--ink);position:relative}
.t99-home .home-pillar-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(13,13,18,.35))}
.t99-home .home-pillar-art img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.t99-home .home-pillar:hover .home-pillar-art img{transform:scale(1.04)}
.t99-home .home-pillar-body{padding:24px 26px 26px;display:flex;flex-direction:column;flex:1}
.t99-home .home-pillar-body h3{font-size:21px;color:var(--ink);letter-spacing:-.02em;margin-bottom:6px}
.t99-home .home-pillar-body>p{color:var(--muted);font-size:14.5px;line-height:1.6;margin-bottom:16px}
.t99-home .home-pillar-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 10px}
.t99-home .home-pillar-list a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:12px;color:var(--text);
  font-size:14px;font-weight:600;line-height:1.25;transition:background .2s,color .2s,transform .2s}
.t99-home .home-pillar-list a:hover{background:var(--purple-soft);color:var(--purple-d);transform:translateX(3px)}
.t99-ar .home-pillar-list a:hover{transform:translateX(-3px)}
.t99-home .home-pillar-ic{width:32px;height:32px;flex:0 0 32px;border-radius:9px;background:var(--mist);border:1px solid var(--line);
  display:inline-flex;align-items:center;justify-content:center;color:var(--purple-d);transition:.2s}
.t99-home .home-pillar-ic svg{width:16px;height:16px}
.t99-home .home-pillar-list a:hover .home-pillar-ic{background:linear-gradient(135deg,var(--purple),var(--purple-d));border-color:transparent;color:#fff}
.t99-home .home-pillar-lbl{flex:1}
.t99-home .home-pillar-arrow{display:inline-flex;line-height:0;opacity:0;transform:translateX(-4px);transition:.2s;color:var(--purple-d)}
.t99-home .home-pillar-arrow svg{width:14px;height:14px}
.t99-home .home-pillar-list a:hover .home-pillar-arrow{opacity:1;transform:none}
.t99-ar .home-pillar-arrow svg{transform:scaleX(-1)}

/* --- RESULTS & PROOF (dark band: stats + real testimonials) --- */
.t99-home .home-proof{position:relative;background:var(--ink);color:#fff;overflow:hidden;padding:clamp(64px,8vw,100px) 0}
.t99-home .home-proof::before{content:"";position:absolute;top:-220px;left:-160px;width:620px;height:620px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(158,96,243,.3),transparent 62%);animation:t99-glowA 15s ease-in-out infinite}
.t99-home .home-proof::after{content:"";position:absolute;bottom:-240px;right:-140px;width:560px;height:560px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(124,63,212,.26),transparent 62%);animation:t99-glowB 18s ease-in-out infinite}
.t99-home .home-proof .wrap{position:relative;z-index:2}
.t99-home .home-proof .home-sec-head h2{color:#fff}
.t99-home .home-stats--row{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:34px}
.t99-home .home-stats--row div{text-align:center;padding:26px 18px}
.t99-home .home-testi-grid{grid-template-columns:repeat(3,1fr)}
.t99-home .home-proof .home-testi-card{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.1);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .3s,border-color .3s,background .3s}
.t99-home .home-proof .home-testi-card:hover{transform:translateY(-4px);border-color:rgba(158,96,243,.4);background:rgba(158,96,243,.08)}
.t99-home .home-proof .home-testi-card blockquote{color:rgba(255,255,255,.9)}
.t99-home .home-proof .home-testi-card blockquote::before{color:#c79bff;opacity:.5}
.t99-home .home-proof .home-testi-who{display:flex;flex-direction:column;gap:2px}
.t99-home .home-proof .home-testi-who b{color:#fff}
.t99-home .home-proof .home-testi-who small{font-size:12.5px;color:rgba(255,255,255,.58)}

/* --- ABOUT: story with a caption chip on the brand image --- */
.t99-home .home-about-art{position:relative}
.t99-home .home-about-tag{position:absolute;left:18px;bottom:18px;padding:9px 14px;border-radius:999px;font-size:12px;font-weight:800;
  letter-spacing:1.4px;text-transform:uppercase;color:#fff;background:rgba(13,13,18,.72);border:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.t99-ar .home-about-tag{left:auto;right:18px;letter-spacing:normal;text-transform:none}

/* --- INSIGHTS: cards get a real thumbnail height even before lazy-load swaps the src --- */
.t99-home .home-guide-art img{min-height:100%}

/* --- FINAL CTA: reassurance line --- */
.t99-home .home-cta-reassure{margin:18px auto 0 !important;font-size:13.5px;color:rgba(255,255,255,.72)}

/* --- HOMEPAGE v2 RESPONSIVE --- */
@media(max-width:1024px){
  .t99-home .home-stats--row{grid-template-columns:repeat(2,1fr)}
  .t99-home .home-how-grid{grid-template-columns:1fr;gap:16px}
}
@media(max-width:880px){
  .t99-home .home-hero{padding-top:104px}
  .t99-home .home-hero-visual{justify-content:center;margin-top:8px}
  .t99-home .climb{max-width:min(420px,92%)}
  .t99-home .climb-inner{-webkit-mask:none;mask:none}
  .t99-home .home-hero .eyebrow{font-size:11.5px;letter-spacing:1.8px}
  .t99-home .chip-b,.t99-home .chip-c{display:none}
  .t99-home .chip-a{left:0;top:6%}
  .t99-home .home-pillar-grid{grid-template-columns:1fr}
  .t99-home .home-testi-grid{grid-template-columns:1fr}
  .t99-home .home-hero-copy .home-hero-trust{font-size:13.5px}
}
@media(max-width:560px){
  .t99-home .home-pillar-list{grid-template-columns:1fr}
  .t99-home .home-stats--row{gap:12px}
  .t99-home .btn-lg{padding:15px 24px;font-size:15.5px;width:100%;justify-content:center}
  .t99-home .home-hero-cta{flex-direction:column;align-items:stretch}
}

/* --- SERVICES HUB on mobile: two compact columns instead of a 16-card single column --- */
@media(max-width:880px) and (min-width:481px){
  .t99-svc .svc-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .t99-svc .svc-tile{padding:20px 18px;gap:10px}
  .t99-svc .svc-tile h3{font-size:16px}
  .t99-svc .svc-tile p{font-size:13.5px}
}

/* --- CONTACT page depth: what happens next · where we work · FAQ --- */
.t99-blog .ct-sec-head{max-width:680px;margin:0 auto 40px;text-align:center}
.t99-blog .ct-sec-head .eyebrow{margin-bottom:10px}
.t99-blog .ct-sec-head h2{font-size:clamp(26px,3.2vw,38px);color:var(--ink);letter-spacing:-.02em}
.t99-blog .ct-next{padding:clamp(60px,7vw,90px) 0;background:var(--paper)}
.t99-blog .ct-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;position:relative}
.t99-blog .ct-step{position:relative;background:var(--mist);border:1px solid var(--line);border-radius:18px;padding:28px 26px}
.t99-blog .ct-step-n{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;
  background:linear-gradient(135deg,var(--purple),var(--purple-d));color:#fff;font-weight:800;font-size:15px;margin-bottom:16px;
  box-shadow:0 10px 22px -10px rgba(124,63,212,.8)}
.t99-blog .ct-step h3{font-size:18px;color:var(--ink);letter-spacing:-.01em;margin-bottom:8px}
.t99-blog .ct-step p{color:var(--muted);font-size:14.5px;line-height:1.6}
.t99-blog .ct-offices{padding:clamp(60px,7vw,90px) 0;background:var(--mist)}
.t99-blog .ct-office-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.t99-blog .ct-office{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 24px;display:flex;gap:16px;align-items:flex-start;
  transition:transform .25s,box-shadow .25s,border-color .25s}
.t99-blog .ct-office:hover{transform:translateY(-4px);border-color:rgba(158,96,243,.35);box-shadow:0 28px 56px -34px rgba(13,13,18,.3)}
.t99-blog .ct-office-ic{width:44px;height:44px;flex:none;border-radius:12px;background:var(--purple-soft);border:1px solid rgba(158,96,243,.22);
  display:inline-flex;align-items:center;justify-content:center;color:var(--purple-d)}
.t99-blog .ct-office-ic svg{width:20px;height:20px}
.t99-blog .ct-office h3{font-size:17px;color:var(--ink);margin-bottom:3px}
.t99-blog .ct-office p{color:var(--muted);font-size:13.5px;line-height:1.5;margin:0}
.t99-blog .ct-office a{display:inline-block;margin-top:8px;font-size:14px;font-weight:700;color:var(--purple-d)}
.t99-blog .ct-office a:hover{text-decoration:underline}
.t99-blog .ct-faq{padding:clamp(60px,7vw,90px) 0;background:var(--paper)}
.t99-blog .ct-faq-wrap{max-width:780px}
.t99-blog .ct-faq-list{display:flex;flex-direction:column;gap:12px}
.t99-blog .ct-faq-item{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.t99-blog .ct-faq-item summary{list-style:none;cursor:pointer;padding:20px 22px;font-weight:700;font-size:16px;color:var(--ink);
  display:flex;align-items:center;justify-content:space-between;gap:16px}
.t99-blog .ct-faq-item summary::-webkit-details-marker{display:none}
.t99-blog .ct-faq-ic{flex:none;color:var(--purple-d);transition:transform .25s}
.t99-blog .ct-faq-ic svg{width:20px;height:20px}
.t99-blog .ct-faq-item[open] .ct-faq-ic{transform:rotate(180deg)}
.t99-blog .ct-faq-a{padding:0 22px 20px;color:var(--muted);font-size:15px;line-height:1.65}
.t99-blog .ct-hero{padding-bottom:clamp(56px,7vw,90px)}
@media(max-width:880px){
  .t99-blog .ct-steps,.t99-blog .ct-office-grid{grid-template-columns:1fr}
}

/* --- NEWSLETTER: live status line under the form --- */
.t99-blog .news-status{min-height:22px;margin:12px auto 0;font-size:14px;font-weight:600}
.t99-blog .news-status.is-ok{color:#8ff0b8}
.t99-blog .news-status.is-err{color:#ff9c8a}

/* --- reduced motion for everything added in v1.5.0 --- */
@media(prefers-reduced-motion:reduce){
  .t99-home .home-hero-visual,.t99-home .climb-bars rect,.t99-home .climb-treads rect,.t99-home .climb-line,
  .t99-home .climb-dots circle,.t99-home .climb-node,.t99-home .climb-ring,.t99-home .climb-chip,
  .t99-home .home-hero h1 .grad,.t99-home .home-proof::before,.t99-home .home-proof::after{animation:none !important;opacity:1;transform:none;stroke-dashoffset:0}
  .t99-home .climb-ring{opacity:0}
}

/* =================================================================== */
/* v1.6.0 — MOBILE DESIGN PASS                                          */
/* Everything below is phone-first correction work, measured with a real */
/* engine at 320/360/390/430/768px rather than eyeballed. Appended last  */
/* on purpose so it wins at equal specificity.                          */
/* =================================================================== */
@media(max-width:880px){

  /* ---- Off-canvas nav: stop flex from crushing the panel ----
     The panel is a column flex container whose content (1202px) is taller
     than the viewport (850px). Without flex-shrink:0 every child gets
     compressed instead of scrolling: the CTA rendered 28px tall against a
     43px box, the service icons 32x28, the language links 24px. */
  .t99-chrome #t99-hdr nav > *,
  .t99-chrome #t99-hdr nav .nav-item,
  .t99-chrome #t99-hdr nav .nav-top,
  .t99-chrome #t99-hdr nav .dd,
  .t99-chrome #t99-hdr nav .dd-link,
  .t99-chrome #t99-hdr nav .dd-all,
  .t99-chrome #t99-hdr nav .nav-cta-mobile,
  .t99-chrome #t99-hdr nav .lang-switch{flex-shrink:0}
  .t99-chrome #t99-hdr nav{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
    padding-bottom:max(28px,env(safe-area-inset-bottom))}

  /* ---- Touch targets: 44px minimum, per WCAG 2.5.5 ---- */
  .t99-chrome #t99-hdr nav .nav-top{min-height:48px}
  .t99-chrome .dd-link{min-height:44px;padding:10px 8px}
  .t99-chrome .dd-all{min-height:44px;padding:12px 16px}
  .t99-chrome .nav-cta-mobile{min-height:50px;font-size:15.5px}
  .t99-chrome .lang-switch{display:inline-flex;gap:4px;padding:4px}
  .t99-chrome .lang-switch .lang-link{min-height:44px;min-width:56px;display:inline-flex;
    align-items:center;justify-content:center;padding:0 12px;font-size:13px}
  .t99-chrome .dd-ic{flex:0 0 auto}

  /* ---- Legibility: nothing below 11px on a phone ---- */
  .t99-chrome .dd-h{font-size:11px;letter-spacing:1.2px}
  .t99-blog .r-meta,.t99-home .home-guide-meta{font-size:12px;letter-spacing:1.1px}
  .t99-home .eyebrow,.t99-blog .eyebrow{font-size:12px;letter-spacing:1.4px}

  /* ---- Filter chips on /blog/ ---- */
  .t99-blog .blog-chip{min-height:44px;padding:11px 16px}

  /* ---- Nothing may push the page sideways ---- */
  .t99-chrome,.t99-home,.t99-blog,.t99-svc{overflow-x:clip}
  .t99-blog .post-body img,.t99-blog .post-body iframe,
  .t99-blog .post-body video{max-width:100%;height:auto}
  /* long URLs and unbroken strings in prose */
  .t99-blog .post-body p,.t99-blog .post-body li,
  .t99-blog .post-body h1,.t99-blog .post-body h2,
  .t99-blog .post-body h3,.t99-blog .post-body h4{overflow-wrap:anywhere}
  /* any wide table scrolls inside its own box instead of the page */
  .t99-blog .post-body table,.t99-blog table,.t99-home table,.t99-svc table{
    display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  /* code and pre blocks */
  .t99-blog .post-body pre{overflow-x:auto;max-width:100%}
}

/* Small phones (<=360px): tighten the gutter so cards keep their air */
@media(max-width:360px){
  .t99-chrome .wrap,.t99-home .wrap,.t99-blog .wrap,.t99-svc .wrap{
    padding-left:18px;padding-right:18px}
  .t99-home .home-hero h1{font-size:clamp(30px,8.6vw,38px)}
  .t99-home .btn-lg{padding:15px 22px;font-size:15.5px;width:100%;justify-content:center}
  .t99-home .home-hero-cta{display:flex;flex-direction:column;gap:12px;width:100%}
}

/* v1.6.0 — mobile pass, part 2: page-content surfaces the theme also owns. */
@media(max-width:880px){
  /* /packages/ comparison table. The page's own CSS sets .compare{overflow:hidden},
     which CLIPS the 659px table inside a 390px viewport: the Summit column was
     unreachable on a phone. Higher specificity than the page rule, so it wins. */
  .t99-chrome .compare{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}
  .t99-chrome .compare table{min-width:560px}
  .t99-chrome .compare th,.t99-chrome .compare td{padding:14px 14px;font-size:13.5px}
  .t99-chrome .compare thead th{font-size:12px;letter-spacing:.6px}
  .t99-chrome .compare .cat-row td{padding:12px 14px;font-size:12px}
  /* generic safety for any other wide table on a chrome page */
  .t99-chrome .pad table{display:block;max-width:100%;overflow-x:auto}

  /* hero eyebrow was 11.5px at (0,3,0); match that weight to keep it legible */
  .t99-home .home-hero .eyebrow{font-size:12.5px;letter-spacing:1.4px}
}

/* v1.6.0 — author archive: real headshot + profile link */
.t99-blog .author-photo{width:132px;height:132px;border-radius:50%;object-fit:cover;display:block;
  margin:0 auto 20px;border:3px solid rgba(255,255,255,.16);
  box-shadow:0 18px 44px -16px rgba(0,0,0,.7)}
.t99-blog .author-social{margin-top:14px}
.t99-blog .author-social a{display:inline-flex;align-items:center;gap:8px;min-height:44px;
  padding:0 18px;border-radius:999px;background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);color:#fff;font-size:14px;font-weight:700;
  text-decoration:none;transition:.2s}
.t99-blog .author-social a:hover{background:var(--purple);border-color:var(--purple)}
.t99-blog .author-social-ic{display:inline-flex}
.t99-blog .author-social-ic svg{width:17px;height:17px}
@media(max-width:880px){
  .t99-blog .author-photo{width:108px;height:108px}
}

/* v1.6.0 — the category chip on single posts is a real tap target, not a label */
@media(max-width:880px){
  .t99-blog a.post-tag{min-height:44px;display:inline-flex;align-items:center;padding:0 16px}
}

/* v1.6.0 — data figures keep their own aspect ratio.
   .img-block img forces aspect-ratio:16/9 + object-fit:cover, which is right for
   photography and wrong for a chart: it crops the artwork and, at 390px wide, a
   16:9 chart shrinks its labels to roughly 6px. Figures marked .fig render at
   their natural ratio so they can be drawn mobile-first. */
.t99-blog .img-block img.fig{aspect-ratio:auto;object-fit:contain;background:#fff;
  border:1px solid var(--line)}
