/* fonts.css */
/* Arabic faces (OFL). Latin stays in the system Helvetica (owner decision D2: no Helvetica font files). */
@font-face{font-family:"DP Plex Arabic";src:url(../fonts/plex-arabic-300.woff2) format("woff2");font-weight:300;font-style:normal;font-display:optional;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"DP Plex Arabic";src:url(../fonts/plex-arabic-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:optional;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"DP Plex Arabic";src:url(../fonts/plex-arabic-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:optional;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"DP Plex Arabic";src:url(../fonts/plex-arabic-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:optional;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"DP Tajawal";src:url(../fonts/tajawal-300.woff2) format("woff2");font-weight:300;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"DP Tajawal";src:url(../fonts/tajawal-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"DP Tajawal";src:url(../fonts/tajawal-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"DP Tajawal";src:url(../fonts/tajawal-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}

/* tokens.css */
/* Concept D tokens. Brand: #EE4445 accent, #992728 main red, black, white; Helvetica Light + Bold. */
:root {
  /* colour */
  --ink: #000;
  --paper: #fff;
  --red: #EE4445;          /* the dot, indicators, large type only on white (3.79:1) */
  --red-deep: #992728;     /* small red text on white (7.85:1) */
  --fog: #F3F3F3;          /* quiet light panels */
  --line-l: #E3E3E3;
  --line-d: #2A2A2A;
  --mute-l: #646464;       /* 5.9:1 on white, 5.4:1 on fog */
  --mute-d: #A3A3A3;       /* 8.6:1 on black */

  /* contextual (light by default; .on-dark flips them) */
  --fg: var(--ink);
  --bg: var(--paper);
  --mute: var(--mute-l);
  --line: var(--line-l);
  --strong-line: var(--ink);
  --on-bg: var(--ink);     /* pressed chip / selected tab background */
  --on-fg: var(--paper);
  --hover: #F3F3F3;

  /* type */
  --font-latin: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ar: "DP Plex Arabic", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font: var(--font-latin);
  --w-light: 300;
  --w-reg: 400;
  --w-bold: 700;
  --track-display: -0.035em;
  --track-head: -0.02em;

  --fs-hero: clamp(2.75rem, 1.05rem + 7.3vw, 7.75rem);   /* 44 → 124 */
  --fs-d1: clamp(2.25rem, 1.25rem + 4.1vw, 5rem);        /* 36 → 80 */
  --fs-d2: clamp(1.875rem, 1.25rem + 2.5vw, 3.5rem);     /* 30 → 56 */
  --fs-d3: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);       /* 24 → 36 */
  --fs-d4: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);      /* 20 → 24 */
  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);/* 18 → 22 */
  --fs-body: 1.0625rem;                                  /* 17 */
  --fs-sm: 0.9375rem;                                    /* 15 */
  --fs-xs: 0.8125rem;                                    /* 13 */
  --lh-body: 1.6;
  --lh-head: 1.04;

  /* space + layout */
  --maxw: 1440px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --col-gap: clamp(16px, 2.2vw, 32px);
  --sec-y: clamp(72px, 9.5vw, 152px);
  --inset: clamp(8px, 1.1vw, 18px);
  --r-l: clamp(20px, 2.1vw, 32px);
  --r-m: 14px;
  --r-s: 8px;
  --pill: 999px;
  --hdr-h: 72px;
  --subnav-h: 54px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --t-fast: 160ms;
  --t-med: 300ms;
  --t-slow: 900ms;
}

@media (max-width: 1023px) { :root { --hdr-h: 64px; } }

/* dark contexts */
.on-dark, .panel--dark, .hero-b, .hx__panel, .wx__panel, .shero--dark, .ftr, .mnav, .role--us, .flow__n--2, .vmodal {
  --fg: var(--paper);
  --bg: var(--ink);
  --mute: var(--mute-d);
  --line: var(--line-d);
  --strong-line: var(--paper);
  --on-bg: var(--paper);
  --on-fg: var(--ink);
  --hover: #161616;
  color: var(--fg);
  background-color: var(--bg);
}
.on-fog, .panel--fog, .shero--fog, .ssec--mod, .svx__panel, .contact__panel { --bg: var(--fog); --line: #DCDCDC; --hover: #EAEAEA; background-color: var(--fog); }

/* Arabic: its own face, no tracking, roomier lines, slightly smaller display sizes */
html[lang="ar"] {
  --font: var(--font-ar);
  --track-display: 0;
  --track-head: 0;
  --lh-body: 1.85;
  --lh-head: 1.28;
  --fs-hero: clamp(2.5rem, 1.1rem + 5.6vw, 6.25rem);
  --fs-d1: clamp(2rem, 1.2rem + 3.3vw, 4.25rem);
  --fs-d2: clamp(1.75rem, 1.2rem + 2.1vw, 3rem);
}
html[lang="ar"][data-arfont="tajawal"] { --font-ar: "DP Tajawal", "Helvetica Neue", Helvetica, Arial, sans-serif; }
:lang(ar) { font-family: var(--font-ar); letter-spacing: 0; }
html[data-arfont="tajawal"] :lang(ar) { font-family: "DP Tajawal", "Helvetica Neue", Helvetica, Arial, sans-serif; }

/* base.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--w-light);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) { html:not([data-motion="reduced"]) { scroll-behavior: smooth; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
b, strong { font-weight: var(--w-bold); }
[hidden] { display: none !important; }
dialog { color: inherit; }
::selection { background: var(--red); color: #000; }

/* focus: always visible, follows the text colour so it works on light and dark */
:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
main:focus-visible { outline: none; }

/* utilities */
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.skip { position: fixed; z-index: 200; inset-inline-start: 12px; top: 12px; padding: 12px 18px; border-radius: var(--pill); background: var(--ink); color: var(--paper); font-weight: var(--w-bold); font-size: var(--fs-sm); transform: translateY(-160%); transition: transform var(--t-fast) var(--ease); text-decoration: none; }
.skip:focus { transform: none; }

/* the brand full stop: a red disc that sits on the baseline like a period */
.dot { display: inline-block; width: .19em; height: .19em; margin-inline-start: .07em; border-radius: 50%; background: var(--red); vertical-align: baseline; }
html[lang="ar"] .dot { margin-inline-start: .09em; }

/* display type */
.d1, .d2, .d3, .d4 { font-weight: var(--w-light); line-height: var(--lh-head); letter-spacing: var(--track-head); text-wrap: balance; }
.d1 { font-size: var(--fs-d1); letter-spacing: var(--track-display); line-height: 1.02; }
.d2 { font-size: var(--fs-d2); line-height: 1.06; }
.d3 { font-size: var(--fs-d3); line-height: 1.14; }
.d4 { font-size: var(--fs-d4); line-height: 1.25; font-weight: var(--w-bold); letter-spacing: 0; }
html[lang="ar"] .d1, html[lang="ar"] .d2, html[lang="ar"] .d3 { line-height: var(--lh-head); }
html[lang="ar"] .d1, html[lang="ar"] .d2, html[lang="ar"] .d3, html[lang="ar"] .hero__h, html[lang="ar"] .shero__h, html[lang="ar"] .phero__h { font-weight: var(--w-reg); }
p { text-wrap: pretty; }

/* directional icons mirror in RTL */
.i { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .i-dir { transform: scaleX(-1); }

/* layout.css */
/* ------------------------------------------------------------------ frame */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec-y); }
.panel { margin-inline: var(--inset); border-radius: var(--r-l); padding-block: var(--sec-y); }
.sec--work, .sec--process { padding-block: var(--inset); }

.sec__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 18px; margin-bottom: clamp(40px, 5.5vw, 80px); align-items: start; }
.sec__head > .label { grid-column: 1 / 4; padding-top: .55em; }
.sec__head > h2 { grid-column: 4 / 13; }
.sec__head > .sec__lead { grid-column: 4 / 11; }
.sec__head--split > div:first-child { grid-column: 1 / 8; }
.sec__head--split > div:last-child { grid-column: 9 / 13; align-self: end; display: grid; gap: 20px; }
.sec__head--split .label { margin-bottom: 18px; }
.sec__lead { font-size: var(--fs-lead); color: var(--mute); max-width: 52ch; }
.sec__more { margin-top: clamp(28px, 3vw, 44px); }
@media (max-width: 899px) {
  .sec__head > .label, .sec__head > h2, .sec__head > .sec__lead, .sec__head--split > div { grid-column: 1 / -1 !important; }
  .sec__head > .label { padding-top: 0; }
}

/* ------------------------------------------------------------------ header */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: transform var(--t-med) var(--ease), border-color var(--t-med) linear; }
html.is-scrolled .hdr { border-bottom-color: var(--line-l); }
html.hdr-hidden .hdr { transform: translateY(-101%); }
html.mega-open .hdr { transform: none; background: var(--paper); border-bottom-color: var(--line-l); }
.hdr__in { display: flex; align-items: center; height: var(--hdr-h); gap: 6px; }
.hdr__logo { flex: none; display: block; padding: 10px 0; margin-inline-end: clamp(12px, 2.6vw, 44px); color: var(--ink); }
.hdr__logo svg { height: 23px; width: auto; max-width: none; }
.hdr__list { display: flex; gap: 2px; }
.hdr__link { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--pill); background: none; font-size: var(--fs-sm); font-weight: var(--w-reg); text-decoration: none; white-space: nowrap; transition: background-color var(--t-fast) linear; }
.hdr__link:hover, .hdr__btn[aria-expanded="true"] { background: var(--fog); }
.hdr__link[aria-current="page"]::before, .hdr__btn[data-current]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hdr__btn .i-chev { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.hdr__btn[aria-expanded="true"] .i-chev { transform: rotate(180deg); }
.hdr__end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.hdr__lang { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--pill); font-size: var(--fs-sm); font-weight: var(--w-reg); text-decoration: none; }
.hdr__lang:hover { background: var(--fog); }
.hdr__burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-l); border-radius: 50%; background: var(--paper); }
.hdr__burger .i { width: 20px; height: 20px; }
@media (max-width: 1023px) { .hdr__nav { display: none; } .hdr__burger { display: inline-flex; } }
@media (max-width: 599px) { .hdr .hdr__cta { display: none; } .hdr__logo svg { height: 21px; } }

/* mega menu */
.mega { position: absolute; inset-inline: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line-l); padding-block: 34px 42px; max-height: calc(100vh - var(--hdr-h)); overflow-y: auto; }
.mega:not([hidden]) { animation: dpDrop var(--t-med) var(--ease); }
.mega__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); } /* round 5: the three service groups only (the "Talk to us" card is removed) */
.mega__group { font-size: var(--fs-sm); font-weight: var(--w-bold); }
.mega__col ul { display: grid; gap: 2px; list-style: none; }
.mega__svc { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; padding: 10px 12px; margin-inline: -12px; border-radius: 10px; text-decoration: none; transition: background-color var(--t-fast) linear; }
.mega__svc:hover { background: var(--fog); }
.mega__num { grid-row: span 2; font-size: var(--fs-xs); color: var(--mute-l); font-weight: var(--w-reg); padding-top: 2px; }
.mega__name { font-size: 1rem; font-weight: var(--w-bold); line-height: 1.35; }
.mega__desc { font-size: .8125rem; color: var(--mute-l); font-weight: var(--w-reg); line-height: 1.45; }
html.mega-open body::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .3); animation: dpFade var(--t-med) linear; }

/* mobile menu */
.mnav { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow-y: auto; overscroll-behavior: contain; }
.mnav[open] { display: flex; flex-direction: column; animation: dpFade var(--t-med) var(--ease); }
.mnav::backdrop { background: rgba(0, 0, 0, .6); }
html:has(.mnav[open]) { overflow: hidden; }
.mnav__top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); padding-inline: var(--gutter); background: var(--ink); border-bottom: 1px solid var(--line-d); }
.mnav__logo { color: var(--paper); }
.mnav__logo svg { height: 21px; width: auto; max-width: none; }
.mnav__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #3a3a3a; border-radius: 50%; background: none; color: var(--paper); }
.mnav__nav { flex: 1; padding: 8px var(--gutter) 24px; }
.mnav__main > li { border-bottom: 1px solid var(--line-d); }
.mnav__main > li > a, .mnav__more > summary { display: flex; align-items: center; justify-content: space-between; min-height: 66px; font-size: 1.75rem; font-weight: var(--w-light); letter-spacing: -.01em; text-decoration: none; list-style: none; cursor: pointer; }
.mnav__more > summary::-webkit-details-marker { display: none; }
.mnav__more .i-plus { width: 22px; height: 22px; transition: transform var(--t-med) var(--ease); }
.mnav__more[open] .i-plus { transform: rotate(45deg); }
.mnav__panel { padding: 0 0 22px; }
.mnav__group { margin: 18px 0 4px; font-size: var(--fs-xs); color: var(--mute-d); font-weight: var(--w-reg); }
.mnav__svcs a { display: flex; gap: 12px; padding: 9px 0; font-size: 1.125rem; font-weight: var(--w-reg); text-decoration: none; }
.mnav__num { min-width: 26px; padding-top: 3px; font-size: var(--fs-xs); color: var(--mute-d); }
.mnav__all { margin-top: 14px; }
.mnav__foot { display: grid; gap: 12px; padding: 20px var(--gutter) max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); }
.mnav__foot > .btn { justify-content: center; }
.mnav__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mnav__quick .btn { justify-content: center; }
.mnav__lang { justify-self: start; padding: 10px 0; font-size: 1rem; font-weight: var(--w-reg); }

/* ------------------------------------------------------------------ contact (ends every page) */
.contact { padding-block: var(--sec-y) clamp(64px, 7vw, 112px); scroll-margin-top: 0; }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; align-items: start; }
.contact__intro { grid-column: 1 / 6; }
.contact__formwrap { grid-column: 7 / 13; }
.contact .label { margin-bottom: 22px; }
.contact__h { font-size: var(--fs-d1); letter-spacing: var(--track-display); line-height: 1.02; }
.contact__lead { margin-top: 22px; font-size: var(--fs-lead); color: var(--mute-d); max-width: 40ch; }
.contact__direct { margin-top: clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line-d); }
.cline { display: grid; grid-template-columns: 26px minmax(96px, auto) minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 17px 0; border-top: 1px solid var(--line-d); text-decoration: none; }
.cline .i { width: 20px; height: 20px; }
.cline__k { font-size: var(--fs-sm); color: var(--mute-d); font-weight: var(--w-reg); }
.cline__v { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: var(--w-light); text-decoration: underline transparent; text-underline-offset: .25em; transition: text-decoration-color var(--t-fast) linear; }
.cline:hover .cline__v { text-decoration-color: currentColor; }
[dir="rtl"] .cline__v { text-align: right; }
.contact__meta { margin-top: 18px; font-size: var(--fs-sm); color: var(--mute-d); font-weight: var(--w-reg); max-width: 50ch; }
.contact__meta + .contact__meta { margin-top: 8px; }
@media (max-width: 959px) { .contact__intro, .contact__formwrap { grid-column: 1 / -1; } }

/* form */
.contact__formwrap { padding: clamp(24px, 3.2vw, 48px); border: 1px solid var(--line-d); border-radius: var(--r-l); background: #0B0B0B; }
.form { display: grid; gap: 22px; }
.form__h { font-size: var(--fs-d4); font-weight: var(--w-bold); }
.form__err { padding: 12px 16px; border: 1px solid var(--red); border-radius: 10px; font-size: var(--fs-sm); font-weight: var(--w-reg); }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-size: var(--fs-sm); font-weight: var(--w-reg); color: #D9D9D9; }
.field > legend { margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; height: 54px; padding: 0 16px; border: 1px solid #3c3c3c; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 1.0625rem; font-weight: var(--w-reg); transition: border-color var(--t-fast) linear; }
.field textarea { height: auto; min-height: 108px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8a8a8a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #6a6a6a; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; border-color: var(--paper); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__e { font-size: var(--fs-sm); font-weight: var(--w-reg); color: var(--red); }
.field__e:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 46px; }
.select .i { position: absolute; inset-inline-end: 16px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; pointer-events: none; }
.seg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid #3c3c3c; border-radius: var(--pill); font-size: var(--fs-sm); font-weight: var(--w-reg); transition: background-color var(--t-fast) linear, color var(--t-fast) linear; }
.seg__opt input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 3px; }
.form__more { justify-self: start; text-align: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: none; font-size: var(--fs-sm); font-weight: var(--w-reg); text-decoration: underline; text-decoration-color: #5a5a5a; text-underline-offset: .3em; }
.form__more .i { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.form__more[aria-expanded="true"] .i { transform: rotate(45deg); }
.form__opt { display: grid; gap: 22px; }
.form__opt:not([hidden]) { animation: dpRise var(--t-med) var(--ease); }
.form__consent { font-size: var(--fs-xs); color: var(--mute-d); font-weight: var(--w-reg); }
.form__submit { justify-self: start; }
.form__done { display: grid; gap: 14px; justify-items: start; }
.form__done:not([hidden]) { animation: dpRise var(--t-med) var(--ease); }
.form__doneh { font-size: var(--fs-d4); font-weight: var(--w-bold); }
.form__done p:not(.form__doneh) { color: var(--mute-d); font-weight: var(--w-reg); }
.form__done .lnk { padding: 0; border: 0; background: none; }

/* ------------------------------------------------------------------ footer */
.ftr { padding-block: 0 32px; }
.ftr > .wrap { border-top: 1px solid var(--line-d); padding-top: clamp(48px, 5vw, 80px); }
.ftr__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-bottom: clamp(36px, 4vw, 60px); }
.ftr__logo { color: var(--paper); }
.ftr__logo svg { height: clamp(30px, 3vw, 42px); width: auto; max-width: none; }
.ftr__tag { display: flex; align-items: center; gap: 14px; font-size: var(--fs-sm); font-weight: var(--w-light); }
.ftr__tag b { font-weight: var(--w-bold); line-height: 1.3; }
.ftr__slash { color: #8a8a8a; font-size: 2.6em; font-weight: var(--w-light); line-height: 1; letter-spacing: -.12em; transform: scaleX(.8); }
.ftr__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px var(--col-gap); padding-block: 40px 44px; border-top: 1px solid var(--line-d); }
.ftr__h { margin-bottom: 14px; font-size: var(--fs-xs); color: var(--mute-d); font-weight: var(--w-reg); }
.ftr__cols ul { display: grid; gap: 9px; list-style: none; }
.ftr__svcs { grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); }
.ftr__cols a { display: inline-block; padding-block: 3px; font-size: var(--fs-sm); font-weight: var(--w-reg); color: #E2E2E2; text-decoration: none; }
@media (max-width: 767px) { .ftr__cols ul { gap: 2px; } .ftr__cols a { padding-block: 8px; } }
.ftr__cols a:hover { color: var(--paper); text-decoration: underline; }
.ftr__social a { display: inline-flex; align-items: center; gap: 6px; }
.ftr__social .i { width: 14px; height: 14px; color: var(--mute-d); }
.ftr__lang { margin-top: 22px; }
.ftr__legal { display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: var(--fs-xs); font-weight: var(--w-reg); color: var(--mute-d); }
.ftr__proto { color: #8c8c8c; }
@media (max-width: 1023px) { .ftr__cols { grid-template-columns: 1fr 1fr; } .ftr__cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 479px) { .ftr__cols { grid-template-columns: 1fr; } .ftr__svcs { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ floating WhatsApp, toast */
.fwa { position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: var(--pill); background: var(--ink); color: var(--paper); font-size: var(--fs-sm); font-weight: var(--w-bold); text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); transition: opacity var(--t-med) linear, transform var(--t-med) var(--ease), visibility 0s linear 0s; }
.fwa .i { width: 22px; height: 22px; }
.fwa:hover { background: #1a1a1a; }
.fwa.is-hidden { opacity: 0; transform: translateY(14px) scale(.96); visibility: hidden; pointer-events: none; transition: opacity var(--t-med) linear, transform var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
@media (max-width: 767px) { .fwa { width: 52px; padding: 0; justify-content: center; } .fwa__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
/* round 9 (CD-A-36): the round button on phones turned sideways */
@media (orientation: landscape) and (max-height: 500px) { .fwa { width: 52px; padding: 0; justify-content: center; } .fwa__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
/* round 9 (CD-A-31): bottom-left on Arabic pages, where right-to-left lines start on the right */
html[dir="rtl"] .fwa { right: auto; left: max(16px, env(safe-area-inset-left)); }

.toast { position: fixed; z-index: 95; left: 50%; bottom: 24px; display: flex; align-items: flex-start; gap: 12px; width: max-content; max-width: min(560px, calc(100vw - 32px)); padding: 14px 12px 14px 18px; border: 1px solid #2f2f2f; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: var(--fs-sm); font-weight: var(--w-reg); line-height: 1.45; opacity: 0; visibility: hidden; transform: translate(-50%, 14px); transition: opacity var(--t-med) linear, transform var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
.toast::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .5em; border-radius: 50%; background: var(--red); }
.toast p { flex: 1; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity var(--t-med) linear, transform var(--t-med) var(--ease), visibility 0s; }
.toast__x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #1d1d1d; color: var(--paper); }
.toast__x .i { width: 16px; height: 16px; }
@media (max-width: 767px) { .toast { bottom: 84px; } }

/* components.css */
/* ------------------------------------------------------------------ section marker */
.label { display: inline-flex; align-items: baseline; gap: 10px; font-size: var(--fs-sm); font-weight: var(--w-reg); color: var(--mute); }
.label__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: translateY(-1px); }

/* ------------------------------------------------------------------ buttons
   Primary buttons carry the brand dot; on hover the dot expands until it fills the button. */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding-block: 12px; padding-inline: 22px 26px; border: 1px solid var(--ink); border-radius: var(--pill); background: var(--ink); color: var(--paper); font-size: 1rem; font-weight: var(--w-bold); line-height: 1; text-decoration: none; white-space: nowrap; transition: color var(--t-med) linear, border-color var(--t-med) linear; }
.btn__t { position: relative; z-index: 1; }
.btn__dot { position: relative; z-index: 0; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--red); transition: transform 520ms var(--ease); }
.btn:hover .btn__dot, .btn:focus-visible .btn__dot { transform: scale(72); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--red); }
.btn:active .btn__dot { transition-duration: 200ms; }
.btn .i { position: relative; z-index: 1; width: 20px; height: 20px; }
.btn--sm { min-height: 42px; padding-block: 8px; gap: 10px; padding-inline: 16px 19px; font-size: var(--fs-sm); }
.btn--sm .btn__dot { width: 8px; height: 8px; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--ghost, .btn--ghost-light { background: transparent; color: var(--fg); border-color: var(--strong-line); }
.btn--ghost { --fg: var(--ink); --strong-line: var(--ink); }
.btn--ghost-light { --fg: var(--paper); --strong-line: rgba(255, 255, 255, .5); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--ghost, .btn--ghost-light { transition: background-color var(--t-fast) linear, color var(--t-fast) linear, border-color var(--t-fast) linear; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .ctas { display: grid; } .ctas .btn { justify-content: center; } }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } } /* round 9 (CD-A-35): on phones a long label wraps when text is enlarged */

/* text link with arrow */
.lnk { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 1rem; font-weight: var(--w-bold); text-decoration: none; color: inherit; background: none; border: 0; }
.lnk > span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em; transition: text-decoration-color var(--t-fast) linear; }
.lnk:hover > span { text-decoration-color: currentColor; }
.lnk .i { width: 18px; height: 18px; transition: translate var(--t-med) var(--ease); }
.lnk:hover .i-dir { translate: 4px 0; }
[dir="rtl"] .lnk:hover .i-dir { translate: -4px 0; }
.lnk--inline { display: inline; padding: 0; font-weight: var(--w-reg); }
.lnk--inline, .lnk--inline > span { text-decoration: underline; text-decoration-color: currentColor; }
.lnk--wa .i { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ breadcrumb */
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-xs); font-weight: var(--w-reg); color: var(--mute); }
.crumb li { display: inline-flex; align-items: center; }
.crumb li + li::before { content: "/"; padding-inline: 10px; color: var(--line); }
.on-dark .crumb li + li::before, .shero--dark .crumb li + li::before { color: #4a4a4a; }
.crumb a { text-decoration: none; padding-block: 2px; margin-block: -2px; } /* round 9 (CD-A-32): 25 px tap height, same layout */
.crumb a:hover { color: var(--fg); text-decoration: underline; }
.crumb [aria-current] { color: var(--fg); }

/* ------------------------------------------------------------------ chips and segmented controls */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 17px; border: 1px solid var(--line); border-radius: var(--pill); background: transparent; color: var(--fg); font-size: var(--fs-sm); font-weight: var(--w-reg); text-decoration: none; white-space: nowrap; transition: background-color var(--t-fast) linear, color var(--t-fast) linear, border-color var(--t-fast) linear; }
.chip:hover { border-color: var(--strong-line); }
.chip[aria-pressed="true"] { background: var(--on-bg); color: var(--on-fg); border-color: var(--on-bg); }
.seg--inline { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--pill); }
.segb { height: 40px; padding: 0 18px; border: 0; border-radius: var(--pill); background: transparent; font-size: var(--fs-sm); font-weight: var(--w-reg); transition: background-color var(--t-fast) linear, color var(--t-fast) linear; }
.segb:hover { background: var(--hover); }
.segb[aria-pressed="true"] { background: var(--on-bg); color: var(--on-fg); }

/* ------------------------------------------------------------------ accordion (native <details>) */
.acc { border-top: 1px solid var(--line); }
.accs > .acc:last-child, .faq > .acc:last-child, .cats > .acc:last-child { border-bottom: 1px solid var(--line); }
.acc__s { display: flex; align-items: center; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font-size: var(--fs-d4); font-weight: var(--w-reg); line-height: 1.35; }
.acc__s::-webkit-details-marker { display: none; }
.acc__t { flex: 1; }
.acc__n { flex: none; min-width: 2.2em; font-size: var(--fs-sm); color: var(--mute); }
.acc__i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: background-color var(--t-fast) linear, border-color var(--t-fast) linear; }
.acc__i .i { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.acc__s:hover .acc__i { border-color: var(--strong-line); }
.acc[open] > .acc__s .acc__i { background: var(--on-bg); color: var(--on-fg); border-color: var(--on-bg); }
.acc[open] > .acc__s .i { transform: rotate(45deg); }
.acc__b { padding: 0 0 28px; max-width: 72ch; }
.acc__b > * + * { margin-top: 16px; }
.acc--faq .acc__s { font-size: 1.1875rem; }
@supports (interpolate-size: allow-keywords) {
  .acc { interpolate-size: allow-keywords; }
  .acc::details-content { height: 0; overflow: clip; transition: height var(--t-med) var(--ease), content-visibility var(--t-med) allow-discrete; }
  .acc[open]::details-content { height: auto; }
}

/* ------------------------------------------------------------------ lists, tags, notes */
.dlist > li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); }
[dir="rtl"] .dlist > li { padding: 11px 22px 11px 0; }
.dlist > li:last-child { border-bottom: 1px solid var(--line); }
.dlist > li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 1.32em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; }
html[lang="ar"] .dlist > li::before { top: 1.5em; }
.olist { counter-reset: s; }
.olist > li { counter-increment: s; position: relative; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); padding: 12px 0; border-top: 1px solid var(--line); }
.olist > li:last-child { border-bottom: 1px solid var(--line); }
.olist > li::before { content: counter(s); font-size: var(--fs-sm); color: var(--mute); padding-top: .15em; font-weight: var(--w-reg); }
.dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px var(--col-gap); }
.dgrid__h { margin-bottom: 10px; font-size: var(--fs-sm); font-weight: var(--w-bold); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags > li { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 15px; border: 1px solid var(--line); border-radius: var(--pill); font-size: var(--fs-sm); font-weight: var(--w-reg); line-height: 1.35; }
.tags--lg > li { min-height: 48px; padding: 8px 20px; font-size: 1rem; }
.note { padding-inline-start: 16px; border-inline-start: 2px solid var(--red); font-size: var(--fs-sm); font-weight: var(--w-reg); color: var(--mute); max-width: 72ch; }
.note--dark { color: var(--mute-d); }
* + .note { margin-top: 28px; }

/* ------------------------------------------------------------------ tables (stack on small screens) */
.tbl { overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-weight: var(--w-reg); }
.tbl th, .tbl td { padding: 15px 18px 15px 0; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
[dir="rtl"] .tbl th, [dir="rtl"] .tbl td { padding: 15px 0 15px 18px; }
.tbl thead th, .tbl thead td { padding-block: 0 12px; border-bottom: 1px solid var(--strong-line); font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.tbl tbody th { font-weight: var(--w-bold); width: 24%; }
@media (max-width: 719px) {
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl tbody th, .tbl td { display: block; width: auto; padding: 4px 0 !important; border: 0; }
  .tbl tbody th { padding-bottom: 8px !important; font-size: 1rem; }
  .tbl td::before { content: attr(data-l); display: block; font-size: var(--fs-xs); color: var(--mute); }
  .tbl td + td { margin-top: 8px; }
}

/* ------------------------------------------------------------------ placeholders */
.slot { position: relative; display: grid; align-content: start; gap: 8px; min-height: 220px; padding: clamp(22px, 2.4vw, 32px); border: 1px dashed #BDBDBD; border-radius: var(--r-m); background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(0, 0, 0, .025) 14px 15px); }
.slot__tag { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 4px 10px; border: 1px solid currentColor; border-radius: 12px; font-size: .75rem; font-weight: var(--w-bold); line-height: 1.25; }
.slot__t { margin-top: 10px; font-size: var(--fs-d4); font-weight: var(--w-bold); }
.slot__d { font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); max-width: 52ch; }
.slot--dark, .on-dark .slot { border-color: #444; background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .04) 14px 15px); }
html[data-ph="on"] [data-ph] { outline: 2px dashed var(--red); outline-offset: 4px; }

/* ------------------------------------------------------------------ service rows (explorer, hub, related) */
.srows { border-bottom: 1px solid var(--line); }
.srow__a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "num name go" "num desc go"; column-gap: 16px; row-gap: 4px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.srow__num { grid-area: num; align-self: start; padding-top: .35em; font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); }
.srow__name { grid-area: name; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.5rem); font-weight: var(--w-bold); line-height: 1.25; }
.srow__desc { grid-area: desc; font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); max-width: 60ch; }
.srow__go { grid-area: go; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: background-color var(--t-fast) linear, border-color var(--t-fast) linear, color var(--t-fast) linear; }
.srow__go .i { width: 18px; height: 18px; }
.srow__a:hover .srow__go { background: var(--red); border-color: var(--red); color: var(--ink); }
.srow__a:hover .srow__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.srows--related .srow__a { padding: 16px 0; }
.srows--related .srow__name { font-size: 1.125rem; }

/* ------------------------------------------------------------------ guide cards */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 var(--col-gap); }
.gcards--compact { grid-template-columns: 1fr; }
.gcard > a { position: relative; display: grid; gap: 8px; height: 100%; padding: 22px 56px 26px 0; border-top: 1px solid var(--strong-line); text-decoration: none; }
[dir="rtl"] .gcard > a { padding: 22px 0 26px 56px; }
.gcards--compact .gcard > a { border-top-color: var(--line); padding-block: 18px 20px; }
.gcards--compact .gcard:last-child > a { border-bottom: 1px solid var(--line); }
.gcard__topic { font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.gcard__t { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.375rem); font-weight: var(--w-reg); line-height: 1.3; }
.gcard__d { font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); }
.gcards--compact .gcard__d { display: none; }
.gcard__status { justify-self: start; margin-top: 4px; font-size: .75rem; font-weight: var(--w-reg); color: var(--mute); }
.gcard__status--held { color: var(--red-deep); }
.gcard__status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 7px; border: 1px solid currentColor; border-radius: 50%; vertical-align: .08em; }
.gcard__go { position: absolute; inset-inline-end: 0; top: 22px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: background-color var(--t-fast) linear, border-color var(--t-fast) linear; }
.gcard__go .i { width: 17px; height: 17px; }
.gcard > a:hover .gcard__go { background: var(--red); border-color: var(--red); color: var(--ink); }
.gcard > a:hover .gcard__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* ------------------------------------------------------------------ work cards */
.wgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(28px, 3vw, 44px) var(--col-gap); }
.wcard { grid-column: span 4; min-width: 0; }
.wcard--xl { grid-column: span 8; grid-row: span 2; }
.wcard--l { grid-column: span 6; }
.wcard__a { display: flex; flex-direction: column; height: 100%; text-decoration: none; position: relative; }
.wcard__media { position: relative; display: block; overflow: hidden; border-radius: var(--r-m); aspect-ratio: 4 / 3; background: #141414; outline: 1px solid rgba(127, 127, 127, .24); outline-offset: -1px; }
.wcard--l .wcard__media { aspect-ratio: 16 / 10; }
.wcard--xl .wcard__media { flex: 1; aspect-ratio: auto; min-height: 320px; }
.wcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.wcard__a:hover .wcard__media img { transform: scale(1.035); }
.wcard__ph { position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--pill); background: rgba(0, 0, 0, .72); color: var(--paper); font-size: .75rem; font-weight: var(--w-bold); }
.wcard__meta { display: grid; gap: 4px; padding-top: 14px; padding-inline-end: 52px; }
.wcard__cat { font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.wcard__t { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: var(--w-reg); line-height: 1.3; }
.wcard__go { position: absolute; inset-inline-end: 0; bottom: 2px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: background-color var(--t-fast) linear, border-color var(--t-fast) linear; }
.wcard__go .i { width: 17px; height: 17px; }
.wcard__a:hover .wcard__go { background: var(--red); border-color: var(--red); color: var(--ink); }
@media (max-width: 899px) { .wcard, .wcard--l { grid-column: span 6; } .wcard--xl { grid-column: 1 / -1; grid-row: auto; } .wcard--xl .wcard__media { aspect-ratio: 16 / 10; flex: none; min-height: 0; } }
@media (max-width: 599px) { .wcard, .wcard--l { grid-column: 1 / -1; } }

/* pages.css */
/* ================================================================== HOME */
/* hero switch (prototype review: A statement / B tagline) */
html[data-hero="a"] .hero--b, html[data-hero="b"] .hero--a { display: none; }

.hero--a { padding-block: clamp(44px, 7.5vw, 120px) clamp(40px, 5vw, 72px); }
.hero__h { font-size: var(--fs-hero); font-weight: var(--w-light); line-height: .98; letter-spacing: var(--track-display); max-width: 15.5ch; }
html[lang="ar"] .hero__h { line-height: 1.22; max-width: 17ch; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px var(--col-gap); margin-top: clamp(32px, 4.2vw, 64px); }
.hero__copy { max-width: 56ch; }
.hero__sub { font-size: var(--fs-lead); line-height: 1.5; }
.hero__sub2 { margin-top: 12px; color: var(--mute); }
@media (max-width: 899px) { .hero__foot { grid-template-columns: 1fr; } }

.hstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6.5vw, 104px); border-top: 1px solid var(--ink); }
.hstrip__a { position: relative; display: grid; gap: 6px; height: 100%; padding: 22px 64px 24px 0; text-decoration: none; }
[dir="rtl"] .hstrip__a { padding: 22px 0 24px 64px; }
.hstrip li + li .hstrip__a { padding-inline-start: 24px; border-inline-start: 1px solid var(--line-l); }
.hstrip__r { font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.hstrip__n { font-size: clamp(1.125rem, 1rem + .55vw, 1.5rem); font-weight: var(--w-bold); line-height: 1.2; }
.hstrip__d { font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); max-width: 34ch; }
.hstrip__go { position: absolute; inset-inline-end: 16px; top: 22px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line-l); border-radius: 50%; transition: background-color var(--t-fast) linear, border-color var(--t-fast) linear; }
.hstrip__go .i { width: 16px; height: 16px; transform: rotate(90deg); }
.hstrip__a:hover .hstrip__go { background: var(--red); border-color: var(--red); }
@media (max-width: 767px) {
  .hstrip { grid-template-columns: 1fr; }
  .hstrip li + li .hstrip__a { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line-l); }
  .hstrip__go { inset-inline-end: 0; }
}

/* hero B: the tagline in a dark panel, with the brand dot as the single large element */
.hero--b { padding: var(--inset) var(--inset) 0; }
.hero-b { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: min(calc(100svh - var(--hdr-h) - var(--inset)), 900px); border-radius: var(--r-l); }
.hero-b__glow { position: absolute; inset: 0; background:
  radial-gradient(55% 65% at 82% 22%, rgba(153, 39, 40, .5), transparent 70%),
  radial-gradient(45% 55% at 8% 105%, rgba(153, 39, 40, .22), transparent 70%); pointer-events: none; }
.hero-b .hero__in { position: relative; width: 100%; padding-block: clamp(112px, 11vw, 168px) clamp(32px, 4vw, 56px); }
.hero-b__orb { position: absolute; inset-inline-end: clamp(20px, 7vw, 120px); top: clamp(-150px, -6vw, -40px); width: clamp(120px, 17vw, 270px); aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.hero-b .hero__h { max-width: 14ch; font-size: clamp(2.75rem, 1rem + 6.3vw, 6.75rem); }
html[lang="ar"] .hero-b .hero__h { font-size: clamp(2.5rem, 1.1rem + 5vw, 5.5rem); }
.hero-b .hero__sub2 { color: var(--mute-d); }
.hero-b__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: clamp(36px, 4vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-d); }
.hero-b__lbl { margin-inline-end: 8px; font-size: var(--fs-sm); color: var(--mute-d); font-weight: var(--w-reg); }
.hchip { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid #4a4a4a; border-radius: var(--pill); font-size: var(--fs-sm); font-weight: var(--w-reg); text-decoration: none; transition: background-color var(--t-fast) linear, color var(--t-fast) linear, border-color var(--t-fast) linear; }
.hchip:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* services explorer: master-detail on wide screens, accordion on small ones */
.xp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-auto-rows: min-content; column-gap: clamp(32px, 5.5vw, 104px); }
.xp__btn { grid-column: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "r n i" ". d i"; column-gap: 18px; row-gap: 6px; align-items: baseline; width: 100%; padding: 26px 0 28px; border: 0; border-top: 1px solid var(--line-l); background: none; color: var(--mute); text-align: start; transition: color var(--t-fast) linear; }
.xp__btn:last-of-type { border-bottom: 1px solid var(--line-l); }
.xp__btn:hover, .xp__btn[aria-expanded="true"] { color: var(--ink); }
.xp__r { grid-area: r; font-size: var(--fs-xs); font-weight: var(--w-reg); min-width: 3.6em; }
.xp__n { grid-area: n; font-size: var(--fs-d3); font-weight: var(--w-light); line-height: 1.1; letter-spacing: var(--track-head); }
.xp__btn[aria-expanded="true"] .xp__n { font-weight: var(--w-bold); }
.xp__d { grid-area: d; font-size: var(--fs-sm); font-weight: var(--w-reg); color: var(--mute); max-width: 38ch; }
.xp__i { grid-area: i; align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; }
.xp__i .i { display: none; }
.xp__btn[aria-expanded="true"] .xp__i::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.xp__panel { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
.xp__panel:not([hidden]) { animation: dpRise var(--t-med) var(--ease); }
.xp__panel .srows { border-bottom: 1px solid var(--line-l); }
@media (max-width: 959px) {
  .xp { grid-template-columns: 1fr; }
  .xp__btn, .xp__panel { grid-column: 1; grid-row: auto; }
  .xp__btn:last-of-type { border-bottom: 0; }
  .xp { border-bottom: 1px solid var(--line-l); }
  .xp__panel { padding-bottom: 12px; }
  .xp__panel .srows { border-bottom: 0; }
  .xp__i { border: 1px solid var(--line-l); }
  .xp__i .i { display: block; width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
  .xp__btn[aria-expanded="true"] .xp__i::before { content: none; }
  .xp__btn[aria-expanded="true"] .xp__i { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .xp__btn[aria-expanded="true"] .xp__i .i { transform: rotate(45deg); }
}

/* work (home) */
.work__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(40px, 4.5vw, 64px); }
.work__foot .note { margin-top: 0; }

/* about */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(40px, 5vw, 80px); }
.about__head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: 18px; }
.about__head .label { grid-column: 1 / 4; padding-top: .55em; }
.about__statement { grid-column: 4 / 13; }
.about__portrait { grid-column: 1 / 6; position: relative; }
.about__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-m); background: var(--fog); }
.about__portrait figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.about__body { grid-column: 7 / 13; grid-row: 2; align-self: center; }
.about__intro { font-size: var(--fs-d4); font-weight: var(--w-light); line-height: 1.45; }
.about__intro2 { margin-top: 18px; font-size: var(--fs-lead); color: var(--mute); }
.about__k { margin: 36px 0 14px; font-size: var(--fs-sm); font-weight: var(--w-bold); }
.about__why { grid-column: 1 / -1; }
.about__why .about__k { margin-top: 0; }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--col-gap); }
.why > li { padding-top: 22px; border-top: 1px solid var(--ink); }
.why__t { margin-bottom: 10px; font-size: 1.125rem; font-weight: var(--w-bold); line-height: 1.3; }
.why p { font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); }
@media (max-width: 1023px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) {
  .about__head .label, .about__statement, .about__portrait, .about__body { grid-column: 1 / -1; grid-row: auto; }
  .about__head .label { padding-top: 0; }
  .about__portrait img { aspect-ratio: 16 / 11; }
}
@media (max-width: 559px) { .why { grid-template-columns: 1fr; } }

/* process: a real sequence, so numbered; the red line fills as the section scrolls */
.process { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--col-gap); padding-top: 34px; }
.process::before, .process::after { content: ""; position: absolute; top: 0; inset-inline-start: 0; height: 2px; }
.process::before { inset-inline-end: 0; background: var(--line); }
.process::after { width: calc(var(--p, 1) * 100%); background: var(--red); }
.process__n { display: block; margin-bottom: 18px; font-size: var(--fs-d2); font-weight: var(--w-light); line-height: 1; }
.process__t { margin-bottom: 10px; font-size: var(--fs-d4); font-weight: var(--w-bold); line-height: 1.25; }
.process__item p { color: var(--mute); font-weight: var(--w-reg); font-size: var(--fs-sm); max-width: 40ch; }
.process--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process--compact .process__n { font-size: var(--fs-d4); font-weight: var(--w-reg); margin-bottom: 8px; }
.process--compact .process__t { font-size: 1rem; font-weight: var(--w-reg); }
@media (max-width: 899px) {
  .process, .process--n4 { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-inline-start: 28px; }
  .process::before, .process::after { top: 0; bottom: 0; inset-inline-start: 0; inset-inline-end: auto; width: 2px; height: auto; }
  .process::after { height: calc(var(--p, 1) * 100%); bottom: auto; }
  .process__item { padding-block: 0 32px; }
  .process__n { font-size: var(--fs-d3); margin-bottom: 10px; }
}

/* reviews and video testimonials (placeholders until permission is on file) */
.reviews { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap); }
.rv-google, .rv-videos { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--r-m); }
.rv__k { font-size: var(--fs-d4); font-weight: var(--w-bold); }
.rv__p { font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); max-width: 54ch; }
.rv-card { display: grid; gap: 10px; padding: 20px; border-radius: 10px; background: var(--fog); }
.rv-card__stars { display: flex; gap: 6px; }
.rv-card__stars i { width: 14px; height: 14px; border: 1.5px solid #BDBDBD; border-radius: 50%; }
.rv-card__line { height: 8px; border-radius: 4px; background: #DCDCDC; }
.rv-card__line--s { width: 60%; }
.rv-card__who { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.rv-card__who i { width: 28px; height: 28px; border-radius: 50%; background: #DCDCDC; }
.rv-card__who span { width: 90px; height: 8px; border-radius: 4px; background: #DCDCDC; }
.rv-google .slot__tag, .rv-google .lnk { justify-self: start; }
.vtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.vtile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; width: 100%; padding: 14px; overflow: hidden; border: 0; border-radius: 12px; background: #111; color: var(--paper); text-align: start; aspect-ratio: 9 / 14; }
.vtile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.vtile::after { content: ""; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.vtile:hover img { transform: scale(1.04); }
.vtile__play { position: absolute; top: 42%; left: 50%; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); color: var(--ink); translate: -50% -50%; transition: transform var(--t-med) var(--ease-spring); }
.vtile__play .i { width: 20px; height: 20px; margin-inline-start: 3px; }
.vtile:hover .vtile__play { transform: scale(1.08); }
.vtile__t { font-size: var(--fs-sm); font-weight: var(--w-bold); line-height: 1.3; }
.vtile__s { font-size: .75rem; color: #d4d4d4; font-weight: var(--w-reg); line-height: 1.35; }
.reviews--compact { grid-template-columns: 1fr; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(40px, 4.5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: var(--w-reg); }
.trust li { display: inline-flex; align-items: baseline; gap: 10px; }
.trust__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transform: translateY(-2px); }
@media (max-width: 959px) { .reviews { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .vtiles { grid-template-columns: 1fr 1fr; } .vtiles li:last-child { display: none; } }

.vmodal { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid #2a2a2a; border-radius: var(--r-l); overflow: hidden; }
.vmodal[open] { animation: dpRise var(--t-med) var(--ease); }
.vmodal::backdrop { background: rgba(0, 0, 0, .72); }
.vmodal__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vmodal__frame { position: relative; background: #111; aspect-ratio: 9 / 12; }
.vmodal__frame img { width: 100%; height: 100%; object-fit: cover; }
.vmodal__frame .slot__tag { position: absolute; top: 16px; inset-inline-start: 16px; background: var(--ink); }
.vmodal__txt { display: grid; align-content: center; gap: 14px; padding: clamp(24px, 3vw, 44px); font-weight: var(--w-reg); }
.vmodal__txt p:not(.vmodal__h) { color: var(--mute-d); }
.vmodal__h { font-size: var(--fs-d4); font-weight: var(--w-bold); }
.vmodal__x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); }
@media (max-width: 719px) { .vmodal__in { grid-template-columns: 1fr; } .vmodal__frame { aspect-ratio: 16 / 10; } }

/* ================================================================== SERVICE PAGES */
.shero { padding-block: clamp(28px, 3.4vw, 48px) clamp(48px, 6vw, 96px); }
.shero--fog, .shero--dark { margin: var(--inset) var(--inset) 0; border-radius: var(--r-l); padding-block: clamp(28px, 3.4vw, 48px) clamp(56px, 6.5vw, 104px); }
.shero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; align-items: end; margin-top: clamp(40px, 6vw, 96px); }
.shero__main { grid-column: 1 / 9; }
.shero__k { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; font-size: var(--fs-sm); font-weight: var(--w-reg); color: var(--mute); }
.shero__num { color: var(--red-deep); font-weight: var(--w-bold); }
.shero--dark .shero__num { color: var(--red); }
.shero__h { font-size: clamp(2.5rem, 1.15rem + 5.2vw, 6.25rem); font-weight: var(--w-light); line-height: 1; letter-spacing: var(--track-display); text-wrap: balance; }
html[lang="ar"] .shero__h { font-size: clamp(2.25rem, 1.1rem + 4.2vw, 5rem); line-height: 1.25; }
.shero__lead { margin-block: 26px 34px; font-size: var(--fs-lead); line-height: 1.5; max-width: 50ch; }
.glance { grid-column: 9 / 13; border-bottom: 1px solid var(--line); }
.glance__row { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.glance dt { font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.glance dd { font-size: 1rem; font-weight: var(--w-reg); line-height: 1.45; }
@media (max-width: 959px) { .shero__main, .glance { grid-column: 1 / -1; } .shero__grid { margin-top: 32px; } }

/* on-page navigation */
.subnav { position: sticky; top: var(--hdr-h); z-index: 40; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-l); transition: top var(--t-med) var(--ease); }
html.hdr-hidden .subnav { top: 0; }
.subnav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
[dir="rtl"] .subnav ul { -webkit-mask-image: linear-gradient(270deg, #000 88%, transparent); mask-image: linear-gradient(270deg, #000 88%, transparent); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { flex: none; }
.subnav a { position: relative; display: inline-flex; align-items: center; gap: 8px; height: var(--subnav-h); font-size: var(--fs-sm); font-weight: var(--w-reg); color: var(--mute-l); text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="true"] { color: var(--ink); }
.subnav a[aria-current="true"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.is-svc .ssec[id] { scroll-margin-top: calc(var(--subnav-h) + 16px); }

/* service sections */
.ssec { padding-block: clamp(56px, 7vw, 112px); }
.ssec + .ssec:not(.ssec--mod):not(.ssec--legal) { padding-top: 0; }
.ssec--mod + .ssec, .ssec--legal + .ssec { padding-top: clamp(56px, 7vw, 112px) !important; }
.ssec__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; }
.ssec__side { grid-column: 1 / 5; align-self: start; }
.ssec__main { grid-column: 6 / 13; min-width: 0; }
@media (min-width: 960px) { .ssec__side { position: sticky; top: calc(var(--hdr-h) + var(--subnav-h) + 32px); } }
.ssec__p { margin-top: 14px; color: var(--mute); font-weight: var(--w-reg); font-size: var(--fs-sm); max-width: 36ch; }
.ssec__more { margin-top: 18px; }
@media (max-width: 959px) { .ssec__side, .ssec__main { grid-column: 1 / -1; } }

.who > li { padding: 18px 0; border-top: 1px solid var(--line); font-size: var(--fs-lead); line-height: 1.45; }
.who > li:last-child { border-bottom: 1px solid var(--line); }
.incg { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px var(--col-gap); }
.incg__h { margin-bottom: 12px; font-size: var(--fs-sm); font-weight: var(--w-bold); }
.incg .dlist > li { font-weight: var(--w-reg); font-size: var(--fs-sm); }
.inc__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px var(--col-gap); padding: 18px 0; border-top: 1px solid var(--line); }
.inc__row:last-child { border-bottom: 1px solid var(--line); }
.inc dt { font-weight: var(--w-bold); }
.inc dd { color: var(--mute); font-weight: var(--w-reg); font-size: var(--fs-sm); }
@media (max-width: 599px) { .inc__row { grid-template-columns: 1fr; } }

/* signature module panel */
.ssec--mod { margin-inline: var(--inset); border-radius: var(--r-l); padding-block: clamp(56px, 7vw, 112px); }
.mod__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.mod__head .sec__lead { margin: 0; }
.mod__sub { margin: 44px 0 18px; }

.cmp .seg--inline { margin-bottom: 26px; }
.cmp[data-show="0"] .c1, .cmp[data-show="1"] .c0 { display: none; }
.tbl--cmp thead th { font-size: var(--fs-sm); color: var(--ink); font-weight: var(--w-bold); }
@media (min-width: 720px) {
  .tbl--cmp tbody th { width: 20%; }
  .tbl--cmp td { width: 40%; }
  .cmp[data-show="0"] .tbl--cmp td, .cmp[data-show="1"] .tbl--cmp td { width: 80%; }
}
@media (max-width: 599px) { .cmp .seg--inline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; } .cmp .segb { padding: 0 8px; font-size: .875rem; border-radius: 12px; } }

.tabs__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px -4px 28px; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--pill); background: transparent; font-size: var(--fs-sm); font-weight: var(--w-reg); white-space: nowrap; transition: background-color var(--t-fast) linear, color var(--t-fast) linear, border-color var(--t-fast) linear; }
.tab:hover { border-color: var(--strong-line); }
.tab[aria-selected="true"] { background: var(--on-bg); color: var(--on-fg); border-color: var(--on-bg); }
.tabp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px var(--col-gap); padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-m); background: var(--paper); }
.tabp:not([hidden]) { animation: dpFade var(--t-med) linear; }
.tabp__d { font-size: var(--fs-lead); line-height: 1.5; }
.tabp__cols { display: grid; gap: 26px; }
.tabp__k { margin-bottom: 10px; font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.tabp .dlist > li { font-size: var(--fs-sm); font-weight: var(--w-reg); }
.tabp .note { margin-top: 0; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.chain > li { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line-l); border-radius: var(--pill); font-size: var(--fs-xs); font-weight: var(--w-reg); }
.chain > li + li { margin-inline-start: 22px; position: relative; }
.chain > li + li::before { content: ""; position: absolute; inset-inline-end: 100%; width: 22px; height: 1px; background: var(--ink); }
.chain > li:last-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 899px) { .tabp { grid-template-columns: 1fr; } }

.fl .chips { margin-bottom: 22px; }
.frows { border-bottom: 1px solid var(--line); }
.frow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 3fr); gap: 6px var(--col-gap); padding: 18px 0; border-top: 1px solid var(--line); }
.frow:not([hidden]) { animation: dpFade var(--t-med) linear; }
.frow__t { font-weight: var(--w-bold); line-height: 1.4; }
.frow__d { font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); }
.frow__aud { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; justify-content: flex-end; }
.frow__aud span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--pill); font-size: .75rem; font-weight: var(--w-reg); background: var(--paper); }
@media (max-width: 899px) { .frow { grid-template-columns: 1fr; } .frow__aud { justify-content: flex-start; } }

.cats .acc__s { font-weight: var(--w-reg); }
.catd { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px var(--col-gap); }
.catd dt { margin-bottom: 6px; font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.catd dd { font-size: var(--fs-sm); font-weight: var(--w-reg); line-height: 1.55; }
@media (max-width: 899px) { .catd { grid-template-columns: 1fr; } }

.cklist { padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-m); background: var(--paper); }
.cklist__bar { height: 4px; border-radius: 2px; background: var(--line-l); overflow: hidden; }
.cklist__fill { display: block; height: 100%; width: calc(var(--ck, 0) * 100%); background: var(--red); transition: width var(--t-med) var(--ease); }
.cklist__status { margin: 16px 0 22px; font-size: var(--fs-sm); font-weight: var(--w-reg); color: var(--mute); }
.cklist__status b { color: var(--ink); }
.cklist.is-ready .cklist__status [data-ck-msg] { color: var(--ink); font-weight: var(--w-bold); }
.cklist__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.ck { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 16px; border: 1px solid var(--line-l); border-radius: 12px; cursor: pointer; font-weight: var(--w-reg); line-height: 1.4; transition: border-color var(--t-fast) linear; }
.ck:hover { border-color: var(--ink); }
.ck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck__box { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1.5px solid var(--ink); border-radius: 6px; color: transparent; transition: background-color var(--t-fast) linear, color var(--t-fast) linear; }
.ck__box .i { width: 16px; height: 16px; stroke-width: 2.4; }
.ck input:checked + .ck__box { background: var(--ink); color: var(--paper); }
.ck input:focus-visible + .ck__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.ck:has(input:checked) { border-color: var(--ink); }

.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.roles--two { grid-template-columns: 1fr 1fr; margin-top: 28px; }
.role { display: grid; align-content: start; gap: 14px; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.role--us { background: var(--ink); border-color: var(--ink); }
.role__who { font-size: var(--fs-d4); font-weight: var(--w-bold); }
.role .dlist > li { font-size: var(--fs-sm); font-weight: var(--w-reg); }
.role--us .dlist > li { border-color: var(--line-d); }
@media (max-width: 899px) { .roles, .roles--two { grid-template-columns: 1fr; } }

.plats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--col-gap); }
.plat { padding-top: 20px; border-top: 1px solid var(--ink); }
.plat__t { margin-bottom: 8px; font-size: 1.125rem; font-weight: var(--w-bold); }
.plat__d { font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); }

.tabs--flows .tabp { grid-template-columns: 1fr; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.flow__n { position: relative; display: grid; align-content: start; gap: 8px; min-height: 150px; padding: 20px; border: 1px solid var(--line-l); border-radius: var(--r-m); background: var(--paper); }
.flow__n + .flow__n { margin-inline-start: 28px; }
.flow__n + .flow__n::before { content: ""; position: absolute; inset-inline-end: 100%; top: 50%; width: 28px; height: 1px; background: var(--ink); }
.flow__n--2 { background: var(--ink); border-color: var(--ink); }
.flow__k { font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.flow__t { font-size: var(--fs-sm); font-weight: var(--w-reg); line-height: 1.45; }
@media (max-width: 899px) {
  .flow { grid-template-columns: 1fr; }
  .flow__n { min-height: 0; }
  .flow__n + .flow__n { margin-inline-start: 0; margin-top: 22px; }
  .flow__n + .flow__n::before { inset-inline-end: auto; inset-inline-start: 32px; top: auto; bottom: 100%; width: 1px; height: 22px; }
}

.ssec--legal .lead-p { font-size: var(--fs-lead); line-height: 1.5; margin-bottom: 26px; }
.ssec--legal .tabp__k { margin-top: 8px; }

.proof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--col-gap); }
.proof--single { grid-template-columns: minmax(0, 7fr); }
.proof .wgrid--two { grid-template-columns: 1fr 1fr; }
.proof .wgrid--two .wcard { grid-column: auto; }
@media (max-width: 899px) { .proof { grid-template-columns: 1fr; } }

.rel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--col-gap); padding-top: clamp(40px, 4.5vw, 64px); border-top: 1px solid var(--ink); }
.rel .d4 { margin-bottom: 14px; }
@media (max-width: 899px) { .rel { grid-template-columns: 1fr; } }

.next { padding-block: clamp(64px, 8vw, 128px); }
.next__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px var(--col-gap); align-items: end; }
.next__p { margin-bottom: 26px; font-size: var(--fs-lead); color: var(--mute); max-width: 42ch; }
@media (max-width: 899px) { .next__in { grid-template-columns: 1fr; } }

/* ================================================================== HUBS, WORK, GUIDES, FAQ, LEGAL */
.phero { padding-block: clamp(28px, 3.4vw, 48px) clamp(44px, 5vw, 80px); }
.phero .crumb { margin-bottom: clamp(36px, 5vw, 80px); }
.phero__k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); }
.phero__h { font-size: var(--fs-d1); font-weight: var(--w-light); line-height: 1.02; letter-spacing: var(--track-display); max-width: 18ch; text-wrap: balance; }
.phero__lead { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.5; max-width: 56ch; }
.phero .note, .phero > .wrap > p:last-child { margin-top: 26px; }
.phero__k--jump { margin: 40px 0 12px; }
.chips--jump .chip { height: 38px; }

.hubg { padding-block: clamp(48px, 6vw, 96px); }
.hubg + .hubg { padding-top: 0; }
.hubg__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 24px; }
.hubg__head { grid-column: 1 / 5; padding-top: 22px; border-top: 2px solid var(--ink); align-self: start; }
.hubg .srows { grid-column: 6 / 13; }
.hubg__r { margin-bottom: 12px; font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.hubg__b { margin-top: 14px; color: var(--mute); font-weight: var(--w-reg); font-size: var(--fs-sm); max-width: 36ch; }
@media (max-width: 959px) { .hubg__head, .hubg .srows { grid-column: 1 / -1; } }

.sec--workall .chips { margin-bottom: clamp(28px, 3vw, 44px); }
.sec--workall { padding-top: 0; }
.samples { margin-top: clamp(56px, 6vw, 96px); }
.srows--plain .srow__num { font-weight: var(--w-bold); color: var(--red-deep); }

.proj { padding-block: clamp(28px, 3.4vw, 48px) clamp(48px, 6vw, 96px); }
.proj .crumb { margin-bottom: clamp(36px, 5vw, 80px); }
.proj__hero { margin: clamp(36px, 4vw, 64px) var(--inset); overflow: hidden; border-radius: var(--r-l); background: #111; }
.proj__hero img { width: 100%; max-height: 72vh; object-fit: cover; }
.proj__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; margin-top: clamp(32px, 4vw, 64px); }
.proj--case .proj__grid { margin-top: clamp(40px, 5vw, 80px); }
.pfacts { grid-column: 1 / 5; align-self: start; border-bottom: 1px solid var(--line); }
.pfacts > div { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.pfacts dt { font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.pfacts dd { font-weight: var(--w-reg); }
.pfacts--legal { max-width: 720px; }
.proj__txt { grid-column: 6 / 13; display: grid; gap: 18px; align-content: start; }
.proj__txt > p { font-size: var(--fs-lead); line-height: 1.55; max-width: 60ch; }
.proj__txt h2 { margin-top: 18px; }
.proj__gh { margin: clamp(48px, 5vw, 80px) 0 22px; }
.pgal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.pgal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); background: #111; }
.proj__out { margin-top: clamp(40px, 4.5vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-m); background: var(--fog); display: grid; gap: 12px; }
.proj__out p { font-size: var(--fs-lead); max-width: 60ch; }
@media (max-width: 899px) { .pfacts, .proj__txt { grid-column: 1 / -1; } .pgal { grid-template-columns: 1fr; } }

/* guides and articles */
.sec--guides { padding-top: 0; }
.sec--guides .chips { margin-bottom: clamp(28px, 3vw, 44px); }
.art__head { padding-block: clamp(28px, 3.4vw, 48px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.art__head .crumb { margin-bottom: clamp(36px, 5vw, 72px); }
.art__h1 { font-size: var(--fs-d2); font-weight: var(--w-light); line-height: 1.08; letter-spacing: var(--track-head); max-width: 22ch; text-wrap: balance; }
html[lang="ar"] .art__h1 { font-weight: var(--w-reg); line-height: 1.35; }
.art__lead { margin-top: 22px; font-size: var(--fs-lead); line-height: 1.55; max-width: 60ch; color: var(--mute); }
.art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.art__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; padding-block: clamp(40px, 5vw, 80px); }
.art__side { grid-column: 1 / 4; align-self: start; display: grid; gap: 28px; }
@media (min-width: 960px) { .art__side { position: sticky; top: calc(var(--hdr-h) + 28px); } }
.art__body { grid-column: 5 / 12; min-width: 0; font-size: 1.125rem; line-height: 1.7; }
html[lang="ar"] .art__body { line-height: 1.95; }
.art__body > * + * { margin-top: 1.1em; }
.art__body p, .art__body li { max-width: 68ch; }
.art__body ul, .art__body ol { padding-inline-start: 1.3em; }
.art__body ul[class], .art__body ol[class] { padding-inline-start: 0; }
.art__body li + li { margin-top: .45em; }
.art__body a { text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }
html[lang="ar"] .art__body em { font-style: normal; color: var(--mute); }
.art__h2 { margin-top: 2.2em !important; font-size: var(--fs-d3); font-weight: var(--w-light); line-height: 1.2; letter-spacing: var(--track-head); scroll-margin-top: calc(var(--hdr-h) + 20px); }
html[lang="ar"] .art__h2 { font-weight: var(--w-reg); line-height: 1.4; }
.art__h3 { margin-top: 1.8em !important; font-size: 1.25rem; font-weight: var(--w-bold); }
.art__body .tbl { font-size: var(--fs-sm); }
.art__src { margin-top: 3em; padding-top: 1px; font-size: var(--fs-sm); color: var(--mute); }
.art__src .art__h2 { font-size: var(--fs-d4); }
.toc__h { margin-bottom: 12px; font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.toc ol { list-style: none; counter-reset: t; display: grid; border-top: 1px solid var(--line); }
.toc li { counter-increment: t; border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 1.8em minmax(0, 1fr); padding: 10px 0; font-size: var(--fs-sm); font-weight: var(--w-reg); line-height: 1.4; text-decoration: none; }
.toc a::before { content: counter(t); color: var(--mute); }
.toc a:hover { text-decoration: underline; }
.art__svc { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-m); background: var(--fog); font-size: var(--fs-sm); font-weight: var(--w-reg); }
.art__svcn { font-size: 1.125rem; font-weight: var(--w-bold); }
.art__more { padding-bottom: clamp(48px, 6vw, 96px); }
.art__more .label { margin-bottom: 18px; }
.held { display: grid; gap: 12px; justify-items: start; padding: clamp(22px, 2.6vw, 36px); border: 1px dashed #BDBDBD; border-radius: var(--r-m); font-size: 1rem; font-weight: var(--w-reg); }
@media (max-width: 959px) { .art__side, .art__body { grid-column: 1 / -1; } .art__side { order: 2; } }

.faqg { padding-block: clamp(48px, 5.5vw, 88px) 0; scroll-margin-top: calc(var(--hdr-h) + 16px); }
.faqg:last-of-type { padding-bottom: clamp(56px, 6vw, 96px); }

.sec--legal { padding-top: 0; }
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; }
.legal > div:first-child { grid-column: 1 / 5; }
.legal > div:last-child { grid-column: 6 / 13; }
.legal__toc { list-style: none; counter-reset: l; border-top: 1px solid var(--line); margin-top: 16px; }
.legal__toc li { counter-increment: l; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); font-weight: var(--w-reg); }
.legal__toc li::before { content: counter(l); color: var(--mute); }
.legal__status { display: grid; gap: 10px; justify-items: start; margin-top: 24px; max-width: 64ch; color: var(--mute); font-weight: var(--w-reg); font-size: var(--fs-sm); }
.legal .note { margin-top: 28px; }
@media (max-width: 899px) { .legal > div { grid-column: 1 / -1 !important; } }

/* round2.css */
/* ==================================================================
   Concept D, refinement round 2.
   New components only. The frozen Reviews areas (homepage .sec--reviews, the video dialog .vmodal and
   the service pages' .ssec--proof) are not restyled here, and neither are the shared classes and
   tokens they use. New custom properties are declared on the new components, never on :root, so
   nothing new is inherited by the frozen sections.
   ================================================================== */

.hx, .sx, .wx, .ax, .px, .svx, .wk, .contact, .ftr {
  --r2-y: clamp(64px, 8.4vw, 136px);
  --r2-line-d: rgba(255, 255, 255, .16);
}

/* ------------------------------------------------------------------ shared */
.walink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1rem; font-weight: var(--w-bold); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em; transition: text-decoration-color var(--t-fast) linear; }
.walink .i { width: 22px; height: 22px; }
.walink:hover { text-decoration-color: currentColor; }
.ctas--lite { align-items: center; gap: 12px 30px; }
@media (max-width: 479px) { .ctas--lite .walink { justify-self: center; } }

/* the homepage sections keep the frozen Reviews section's heading axis: label in columns 1-3, title from column 4 */
.px__head, .wx__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 18px; align-items: start; margin-bottom: clamp(44px, 5.5vw, 88px); }
.px__head > .label, .wx__head .label { grid-column: 1 / 4; padding-top: .55em; }
.wx__head > div:first-child { display: contents; }
.wx__h, .px__h { grid-column: 4 / 13; font-weight: var(--w-light); letter-spacing: var(--track-display); text-wrap: balance; }
.wx__h { font-size: var(--fs-d1); line-height: 1.02; }
.px__h { font-size: var(--fs-d2); line-height: 1.06; letter-spacing: var(--track-head); }
.wx__h { grid-column: 4 / 10; }
.wx__side { grid-column: 10 / 13; align-self: end; display: grid; justify-items: start; gap: 14px; }
@media (max-width: 899px) {
  .px__head > .label, .wx__head .label, .wx__h, .px__h, .wx__side { grid-column: 1 / -1; }
  .px__head > .label, .wx__head .label { padding-top: 0; }
  .wx__side { align-self: start; }
}

/* ================================================================== HOME */
/* hero: the approved tagline on the house ground (near-black with soft dark-red light), the brand dot as
   its one large element, and the subtitle naming all ten services.
   Round 5: no buttons and no service-group strip; a shorter panel (the Services section starts just below it)
   and more room under the subtitle keep the headline, subtitle and dot in balance. */
.hx { padding: var(--inset) var(--inset) 0; }
.hx__panel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: clamp(520px, calc(88svh - var(--hdr-h)), 800px); border-radius: var(--r-l); background-color: #060606; }
.hx__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hx__wash { position: absolute; border-radius: 50%; will-change: transform; }
.hx__wash--a { width: 95%; height: 125%; inset-inline-start: -28%; bottom: -62%; background: radial-gradient(closest-side, rgba(153, 39, 40, .3), rgba(153, 39, 40, .12) 52%, rgba(153, 39, 40, 0)); }
.hx__wash--b { width: 62%; height: 95%; inset-inline-end: -12%; top: -38%; background: radial-gradient(closest-side, rgba(153, 39, 40, .22), rgba(153, 39, 40, 0)); }
.hx__grain { position: absolute; inset: 0; opacity: .085; mix-blend-mode: screen; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hx__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 95% at 50% 38%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .55)); }
@keyframes dpDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(5%, -4%, 0) scale(1.08); } }
html.js .hx__wash--a { animation: dpDrift 19s ease-in-out infinite alternate; }
html.js .hx__wash--b { animation: dpDrift 26s ease-in-out -9s infinite alternate-reverse; }
.hx__orb { position: absolute; z-index: -1; top: clamp(-210px, -12vw, -56px); inset-inline-end: clamp(-190px, -8.5vw, -44px); width: clamp(230px, 34vw, 580px); aspect-ratio: 1; border-radius: 50%; background: var(--red); translate: calc(var(--ox, 0) * 1px) calc(var(--oy, 0) * 1px); transition: translate 1100ms var(--ease); }
html.js .hx__orb { animation: dpOrb 1100ms var(--ease-spring) both; animation-delay: 200ms; }
.hx__in { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-block: clamp(132px, 17vh, 220px) clamp(56px, 6.4vw, 104px); }
/* round 4: the approved tagline is the large heading again: a Light line, then a Bold line set in */
.hx__h { font-size: clamp(2.5rem, .9rem + 5.3vw, 6.5rem); font-weight: var(--w-light); line-height: 1.02; letter-spacing: var(--track-display); }
.hx__h b { display: block; text-indent: 1.12em; font-weight: var(--w-bold); }
.hx__h .wi { text-indent: 0; } /* text-indent is inherited: keep it on the line, not inside each word */
.hx__foot { margin-top: clamp(30px, 3.6vw, 56px); }
/* the subtitle lists all ten services: a calm measure and a light weight keep it readable, never shouting */
.hx__sub { max-width: 58ch; font-size: clamp(1rem, .93rem + .32vw, 1.1875rem); line-height: 1.6; color: #CFCFCF; text-wrap: pretty; }
@media (max-width: 1199px) and (orientation: portrait) { .hx__panel { min-height: clamp(480px, 54svh, 680px); } } /* portrait tablets, iPad Pro included */
@media (max-width: 767px) {
  .hx__panel { min-height: 0; }
  .hx__orb { top: -17vw; inset-inline-end: -13vw; width: 54vw; }
  .hx__in { padding-block: clamp(150px, 40vw, 220px) 40px; }
  .hx__h b { text-indent: 0; }
  .hx__foot { margin-top: 22px; }
  /* phones: reading size and natural wrapping (a little more hero height is fine) */
  .hx__sub { font-size: 1.0625rem; line-height: 1.6; }
  .hx__sub .nw { white-space: normal; }
}

/* short phones (for example 375 x 667): a smaller dot and less room above the heading */
@media (max-width: 767px) and (max-height: 720px) {
  .hx__orb { top: -15vw; width: 44vw; }
  .hx__in { padding-top: 118px; }
  .hx__h { font-size: 2.375rem; }
  .hx__foot { margin-top: 18px; }
  .hx__sub { line-height: 1.55; }
}
@media (max-width: 359px) { .hx__h { font-size: 2.125rem; } } /* round 9 (CD-A-36): placed after the short-phone rule so it applies at 320 x 568 too */

/* round 9 (CD-A-36): phones turned sideways - the hero no longer keeps its desktop height, so the headline fits the first screen */
@media (orientation: landscape) and (max-height: 500px) {
  .hx__panel { min-height: 0; }
  .hx__in { padding-block: 96px 32px; }
}
@media (orientation: landscape) and (max-height: 340px) { html[lang="ar"] .hx__in { padding-top: 64px; } } /* 320 px-tall screens: the headline clears the WhatsApp button */

/* services: ten names in their three groups, nothing else to read.
   Round 4: no big heading and no number ranges; the small "Services" marker (the section's h2) and the link to the
   full catalogue share one row, then the three groups. */
.sx { padding-block: var(--r2-y); }
.sx__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label more" "cols cols"; align-items: baseline; row-gap: clamp(30px, 3.4vw, 52px); column-gap: var(--col-gap); }
.sx__label { grid-area: label; }
.sx__cols { grid-area: cols; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: var(--col-gap); }
.sx__col { grid-row: span 2; display: grid; grid-template-rows: subgrid; align-content: start; padding-top: 22px; border-top: 1px solid var(--ink); transition: border-color var(--t-med) linear, box-shadow var(--t-med) linear; }
.sx__col:target { border-top-color: var(--red); box-shadow: inset 0 1px 0 var(--red); }
.sx__group { margin: 0 0 26px; font-size: var(--fs-d3); font-weight: var(--w-light); line-height: 1.14; letter-spacing: var(--track-head); }
.sx__list { align-self: start; border-bottom: 1px solid var(--line); }
.sx__svc { display: grid; grid-template-columns: 2.5em minmax(0, 1fr) 18px; align-items: center; column-gap: 8px; min-height: 62px; padding-block: 14px; border-top: 1px solid var(--line); text-decoration: none; }
.sx__num { font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); transition: color var(--t-fast) linear; }
.sx__name { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: var(--w-reg); line-height: 1.3; transition: translate var(--t-med) var(--ease); }
.sx__svc .i { width: 18px; height: 18px; opacity: 0; translate: -8px 0; transition: opacity var(--t-fast) linear, translate var(--t-med) var(--ease); }
[dir="rtl"] .sx__svc .i { translate: 8px 0; }
.sx__svc:hover .sx__name, .sx__svc:focus-visible .sx__name { translate: 6px 0; }
[dir="rtl"] .sx__svc:hover .sx__name, [dir="rtl"] .sx__svc:focus-visible .sx__name { translate: -6px 0; }
.sx__svc:hover .sx__num, .sx__svc:focus-visible .sx__num { color: var(--red-deep); }
.sx__svc:hover .i, .sx__svc:focus-visible .i { opacity: 1; translate: 0 0; }
@media (hover: none) { .sx__svc .i, [dir="rtl"] .sx__svc .i { opacity: .45; translate: 0 0; } }
.sx__more { grid-area: more; margin: 0; }
@media (max-width: 767px) {
  .sx__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "cols" "more"; row-gap: 28px; }
  .sx__cols { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 44px; }
  .sx__col { grid-row: auto; display: block; }
  .sx__group { margin: 0 0 14px; }
}

/* work: larger imagery, staggered like a printed portfolio; every item is a marked placeholder */
.wx { padding: 0 var(--inset); }
.wx__panel { border-radius: var(--r-l); padding-block: var(--r2-y); }
.pgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(48px, 6vw, 96px); align-items: start; }
.pgrid--home .pc--a { grid-column: 1 / 8; }
.pgrid--home .pc--b { grid-column: 9 / 13; margin-top: clamp(64px, 10vw, 180px); }
.pgrid--home .pc--c { grid-column: 2 / 7; margin-top: clamp(-150px, -6.5vw, -32px); }
.pgrid--home .pc--d { grid-column: 7 / 13; margin-top: clamp(40px, 8vw, 140px); }
.pcard { min-width: 0; }
.pcard__a { display: block; color: inherit; text-decoration: none; border-radius: var(--r-m); }
.pcard__a:focus-visible { outline-offset: 6px; }
.pcard__media { position: relative; display: block; overflow: hidden; border-radius: var(--r-m); background: #141414; outline: 1px solid rgba(127, 127, 127, .22); outline-offset: -1px; }
.pcard--tall .pcard__media { aspect-ratio: 4 / 5; }
.pcard--wide .pcard__media { aspect-ratio: 16 / 10; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
a.pcard__a:hover .pcard__media img { transform: scale(1.04); }
.pcard__ph { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: var(--pill); background: rgba(0, 0, 0, .74); color: var(--paper); font-size: .75rem; font-weight: var(--w-bold); line-height: 1; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pcard__meta { display: grid; gap: 4px; padding-top: 16px; }
.pcard__cat { font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); }
.pcard__t { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.375rem); font-weight: var(--w-reg); line-height: 1.3; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color var(--t-fast) linear; }
a.pcard__a:hover .pcard__t { text-decoration-color: currentColor; }
.wx__note { margin-top: clamp(44px, 5vw, 80px); max-width: 72ch; padding-inline-start: 16px; border-inline-start: 2px solid var(--red); font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); }
@media (max-width: 899px) {
  .pgrid--home .pc--a, .pgrid--home .pc--d { grid-column: 1 / -1; margin-top: 0; }
  .pgrid--home .pc--b { grid-column: 1 / 7; margin-top: 0; }
  .pgrid--home .pc--c { grid-column: 7 / 13; margin-top: clamp(48px, 9vw, 96px); }
}
@media (max-width: 599px) { .pgrid--home .pc--b, .pgrid--home .pc--c { grid-column: 1 / -1; margin-top: 0; } }

/* the "View" bubble that follows the pointer over linked project images (mouse only, added by script) */
.cursor { position: fixed; z-index: 75; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--red); color: var(--ink); font-size: var(--fs-sm); font-weight: var(--w-bold); pointer-events: none; scale: 0; transition: scale 380ms var(--ease-spring); }
.cursor.is-on { scale: 1; }
html.has-cursor a.pcard__a[data-cursor] { cursor: none; }

/* about + why: one statement, one line, who we work with, four reasons */
.ax { padding-block: var(--r2-y); }
.ax__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(52px, 6.4vw, 104px); }
.ax__mark { grid-column: 1 / 4; padding-top: .65em; }
.ax__main { grid-column: 4 / 13; }
/* round 8: one strong headline and a short two-part description */
.ax__statement { max-width: 17em; font-size: var(--fs-d2); font-weight: var(--w-light); line-height: 1.06; letter-spacing: var(--track-head); text-wrap: balance; }
.ax__intro { display: grid; gap: 14px; max-width: 58ch; margin-top: clamp(26px, 2.8vw, 40px); }
.ax__intro p { font-size: var(--fs-lead); line-height: 1.55; color: var(--mute); font-weight: var(--w-light); text-wrap: pretty; }
.ax__k { font-size: var(--fs-sm); font-weight: var(--w-bold); }
.ax__why { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; padding-top: clamp(26px, 2.8vw, 40px); border-top: 1px solid var(--ink); }
.ax__k--why { grid-column: 1 / 4; font-size: var(--fs-d4); line-height: 1.25; }
.ax__list { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 48px) var(--col-gap); }
.ax__t { margin-bottom: 8px; font-size: clamp(1.125rem, 1.06rem + .25vw, 1.25rem); font-weight: var(--w-bold); line-height: 1.3; }
.ax__list p { font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); max-width: 46ch; }
@media (max-width: 899px) {
  .ax__mark, .ax__main, .ax__k--why, .ax__list { grid-column: 1 / -1; }
  .ax__mark { padding-top: 0; }
  .ax__grid { row-gap: 40px; }
  .ax__main { margin-top: -18px; }
}
@media (max-width: 599px) { .ax__list { grid-template-columns: 1fr; } }

/* how it works: three stations on one line; the brand dot travels along it as you scroll.
   Round 3: on the white page (no grey panel); the About section above and Reviews below give the spacing. */
/* round 8: How it works on a dark rounded panel (as Selected work); scoped, so service-page tracks are unchanged */
.px { padding: 0 var(--inset); }
.px__panel { border-radius: var(--r-l); padding-block: var(--r2-y); }
.track--dark .track__line { background: rgba(255, 255, 255, .18); }
.track--dark .track__node { border-color: rgba(255, 255, 255, .34); background: var(--bg); color: var(--paper); }
.track--dark .track__step.is-on .track__node { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.track--dark .track__dot { box-shadow: 0 0 0 7px rgba(238, 68, 69, .22); }
.track--dark .track__n { color: #A3A3A3; }
.track--dark .track__d { color: #C9C9C9; }

.track { --n: 3; --node: 64px; container: track / inline-size; position: relative; }
.track--n4 { --n: 4; }
.track__steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); column-gap: var(--col-gap); }
.track__line { position: absolute; z-index: 0; top: calc(var(--node) / 2); inset-inline-start: calc(var(--node) / 2); width: calc((100% + var(--col-gap)) * (var(--n) - 1) / var(--n)); height: 2px; margin-top: -1px; background: var(--line); }
.track__fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p, 1) * 100%); background: var(--red); }
.track__dot { position: absolute; top: 50%; inset-inline-start: calc(var(--p, 1) * 100%); width: 14px; height: 14px; margin-top: -7px; margin-inline-start: -7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 7px rgba(238, 68, 69, .16); }
.track__step { display: grid; align-content: start; min-width: 0; }
.track__node { display: inline-flex; align-items: center; justify-content: center; width: var(--node); height: var(--node); border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--fg); transition: background-color 400ms linear, color 400ms linear, border-color 400ms linear; }
.track__node .i { width: 26px; height: 26px; }
.track__num { font-size: var(--fs-sm); font-weight: var(--w-bold); line-height: 1; }
.track__step.is-on .track__node { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.track__txt { padding-top: 26px; padding-inline-end: 16px; }
.track__n { margin-bottom: 8px; font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.track__t { font-size: var(--fs-d4); font-weight: var(--w-bold); line-height: 1.25; }
.track__d { margin-top: 10px; font-size: var(--fs-sm); color: var(--mute); font-weight: var(--w-reg); max-width: 36ch; }
.track--compact { --node: 46px; }
.track--compact .track__txt { padding-top: 20px; }
.track--compact .track__t { font-size: 1.125rem; }
/* narrow tracks run downwards; the script measures the first and last stations for the line */
@container track (max-width: 759px) {
  .track__steps, .track__line { --node: 48px; }
  .track__steps { grid-template-columns: 1fr; row-gap: 30px; }
  .track__step { grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .track__txt { padding-top: 12px; padding-inline-end: 0; }
  .track__line { top: var(--a, 24px); width: 2px; height: calc(var(--b, 100%) - var(--a, 24px)); margin: 0; margin-inline-start: -1px; }
  .track__fill { inset-inline: 0; inset-block: 0 auto; width: auto; height: calc(var(--p, 1) * 100%); }
  .track__dot { top: calc(var(--p, 1) * 100%); inset-inline-start: 50%; }
}

/* ================================================================== SERVICE PAGES */
.svx { padding-block: var(--r2-y); }
.svx + .svx, .ssec--proof + .svx { padding-top: 0; }
.svx--tool { padding: 0 var(--inset); }
.svx--tool + .svx { padding-top: var(--r2-y); }
.is-svc .svx[id] { scroll-margin-top: calc(var(--subnav-h) + 16px); }
/* the frozen "Work and client feedback" section keeps exactly the spacing it had in round 1 */
.ssec.ssec--proof { padding-top: 0; }

.svx__h { font-size: var(--fs-d3); font-weight: var(--w-light); line-height: 1.14; letter-spacing: var(--track-head); text-wrap: balance; }
.svx__head { display: grid; gap: 14px; max-width: 820px; margin-bottom: clamp(30px, 3.6vw, 52px); }
.svx__h2 { font-size: var(--fs-d2); font-weight: var(--w-light); line-height: 1.06; letter-spacing: var(--track-head); text-wrap: balance; }
.svx__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--mute); max-width: 56ch; }
.svx__panel { border-radius: var(--r-l); padding-block: clamp(56px, 7vw, 112px); }

/* overview: who it is for and what is included, side by side */
.svx__ov { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 56px; }
.svx__who { grid-column: 1 / 6; }
.svx__inc { grid-column: 7 / 13; }
.svx__ov .svx__h { margin-bottom: 22px; }
.svx__wholist { border-bottom: 1px solid var(--line); }
.svx__wholist > li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.5; }
.svx__p { margin: -6px 0 26px; color: var(--mute); font-size: 1.0625rem; max-width: 56ch; }
.plist { display: grid; gap: 9px; }
.plist > li { position: relative; padding-inline-start: 18px; font-size: var(--fs-sm); font-weight: var(--w-reg); line-height: 1.5; }
.plist > li::before { content: ""; position: absolute; inset-inline-start: 1px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; }
@media (max-width: 899px) { .svx__who, .svx__inc { grid-column: 1 / -1; } }

/* related guides and services: the rule sits on the content width, not the full page */
.svx--rel .rel { position: relative; border-top: 0; }
.svx--rel .rel::before { content: ""; position: absolute; top: 0; inset-inline: var(--gutter); border-top: 1px solid var(--ink); }

/* heading on the side, content on the main column */
.svx__split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; }
.svx__side { grid-column: 1 / 5; align-self: start; }
.svx__main { grid-column: 6 / 13; min-width: 0; }
@media (min-width: 960px) { .svx__side { position: sticky; top: calc(var(--hdr-h) + var(--subnav-h) + 32px); } }
@media (max-width: 959px) { .svx__side, .svx__main { grid-column: 1 / -1; } }
.svx__more { margin-top: 18px; }
.svx__leadp { margin-bottom: 26px; font-size: var(--fs-lead); line-height: 1.5; max-width: 56ch; }
.svx__k { margin-bottom: 12px; font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }

/* compare: two calm cards; on phones one at a time */
.cmp2__seg { display: none; margin-bottom: 18px; }
.cmp2__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); }
.cmp2__card { display: grid; align-content: start; gap: 18px; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--r-m); background: var(--paper); }
.cmp2__name { font-size: var(--fs-d3); font-weight: var(--w-light); line-height: 1.14; letter-spacing: var(--track-head); }
.cmp2__sum { display: grid; gap: 4px; font-size: 1.0625rem; line-height: 1.5; }
.cmp2__k, .cmp2__row dt { font-size: var(--fs-xs); color: var(--mute); font-weight: var(--w-reg); }
.cmp2__rows { border-bottom: 1px solid var(--line-l); }
.cmp2__row { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line-l); }
.cmp2__row dd { font-size: var(--fs-sm); font-weight: var(--w-reg); line-height: 1.55; }
@media (max-width: 899px) {
  .cmp2__seg { display: inline-flex; }
  .cmp2__cards { grid-template-columns: 1fr; }
  .cmp2[data-show="0"] .cmp2__card--1, .cmp2[data-show="1"] .cmp2__card--0 { display: none; }
  .cmp2__card:not([hidden]) { animation: dpFade var(--t-med) linear; }
}

/* table data as short labelled rows */
.rowsx { border-bottom: 1px solid var(--line); }
.rowsx__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 10px var(--col-gap); padding: 16px 0; border-top: 1px solid var(--line); }
.rowsx__t { font-weight: var(--w-bold); line-height: 1.45; }
.rowsx__v { grid-column: 2; font-size: var(--fs-sm); font-weight: var(--w-reg); line-height: 1.55; }
.rowsx__k { display: block; margin-bottom: 2px; font-size: var(--fs-xs); color: var(--mute); }
@media (max-width: 599px) { .rowsx__row { grid-template-columns: 1fr; } .rowsx__v { grid-column: auto; } }

/* ================================================================== WORK + SAMPLE PROJECTS */
.wk { padding-block: 0 var(--r2-y); }
.wk__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; }
.wk__rail { grid-column: 1 / 3; }
.wk__main { grid-column: 3 / 13; min-width: 0; }
.chips--rail { flex-direction: column; align-items: flex-start; gap: 6px; }
@media (min-width: 960px) { .wk__rail { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; } }
.pgrid--all { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; row-gap: clamp(44px, 5.4vw, 88px); }
.pgrid--all .pc--full { grid-column: 1 / -1; }
.pgrid--all .pc--l { grid-column: 1; }
.pgrid--all .pc--r { grid-column: 2; margin-top: clamp(48px, 8vw, 140px); }
.pgrid--all[data-filtered="true"] .pc--l, .pgrid--all[data-filtered="true"] .pc--r { grid-column: auto; margin-top: 0; }
@media (max-width: 959px) {
  .wk__rail, .wk__main { grid-column: 1 / -1; }
  .chips--rail { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); }
  .chips--rail::-webkit-scrollbar { display: none; }
  .chips--rail .chip { flex: none; }
}
@media (max-width: 599px) { .pgrid--all { grid-template-columns: 1fr; } .pgrid--all .pc--l, .pgrid--all .pc--r { grid-column: auto; margin-top: 0; } }

.proj__hero { position: relative; }
.proj__hero img { aspect-ratio: 16 / 10; max-height: 84vh; }
.proj__hero .pcard__ph { top: 20px; inset-inline-start: 20px; }
.pgal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgal__wide { grid-column: 1 / -1; }
.pgal img { aspect-ratio: 4 / 5; }
.pgal .pgal__wide img { aspect-ratio: 16 / 10; }
@media (max-width: 899px) { .pgal { grid-template-columns: 1fr; } }
.track--case { margin-block: 6px 10px; }

/* ================================================================== CONTACT (light panel, every page) */
.contact { padding: 0 var(--inset) var(--inset); }
.contact__panel { border-radius: var(--r-l); padding-block: var(--r2-y); }
.form__consent, .form__done p:not(.form__doneh) { color: var(--mute-l); }
/* round 3: three plain contact options at reading size (no oversized numbers, no repeated hours) */
.contact__links { display: grid; justify-items: start; gap: 2px; margin-top: clamp(28px, 3.2vw, 44px); }
.clink { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 1.0625rem; font-weight: var(--w-reg); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em; transition: text-decoration-color var(--t-fast) linear; }
.clink .i { width: 20px; height: 20px; }
.clink:hover { text-decoration-color: currentColor; }
/* contact page: hours and the office, kept here quietly */
.cinfo { display: grid; gap: 6px; margin-top: 26px; max-width: 64ch; font-size: var(--fs-sm); color: var(--mute-l); font-weight: var(--w-reg); }
.cinfo a { padding-block: 3px; } /* keeps the inline link's tap area at 24 px or more */
.contact__formwrap { border: 0; background: var(--paper); }
.contact .field > label, .contact .field > legend { color: var(--ink); }
.contact .field input, .contact .field select, .contact .field textarea { border-color: #C9C9C9; background: var(--paper); color: var(--ink); }
.contact .field input::placeholder, .contact .field textarea::placeholder { color: #767676; }
.contact .field input:hover, .contact .field select:hover, .contact .field textarea:hover { border-color: #8A8A8A; }
.contact .field input:focus-visible, .contact .field select:focus-visible, .contact .field textarea:focus-visible { outline-color: var(--ink); border-color: var(--ink); }
.contact .field [aria-invalid="true"] { border-color: var(--red-deep); }
.contact .field__e { color: var(--red-deep); }
.contact .form__err { border-color: var(--red-deep); color: var(--ink); background: var(--paper); }
.contact .seg__opt span { border-color: #C9C9C9; }
.contact .seg__opt input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact .seg__opt input:focus-visible + span { outline-color: var(--ink); }
.contact .form__more { text-decoration-color: #9A9A9A; }

/* ================================================================== FOOTER */
.ftr { margin: 0 var(--inset) var(--inset); padding-block: 0 28px; border-radius: var(--r-l); }
.ftr > .wrap { border-top: 0; padding-top: clamp(64px, 7vw, 112px); }
.ftr__brand { padding-bottom: clamp(44px, 5vw, 80px); }
.ftr__cols { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px var(--col-gap); padding-block: clamp(36px, 4vw, 56px); }
.ftr__h { margin-bottom: 16px; }
.ftr__social a { gap: 8px; }
.ftr__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 24px; }
.ftr__fine { flex: 1 1 520px; max-width: 96ch; line-height: 1.6; }
.ftr__lang { margin-top: 0; }
.ftr__lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #3a3a3a; border-radius: var(--pill); color: var(--paper); font-size: var(--fs-sm); text-decoration: none; transition: border-color var(--t-fast) linear; }
.ftr__lang a:hover { border-color: var(--paper); }
@media (max-width: 1023px) { .ftr__cols { grid-template-columns: 1fr 1fr; } .ftr__cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 479px) { .ftr__cols { grid-template-columns: 1fr 1fr; gap: 32px 18px; } .ftr__svcs { grid-template-columns: 1fr 1fr; column-gap: 18px; } .ftr__cols > :last-child { grid-column: 1 / -1; } }

/* ================================================================== MENUS */
.mega { padding-block: 34px 44px; }
.mega__col > .mega__group { display: grid; gap: 4px; margin-bottom: 14px; font-size: 1.0625rem; }
.mega__range { font-size: var(--fs-xs); color: var(--mute-l); font-weight: var(--w-reg); }
.mega__col ul { gap: 0; border-top: 1px solid var(--line-l); }
.mega__col li { border-bottom: 1px solid var(--line-l); }
.mega__svc { grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; padding: 12px 10px; margin-inline: -10px; border-radius: 8px; }
.mega__num { grid-row: auto; padding-top: 0; }
.mega__name { font-weight: var(--w-reg); }
.mega__svc:hover .mega__num { color: var(--red-deep); }

.mnav__main > li > a, .mnav__more > summary { min-height: 62px; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.625rem); }
.mnav__panel { padding-bottom: 18px; }
.mnav__group { margin: 18px 0 2px; }
.mnav__svcs a { align-items: baseline; min-height: 44px; padding: 10px 0; font-size: 1.0625rem; line-height: 1.35; }
.mnav__num { padding-top: 0; }
html[lang="ar"] .mnav__main > li > a, html[lang="ar"] .mnav__more > summary { font-size: 1.3125rem; font-weight: var(--w-reg); }

/* ================================================================== ARABIC: calmer display sizes (round-2 headings only) */
html[lang="ar"] .hx__h { font-size: clamp(2.125rem, .9rem + 4.3vw, 5.25rem); line-height: 1.3; font-weight: var(--w-reg); }
html[lang="ar"] .hx__h b { font-weight: var(--w-bold); text-indent: .9em; }
html[lang="ar"] .hx__sub { line-height: 1.85; }
html[lang="ar"] .sx__group { font-size: clamp(1.375rem, 1.12rem + 1vw, 1.875rem); line-height: 1.4; font-weight: var(--w-reg); }
html[lang="ar"] .wx__h { font-size: clamp(1.75rem, 1.05rem + 2.6vw, 3.25rem); line-height: 1.32; font-weight: var(--w-reg); }
html[lang="ar"] .px__h, html[lang="ar"] .svx__h2 { font-size: clamp(1.625rem, 1.05rem + 2vw, 2.75rem); line-height: 1.35; font-weight: var(--w-reg); }
html[lang="ar"] .ax__statement { font-size: clamp(1.625rem, 1.05rem + 2vw, 2.75rem); line-height: 1.35; font-weight: var(--w-reg); }
html[lang="ar"] .ax__intro p { line-height: 1.85; font-weight: var(--w-reg); }
html[lang="ar"] .svx__h, html[lang="ar"] .cmp2__name { font-size: clamp(1.375rem, 1.12rem + 1vw, 1.875rem); line-height: 1.4; font-weight: var(--w-reg); }
html[lang="ar"] .contact__h { font-size: clamp(1.875rem, 1.1rem + 2.7vw, 3.375rem); line-height: 1.3; }
html[lang="ar"] .shero__h { font-size: clamp(2rem, 1.1rem + 3.3vw, 4.25rem); line-height: 1.3; }
html[lang="ar"] .phero__h { font-size: clamp(1.875rem, 1.1rem + 2.8vw, 3.75rem); line-height: 1.3; }
html[lang="ar"] .hubg .d2 { font-size: clamp(1.625rem, 1.1rem + 1.9vw, 2.625rem); }
html[lang="ar"] .next .d2 { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.875rem); }
@media (max-width: 599px) { html[lang="ar"] .hx__h { line-height: 1.36; } html[lang="ar"] .hx__h b { text-indent: 0; } }

/* ================================================================== MOTION GUARDS for the round-2 additions */
@media (prefers-reduced-motion: reduce) { .hx__wash, html.js .hx__wash--a, html.js .hx__wash--b { animation: none !important; } .hx__orb { transition: none; } }
html[data-motion="reduced"] .hx__wash { animation: none !important; }
html[data-motion="reduced"] .hx__orb { translate: none; }

/* motion.css */
/* Motion. One orchestrated moment per page: the hero headline settles word by word and the
   red full stop lands last. Everything else moves only in answer to the visitor. */
/* the word rises from behind its own baseline: the clip moves against the transform so the mask stays put */
@keyframes dpWord { from { transform: translateY(100%); clip-path: inset(-130% -12% 80% -12%); } to { transform: none; clip-path: inset(-30% -12% -20% -12%); } }
@keyframes dpWordAr { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@keyframes dpDotLand { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes dpOrb { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dpRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dpDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* headline split into words (pure CSS, so text is never stuck hidden if a script fails) */
[data-split] .wi { display: inline-block; }
html.js [data-split] .wi { animation: dpWord var(--t-slow) var(--ease) backwards; animation-delay: calc(120ms + var(--i, 0) * 70ms); }
html.js[lang="ar"] [data-split] .wi { animation-name: dpWordAr; }
html.js [data-split] .dot { animation: dpDotLand 700ms var(--ease-spring) both; animation-delay: 1050ms; }
html.js .hero-b__orb { animation: dpOrb 1100ms var(--ease-spring) both; animation-delay: 200ms; }

/* reduced motion: from the system setting or the prototype panel */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
}
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
html[data-motion="reduced"] { scroll-behavior: auto; }

/* proto.css */
/* Prototype review panel. Deliberately not styled like the site: it is a tool, not part of the design. */
.proto { position: fixed; z-index: 80; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: 0; color: #000; }
.proto__btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 10px; border: 1px solid #000; border-radius: 999px; background: #fff; color: #000; font: inherit; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.proto__btn .i { width: 16px; height: 16px; }
.proto__btn[aria-expanded="true"] { background: #000; color: #fff; }
.proto__panel { position: absolute; left: 0; bottom: 46px; display: grid; gap: 10px; width: min(352px, calc(100vw - 24px)); padding: 16px; border: 1px solid #000; border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
.proto__panel:not([hidden]) { animation: dpRise 200ms ease-out; }
/* round 9: on Arabic pages the WhatsApp button is bottom-left (CD-A-31), so the prototype button sits bottom-right */
html[dir="rtl"] .proto { left: auto; right: max(12px, env(safe-area-inset-right)); }
html[dir="rtl"] .proto__panel { left: auto; right: 0; }
.proto__title { font-weight: 700; font-size: 14px; }
.proto__note { color: #646464; }
.proto__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; }
.proto__row > span { font-weight: 600; }
.proto__row > a { color: #000; }
.proto__seg { display: inline-flex; border: 1px solid #000; border-radius: 999px; overflow: hidden; }
.proto__seg button { min-height: 32px; padding: 0 11px; border: 0; background: #fff; color: #000; font: inherit; }
.proto__seg button + button { border-inline-start: 1px solid #000; }
.proto__seg button[aria-pressed="true"] { background: #000; color: #fff; }
.proto__seg button:focus-visible, .proto__btn:focus-visible, .proto a:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.proto__links { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 10px; border-top: 1px solid #E3E3E3; }
.proto__links a { color: #000; }
@media print { .proto, .fwa, .toast { display: none !important; } }
