/* ==========================================================================
   v3, redesign layer (loaded after style.css rules via @import-free append)
   ========================================================================== */

/* ---------- Global rhythm ------------------------------------------- */
.section { padding-block: clamp(72px, 9vw, 140px); }
.section--tight { padding-block: clamp(60px, 7vw, 108px); }
.sec-head { margin-bottom: clamp(40px, 5.5vw, 80px); }
.sec-head--tight { margin-bottom: clamp(32px, 4.2vw, 60px); }
.sec-head__cta { justify-self: end; }
@media (max-width: 900px) { .sec-head__cta { justify-self: start; } }
.btn--copper { --bg: var(--copper); --fg: var(--ink); }
.btn--copper::before { background: var(--light); }

/* split text: never clip descenders or italic overhang */
.split-line { padding: .04em .14em .2em 0; margin: -.04em -.14em -.2em 0; }
[dir="rtl"] .split-line { padding: .04em 0 .24em .14em; margin: -.04em 0 -.24em -.14em; }

/* ---------- Hero refinements ---------------------------------------- */
.hero__caption { top: calc(var(--header-h) + 36px); bottom: auto; }
.hero__cap .hero__cap-t { overflow: visible; }
.hero__cap .hero__cap-t span { overflow: hidden; }
@media (max-width: 1024px) { .hero__caption { top: auto; bottom: 106px; } }
.hero__title .serif { padding-inline-end: .06em; }

/* ---------- WhatsApp: straight hover -------------------------------- */
.wa:hover { transform: translateY(-3px) scale(1.06); }

/* ---------- Header cluster ------------------------------------------ */
.header__in { gap: 20px; }
.nav { gap: clamp(18px, 2vw, 36px); margin-inline-start: auto; }
.hdr { display: flex; align-items: center; gap: 10px; }
.hq { position: relative; }
.hq__btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-d2); color: var(--grey-2); transition: color .3s, border-color .3s, background .3s; }
.hq__btn:hover, .hq:hover .hq__btn, .hq:focus-within .hq__btn { color: var(--light); border-color: var(--copper); }
.hq__btn svg { width: 17px; height: 17px; }
.hq__drop { position: absolute; top: calc(100% + 10px); inset-inline-end: -60px; width: 330px; padding: 10px; background: rgba(23,24,27,.96); backdrop-filter: blur(18px); border: 1px solid var(--line-d2); box-shadow: 0 30px 70px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s, transform .45s var(--ease-out); z-index: 5; }
.hq__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.hq:hover .hq__drop, .hq:focus-within .hq__drop { opacity: 1; transform: none; pointer-events: auto; }
.hq__title { display: block; padding: 8px 10px 12px; font: 600 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.hq__drop button { width: 100%; display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; padding: 10px; text-align: start; transition: background .25s; }
.hq__drop button:hover { background: var(--char-3); }
.hq__drop img { width: 44px; height: 44px; border-radius: 2px; }
.hq__drop b { display: block; font-weight: 600; font-size: .95rem; }
.hq__drop small { display: block; font-size: .78rem; color: var(--grey); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hq__drop svg { width: 16px; height: 16px; color: var(--grey); }
.mbtn { display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px 0 12px; border: 1px solid var(--line-d2); color: var(--light); font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; transition: border-color .3s, background .3s; }
.mbtn:hover { border-color: var(--copper); }
.mbtn__lines { position: relative; width: 20px; height: 12px; display: grid; align-content: space-between; }
.mbtn__lines i { height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), opacity .3s, width .4s var(--ease-out); }
.mbtn__lines i:nth-child(2) { width: 70%; justify-self: end; }
.mbtn:hover .mbtn__lines i:nth-child(2) { width: 100%; }
body.menu-open .mbtn__lines i:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
body.menu-open .mbtn__lines i:nth-child(2) { opacity: 0; }
body.menu-open .mbtn__lines i:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }
.burger, .menu { display: none !important; }
.nav__cta { display: inline-flex; }
@media (max-width: 1280px) { .nav__cta { display: none; } }
@media (max-width: 1100px) { .nav { display: none; } .hdr { margin-inline-start: auto; } }
@media (max-width: 1024px) { .header .lang { display: block; } }
@media (max-width: 560px) { .header .lang, .brand__sub { display: none; } .mbtn__label { display: none; } .mbtn { padding: 0 11px; } .brand__name { font-size: 12px; letter-spacing: .14em; } .hq__drop { inset-inline-end: -50px; width: min(330px, calc(100vw - 32px)); } }

/* ---------- Smart menu ---------------------------------------------- */
.smenu { position: fixed; inset: 0; z-index: 150; display: block; }
.smenu[hidden] { display: none; }
.smenu__panel { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(ellipse at 80% 0%, rgba(196,154,108,.1), transparent 55%), var(--ink);
  clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--ease-io); }
.smenu.is-open .smenu__panel { clip-path: inset(0 0 0 0); }
.smenu__in { min-height: 100%; display: flex; flex-direction: column; padding-top: 28px; padding-bottom: 28px; }
.smenu__top { display: flex; gap: 14px; align-items: center; }
.smenu__search { flex: 1; position: relative; display: flex; align-items: center; height: 58px; border: 1px solid var(--line-d2); background: var(--char); transition: border-color .3s; }
.smenu__search:focus-within { border-color: var(--copper); }
.smenu__search svg { width: 20px; height: 20px; margin-inline: 20px 12px; color: var(--grey); flex: none; }
.smenu__search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; font-size: 1.05rem; color: var(--light); }
.smenu__search input:focus { outline: none; }
.smenu__search kbd { margin-inline-end: 16px; font: 500 11px/1 var(--f-mono); color: var(--grey); padding: 7px 9px; border: 1px solid var(--line-d2); white-space: nowrap; }
.smenu__close { width: 58px; height: 58px; border-radius: 0; flex: none; }
.smenu__grid { flex: 1; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(28px, 4vw, 72px); padding-block: clamp(36px, 5vh, 64px); }
.smenu__nav { display: grid; align-content: start; }
.smenu__nav a { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-d); opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s var(--ease-out), color .3s; }
.smenu.is-open .smenu__nav a { opacity: 1; transform: none; }
.smenu__nav a:nth-child(2) { transition-delay: .05s; } .smenu__nav a:nth-child(3) { transition-delay: .1s; } .smenu__nav a:nth-child(4) { transition-delay: .15s; } .smenu__nav a:nth-child(5) { transition-delay: .2s; }
.smenu__nav small { font: 500 12px/1 var(--f-mono); color: var(--copper); }
.smenu__nav span { font: 300 clamp(2rem, 4vw, 3.4rem)/1.05 var(--f-sans); letter-spacing: -.035em; transition: transform .5s var(--ease-out), color .3s; }
.smenu__nav em { grid-column: 2; font-style: normal; font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-top: 6px; }
.smenu__nav a:hover span, .smenu__nav a.is-active span { color: var(--copper-2); transform: translateX(8px); }
[dir="rtl"] .smenu__nav a:hover span, [dir="rtl"] .smenu__nav a.is-active span { transform: translateX(-8px); }
.smenu__col { opacity: 0; transform: translateY(24px); transition: opacity .6s .2s, transform .8s .2s var(--ease-out); }
.smenu.is-open .smenu__col { opacity: 1; transform: none; }
.smenu__col + .smenu__col { transition-delay: .3s; }
.smenu h6 { font: 600 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.smenu h6::after { content: ""; flex: 1; height: 1px; background: var(--line-d); }
.smenu h6:not(:first-child) { margin-top: 34px; }
.smenu__sectors { display: flex; flex-wrap: wrap; gap: 8px; }
.smenu__sectors a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line-d2); font-size: .88rem; color: var(--grey-2); transition: border-color .3s, color .3s; }
.smenu__sectors a i { width: 7px; height: 7px; background: var(--c); }
.smenu__sectors a sup { font: 500 10px/1 var(--f-mono); color: var(--grey); top: 0; }
.smenu__sectors a:hover { border-color: var(--c); color: var(--light); }
.smenu__feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.smenu__feat a { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: flex-end; padding: 12px; }
.smenu__feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.smenu__feat a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,13,.85), transparent 60%); }
.smenu__feat a:hover img { transform: scale(1.06); }
.smenu__feat span { position: relative; z-index: 1; font-size: .88rem; line-height: 1.25; }
.smenu__feat small { display: block; font: 500 10px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--copper-2); }
.smenu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.smenu__actions > * { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line-d2); background: var(--char); font-size: .92rem; text-align: start; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.smenu__actions > *:hover { border-color: var(--copper); background: var(--char-2); transform: translateY(-2px); }
.smenu__actions svg { width: 18px; height: 18px; color: var(--copper); flex: none; }
.smenu__actions > *:first-child { grid-column: 1 / -1; background: var(--light); color: var(--char); border-color: var(--light); font-weight: 600; }
.smenu__actions > *:first-child svg { color: var(--char); }
.smenu__pdf { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line-d2); background: var(--char); }
.smenu__pdf-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; box-shadow: 0 16px 30px rgba(0,0,0,.5); }
.smenu__pdf-cover img { width: 100%; height: 100%; object-fit: cover; }
.smenu__pdf-cover i { position: absolute; left: 6px; bottom: 6px; font: 700 10px/1 var(--f-mono); font-style: normal; background: var(--copper); color: var(--ink); padding: 4px 6px; }
.smenu__pdf b { display: block; font-weight: 600; }
.smenu__pdf small { display: block; font: 500 11px/1.4 var(--f-mono); color: var(--grey); letter-spacing: .06em; margin-top: 3px; }
.smenu__pdf-btns { display: flex; gap: 8px; margin-top: 12px; }
.smenu__pdf-btns a { padding: 8px 12px; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-d2); transition: background .3s, color .3s; }
.smenu__pdf-btns a:first-child { background: var(--copper); color: var(--ink); border-color: var(--copper); }
.smenu__pdf-btns a:hover { background: var(--light); color: var(--char); }
.smenu__pdf-langs { display: flex; gap: 14px; margin-top: 12px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; color: var(--grey); }
.smenu__pdf-langs a:hover { color: var(--copper-2); }
.smenu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line-d); font: 500 12px/1 var(--f-mono); color: var(--grey); letter-spacing: .06em; }
.smenu__lang { display: flex; gap: 6px; }
.smenu__lang a { padding: 9px 12px; border: 1px solid var(--line-d2); font-weight: 600; }
.smenu__lang a[aria-current] { background: var(--light); color: var(--char); border-color: var(--light); }
.smenu__clock { display: inline-flex; align-items: center; gap: 10px; }
.smenu__clock i { width: 7px; height: 7px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 4px rgba(43,182,115,.18); }
.smenu__clock b { color: var(--light); font-weight: 600; }
@media (max-width: 1100px) { .smenu__grid { grid-template-columns: 1fr 1fr; } .smenu__nav { grid-column: 1 / -1; } }
@media (max-width: 700px) { .smenu__grid { grid-template-columns: 1fr; } .smenu__search kbd { display: none; } .smenu__search, .smenu__close { height: 52px; } .smenu__close { width: 52px; } .smenu__nav span { font-size: 2rem; } }

/* ---------- Ribbon (replaces marquee) --------------------------------- */
.ribbon { position: relative; background: var(--ink); border-bottom: 1px solid var(--line-d); overflow: hidden; }
.ribbon__row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ribbon__row--big { padding-block: clamp(26px, 3.4vw, 46px) clamp(14px, 1.6vw, 22px); }
.ribbon__row--small { padding-block: 16px 22px; border-top: 1px solid var(--line-d); }
.ribbon__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.rb { font: 300 clamp(2.2rem, 5.2vw, 5rem)/1 var(--f-sans); letter-spacing: -.04em; white-space: nowrap; color: var(--light); padding-inline: clamp(14px, 1.6vw, 26px); }
.rb em { font-family: var(--f-serif); font-style: italic; color: var(--copper-2); }
.rb--o { color: transparent; -webkit-text-stroke: 1px rgba(236,234,228,.5); font-weight: 400; }
.rb__img { flex: none; width: clamp(92px, 9vw, 150px); height: clamp(52px, 4.8vw, 82px); border-radius: 999px; overflow: hidden; margin-inline: clamp(6px, .8vw, 12px); box-shadow: inset 0 0 0 1px var(--line-d2); }
.rb__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .8s var(--ease-out); }
.rb__img:hover img { transform: scale(1.12); }
.ribbon__row--small span { font: 500 12px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--grey-2); white-space: nowrap; padding-inline: 22px; }
.ribbon__row--small i { flex: none; width: 5px; height: 5px; background: var(--copper); transform: rotate(45deg); }

/* ---------- Intro, the column --------------------------------------- */
.intro2__in { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.intro2__cols { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: clamp(8px, 1.1vw, 16px); height: clamp(460px, 62vw, 760px); }
.icol { position: relative; overflow: hidden; background: var(--stone); }
.icol:nth-child(1) { margin-top: 18%; } .icol:nth-child(3) { margin-bottom: 18%; }
.icol img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.icol--mid img { filter: saturate(.95); }
.icol__plate { position: absolute; left: 50%; top: 50%; width: clamp(64px, 6vw, 92px); aspect-ratio: 1; transform: translate(-50%, -50%); box-shadow: 0 0 0 10px var(--light), 0 30px 60px rgba(0,0,0,.35); }
.icol__plate svg { width: 100%; height: 100%; display: block; }
.intro2__cols { contain: layout; }
.intro2__title { font: 300 clamp(2.4rem, 4.6vw, 4.6rem)/1.02 var(--f-sans); letter-spacing: -.04em; margin: 22px 0 30px; }
.intro2__title .serif { color: #8B6B47; }
.intro2__body { margin-top: 18px; color: #45474C; max-width: 58ch; }
.intro2__sig { display: flex; align-items: center; gap: 22px; margin: 34px 0 30px; padding-top: 26px; border-top: 1px solid var(--line-l); flex-wrap: wrap; }
.sig { font: 400 clamp(2.6rem, 4vw, 3.6rem)/1 "Mrs Saint Delafield", var(--f-serif); color: #8B6B47; transform: rotate(-4deg); margin-inline-end: 6px; }
.intro2__sig strong { display: block; font-weight: 600; }
.intro2__sig span:not(.sig) { font: 500 11px/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #6A6C72; }
@media (max-width: 1000px) { .intro2__in { grid-template-columns: 1fr; } .intro2__cols { height: clamp(360px, 90vw, 560px); order: 2; } }

/* ---------- Bento numbers ------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.bx { --mx: 50%; --my: 50%; position: relative; overflow: hidden; padding: clamp(22px, 2.4vw, 34px); background: var(--char-2); border: 1px solid var(--line-d); min-height: 250px; display: flex; flex-direction: column; isolation: isolate; }
.bx::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(196,154,108,.14), transparent 60%); opacity: 0; transition: opacity .4s; }
.bx:hover::before { opacity: 1; }
.bx::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(196,154,108,.6), transparent 60%) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.bx:hover::after { opacity: 1; }
.bx--a { grid-column: span 7; } .bx--b { grid-column: span 5; }
.bx--c { grid-column: span 4; } .bx--d { grid-column: span 4; } .bx--e { grid-column: span 4; }
.bx__k { font: 600 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); display: flex; align-items: center; gap: 10px; }
.bx__k::before { content: ""; width: 6px; height: 6px; background: var(--copper); }
.bx__n { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; font: 200 clamp(3.6rem, 6.4vw, 6.4rem)/.9 var(--f-sans); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.bx__n sup { top: 0; font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; color: var(--copper-2); align-self: flex-start; margin-top: .6em; }
.bx__s { margin-top: auto; padding-top: 18px; font-size: .9rem; color: var(--grey); max-width: 42ch; }
.bx__bar { display: flex; height: 10px; margin-top: auto; gap: 3px; }
.bx__bar i { flex: var(--n) 0 0; background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.bx.is-in .bx__bar i { transform: scaleX(1); }
.bx__bar i:nth-child(n) { transition-delay: calc(var(--i) * 70ms + .3s); }
.bx__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .04em; color: var(--grey-2); }
.bx__legend span { display: inline-flex; align-items: center; gap: 7px; }
.bx__legend span i { width: 7px; height: 7px; background: var(--c); }
.bx__legend b { color: var(--light); font-weight: 600; }
.bx__map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.bx--b .bx__s { position: relative; font-size: .78rem; font-family: var(--f-mono); letter-spacing: .06em; }
.bx__pitches { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; margin-top: 18px; }
.bx__pitches i { aspect-ratio: 1.5; background: var(--char-4); transition: background .3s; }
.bx.is-in .bx__pitches i.on { background: #2BB673; opacity: .85; }
.bx__cur { display: flex; gap: 3px; margin-top: 22px; }
.bx__cur div { flex: 0 0 var(--w); min-width: 0; }
.bx__cur div::before { content: ""; display: block; height: 10px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 1.2s .3s var(--ease-out); }
.bx.is-in .bx__cur div::before { transform: scaleX(1); }
.bx__cur b { display: block; margin-top: 10px; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; }
.bx__cur span { display: block; font: 500 11px/1.4 var(--f-mono); color: var(--grey); margin-top: 4px; white-space: nowrap; }
.bx__spark { display: flex; align-items: flex-end; gap: 5px; height: 84px; margin-top: auto; }
.bx__spark i { flex: 1; height: calc(var(--h) * 100%); background: linear-gradient(0deg, var(--copper), var(--copper-2)); opacity: .85; transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 60ms + .2s); position: relative; }
.bx.is-in .bx__spark i { transform: scaleY(1); }
.bx__spark i::after { content: attr(data-y); position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font: 500 9px/1 var(--f-mono); color: var(--grey); }
.bx--e .bx__spark { margin-bottom: 18px; }
@media (max-width: 1100px) { .bx--a, .bx--b { grid-column: span 12; } .bx--c, .bx--d { grid-column: span 6; } .bx--e { grid-column: span 12; } }
@media (max-width: 680px) { .bx--c, .bx--d { grid-column: span 12; } .bx { min-height: 0; } .bx__pitches { grid-template-columns: repeat(12, 1fr); } }

/* ---------- Selected work, index --------------------------------- */
.wx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.wx__stage { position: sticky; top: calc(var(--header-h) + 28px); }
.wx__imgs { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--stone); }
.wx__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1s var(--ease-io), transform 1.6s var(--ease-out); }
.wx__imgs img.is-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.wx__imgs img.is-was { clip-path: inset(0 0 0 0); z-index: 0; }
.wx__meta { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l2); margin-top: 16px; }
.wx__meta div { padding: 14px 14px 0 0; }
.wx__meta div + div { padding-inline-start: 14px; border-inline-start: 1px solid var(--line-l); }
.wx__meta small { display: block; font: 600 10.5px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #6A6C72; }
.wx__meta b { display: block; font: 300 1.4rem/1.2 var(--f-sans); letter-spacing: -.02em; margin-top: 6px; color: var(--char); }
.wx__list { counter-reset: wx; border-top: 1px solid var(--line-l2); }
.wx__row { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line-l); color: var(--char); overflow: hidden; isolation: isolate; }
.wx__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--char); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); }
.wx__row:hover::before, .wx__row.is-on::before { transform: scaleY(1); }
.wx__row:hover, .wx__row.is-on { color: var(--light); }
.wx__row .n { font: 500 12px/1 var(--f-mono); color: #8B6B47; }
.wx__row h3 { font: 400 clamp(1.25rem, 2vw, 1.85rem)/1.15 var(--f-sans); letter-spacing: -.025em; transition: transform .55s var(--ease-out); }
.wx__row:hover h3, .wx__row.is-on h3 { transform: translateX(10px); }
[dir="rtl"] .wx__row:hover h3, [dir="rtl"] .wx__row.is-on h3 { transform: translateX(-10px); }
.wx__row .m { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #6A6C72; transition: color .3s; }
.wx__row:hover .m, .wx__row.is-on .m { color: var(--grey-2); }
.wx__row .m i { display: inline-flex; align-items: center; gap: 7px; font-style: normal; }
.wx__row .m i::before { content: ""; width: 7px; height: 7px; background: var(--c); }
.wx__row .go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-l2); transition: background .4s, border-color .4s, transform .5s var(--ease-out); }
.wx__row:hover .go, .wx__row.is-on .go { background: var(--copper); border-color: var(--copper); color: var(--ink); transform: rotate(-45deg); }
[dir="rtl"] .wx__row:hover .go, [dir="rtl"] .wx__row.is-on .go { transform: rotate(45deg); }
.wx__row .go svg { width: 18px; height: 18px; }
.wx__row .th { display: none; }
@media (max-width: 900px) {
  .wx { grid-template-columns: 1fr; } .wx__stage { display: none; }
  .wx__row { grid-template-columns: 92px minmax(0, 1fr); padding: 16px 0; }
  .wx__row .n, .wx__row .go { display: none; }
  .wx__row .th { display: block; width: 92px; aspect-ratio: 4/3; object-fit: cover; }
  .wx__row:hover h3, .wx__row.is-on h3 { transform: none; }
  .wx__row::before { display: none; } .wx__row:hover, .wx__row.is-on { color: var(--char); } .wx__row:hover .m { color: #6A6C72; }
}

/* ---------- Process, scrollytelling ------------------------------ */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 90px); }
.flow__visual { position: relative; }
.flow__frame { position: sticky; top: calc(var(--header-h) + 40px); aspect-ratio: 1 / 1.05; overflow: hidden; background: #1E1F23; border: 1px solid var(--line-d); }
.flow__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease-ui), transform 1.6s var(--ease-out); }
.flow__frame img:first-child { object-fit: contain; padding: 6%; }
.flow__frame img.is-on { opacity: 1; transform: scale(1); }
.flow__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,13,.75), transparent 45%); pointer-events: none; }
.flow__big { position: absolute; z-index: 2; left: 26px; bottom: 22px; display: flex; align-items: baseline; gap: 8px; }
[dir="rtl"] .flow__big { left: auto; right: 26px; }
.flow__big b { font: 200 clamp(4rem, 8vw, 7rem)/.8 var(--f-sans); letter-spacing: -.06em; color: var(--light); }
.flow__big small { font: 500 13px/1 var(--f-mono); color: var(--grey-2); }
.flow__ring { position: absolute; z-index: 2; right: 22px; bottom: 22px; width: 64px; height: 64px; transform: rotate(-90deg); }
[dir="rtl"] .flow__ring { right: auto; left: 22px; }
.flow__ring circle { fill: none; stroke: var(--line-d2); stroke-width: 2; }
.flow__ring .fg { stroke: var(--copper); stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 * (1 - var(--fp, .2))); transition: stroke-dashoffset .8s var(--ease-out); }
.flow__steps { display: grid; }
.flow__step { display: grid; grid-template-columns: 70px 1fr; gap: 18px; min-height: 38vh; align-content: center; padding-block: 28px; border-top: 1px solid var(--line-d); opacity: .35; transition: opacity .6s; }
.flow__step:last-child { min-height: 34vh; }
.flow__step.is-on { opacity: 1; }
.flow__no { font: 500 13px/1 var(--f-mono); color: var(--copper); padding-top: 12px; }
.flow__step h3 { font: 300 clamp(1.8rem, 3vw, 2.8rem)/1.05 var(--f-sans); letter-spacing: -.035em; }
.flow__step p { margin-top: 16px; color: var(--grey-2); max-width: 46ch; }
.flow__step ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.flow__step li { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; padding: 10px 12px; border: 1px solid var(--line-d2); color: var(--grey-2); }
.flow__step.is-on li { border-color: rgba(196,154,108,.4); color: var(--light); }
.flow__step .th { display: none; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; } .flow__visual { display: none; }
  .flow__step { min-height: 0; opacity: 1; grid-template-columns: 1fr; padding-block: 32px; }
  .flow__step .th { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 18px; background: #1E1F23; }
  .flow__no { padding-top: 0; }
}

/* ---------- Clients, logo wall ------------------------------------ */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l2); border-inline-start: 1px solid var(--line-l); }
.lg { position: relative; margin: 0; padding: 26px 22px 20px; border-inline-end: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); display: flex; flex-direction: column; gap: 18px; min-height: 196px; background: var(--light); transition: background .5s var(--ease-ui); overflow: hidden; }
.lg::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 28px; height: 2px; background: var(--c); transition: width .6s var(--ease-out); }
.lg:hover { background: var(--white); }
.lg:hover::before { width: 100%; }
.lg__art { flex: 1; display: grid; place-items: center; min-height: 80px; }
.lg__art img { max-width: 78%; max-height: 72px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .5s, opacity .5s, transform .6s var(--ease-out); }
.lg:hover .lg__art img { filter: none; opacity: 1; transform: scale(1.05); }
.lg__art.is-none { display: none; }
.lg:has(.lg__art.is-none) figcaption b { font: 300 1.45rem/1.2 var(--f-sans); letter-spacing: -.02em; }
.lg:has(.lg__art.is-none) { justify-content: flex-end; }
.lg figcaption b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--char); }
.lg figcaption span { display: block; margin-top: 4px; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #6A6C72; }
@media (max-width: 1024px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .logos { grid-template-columns: repeat(2, 1fr); } .lg { min-height: 160px; padding: 18px 14px 16px; } .lg__art img { max-height: 54px; } }

/* ---------- CTA v2 --------------------------------------------------- */
.cta2 { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(90px, 11vw, 170px); background: var(--ink); }
.cta2__bg { position: absolute; inset: 0; z-index: -1; }
.cta2__bg img { width: 100%; height: 118%; object-fit: cover; opacity: .5; }
.cta2__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(15,16,18,.55) 35%, rgba(15,16,18,.7) 70%, var(--ink) 100%), radial-gradient(ellipse at 20% 40%, rgba(196,154,108,.16), transparent 55%); }
.cta2__title { font: 200 clamp(3rem, 8vw, 8.4rem)/.94 var(--f-sans); letter-spacing: -.055em; max-width: 12ch; margin-top: 18px; }
.cta2__title .serif { color: var(--copper-2); }
.cta2__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.ctile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; min-height: 170px; text-align: start; background: rgba(23,24,27,.55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--line-d2); transition: border-color .4s, transform .6s var(--ease-out), background .4s; color: var(--light); }
.ctile:hover { border-color: var(--copper); transform: translateY(-4px); background: rgba(35,36,40,.7); }
.ctile__k { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-2); }
.ctile__k svg { width: 16px; height: 16px; }
.ctile b { margin-top: auto; font: 400 clamp(1.1rem, 1.6vw, 1.45rem)/1.2 var(--f-sans); letter-spacing: -.015em; word-break: break-word; }
.ctile small { color: var(--grey); font-size: .86rem; }
.ctile__go { position: absolute; top: 20px; inset-inline-end: 20px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d2); transition: background .4s, color .4s, border-color .4s; }
.ctile__go svg { width: 17px; height: 17px; }
.ctile:hover .ctile__go { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.ctile--main { grid-row: span 2; background: linear-gradient(160deg, rgba(196,154,108,.28), rgba(23,24,27,.6) 60%); }
.ctile--main b { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; letter-spacing: -.03em; }
.ctile--qr { grid-column: span 2; flex-direction: row; align-items: center; gap: 22px; min-height: 0; }
.ctile--qr img { width: 96px; height: 96px; flex: none; }
.ctile--qr b { margin-top: 8px; display: block; }
@media (max-width: 1000px) { .cta2__grid { grid-template-columns: 1fr 1fr; } .ctile--main { grid-row: auto; grid-column: span 2; } }
@media (max-width: 620px) { .cta2__grid { grid-template-columns: 1fr; } .ctile--main, .ctile--qr { grid-column: auto; } .ctile { min-height: 140px; } }

/* ---------- Footer v2 ------------------------------------------------- */
.footer { display: none; }
.ft { position: relative; overflow: hidden; background: var(--ink); border-top: 1px solid var(--line-d); padding-top: clamp(64px, 8vw, 110px); }
.ft::before { content: ""; position: absolute; inset: 0 0 auto; height: 480px; background: radial-gradient(ellipse at 15% 0%, rgba(196,154,108,.1), transparent 60%); pointer-events: none; }
.ft__top { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-d); }
.ft__brand img { width: clamp(260px, 30vw, 420px); height: auto; }
.ft__motto { margin-top: 26px; font: 400 clamp(1.6rem, 2.6vw, 2.4rem)/1.1 var(--f-serif); color: var(--grey-2); }
.ft__motto em { color: var(--copper-2); }
.ft__qrs { display: flex; gap: 12px; }
.ft__qr { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border: 1px solid var(--line-d2); background: var(--char); text-align: start; transition: border-color .3s, transform .5s var(--ease-out); }
.ft__qr:hover { border-color: var(--copper); transform: translateY(-3px); }
.ft__qr img { width: 78px; height: 78px; }
.ft__qr small { display: block; font: 600 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.ft__qr b { display: block; margin-top: 6px; font-weight: 500; }
.ft__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: clamp(44px, 5vw, 70px); }
.ft__about p { color: var(--grey); max-width: 40ch; margin-bottom: 24px; }
.ft h5 { font: 600 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: 20px; }
.ft li + li { margin-top: 12px; }
.ft li a, .ft li button { color: var(--grey-2); transition: color .3s; display: inline-flex; align-items: center; gap: 10px; text-align: start; }
.ft li a:hover, .ft li button:hover { color: var(--copper-2); }
.ft__contact svg { width: 16px; height: 16px; color: var(--copper); flex: none; }
.ft__contact span { word-break: break-word; }
.ft__mega { position: relative; white-space: nowrap; text-align: center; font: 200 clamp(3.4rem, 13.5vw, 14rem)/.8 var(--f-sans); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(236,234,228,.12); margin-top: 10px; transform: translateY(10%); user-select: none;
  background: linear-gradient(90deg, transparent, rgba(196,154,108,.35), transparent) no-repeat; background-size: 30% 100%; -webkit-background-clip: text; background-clip: text; animation: ftshine 7s linear infinite; }
.ft__mega em { font-family: var(--f-serif); font-weight: 400; }
@keyframes ftshine { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.ft__bar { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 22px; border-top: 1px solid var(--line-d); background: var(--ink); font: 500 11px/1.6 var(--f-mono); letter-spacing: .06em; color: var(--grey); }
.utopia { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(196,154,108,.35); color: var(--grey-2); transition: border-color .3s, background .3s, color .3s; }
.utopia b { font-weight: 700; letter-spacing: .22em; background: linear-gradient(90deg, var(--copper), var(--copper-2), var(--copper)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: utoshine 4s linear infinite; }
@keyframes utoshine { to { background-position: -200% 0; } }
.utopia svg { width: 14px; height: 14px; color: var(--copper); transition: transform .4s var(--ease-out); }
.utopia:hover { border-color: var(--copper); background: rgba(196,154,108,.08); color: var(--light); }
.utopia:hover svg { transform: translate(2px, -2px); }
@media (max-width: 1000px) { .ft__grid { grid-template-columns: 1fr 1fr; } .ft__about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ft__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; } .ft__qrs { width: 100%; } .ft__qr { flex: 1; padding: 8px 10px 8px 8px; gap: 10px; } .ft__qr img { width: 56px; height: 56px; } .ft__bar { justify-content: center; text-align: center; } }

/* ---------- Modals (shared) --------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(10px, 2.4vw, 32px); }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(8,9,10,.72); backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__box { position: relative; max-height: calc(100dvh - 20px); overflow: hidden; background: var(--char); border: 1px solid var(--line-d2); box-shadow: 0 60px 140px rgba(0,0,0,.6); color: var(--light);
  opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .5s, transform .7s var(--ease-out); }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__box::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 32px 32px; }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border: 1px solid var(--line-d2); background: var(--ink); isolation: isolate; }
.seg button { position: relative; z-index: 1; height: 42px; font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); transition: color .4s; }
.seg button.is-active { color: var(--ink); }
.seg__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 2)); background: var(--light); transform: translateX(calc(var(--k, 0) * 100%)); transition: transform .55s var(--ease-out); }
[dir="rtl"] .seg__pill { left: auto; right: 4px; transform: translateX(calc(var(--k, 0) * -100%)); }
.toast { position: fixed; z-index: 400; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--light); color: var(--char); font-weight: 600; font-size: .92rem; box-shadow: 0 20px 50px rgba(0,0,0,.4); transition: opacity .35s, transform .5s var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2BB673; }

/* ---------- Proposal modal ---------------------------------------- */
.prop { width: min(1180px, 100%); display: grid; grid-template-columns: 0.82fr 1.18fr; height: min(820px, calc(100dvh - 20px)); }
.prop__side { position: relative; overflow: hidden; background: var(--ink); }
.prop__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.4s var(--ease-ui), transform 7s linear; }
.prop__slides img.is-on { opacity: .75; transform: scale(1); }
.prop__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,13,.95) 10%, rgba(10,11,13,.2) 60%, rgba(10,11,13,.55)); }
.prop__side-in { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 44px); }
.prop__mark { position: absolute; top: clamp(24px, 3vw, 44px); inset-inline-start: clamp(24px, 3vw, 44px); width: 34px; height: auto; }
.prop__quote { font: 300 clamp(1.8rem, 2.8vw, 2.7rem)/1.08 var(--f-sans); letter-spacing: -.035em; }
.prop__quote em { font-family: var(--f-serif); color: var(--copper-2); }
.prop__points { margin-top: 26px; display: grid; gap: 10px; }
.prop__points li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--grey-2); }
.prop__points svg { width: 18px; height: 18px; color: var(--copper); flex: none; }
.prop__main { position: relative; display: flex; flex-direction: column; min-height: 0; padding: clamp(22px, 3vw, 44px); overflow-y: auto; overscroll-behavior: contain; }
.prop__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.prop__head h2 { margin-top: 12px; font: 300 clamp(1.7rem, 2.8vw, 2.6rem)/1.05 var(--f-sans); letter-spacing: -.035em; }
.prop__x { flex: none; }
.prop__form { display: flex; flex-direction: column; flex: 1; margin-top: 22px; }
.pf { display: none; animation: pfin .6s var(--ease-out); }
@keyframes pfin { from { opacity: 0; transform: translateY(14px); } }
.prop__form[data-mode="quick"] .pf--quick, .prop__form[data-mode="detailed"] .pf--detailed { display: block; }
.prop__form[data-mode="quick"] .wiz-only { display: none; }
.pf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl { position: relative; margin-bottom: 14px; }
.fl input, .fl textarea { width: 100%; background: var(--ink); border: 1px solid var(--line-d2); color: var(--light); padding: 26px 16px 10px; font-size: 1rem; border-radius: 0; transition: border-color .3s, background .3s; resize: vertical; }
.fl textarea { min-height: 116px; }
.fl input:focus, .fl textarea:focus { outline: none; border-color: var(--copper); background: #121315; }
.fl label { position: absolute; top: 18px; inset-inline-start: 16px; color: var(--grey); font-size: .98rem; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease-out), color .3s; }
[dir="rtl"] .fl label { transform-origin: right top; }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--copper-2); }
.fl input.is-bad { border-color: #E5484D; }
.fl--range { padding: 12px 16px 14px; border: 1px solid var(--line-d2); background: var(--ink); }
.fl--range label { position: static; display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; transform: none !important; }
.fl--range b { color: var(--copper-2); font-family: var(--f-mono); font-weight: 600; font-size: .86rem; }
.fl--range input { padding: 0; border: 0; background: none; accent-color: var(--copper); margin-top: 10px; height: 20px; }
.pf__label { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin: 18px 0 12px; padding: 0; }
.pf__label:first-child, legend.pf__label { margin-top: 4px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips-r { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-r label { cursor: pointer; }
.chips-r input, .opt input { position: absolute; opacity: 0; pointer-events: none; }
.chips-r span { display: inline-flex; padding: 11px 14px; border: 1px solid var(--line-d2); font-size: .88rem; color: var(--grey-2); transition: all .3s; }
.chips-r label:hover span { border-color: var(--grey); color: var(--light); }
.chips-r input:checked + span { background: var(--light); color: var(--char); border-color: var(--light); }
.chips-r input:focus-visible + span, .opt input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt > span { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border: 1px solid var(--line-d2); background: var(--ink); transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.opt > span::after { content: ""; position: absolute; top: 12px; inset-inline-end: 12px; width: 16px; height: 16px; border: 1px solid var(--line-d2); border-radius: 50%; transition: all .3s; }
.opt input[type=checkbox] + span::after { border-radius: 2px; }
.opt:hover > span { border-color: var(--grey); transform: translateY(-2px); }
.opt input:checked + span { border-color: var(--c, var(--copper)); background: linear-gradient(160deg, color-mix(in srgb, var(--c, var(--copper)) 16%, transparent), var(--ink) 70%); }
.opt input:checked + span::after { background: var(--c, var(--copper)); border-color: var(--c, var(--copper)); box-shadow: inset 0 0 0 3px var(--ink); }
.opt b { font-weight: 600; font-size: .92rem; padding-inline-end: 22px; }
.opt small { font-size: .78rem; color: var(--grey); }
.opt svg { width: 22px; height: 22px; color: var(--c, var(--copper)); margin-bottom: 6px; }
.opt i.dot { width: 9px; height: 9px; background: var(--c); margin-bottom: 8px; }
.wiz__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.wiz__steps li { display: flex; align-items: center; gap: 10px; transition: color .4s; }
.wiz__steps i { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-d2); font-style: normal; border-radius: 50%; transition: all .4s; }
.wiz__steps li.is-on { color: var(--light); }
.wiz__steps li.is-on i { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.wiz__steps li.is-done i { background: var(--light); color: var(--char); border-color: var(--light); }
.wiz__bar { height: 2px; background: var(--line-d2); margin: 16px 0 22px; overflow: hidden; }
.wiz__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--copper), var(--copper-2)); width: calc(var(--p, 1) / 3 * 100%); transition: width .6s var(--ease-out); }
.wiz__step { display: none; }
.wiz__step.is-on { display: block; animation: pfin .6s var(--ease-out); }
.wiz__summary { margin-top: 6px; padding: 16px; border: 1px dashed rgba(196,154,108,.4); font-size: .88rem; color: var(--grey-2); display: grid; gap: 6px; }
.wiz__summary b { color: var(--copper-2); font: 600 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; margin-inline-end: 8px; }
.prop__foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line-d); }
.prop__btns { display: flex; gap: 10px; margin-inline-start: auto; }
.prop__form[data-mode="detailed"][data-step="1"] [data-wiz="back"] { visibility: hidden; }
.prop__form[data-mode="detailed"]:not([data-step="3"]) [data-send] { display: none; }
.prop__form[data-mode="detailed"][data-step="3"] [data-wiz="next"] { display: none; }
.prop__wa { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--grey-2); transition: color .3s; }
.prop__wa svg { width: 18px; height: 18px; color: #25D366; }
.prop__wa:hover { color: var(--light); }
.prop__done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.prop__done[hidden] { display: none; }
.prop__check { width: 96px; height: 96px; }
.prop__check circle { fill: none; stroke: var(--copper); stroke-width: 2; stroke-dasharray: 227; stroke-dashoffset: 227; animation: drawc .9s var(--ease-out) forwards; }
.prop__check path { fill: none; stroke: var(--light); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawc .6s .6s var(--ease-out) forwards; }
@keyframes drawc { to { stroke-dashoffset: 0; } }
.prop__done h3 { font: 300 2.6rem/1 var(--f-sans); letter-spacing: -.04em; }
.prop__done p { color: var(--grey-2); max-width: 40ch; margin-bottom: 12px; }
@media (max-width: 900px) {
  .prop { grid-template-columns: 1fr; height: auto; max-height: calc(100dvh - 20px); }
  .prop__side { display: none; }
  .prop__main { max-height: calc(100dvh - 20px); }
}
@media (max-width: 600px) {
  .modal { padding: 0; align-items: end; }
  .modal__box { max-height: 94dvh; width: 100%; }
  .prop__main { max-height: 94dvh; padding: 22px 18px; }
  .pf__row, .opt-grid { grid-template-columns: 1fr 1fr; }
  .pf__row { grid-template-columns: 1fr; gap: 0; }
  .wiz__steps { font-size: 10px; } .wiz__steps li { gap: 6px; }
  .prop__foot { flex-direction: column-reverse; align-items: stretch; }
  .prop__btns { margin: 0; } .prop__btns .btn { flex: 1; justify-content: center; }
  .prop__wa { justify-content: center; }
}

/* ---------- Share modal ------------------------------------------- */
.share { width: min(880px, 100%); }
.share__head { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line-d); }
.share__head .eyebrow { color: var(--copper-2); }
.share__head h2 { margin-top: 12px; font: 300 clamp(1.9rem, 3.4vw, 3rem)/1 var(--f-sans); letter-spacing: -.04em; }
.share .seg { margin: 22px clamp(22px, 3vw, 34px) 0; }
.seg--3 { --n: 3; }
.share__body { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.share__qr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: clamp(26px, 3.4vw, 44px); border-inline-end: 1px solid var(--line-d); }
.share__frame { position: relative; padding: 12px; background: var(--light-2); margin-bottom: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.share__frame::before, .share__frame::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--copper); }
.share__frame::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.share__frame::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }
.share__frame img { width: clamp(180px, 24vw, 250px); height: auto; aspect-ratio: 1; transition: opacity .3s, transform .5s var(--ease-out); }
.share__frame img.is-swap { opacity: 0; transform: scale(.94); }
.share__qr b { font-weight: 600; font-size: 1.05rem; }
.share__qr small { color: var(--grey); font-size: .88rem; word-break: break-all; text-align: center; }
.share__side { display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 3.4vw, 44px); }
.share__side p { color: var(--grey-2); margin-bottom: 10px; }
.share__act { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border: 1px solid var(--line-d2); background: rgba(15,16,18,.5); font-weight: 600; text-align: start; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
[dir="rtl"] .share__act { padding: 12px 18px 12px 12px; }
.share__act:hover { border-color: var(--copper); background: var(--char-2); transform: translateX(4px); }
[dir="rtl"] .share__act:hover { transform: translateX(-4px); }
.share__act i { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-d2); display: grid; place-items: center; flex: none; transition: background .3s, color .3s, border-color .3s; }
.share__act:hover i { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.share__act svg { width: 17px; height: 17px; }
.share__foot { display: flex; justify-content: space-between; gap: 14px; padding: 16px clamp(22px, 3vw, 34px); border-top: 1px solid var(--line-d); background: var(--ink); font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.share__foot .copper { color: var(--copper-2); }
@media (max-width: 700px) {
  .share__body { grid-template-columns: 1fr; } .share__qr { border-inline-end: 0; border-bottom: 1px solid var(--line-d); padding-bottom: 22px; }
  .share__frame img { width: 190px; } .share__side { padding: 18px; }
  .share__act { padding: 8px 8px 8px 14px; } .share__act i { width: 36px; height: 36px; }
  .share .modal__box, .share { max-height: 94dvh; overflow-y: auto; }
}

/* ---------- Arabic typography v3 ---------------------------------- */
html[lang="ar"] { --f-sans: "Cairo", "Manrope", system-ui, sans-serif; --f-serif: "Cairo", "Manrope", sans-serif; --f-mono: "Cairo", "JetBrains Mono", monospace; }
html[lang="ar"] body { font-size: 16.5px; line-height: 1.9; }
html[lang="ar"] .display { font-size: clamp(2.3rem, 5.4vw, 5.6rem); line-height: 1.2; font-weight: 300; }
html[lang="ar"] .h2, html[lang="ar"] .intro2__title { font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.3; font-weight: 300; }
html[lang="ar"] .cta2__title { font-size: clamp(2.6rem, 6.4vw, 6.4rem); line-height: 1.15; font-weight: 200; }
html[lang="ar"] .serif, html[lang="ar"] .rb em, html[lang="ar"] .ft__motto em, html[lang="ar"] .prop__quote em { font-family: "Cairo", sans-serif; font-style: normal; font-weight: 700; letter-spacing: 0; }
html[lang="ar"] .ft__motto { font-family: "Cairo", sans-serif; }
html[lang="ar"] .sig { font-family: "Cairo", sans-serif; font-weight: 600; transform: none; font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
html[lang="ar"] .eyebrow, html[lang="ar"] .sec-head__index, html[lang="ar"] .bx__k, html[lang="ar"] .pf__label, html[lang="ar"] .smenu h6, html[lang="ar"] .ft h5, html[lang="ar"] .ctile__k, html[lang="ar"] .hq__title, html[lang="ar"] .seg button, html[lang="ar"] .mbtn, html[lang="ar"] .share__foot, html[lang="ar"] .wiz__steps { font-size: 12.5px; font-weight: 500; text-transform: none; }
html[lang="ar"] .stat__l, html[lang="ar"] .card__cat, html[lang="ar"] .wx__row .m, html[lang="ar"] .smenu__nav em, html[lang="ar"] .lg figcaption span, html[lang="ar"] .flow__step li, html[lang="ar"] .sector__meta, html[lang="ar"] .map__panel i, html[lang="ar"] .tl__list i, html[lang="ar"] .pm__block h4, html[lang="ar"] .sheet dt, html[lang="ar"] .pp-stats small, html[lang="ar"] .ribbon__row--small span { font-size: 12.5px; text-transform: none; }
html[lang="ar"] .btn, html[lang="ar"] .link-arrow, html[lang="ar"] .nav__link { font-size: 14px; text-transform: none; font-weight: 500; }
html[lang="ar"] .rb { font-size: clamp(2rem, 4.6vw, 4.4rem); font-weight: 300; line-height: 1.35; }
html[lang="ar"] .hero__cap .hero__cap-t, html[lang="ar"] .wx__row h3, html[lang="ar"] .flow__step h3, html[lang="ar"] .svc h3, html[lang="ar"] .smenu__nav span { line-height: 1.35; }
html[lang="ar"] .hero__title { max-width: 16ch; }
html[lang="ar"] .bx__n, html[lang="ar"] .flow__big b, html[lang="ar"] .tl__year { font-family: "Manrope", sans-serif; }
.lg__art img { mix-blend-mode: multiply; }
.ft__bar { padding-inline-end: calc(var(--gutter) + 84px); } @media (max-width: 560px) { .ft__bar { padding-inline-end: var(--gutter); padding-bottom: 100px; } }

/* ==========================================================================
   CAREERS
   ========================================================================== */
.chero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 clamp(48px, 6vw, 90px); overflow: hidden; isolation: isolate; background: var(--ink); }
.chero__bg { position: absolute; inset: 0; z-index: -1; }
.chero__bg img { width: 100%; height: 118%; object-fit: cover; }
.chero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 4%, rgba(15,16,18,.5) 55%, rgba(15,16,18,.7)), radial-gradient(ellipse at 20% 80%, rgba(196,154,108,.18), transparent 55%); }
.chero .display { max-width: 14ch; }
.chero .display .serif { color: var(--copper-2); }
.chero .lead { margin-top: 26px; color: rgba(236,234,228,.8); }
.chero__stats { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 3vw, 44px); margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-d2); }
.chero__stats div b { display: block; font: 200 clamp(2.4rem, 4vw, 3.6rem)/1 var(--f-sans); letter-spacing: -.05em; }
.chero__stats div span { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.chero__stats .btn { margin-inline-start: auto; }
@media (max-width: 700px) { .chero__stats .btn { margin: 0; width: 100%; justify-content: space-between; } }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perk { padding: 28px 24px; background: var(--light-2); border: 1px solid var(--line-l); transition: transform .6s var(--ease-out), box-shadow .6s, border-color .4s; }
.perk:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(23,24,27,.1); border-color: var(--copper); }
.perk__ico { width: 52px; height: 52px; display: grid; place-items: center; background: var(--char); color: var(--copper); margin-bottom: 26px; }
.perk__ico svg { width: 24px; height: 24px; }
.perk h3 { font-weight: 500; font-size: 1.2rem; letter-spacing: -.015em; }
.perk p { margin-top: 10px; color: #55575D; font-size: .95rem; }
@media (max-width: 1000px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }
.jfilter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; }
.jfilter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jfilter .chip { border-color: var(--line-d2); color: var(--grey-2); }
.jfilter .chip:hover { border-color: var(--grey); }
.jfilter .chip.is-active { background: var(--light); color: var(--char); border-color: var(--light); }
.jfilter__loc { position: relative; display: flex; align-items: center; border: 1px solid var(--line-d2); background: var(--char); }
.jfilter__loc svg { width: 16px; height: 16px; color: var(--copper); margin-inline: 14px 0; }
.jfilter__loc select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: var(--light); height: 42px; padding-block: 0; padding-inline: 10px 36px; font-size: .92rem; cursor: pointer; }
.jfilter__loc select option { background: var(--char); }
.jfilter__loc::after { content: ""; position: absolute; inset-inline-end: 14px; width: 7px; height: 7px; border-right: 1.5px solid var(--grey); border-bottom: 1.5px solid var(--grey); transform: rotate(45deg) translateY(-2px); pointer-events: none; }
.jobs { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 12px; }
.job { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; text-align: start; color: var(--light); background: var(--char-2); border: 1px solid var(--line-d); overflow: hidden; isolation: isolate; min-height: 250px; transition: border-color .4s, transform .6s var(--ease-out); }
.job[hidden] { display: none; }
.job.is-anim { animation: cardin .7s var(--ease-out) both; animation-delay: calc(var(--i) * 50ms); }
.job::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--c); transform: scaleX(.15); transform-origin: left; transition: transform .7s var(--ease-out); }
[dir="rtl"] .job::before { transform-origin: right; }
.job:hover { border-color: var(--line-d2); transform: translateY(-4px); }
.job:hover::before { transform: scaleX(1); }
.job--mid { grid-column: span 4; }
.job--big { grid-column: span 8; grid-row: span 2; min-height: 520px; justify-content: flex-end; padding: clamp(26px, 3vw, 40px); }
.job__img { position: absolute; inset: 0; z-index: -1; }
.job__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-out); }
.job__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,13,.95) 20%, rgba(10,11,13,.35) 70%, rgba(10,11,13,.5)); }
.job--big:hover .job__img img { transform: scale(1.07); }
.job__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.job--big .job__top { position: absolute; top: clamp(26px, 3vw, 40px); inset-inline: clamp(26px, 3vw, 40px); }
.job__dept { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); }
.job__dept::before { content: ""; width: 7px; height: 7px; background: var(--c); }
.job__new { font: 700 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; background: var(--copper); color: var(--ink); }
.job__title { font: 300 clamp(1.35rem, 2vw, 1.8rem)/1.12 var(--f-sans); letter-spacing: -.025em; }
.job--big .job__title { font-size: clamp(2rem, 3.6vw, 3.4rem); max-width: 16ch; }
.job__sum { color: var(--grey-2); max-width: 54ch; }
.job__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.job--big .job__facts { margin-top: 6px; }
.job__facts span { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; padding: 8px 10px; border: 1px solid var(--line-d2); color: var(--grey-2); background: rgba(15,16,18,.4); }
.job__facts svg { width: 13px; height: 13px; color: var(--copper); }
.job__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-d); font: 500 11px/1 var(--f-mono); letter-spacing: .08em; color: var(--grey); text-transform: uppercase; }
.job__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d2); transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease-out); }
.job__go svg { width: 17px; height: 17px; }
.job:hover .job__go { background: var(--copper); border-color: var(--copper); color: var(--ink); transform: rotate(-45deg); }
[dir="rtl"] .job:hover .job__go { transform: rotate(45deg); }
.jobs__empty { margin-top: 20px; color: var(--grey); }
@media (max-width: 1100px) { .job--big { grid-column: span 12; min-height: 440px; } .job--mid { grid-column: span 6; } }
@media (max-width: 680px) { .job--mid, .job--big { grid-column: span 12; } .job--big { min-height: 400px; grid-row: auto; } .job { min-height: 0; } }
.hire { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l2); }
.hire li { position: relative; padding-block: 30px 10px; padding-inline: 0 26px; }
.hire li + li { padding-inline-start: 26px; border-inline-start: 1px solid var(--line-l); }
.hire li::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 40px; height: 2px; background: var(--copper); }
.hire li + li::before { inset-inline-start: 26px; }
.hire span { font: 500 12px/1 var(--f-mono); color: #8B6B47; }
.hire h3 { margin-top: 16px; font: 300 1.8rem/1.1 var(--f-sans); letter-spacing: -.03em; }
.hire p { margin-top: 10px; color: #55575D; font-size: .95rem; }
@media (max-width: 900px) { .hire { grid-template-columns: 1fr 1fr; } .hire li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; } .hire li:nth-child(3)::before { inset-inline-start: 0; } }
@media (max-width: 520px) { .hire { grid-template-columns: 1fr; } .hire li + li { padding-inline-start: 0; border-inline-start: 0; } .hire li + li::before { inset-inline-start: 0; } }

/* drawer */
.jd { place-items: stretch end; padding: 0; }
.jd__box { width: min(760px, 100%); height: 100dvh; max-height: 100dvh; display: flex; flex-direction: column; border-width: 0 0 0 1px; transform: translateX(60px); }
.jd.is-open .jd__box { transform: none; }
[dir="rtl"] .jd__box { border-width: 0 1px 0 0; transform: translateX(-60px); }
.jd__box::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c, var(--copper)); z-index: 2; }
.jd__head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line-d); }
.jd__scroll { position: relative; z-index: 1; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 3vw, 44px) clamp(20px, 3vw, 44px); }
.jd__title { font: 300 clamp(2rem, 3.6vw, 3.2rem)/1.05 var(--f-sans); letter-spacing: -.04em; }
.jd__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.jd__facts span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-d2); font: 500 12px/1 var(--f-mono); color: var(--grey-2); }
.jd__facts svg { width: 15px; height: 15px; color: var(--copper); }
.jd__lead { margin-top: 26px; font-size: 1.12rem; color: var(--grey-2); }
.jd__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 34px; }
.jd h4 { font: 600 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-2); margin-bottom: 14px; display: flex; gap: 12px; align-items: center; }
.jd h4::after { content: ""; flex: 1; height: 1px; background: var(--line-d); }
.jd__list li { position: relative; padding-block: 9px; padding-inline: 22px 0; border-bottom: 1px solid var(--line-d); font-size: .95rem; }
.jd__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; width: 8px; height: 1.5px; background: var(--c, var(--copper)); }
.jd__nice, .jd__offer { margin-top: 32px; }
.jd__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.jd__tags span { padding: 9px 12px; border: 1px dashed rgba(196,154,108,.45); font-size: .88rem; color: var(--grey-2); }
.jd__list--offer { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.jd__foot { position: relative; z-index: 1; padding: 16px clamp(20px, 3vw, 40px); border-top: 1px solid var(--line-d); background: var(--ink); }
.jd__foot[hidden] { display: none; }
.jd__foot-role, .jd__foot-apply { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.jd__foot-role[hidden], .jd__foot-apply[hidden] { display: none; }
.jd__foot-role span { font: 500 12px/1.4 var(--f-mono); color: var(--grey); letter-spacing: .04em; }
.jd__step { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.jd__apply .jd__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 24px; }
.jd__apply .jd__title span { color: var(--copper-2); }
.jd__view[hidden] { display: none; }
.wiz__steps--4 { grid-template-columns: repeat(4, 1fr); }
.chips-r--multi input[type=checkbox] + span::before { content: "+"; margin-inline-end: 6px; color: var(--copper); }
.chips-r--multi input:checked + span::before { content: "\2713"; color: var(--char); }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 180px; margin-bottom: 18px; padding: 24px; text-align: center; border: 1.5px dashed var(--line-d2); background: var(--ink); cursor: pointer; transition: border-color .3s, background .3s; }
.drop svg { width: 30px; height: 30px; color: var(--copper); }
.drop b { font-weight: 600; font-size: 1.05rem; word-break: break-all; }
.drop small { color: var(--grey); }
.drop:hover, .drop.is-over { border-color: var(--copper); background: rgba(196,154,108,.06); }
.drop.has-file { border-style: solid; border-color: #2BB673; background: rgba(43,182,115,.06); }
.drop.has-file svg { color: #2BB673; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: .9rem; color: var(--grey-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--copper); margin-top: 3px; flex: none; }
.consent.is-bad { color: #F08A8D; }
.jd__note { margin-top: 14px; padding: 12px 14px; border-inline-start: 2px solid var(--copper); background: rgba(196,154,108,.08); font-size: .88rem; color: var(--grey-2); }
.jd__note[hidden] { display: none; }
.jd__done { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.jd__done[hidden] { display: none; }
.jd__done h3 { font: 300 2.6rem/1 var(--f-sans); letter-spacing: -.04em; }
.jd__done p { color: var(--grey-2); max-width: 42ch; margin-bottom: 12px; }
@media (max-width: 700px) {
  .jd__box { width: 100%; border: 0; }
  .jd__cols, .jd__list--offer { grid-template-columns: 1fr; }
  .jd__foot-role span { display: none; } .jd__foot-role .btn { width: 100%; justify-content: space-between; }
  .wiz__steps--4 li { font-size: 0; gap: 0; } .wiz__steps--4 li i { font-size: 11px; }
  .jd__step { display: none; } .jd__foot-apply .btn { flex: 1; justify-content: center; }
}
html[lang="ar"] .job__dept, html[lang="ar"] .job__foot, html[lang="ar"] .jd h4, html[lang="ar"] .jd__step, html[lang="ar"] .chero__stats div span { font-size: 12.5px; text-transform: none; }
@media (hover: none) { .wa__tip { display: none; } }

/* ---------- Hero: outgoing slide transition --------------------------- */
.hero__slide.is-prev { z-index: 1; animation: heroOut 1.4s var(--ease-io) forwards; }
/* freeze the Ken Burns zoom exactly where it is (no snap), move the picture instead */
.hero__slide.is-prev img { animation: kenburns 9s 1.4s linear forwards; animation-play-state: paused; transition: none; }
.hero__slide.is-prev picture { animation: heroPicOut 1.4s var(--ease-io) forwards; }
@keyframes heroPicOut { from { transform: none; } to { transform: translateX(-9%); } }
[dir="rtl"] .hero__slide.is-prev picture { animation-name: heroPicOutRtl; }
@keyframes heroPicOutRtl { from { transform: none; } to { transform: translateX(9%); } }
.hero__slide.is-prev::after { content: ""; position: absolute; inset: 0; background: #0A0B0D; opacity: 0; animation: heroDim 1.4s var(--ease-io) forwards; }
@keyframes heroOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 100% 0 0); } }
@keyframes heroImgOut { from { transform: scale(1.08); } to { transform: scale(1.14) translateX(-9%); } }
@keyframes heroDim { to { opacity: .55; } }
[dir="rtl"] .hero__slide.is-prev { animation-name: heroOutRtl; }
@keyframes heroOutRtl { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes heroImgOutRtl { from { transform: scale(1.08); } to { transform: scale(1.14) translateX(9%); } }
[dir="rtl"] .hero__slide { clip-path: inset(0 100% 0 0); }
[dir="rtl"] .hero__slide.is-active { clip-path: inset(0 0 0 0); }
.hero__slide.is-active img { transform: scale(1.02); }
.hero__cap:not(.is-active) { transition: opacity .35s var(--ease-ui); }
.hero__cap:not(.is-active) .hero__cap-t span { transform: translateY(-105%); transition: transform .45s var(--ease-io); }
.hero__cap:not(.is-active) p, .hero__cap:not(.is-active) a { transition: opacity .25s; }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-prev, .hero__slide.is-prev img, .hero__slide.is-prev::after { animation: none; } }
.hero__cap.is-active .hero__cap-t span { animation: capIn 1s .45s var(--ease-out) both; }
@keyframes capIn { from { transform: translateY(105%); } to { transform: none; } }
/* caption panel grows with its content (stacked slides share one grid cell) */
.hero__caption { height: auto !important; display: grid; }
.hero__cap { position: relative; inset: auto; grid-area: 1 / 1; }
.hero__cap a { margin-top: 16px; }

/* ---------- Selected work · showcase ------------------------------------ */
.show { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.sc { position: relative; display: block; overflow: hidden; isolation: isolate; color: var(--light); background: var(--char); aspect-ratio: 4 / 3.1; }
.sc--0 { grid-column: span 12; aspect-ratio: 21 / 9; }
.sc--1 { grid-column: span 7; aspect-ratio: 16 / 11; }
.sc--2 { grid-column: span 5; aspect-ratio: auto; }
.sc--3, .sc--4, .sc--5 { grid-column: span 4; }
.sc__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.sc__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out), filter .8s; will-change: transform; }
.sc:hover .sc__media img { transform: scale(1.08); }
.sc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,11,13,.9) 0%, rgba(10,11,13,.35) 38%, rgba(10,11,13,0) 62%), linear-gradient(180deg, rgba(10,11,13,.45), rgba(10,11,13,0) 26%); transition: opacity .6s; }
.sc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
[dir="rtl"] .sc::after { transform-origin: right; }
.sc:hover::after { transform: scaleX(1); }
.js .sc[data-reveal] { opacity: 1; transform: none; clip-path: inset(12% 0 0 0); transition: clip-path 1.3s var(--ease-io); }
.js .sc[data-reveal].is-in { clip-path: inset(0 0 0 0); }
.sc__top { position: absolute; top: clamp(16px, 2vw, 28px); inset-inline: clamp(16px, 2vw, 28px); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sc__cat { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; background: rgba(15,16,18,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); font: 600 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.sc__cat i { width: 7px; height: 7px; background: var(--c); }
.sc__no { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; color: rgba(236,234,228,.75); }
.sc__bot { position: absolute; inset-inline: clamp(18px, 2.2vw, 34px); bottom: clamp(18px, 2.2vw, 30px); display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; transition: transform .7s var(--ease-out); }
.sc__title { display: block; font: 300 clamp(1.4rem, 2.2vw, 2.2rem)/1.08 var(--f-sans); letter-spacing: -.03em; max-width: 20ch; text-wrap: balance; }
.sc--0 .sc__title { font-size: clamp(2rem, 4.6vw, 4.6rem); max-width: 16ch; }
.sc--1 .sc__title { font-size: clamp(1.6rem, 3vw, 3rem); }
.sc__loc { display: block; margin-top: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(236,234,228,.72); }
.sc__go { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(236,234,228,.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); transition: background .45s, color .45s, border-color .45s, transform .6s var(--ease-out); }
.sc__go svg { width: 20px; height: 20px; }
.sc:hover .sc__go { background: var(--copper); border-color: var(--copper); color: var(--ink); transform: rotate(45deg); }
[dir="rtl"] .sc:hover .sc__go { transform: rotate(-45deg); }
.sc__chips { position: absolute; top: clamp(62px, 6vw, 84px); inset-inline-start: clamp(16px, 2vw, 28px); display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; transform: translateY(-10px); transition: opacity .5s, transform .7s var(--ease-out); pointer-events: none; }
.sc:hover .sc__chips, .sc:focus-visible .sc__chips { opacity: 1; transform: none; }
.sc__chips span { display: inline-flex; flex-direction: column; gap: 4px; padding: 9px 12px; background: rgba(236,234,228,.92); color: var(--char); font: 300 1.05rem/1 var(--f-sans); letter-spacing: -.01em; }
.sc__chips small { font: 600 9.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #6A6C72; }
.sc--0 .sc__chips { top: auto; bottom: clamp(18px, 2.2vw, 30px); inset-inline-start: auto; inset-inline-end: clamp(90px, 8vw, 110px); }
@media (max-width: 1100px) {
  .sc--1, .sc--2 { grid-column: span 6; aspect-ratio: 4 / 3.4; }
  .sc--3, .sc--4 { grid-column: span 6; } .sc--5 { grid-column: span 12; aspect-ratio: 16 / 8; }
  .sc--0 { aspect-ratio: 16 / 9; }
  .sc--0 .sc__chips { top: clamp(62px, 6vw, 84px); bottom: auto; inset-inline-end: auto; inset-inline-start: clamp(16px, 2vw, 28px); }
}
@media (max-width: 680px) {
  .show { gap: 12px; }
  .sc, .sc--0, .sc--1, .sc--2, .sc--3, .sc--4, .sc--5 { grid-column: span 12; aspect-ratio: 4 / 3.6; }
  .sc--0 { aspect-ratio: 4 / 4.4; }
  .sc__chips { opacity: 1; transform: none; }
  .sc__chips span { padding: 7px 9px; font-size: .9rem; }
  .sc__go { width: 46px; height: 46px; }
}
html[lang="ar"] .sc__cat, html[lang="ar"] .sc__loc, html[lang="ar"] .sc__chips small { text-transform: none; font-size: 12px; }
html[lang="ar"] .sc__title { line-height: 1.3; }

/* ---------- CTA → compact closing band (not on careers) -------------------- */
.cta2:not(:has([data-apply])) { padding-block: clamp(64px, 7.5vw, 116px); border-top: 1px solid var(--line-d); }
.cta2:not(:has([data-apply])) .cta2__bg img { opacity: .32; }
.cta2:not(:has([data-apply])) .cta2__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(28px, 5vw, 80px); }
.cta2:not(:has([data-apply])) .sec-head__index { grid-column: 1 / -1; margin-bottom: 0; }
.cta2:not(:has([data-apply])) .cta2__title { font-size: clamp(2.3rem, 5.2vw, 5.2rem); line-height: 1; max-width: 13ch; margin-top: 0; }
.cta2:not(:has([data-apply])) .cta2__grid { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 0; }
.cta2:not(:has([data-apply])) .ctile--qr,
.cta2:not(:has([data-apply])) .ctile[href^="mailto"],
.cta2:not(:has([data-apply])) .ctile[download] { display: none; }
/* the disc */
.cta2:not(:has([data-apply])) .ctile--main { position: relative; width: clamp(168px, 15vw, 210px); aspect-ratio: 1; min-height: 0; padding: 0; border-radius: 50%; border: 0; background: var(--copper); color: var(--ink); display: grid; place-items: center; text-align: center; backdrop-filter: none; box-shadow: 0 24px 60px rgba(196,154,108,.25); transition: transform .6s var(--ease-out), background .4s; overflow: visible; }
.cta2:not(:has([data-apply])) .ctile--main::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(224,185,140,.55); animation: ctaSpin 18s linear infinite; }
.cta2:not(:has([data-apply])) .ctile--main:hover { transform: scale(1.05); background: var(--copper-2); }
.cta2:not(:has([data-apply])) .ctile--main .ctile__k, .cta2:not(:has([data-apply])) .ctile--main small { display: none; }
.cta2:not(:has([data-apply])) .ctile--main b { margin: 0; padding: 0 26px; font: 500 1.02rem/1.25 var(--f-sans); letter-spacing: -.005em; }
.cta2:not(:has([data-apply])) .ctile--main .ctile__go { position: absolute; top: auto; bottom: 26px; inset-inline-end: auto; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-color: rgba(15,16,18,.3); background: none; color: var(--ink); }
.cta2:not(:has([data-apply])) .ctile--main:hover .ctile__go { background: var(--ink); color: var(--copper); border-color: var(--ink); }
@keyframes ctaSpin { to { transform: rotate(360deg); } }
/* the WhatsApp line */
.cta2:not(:has([data-apply])) .ctile[href*="wa.me"] { min-height: 0; flex-direction: row; align-items: center; gap: 12px; padding: 10px 16px; background: none; backdrop-filter: none; border: 1px solid var(--line-d2); border-radius: 999px; }
.cta2:not(:has([data-apply])) .ctile[href*="wa.me"] .ctile__k { font-size: 0; gap: 0; }
.cta2:not(:has([data-apply])) .ctile[href*="wa.me"] .ctile__k svg { width: 18px; height: 18px; color: #25D366; }
.cta2:not(:has([data-apply])) .ctile[href*="wa.me"] b { margin: 0; font-size: .95rem; font-weight: 500; }
.cta2:not(:has([data-apply])) .ctile[href*="wa.me"] small, .cta2:not(:has([data-apply])) .ctile[href*="wa.me"] .ctile__go { display: none; }
.cta2:not(:has([data-apply])) .ctile[href*="wa.me"]:hover { transform: none; border-color: #25D366; }
@media (max-width: 760px) {
  .cta2:not(:has([data-apply])) .cta2__in { grid-template-columns: 1fr; }
  .cta2:not(:has([data-apply])) .cta2__grid { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; }
  .cta2:not(:has([data-apply])) .ctile--main { width: 150px; }
}
@media (prefers-reduced-motion: reduce) { .ctile--main::before { animation: none !important; } }

/* ---------- Footer network canvas ------------------------------------------ */
.ft__net { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ft > *:not(.ft__net) { position: relative; z-index: 1; }
.ft__bar { background: rgba(15,16,18,.82); backdrop-filter: blur(6px); }

/* ---------- Clients · light logo wall, project photo blooms from the cursor -- */
.logos-sec { background: var(--light-2); color: var(--char); border-top: 1px solid var(--line-l); }
.logos-sec .lead { color: #55575D; }
.logos-sec .logos { counter-reset: lg; border-top-color: var(--line-l2); border-inline-start-color: var(--line-l); }
.logos-sec .lg { --mx: 50%; --my: 50%; counter-increment: lg; background: #FBFAF7; border-color: var(--line-l); min-height: 230px; isolation: isolate; padding: 28px 24px 22px; transition: box-shadow .6s var(--ease-out); }
.logos-sec .lg:hover { background: #FBFAF7; z-index: 3; box-shadow: 0 28px 60px -28px rgba(15,16,18,.55); }
.logos-sec .lg::before { z-index: 2; height: 3px; }
/* index + arrow, top-right */
.logos-sec .lg::after { content: counter(lg, decimal-leading-zero) "  \2197"; position: absolute; top: 18px; inset-inline-end: 20px; z-index: 2; white-space: pre; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; color: #A5A39C; transition: color .4s, transform .6s var(--ease-out); }
.logos-sec .lg:hover::after { color: var(--copper-2); transform: translate(2px, -2px); }
/* photo: circular reveal from the entry point */
.lg__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; clip-path: circle(0% at var(--mx) var(--my)); transition: clip-path .9s var(--ease-out); }
.lg__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease-out); }
.lg__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,13,.94) 6%, rgba(10,11,13,.5) 55%, rgba(10,11,13,.66)), linear-gradient(135deg, color-mix(in srgb, var(--c) 28%, transparent), transparent 60%); }
.logos-sec .lg:hover .lg__bg { clip-path: circle(150% at var(--mx) var(--my)); }
.logos-sec .lg:hover .lg__bg img { transform: scale(1); }
/* no photo (text-only card): tinted wash instead */
.logos-sec .lg:not(:has(.lg__bg)):hover { background: color-mix(in srgb, var(--c) 7%, #FBFAF7); }
.logos-sec .lg__art img { filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: .7; max-height: 64px; transition: filter .5s, opacity .5s, transform .8s var(--ease-out); }
.logos-sec .lg__art img[src*="clients/uptown"] { max-height: 96px; } /* stacked square mark */
.logos-sec .lg:hover .lg__art img { filter: grayscale(1) invert(1) brightness(1.6); mix-blend-mode: normal; opacity: 1; transform: scale(1.07) translateY(-4px); }
.logos-sec .lg figcaption { transition: transform .6s var(--ease-out); }
.logos-sec .lg:hover figcaption { transform: translateY(-3px); }
.logos-sec .lg figcaption b { color: var(--char); transition: color .4s; }
.logos-sec .lg figcaption span { color: #7A7C82; transition: color .4s; }
.logos-sec .lg:has(.lg__bg):hover figcaption b { color: var(--light); }
.logos-sec .lg:hover figcaption span { color: var(--copper-2); }
.logos-sec .lg:not(:has(.lg__bg)):hover figcaption span { color: #8B6B47; }
.logos-sec .lg:has(.lg__art.is-none) figcaption b { font-size: 1.6rem; }
@media (hover: none) { .logos-sec .lg:hover { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .lg__bg { transition: none; } }
@media (max-width: 700px) { .logos-sec .lg { min-height: 170px; padding: 18px 14px 16px; } .logos-sec .lg__art img { max-height: 48px; } .logos-sec .lg::after { top: 12px; inset-inline-end: 12px; } }

/* ---------- Signature stacked above name ----------------------------------- */
.intro2__sig { flex-direction: column; align-items: flex-start; gap: 14px; }
.intro2__sig .sig { margin: 0; line-height: .9; }

/* ---------- Sectors strip: compact pin + smaller cards ---------------------- */
.hscroll__pin { height: auto; min-height: 0; padding-block: clamp(48px, 5vw, 80px); justify-content: flex-start; }
.hscroll__head { margin-bottom: clamp(24px, 3vw, 40px); }
.sector { width: clamp(230px, min(22vw, 34vh), 330px); aspect-ratio: 4 / 5; }
.sector h3 { font-size: clamp(1.3rem, 1.7vw, 1.75rem); }
.sector__top { top: 18px; left: 18px; right: 18px; }
.sector__bot { left: 18px; right: 18px; bottom: 18px; }
.sector__line { margin: 14px 0 12px; }
.hscroll__track { gap: 16px; }
#footprint { padding-top: clamp(48px, 5vw, 80px); }
@media (max-width: 900px) { .hscroll__pin { padding-block: clamp(56px, 10vw, 90px); } .sector { width: min(68vw, 300px); } }

/* ---------- Audit refinements ---------------------------------------------- */
/* footer network: keep the lines away from the text columns */
.ft__net { opacity: .8; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.28) 22%, rgba(0,0,0,.28) 78%, #000 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.28) 22%, rgba(0,0,0,.28) 78%, #000 100%); }
/* services stack: no dead space after the last card */
.stack .svc:last-child { margin-bottom: 0; }
#services .stack + div { margin-top: 32px !important; }
/* process: last step no taller than its content */
.flow__step:last-child { min-height: 0; padding-bottom: 8px; }
/* the WhatsApp float must never cover the closing disc */
@media (min-width: 761px) { .cta2:not(:has([data-apply])) .cta2__grid { margin-inline-end: 72px; } }
@media (max-width: 700px) { .logos-sec .lg:has(.lg__art.is-none) figcaption b { font-size: 1.12rem; } }

/* ---- v4: parallax backgrounds always cover the section (no gap at top) ---- */
.phero__bg, .chero__bg, .cta2__bg { overflow: hidden; }
.phero__bg img, .chero__bg img, .cta2__bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; }

/* ---- v4: project filters, every sector always visible (wraps instead of scrolling) ---- */
.pbar__in { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: start; gap: 12px 16px; }
.filters { flex-wrap: wrap; overflow: visible; mask-image: none; -webkit-mask-image: none; gap: 6px; }
.filters .chip { min-height: 38px; padding: 0 13px; gap: 8px; font-size: 11px; }
.filters .chip:not(.is-active):hover { background: rgba(28,29,32,.05); }
.pbar .search input { height: 38px; } .pbar .viewtog button { height: 36px; }
@media (max-width: 900px) {
  .pbar__in { grid-template-columns: minmax(0, 1fr) auto; }
  .filters { grid-column: 1 / -1; order: 3; }
  .pbar .search input, .pbar .search input:focus { width: 100%; }
}
@media (max-width: 700px) {
  .pbar { position: relative; top: 0; }
  .filters .chip { min-height: 32px; padding: 0 10px; font-size: 10px; letter-spacing: .05em; }
}
html[lang="ar"] .filters .chip { font-size: 13px; letter-spacing: 0; }

/* ---- v4: smart-menu company profile ---- */
.smenu__pdf { grid-template-columns: 92px 1fr; gap: 18px; padding: 16px; background: linear-gradient(135deg, var(--char) 40%, rgba(196,154,108,.12)); position: relative; overflow: hidden; }
.smenu__pdf::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: linear-gradient(180deg, var(--copper), transparent); }
.smenu__pdf-cover { aspect-ratio: 300 / 424; transform: perspective(600px) rotateY(-10deg); transform-origin: left center; transition: transform .6s var(--ease-out); box-shadow: 14px 18px 30px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.smenu__pdf-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.18), transparent 35%, transparent 70%, rgba(255,255,255,.06)); pointer-events: none; }
.smenu__pdf:hover .smenu__pdf-cover { transform: perspective(600px) rotateY(0) scale(1.03); }
.smenu__pdf b { font-size: 1.02rem; }
.smenu__pdf-btns a { display: inline-flex; align-items: center; min-height: 34px; }
.smenu__pdf-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; font: inherit; letter-spacing: 0; }
.plang { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line-d2); background: rgba(255,255,255,.015); color: var(--light); transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.plang em { font: 700 11px/1 var(--f-mono); font-style: normal; letter-spacing: .08em; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-d2); color: var(--copper-2); transition: background .3s, color .3s, border-color .3s; }
.plang span { min-width: 0; }
.plang b { display: block; font-size: .82rem; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plang small { display: block; font: 500 10px/1.3 var(--f-mono); color: var(--grey); letter-spacing: .04em; margin-top: 2px; }
.plang svg { width: 15px; height: 15px; color: var(--grey); transition: color .3s, transform .4s var(--ease-out); }
.plang:hover { border-color: var(--copper); background: rgba(196,154,108,.07); transform: translateY(-2px); }
.plang:hover em { background: var(--copper); color: var(--ink); border-color: var(--copper); }
.plang:hover svg { color: var(--copper-2); transform: translateY(2px); }
.plang.is-cur { border-color: rgba(196,154,108,.45); }
.plang.is-cur::after { content: ""; position: absolute; top: -1px; inset-inline: 12px; height: 2px; background: var(--copper); }
.smenu__pdf-langs a:hover { color: var(--light); }
@media (max-width: 1100px) and (min-width: 701px) { .plang { grid-template-columns: auto 1fr; } .plang svg { display: none; } }
@media (max-width: 380px) { .plang { grid-template-columns: 1fr; justify-items: start; gap: 8px; } .plang svg { display: none; } }
[dir="rtl"] .smenu__pdf::before { inset: 0 0 0 auto; }
[dir="rtl"] .smenu__pdf-cover { transform: perspective(600px) rotateY(10deg); transform-origin: right center; }
[dir="rtl"] .smenu__pdf-cover i { left: auto; right: 6px; }

/* ---- v4: projects "Cinema" view ---- */
.cine { display: none; --c: var(--copper); background: var(--ink); color: var(--light); }
.is-cine .cine { display: block; animation: cineIn .9s var(--ease-out) both; }
.is-cine .pgrid, .is-cine .register, .is-cine .pempty { display: none !important; }
.is-cine .pmeta span:last-child { display: none; }
.is-cine.section--tight { padding-bottom: 0; }
@keyframes cineIn { from { opacity: 0; clip-path: inset(6% 4% 6% 4%); } to { opacity: 1; clip-path: inset(0); } }
.cine.is-empty { display: none !important; }
.cine__stage { position: relative; height: min(84svh, 880px); min-height: 540px; overflow: hidden; isolation: isolate; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: #0b0c0d; }
.cine__stage.is-drag { cursor: grabbing; }
.cine__layers { position: absolute; inset: -3%; translate: calc(var(--mx, 0) * -22px) calc(var(--my, 0) * -14px); transition: translate 1.2s var(--ease-out); }
.cine__layer { position: absolute; inset: 0; transform-origin: 50% 50%; }
.cine__layer.is-kb .cine__sl img { animation: cineKb 14s linear both; }
@keyframes cineKb { from { scale: 1.02; } to { scale: 1.12; } }
.cine__sl { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.cine__sl img { position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover; pointer-events: none; }
.cine__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(11,12,13,.94) 0%, rgba(11,12,13,.55) 32%, transparent 62%), linear-gradient(90deg, rgba(11,12,13,.72) 0%, transparent 55%), linear-gradient(180deg, rgba(11,12,13,.55), transparent 22%); }
.cine__shade::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(0deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(0deg, #000, transparent 70%); }
.cine__bar { position: absolute; top: 0; inset-inline: 0; height: 3px; background: rgba(255,255,255,.1); z-index: 3; }
.cine__bar i { position: absolute; inset: 0; background: var(--c); transform: scaleX(0); transform-origin: left; transition: background .6s; }
[dir="rtl"] .cine__bar i { transform-origin: right; }
.cine__count { position: absolute; top: clamp(24px, 4vw, 48px); inset-inline-end: clamp(20px, 4vw, 56px); z-index: 2; display: flex; align-items: flex-start; gap: 10px; font-family: var(--f-mono); direction: ltr; }
.cine__num { position: relative; display: block; overflow: hidden; height: 1em; font-size: clamp(3.6rem, 8vw, 7.5rem); line-height: 1; width: 1.25em; }
.cine__num b { position: absolute; inset: 0; font-weight: 300; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.75); letter-spacing: -.04em; }
.cine__count small { font-size: 13px; color: var(--grey-2); letter-spacing: .1em; padding-top: .5em; }
.cine__count em { font-style: normal; color: var(--light); }
.cine__info { position: absolute; z-index: 2; inset-inline-start: clamp(20px, 5vw, 80px); bottom: clamp(28px, 5vw, 64px); max-width: min(760px, 62%); }
.cine__eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--grey-2); }
.cine__eyebrow i { width: 26px; height: 2px; background: var(--c); transition: background .6s; }
.cine__eyebrow .cine__sec { color: var(--light); }
.cine__yr::before { content: "·"; margin-inline-end: 12px; color: var(--grey); }
.cine__title { margin: 18px 0 14px; font-size: clamp(2rem, 4.6vw, 4.6rem); font-weight: 500; line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.cine__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.cine__title .w > span { display: inline-block; }
.cine__info.is-in .cine__title .w > span { animation: cineWord 1s var(--ease-out) both; animation-delay: calc(.25s + var(--i) * .06s); }
@keyframes cineWord { from { transform: translateY(105%); } to { transform: none; } }
.cine__loc { display: flex; align-items: center; gap: 8px; color: var(--grey-2); font-size: .98rem; margin: 0; }
.cine__loc svg { width: 16px; height: 16px; color: var(--c); flex: none; }
.cine__meta { display: flex; flex-wrap: wrap; gap: 0; margin: 26px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.cine__meta div { padding: 14px 26px 0 0; margin-inline-end: 26px; border-inline-end: 1px solid rgba(255,255,255,.1); }
[dir="rtl"] .cine__meta div { padding: 14px 0 0 26px; }
.cine__meta div:last-child { border: 0; margin: 0; }
.cine__meta dt { font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.cine__meta dd { margin: 0; font-size: 1.02rem; font-weight: 500; }
.cine__info.is-in .cine__eyebrow, .cine__info.is-in .cine__loc, .cine__info.is-in .cine__meta, .cine__info.is-in .cine__acts { animation: cineUp .9s var(--ease-out) both; }
.cine__info.is-in .cine__eyebrow { animation-delay: .15s; } .cine__info.is-in .cine__loc { animation-delay: .5s; } .cine__info.is-in .cine__meta { animation-delay: .6s; } .cine__info.is-in .cine__acts { animation-delay: .7s; }
@keyframes cineUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.cine__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.cine__btn { display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 22px; background: var(--light); color: var(--char); font-weight: 600; font-size: .92rem; transition: background .35s, color .35s; }
.cine__btn:hover { background: var(--c); color: var(--ink); }
.cine__btn svg, .cine__page svg { width: 17px; height: 17px; transition: transform .4s var(--ease-out); }
.cine__btn:hover svg { transform: translateX(4px); }
[dir="rtl"] .cine__btn:hover svg { transform: scaleX(-1) translateX(4px); }
.cine__page { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--light); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.cine__page:hover { color: var(--c); border-color: var(--c); }
.cine__ctrl { position: absolute; z-index: 2; inset-inline-end: clamp(20px, 4vw, 56px); bottom: clamp(28px, 5vw, 64px); display: flex; gap: 8px; }
.cine__ctrl button { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); background: rgba(11,12,13,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--light); transition: background .3s, border-color .3s, color .3s; }
.cine__ctrl button:hover { background: var(--light); color: var(--char); border-color: var(--light); }
.cine__ctrl svg { width: 18px; height: 18px; }
.cine__strip { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; background: var(--ink); padding: 2px 0 0; scroll-snap-type: x proximity; }
.cine__strip::-webkit-scrollbar { display: none; }
.cine__th { position: relative; flex: none; width: clamp(150px, 14vw, 210px); aspect-ratio: 16 / 10; overflow: hidden; scroll-snap-align: center; background: #000; text-align: start; }
.cine__th img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.5); transform: scale(1.05); transition: filter .6s, transform 1s var(--ease-out); }
.cine__th span { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; font-size: 12px; line-height: 1.25; color: var(--grey-2); background: linear-gradient(0deg, rgba(11,12,13,.9), transparent); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .4s; }
.cine__th em { display: block; font: 600 10px/1 var(--f-mono); font-style: normal; letter-spacing: .1em; color: var(--c); margin-bottom: 5px; }
.cine__th::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--c); transform: scaleX(0); transition: transform .6s var(--ease-out); }
.cine__th:hover img { filter: grayscale(.3) brightness(.75); transform: scale(1.1); }
.cine__th.is-active img { filter: none; transform: scale(1); }
.cine__th.is-active span { color: var(--light); }
.cine__th.is-active::after { transform: none; }
.cine__th:focus-visible { outline: 2px solid var(--c); outline-offset: -2px; }
@media (max-width: 900px) {
  .cine__stage { height: 78svh; min-height: 560px; }
  .cine__info { max-width: none; inset-inline-end: 20px; bottom: 104px; }
  .cine__shade { background: linear-gradient(0deg, rgba(11,12,13,.96) 0%, rgba(11,12,13,.7) 45%, transparent 75%), linear-gradient(180deg, rgba(11,12,13,.55), transparent 25%); }
  .cine__ctrl { inset-inline: 20px auto; bottom: 28px; }
  .cine__ctrl button { width: 48px; height: 48px; }
  .cine__meta div { padding-inline-end: 16px; margin-inline-end: 16px; }
}
@media (max-width: 560px) {
  .cine__title { font-size: clamp(1.7rem, 8vw, 2.3rem); margin: 14px 0 10px; }
  .cine__meta { margin-top: 18px; } .cine__meta div { padding-top: 12px; } .cine__meta div:nth-child(3) { display: none; }
  .cine__meta dd { font-size: .92rem; }
  .cine__acts { margin-top: 20px; gap: 16px; } .cine__btn { min-height: 46px; padding: 0 18px; }
  .cine__num { font-size: 3rem; }
  .cine__eyebrow { font-size: 10.5px; letter-spacing: .12em; }
  .cine__th { width: 120px; }
}
html[lang="ar"] .cine__eyebrow, html[lang="ar"] .cine__meta dt { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
html[lang="ar"] .cine__title { font-weight: 400; line-height: 1.25; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .cine__layer.is-kb .cine__sl img, .cine__info.is-in * { animation: none !important; } .cine__layers { transition: none; } }
.viewtog button { transition: background .3s, color .3s; }
.viewtog button:not(.is-active):hover { color: var(--char); background: rgba(28,29,32,.06); }
.is-cine.section--tight { padding-top: 26px; }
.is-cine .pmeta { margin-bottom: 26px; }
.cine { scroll-margin-top: var(--pbar-h, 0px); }
.cine__stage { height: calc(100svh - var(--pbar-h, 0px) - 64px); max-height: 920px; }
@media (max-width: 900px) { .cine__stage { height: calc(100svh - var(--pbar-h, 0px) - 40px); min-height: 540px; } }
/* cinema: covers smaller than the stage are shown at native size over a blurred fill, never stretched */
.cine__bg { position: absolute; inset: -60px; background: center / cover no-repeat; filter: blur(40px) brightness(.4) saturate(1.15); opacity: 0; }
.cine__layer.is-fit .cine__bg { opacity: 1; transition: opacity .9s var(--ease-ui); }
.cine__layer.is-fit .cine__sl img { object-fit: scale-down; }
.cine__layer.is-fit.is-kb .cine__sl img { animation-duration: 20s; }
.plang { grid-template-columns: 1fr auto; grid-template-areas: "code ico" "txt txt"; align-items: start; gap: 12px 8px; padding: 12px 12px 13px; }
.plang em { grid-area: code; width: auto; height: auto; padding: 5px 7px; justify-self: start; }
.plang svg { grid-area: ico; margin-top: 4px; }
.plang span { grid-area: txt; }
.plang b { font-size: .86rem; overflow: visible; white-space: normal; }
.plang small { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 701px) { .plang { grid-template-columns: 1fr auto; } .plang svg { display: block; } }
@media (max-width: 380px) { .plang { grid-template-columns: 1fr auto; } .plang svg { display: block; } .plang b { font-size: .8rem; } }

/* ---- v4: page heroes, content vertically centred in the area below the header ---- */
.phero, .chero { align-items: center; padding-top: calc(var(--header-h) + clamp(32px, 4vw, 56px)); padding-bottom: clamp(32px, 4vw, 56px); }
.phero__in { align-items: center; }

/* =====================================================================
   v4: Drafting-table heroes (page heroes, project pages, home frame)
   ===================================================================== */
.xh { --fx: clamp(16px, 2.4vw, 36px); --ft: calc(var(--header-h) + 14px); --fb: clamp(16px, 2.4vw, 36px); --fl: rgba(236,234,228,.26);
  min-height: 100svh; padding-top: calc(var(--header-h) + clamp(56px, 7vh, 96px)); padding-bottom: clamp(120px, 15vh, 160px); }
.phero.xh[data-dwg="04"], .phero.xh[data-dwg="06"] { min-height: 88svh; }
.xh .phero__bg::after, .xh .chero__bg::after { background:
  radial-gradient(120% 90% at 18% 55%, rgba(12,13,15,.82) 0%, rgba(12,13,15,.5) 45%, rgba(12,13,15,.12) 75%),
  linear-gradient(180deg, rgba(12,13,15,.7) 0%, transparent 26%, transparent 70%, rgba(12,13,15,.85) 100%); z-index: 1; }
[dir="rtl"] .xh .phero__bg::after, [dir="rtl"] .xh .chero__bg::after { background:
  radial-gradient(120% 90% at 82% 55%, rgba(12,13,15,.82) 0%, rgba(12,13,15,.5) 45%, rgba(12,13,15,.12) 75%),
  linear-gradient(180deg, rgba(12,13,15,.7) 0%, transparent 26%, transparent 70%, rgba(12,13,15,.85) 100%); }
.xh .phero__bg img, .xh .chero__bg img { animation: xhKb 26s var(--ease-out) both; }
@keyframes xhKb { from { scale: 1.12; } to { scale: 1; } }
.xh.is-pre .phero__bg, .xh.is-pre .chero__bg { opacity: 0; }
.xh .phero__bg, .xh .chero__bg { transition: opacity .6s var(--ease-ui); }
.phero__in, .chero__in { position: relative; z-index: 3; }

/* blueprint layer + scan line */
.xh__sk { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; clip-path: inset(0 0 0 0); }
.xh__sk canvas { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; animation: xhKb 26s var(--ease-out) both; }
.xh__scan { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 2px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--copper-2) 12%, #fff 50%, var(--copper-2) 88%, transparent);
  box-shadow: 0 0 24px 4px rgba(214,170,120,.55), 0 0 90px 12px rgba(214,170,120,.18); }
.xh__ring { position: absolute; left: 0; top: 0; z-index: 3; width: 200px; height: 200px; border-radius: 50%; pointer-events: none; transform: scale(0);
  border: 1px solid rgba(236,234,228,.75); box-shadow: 0 0 0 1px rgba(10,11,13,.25), 0 0 0 7px rgba(236,234,228,.06); will-change: transform; }
.xh__ring::before, .xh__ring::after { content: ""; position: absolute; background: rgba(236,234,228,.8); }
.xh__ring::before { left: 50%; top: -7px; bottom: -7px; width: 1px; mask-image: linear-gradient(180deg, #000 12px, transparent 12px, transparent calc(100% - 12px), #000 0); -webkit-mask-image: linear-gradient(180deg, #000 12px, transparent 12px, transparent calc(100% - 12px), #000 0); }
.xh__ring::after { top: 50%; left: -7px; right: -7px; height: 1px; mask-image: linear-gradient(90deg, #000 12px, transparent 12px, transparent calc(100% - 12px), #000 0); -webkit-mask-image: linear-gradient(90deg, #000 12px, transparent 12px, transparent calc(100% - 12px), #000 0); }
.xh__read { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; font: 500 10px/1 var(--f-mono); letter-spacing: .12em; color: var(--light); background: rgba(10,11,13,.6); padding: 5px 8px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.xh__hint { position: absolute; z-index: 4; left: 50%; top: calc(var(--ft) + 18px); translate: -50% 0; display: flex; align-items: center; gap: 10px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(236,234,228,.75); opacity: 0; transition: opacity .8s; pointer-events: none; white-space: nowrap; }
.xh__hint i { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.xh__hint i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--copper-2); animation: xhPulse 1.8s infinite; }
@keyframes xhPulse { 50% { transform: scale(.4); opacity: .4; } }
.xh.is-lens .xh__hint { opacity: 1; }
.xh.is-lens .xh__hint.is-gone { opacity: 0; }

/* drafting frame */
.xh__ov { position: absolute; z-index: 3; left: var(--fx); right: var(--fx); top: var(--ft); bottom: var(--fb); pointer-events: none; color: var(--fl); }
.xh__c { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(236,234,228,.7); animation: xhDraw 1.2s .5s var(--ease-out) both; }
.xh__c--tl { left: 0; top: 0; border-width: 1px 0 0 1px; } .xh__c--tr { right: 0; top: 0; border-width: 1px 1px 0 0; }
.xh__c--bl { left: 0; bottom: 0; border-width: 0 0 1px 1px; } .xh__c--br { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
@keyframes xhDraw { from { opacity: 0; width: 0; height: 0; } }
.xh__rule { position: absolute; animation: xhRule 1.6s .7s var(--ease-out) both; }
.xh__rule--t { left: 44px; right: 44px; top: 0; height: 9px; background: repeating-linear-gradient(90deg, var(--fl) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, rgba(236,234,228,.5) 0 1px, transparent 1px 120px); background-size: auto 5px, auto 9px; background-repeat: repeat-x; }
.xh__rule--s { top: 44px; bottom: 44px; inset-inline-start: 0; width: 9px; background: repeating-linear-gradient(180deg, var(--fl) 0 1px, transparent 1px 12px), repeating-linear-gradient(180deg, rgba(236,234,228,.5) 0 1px, transparent 1px 120px); background-size: 5px auto, 9px auto; background-repeat: repeat-y; }
[dir="rtl"] .xh__rule--s { background-position: right top; }
@keyframes xhRule { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.xh__coord { position: absolute; top: 22px; inset-inline-end: 34px; text-align: end; font: 500 11px/1.5 var(--f-mono); letter-spacing: .12em; color: rgba(236,234,228,.82); animation: xhFade 1s 1.1s both; }
.xh__coord b { display: block; font-weight: 500; color: var(--copper-2); letter-spacing: .16em; text-transform: uppercase; font-size: 10px; }
.xh__coord::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-inline-end: 10px; border: 1px solid var(--copper-2); border-radius: 50%; vertical-align: -1px; box-shadow: inset 0 0 0 2px transparent, inset 0 0 0 5px var(--copper-2); }
.xh__rail { position: absolute; top: 50%; inset-inline-end: -6px; translate: 50% -50%; rotate: 90deg; white-space: nowrap; font: 500 10px/1 var(--f-mono); letter-spacing: .28em; text-transform: uppercase; color: rgba(236,234,228,.5); background: transparent; padding-inline: 14px; animation: xhFade 1s 1.3s both; }
[dir="rtl"] .xh__rail { translate: -50% -50%; rotate: -90deg; }
.xh__scale { position: absolute; bottom: 22px; inset-inline-end: 34px; display: grid; grid-template-columns: repeat(4, auto); column-gap: 0; row-gap: 7px; font: 500 9.5px/1 var(--f-mono); color: rgba(236,234,228,.6); letter-spacing: .08em; animation: xhFade 1s 1.4s both; direction: ltr; }
.xh__scale > span { grid-column: 1 / -1; display: flex; height: 6px; border: 1px solid rgba(236,234,228,.6); }
.xh__scale > span i { width: 28px; } .xh__scale > span i:nth-child(odd) { background: rgba(236,234,228,.6); } .xh__scale > span i:last-child { width: 56px; }
.xh__scale small { font-size: inherit; width: 28px; margin-left: -3px; } .xh__scale small:last-child { width: auto; }
.xh__scroll { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: rgba(236,234,228,.6); animation: xhFade 1s 1.5s both; }
.xh__scroll i { width: 1px; height: 44px; background: rgba(236,234,228,.2); position: relative; overflow: hidden; order: 2; }
.xh__scroll i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--copper-2); animation: xhDrop 2.2s var(--ease-io) infinite; }
@keyframes xhDrop { to { top: 100%; } }
@keyframes xhFade { from { opacity: 0; transform: translateY(8px); } }

/* crumbs become a drawing index */
.xh .crumbs { align-items: center; }
.xh__no { font: 600 11px/1 var(--f-mono); color: var(--ink); background: var(--copper-2); padding: 5px 7px; letter-spacing: .06em; }

/* "Pictured" card */
.xh__pic { position: absolute; z-index: 4; bottom: calc(var(--fb) + 18px); inset-inline-start: calc(var(--fx) + 30px); display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px; max-width: 340px; padding: 8px 16px 8px 8px;
  background: rgba(14,15,17,.5); border: 1px solid rgba(236,234,228,.16); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); color: var(--light); animation: xhFade 1s 1.6s both; transition: border-color .4s, background .4s, transform .5s var(--ease-out); }
[dir="rtl"] .xh__pic { padding: 8px 8px 8px 16px; }
.xh__pic img { width: 58px; height: 44px; object-fit: cover; }
.xh__pic small { display: block; font: 500 9.5px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--copper-2); margin-bottom: 6px; }
.xh__pic b { display: block; font-weight: 500; font-size: .88rem; line-height: 1.25; }
.xh__pic svg { width: 16px; height: 16px; color: var(--grey-2); transition: transform .4s var(--ease-out), color .3s; }
.xh__pic:hover { border-color: var(--copper); background: rgba(14,15,17,.72); transform: translateY(-3px); }
.xh__pic:hover svg { color: var(--copper-2); transform: translate(2px, -2px); }

/* title typography on the new heroes */
.xh .display { font-size: clamp(2.6rem, 6.4vw, 6.6rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.xh .lead { max-width: 44ch; padding-inline-start: 22px; border-inline-start: 1px solid rgba(214,170,120,.55); }
html[lang="ar"] .xh .display { line-height: 1.25; letter-spacing: 0; font-size: clamp(2.3rem, 5.4vw, 5.2rem); }

/* project pages */
.xh-pp { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + clamp(56px, 7vw, 96px)); padding-bottom: clamp(60px, 7vw, 100px);
  background: radial-gradient(90% 120% at 85% 20%, rgba(214,170,120,.08), transparent 60%), linear-gradient(rgba(236,234,228,.035) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(236,234,228,.035) 1px, transparent 1px) 0 0 / 24px 24px, var(--char); }
.xh-pp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(236,234,228,.05) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(90deg, rgba(236,234,228,.05) 1px, transparent 1px) 0 0 / 120px 120px; mask-image: radial-gradient(80% 90% at 70% 40%, #000, transparent); -webkit-mask-image: radial-gradient(80% 90% at 70% 40%, #000, transparent); }
.xh-pp > .container { position: relative; z-index: 2; }
.xh-pp .xh__ov { --ft: calc(var(--header-h) + 14px); top: var(--ft); left: clamp(16px, 2.4vw, 36px); right: clamp(16px, 2.4vw, 36px); bottom: 18px; }
.xh-pp .xh__ov { --fl: rgba(236,234,228,.22); }
.xh__big { position: absolute; z-index: 1; inset-inline-end: clamp(40px, 7vw, 120px); top: 50%; translate: 0 -38%; pointer-events: none; display: grid; place-items: center; }
.xh__big b { font: 200 clamp(9rem, 22vw, 20rem)/.8 var(--f-sans); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgba(236,234,228,.16); direction: ltr; animation: xhFade 1.4s .4s both; }
.xh__big i { position: absolute; width: 58%; aspect-ratio: 1; border: 1px dashed rgba(236,234,228,.14); border-radius: 50%; animation: xhSpin 60s linear infinite; }
.xh__big i::before { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
@keyframes xhSpin { to { rotate: 360deg; } }

/* home slider frame (top/side only; the slide bar owns the bottom) */
.xh-home .xh__ov { --fx: clamp(16px, 2.4vw, 36px); --ft: calc(var(--header-h) + 14px); z-index: 4; left: var(--fx); right: var(--fx); top: var(--ft); bottom: 150px; }
.xh-home .xh__c--bl, .xh-home .xh__c--br { display: none; }

@media (max-width: 900px) {
  .xh { min-height: 92svh; padding-bottom: 150px; }
  .xh .lead { padding-inline-start: 16px; }
  .xh__rail, .xh__scale, .xh__rule--s { display: none; }
  .xh__coord { top: 16px; inset-inline-end: 18px; font-size: 10px; }
  .xh__scroll { display: none; }
  .xh__pic { inset-inline: calc(var(--fx) + 14px); max-width: none; bottom: calc(var(--fb) + 14px); }
  .xh__big { inset-inline-end: -4vw; opacity: .7; }
  .xh-home .xh__ov { bottom: 130px; }
}
@media (max-width: 560px) {
  .xh { --fx: 10px; --fb: 10px; padding-top: calc(var(--header-h) + 64px); }
  .xh__coord b { display: none; }
  .xh__rule--t { left: 30px; right: 30px; }
  .xh__c { width: 14px; height: 14px; }
  .xh .crumbs { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .xh .phero__bg img, .xh .chero__bg img, .xh__sk canvas, .xh__big i, .xh__scroll i::after { animation: none; } }
.xh .phero__bg::after, .xh .chero__bg::after { z-index: 3; }
.xh__scan { z-index: 4; }
.xh__ring { opacity: 0; transition: opacity .3s; }
.xh.is-lens .xh__ring.is-on { opacity: 1; }
.xh__scale { top: 22px; bottom: auto; inset-inline-end: auto; inset-inline-start: 34px; }
.xh .phero__bg::after, .xh .chero__bg::after { box-shadow: inset -40vw 0 30vw -20vw rgba(12,13,15,.35); }
[dir="rtl"] .xh .phero__bg::after, [dir="rtl"] .xh .chero__bg::after { box-shadow: inset 40vw 0 30vw -20vw rgba(12,13,15,.35); }
/* pictured card: no movement on hover (no jump), only colour + arrow */
.xh__pic { animation: xhFadeO 1s 1.6s backwards; transition: border-color .4s, background .4s; }
.xh__pic:hover { transform: none; }
@keyframes xhFadeO { from { opacity: 0; } }
.xh__pic::after { content: ""; position: absolute; left: -1px; bottom: -1px; height: 1px; width: calc(100% + 2px); background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
[dir="rtl"] .xh__pic::after { transform-origin: right; }
.xh__pic:hover::after { transform: scaleX(1); }
.xh.is-lens .xh__sk { z-index: 4; }
.xh { padding-bottom: clamp(150px, 19vh, 180px); }
.chero.xh { padding-top: calc(var(--header-h) + clamp(76px, 9vh, 110px)); }
[dir="rtl"] .xh__scale { left: auto; right: 34px; }
@media (max-width: 900px) { .xh { padding-bottom: 150px; } }

/* =====================================================================
   v4: Services page, editorial chapters with generated visuals
   ===================================================================== */
.svc-nav { position: sticky; top: var(--header-h); z-index: 15; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(24px, 4vw, 56px); background: rgba(236,234,228,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-l2); transition: top .4s var(--ease-ui); }
.header.is-hidden ~ main .svc-nav { top: 0; }
.svc-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px 16px 20px 0; color: #6A6C72; font-size: .95rem; transition: color .3s; }
.svc-nav a + a { padding-inline-start: 20px; border-inline-start: 1px solid var(--line-l); }
.svc-nav a em { font: 500 11px/1 var(--f-mono); font-style: normal; letter-spacing: .1em; color: var(--c); }
.svc-nav a i { width: 8px; height: 8px; background: var(--c); flex: none; transform: rotate(45deg) scale(.7); transition: transform .4s var(--ease-out); }
.svc-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c); transform: scaleX(var(--sp, 0)); transform-origin: left; }
[dir="rtl"] .svc-nav a::after { transform-origin: right; }
.svc-nav a:hover, .svc-nav a.is-on { color: var(--char); }
.svc-nav a.is-on i { transform: rotate(45deg) scale(1.15); }

.svc-detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "vis no" "vis txt" "vis list"; grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 6vw, 110px); row-gap: 0; padding-block: clamp(56px, 8vw, 120px); border-top: 0; scroll-margin-top: calc(var(--header-h) + 70px); }
.svc-detail + .svc-detail { border-top: 1px solid var(--line-l2); }
.svc-detail:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "no vis" "txt vis" "list vis"; }
.svc-detail > .svc-vis { grid-area: vis; }
.svc-detail > .svc-detail__no { grid-area: no; }
.svc-detail > div:not(.svc-detail__no):not(.deliv) { grid-area: txt; }
.svc-detail > .deliv { grid-area: list; }
.svc-vis { position: sticky; top: calc(var(--header-h) + 96px); align-self: start; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--char); box-shadow: 0 40px 80px -40px rgba(15,16,18,.55); }
.svc-vis img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.svc-detail.is-in .svc-vis img { transform: scale(1); }
.svc-vis::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 1.4s .3s var(--ease-out); }
.svc-detail.is-in .svc-vis::after { transform: scaleX(1); }
.js .svc-detail[data-reveal] { opacity: 1; transform: none; }
.js .svc-detail[data-reveal] .svc-vis { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-io); }
.js .svc-detail[data-reveal].is-in .svc-vis { clip-path: inset(0 0 0 0); }

.svc-detail__no { display: flex; align-items: center; gap: 16px; font: 500 12px/1 var(--f-mono) !important; letter-spacing: .18em; color: var(--c) !important; margin-bottom: 26px; }
.svc-detail__no::before { content: ""; width: 40px; height: 1px; background: var(--c); }
.svc-detail__no::after { content: attr(data-l); color: #6A6C72; }
.svc-detail h3 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: .98; letter-spacing: -.04em; }
.svc-detail h3 em { display: block; }
.svc-detail > div > p { font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.6; max-width: 54ch; color: #4A4C52; margin-top: 24px; }
.svc-detail .deliv { margin-top: clamp(32px, 4vw, 52px); }
.svc-detail ul.deliv { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 0; }
.svc-detail > ul.deliv { margin-top: clamp(32px, 4vw, 52px); }
.svc-detail .deliv li, .svc-detail .deliv li:first-child { position: relative; grid-template-columns: 1fr; gap: 14px; padding: 22px 22px 24px; border: 1px solid var(--line-l2); background: rgba(255,255,255,.35); transition: background .4s, border-color .4s; overflow: hidden; }
.svc-detail .deliv li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
[dir="rtl"] .svc-detail .deliv li::before { left: auto; right: 0; }
.svc-detail .deliv li:hover { background: #fff; border-color: rgba(28,29,32,.18); }
.svc-detail .deliv li:hover::before { transform: scaleY(1); }
.svc-detail .deliv li span { display: inline-block; justify-self: start; font: 600 11px/1 var(--f-mono); color: var(--char); background: color-mix(in srgb, var(--c) 22%, transparent); padding: 6px 8px; letter-spacing: .06em; }
.svc-detail .deliv li b { font-size: 1.02rem; line-height: 1.3; }
.svc-detail .deliv li small { margin-top: 6px; line-height: 1.5; }
.svc-detail .deliv h5 { display: flex; align-items: center; gap: 12px; margin: 30px 0 14px; color: var(--char); }
.svc-detail .deliv h5::after { content: ""; flex: 1; height: 1px; background: var(--line-l2); }
.svc-detail .deliv h5:first-child { margin-top: 0; }
@media (max-width: 1024px) {
  .svc-detail, .svc-detail:nth-of-type(even) { grid-template-columns: 1fr; grid-template-areas: "no" "txt" "vis" "list"; }
  .svc-vis { position: relative; top: 0; margin-top: 32px; aspect-ratio: 4 / 4.4; }
  .svc-nav a { font-size: .85rem; }
}
@media (max-width: 700px) {
  .svc-nav { grid-template-columns: repeat(4, auto); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter, 16px) * -1); padding-inline: var(--gutter, 16px); }
  .svc-nav::-webkit-scrollbar { display: none; }
  .svc-nav a { white-space: nowrap; padding-block: 16px; font-size: .82rem; }
  .svc-detail ul.deliv { grid-template-columns: 1fr; }
  .svc-vis { aspect-ratio: 4 / 4.8; }
}
html[lang="ar"] .svc-detail h3 { line-height: 1.2; letter-spacing: 0; }

/* process timeline with images */
.process--img { padding-top: 34px; gap: 0; }
.process--img .process__line { top: 0; }
.process--img .step { padding-inline-end: 22px; }
.process--img .step__dot { width: 100%; height: auto; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; background: #000; }
.process--img .step__dot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) brightness(.55); transform: scale(1.08); transition: filter 1s, transform 1.4s var(--ease-out); }
.process--img .step.is-on .step__dot img { filter: none; transform: scale(1); }
.process--img .step::before { content: ""; position: absolute; top: -40px; left: 0; z-index: 1; width: 11px; height: 11px; background: var(--char); border: 1px solid var(--line-d2); transform: rotate(45deg); transition: background .5s, border-color .5s; }
[dir="rtl"] .process--img .step::before { left: auto; right: 0; }
.process--img .step.is-on::before { background: var(--copper); border-color: var(--copper); }
.process--img .step__dot img { display: block; }
@media (max-width: 900px) { .process--img .step { padding-inline-end: 0; } }
@media (max-width: 900px) {
  .process--img { padding-top: 0; padding-left: 36px; gap: 40px; }
  [dir="rtl"] .process--img { padding-left: 0; padding-right: 36px; }
  .process--img .process__line { left: 5px; }
  [dir="rtl"] .process--img .process__line { left: auto; right: 5px; }
  .process--img .step__dot { position: relative; left: auto; right: auto; top: 0; width: 100%; aspect-ratio: 16 / 9; }
  .process--img .step::before { top: 10px; left: -36px; }
  [dir="rtl"] .process--img .step::before { left: auto; right: -36px; }
  .process--img .step__no { margin-top: 18px; }
}
.header.is-scrolled:not(.is-hidden) ~ main .svc-nav, .header.is-scrolled:not(.is-hidden) ~ main .pbar { top: 72px; }
.svc-detail__no::after { text-transform: uppercase; }
html[lang="ar"] .svc-detail__no::after { text-transform: none; letter-spacing: 0; font-size: 13px; }

/* ---- v4: Careers "Why JS-EM" as an expanding image gallery ---- */
.perks { display: flex; gap: 10px; height: clamp(500px, 66vh, 640px); }
.perk, .perk:hover { position: relative; flex: 1 1 0; min-width: 0; padding: 0; overflow: hidden; isolation: isolate; background: var(--char); border: 0; color: var(--light); cursor: pointer; transform: none; box-shadow: none; transition: flex-grow .9s var(--ease-io); outline: none; }
.perk.is-on { flex-grow: 2.7; }
.perk__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.5); transform: scale(1.12); transition: filter .9s, transform 1.6s var(--ease-out); }
.perk.is-on .perk__img { filter: none; transform: scale(1); }
.perk::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,13,15,.94) 0%, rgba(12,13,15,.55) 38%, rgba(12,13,15,.1) 70%, rgba(12,13,15,.35) 100%); }
.perk::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-io); z-index: 1; }
[dir="rtl"] .perk::before { transform-origin: right; }
.perk.is-on::before { transform: scaleX(1); }
.perk:focus-visible { box-shadow: inset 0 0 0 2px var(--copper-2); }
.perk__no { position: absolute; top: 26px; inset-inline-start: 28px; display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--f-mono); letter-spacing: .16em; color: var(--copper-2); }
.perk__no::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .9s var(--ease-io); }
.perk.is-on .perk__no::after { width: 80px; }
.perk__body { position: absolute; inset-inline: 28px; bottom: 30px; }
.perk h3 { font-weight: 400; font-size: clamp(1.3rem, 1.8vw, 1.9rem); line-height: 1.12; letter-spacing: -.025em; color: var(--light); max-width: 16ch; }
.perk p { width: min(400px, 58vw); margin-top: 14px; color: rgba(236,234,228,.78); font-size: 1rem; line-height: 1.6; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .7s var(--ease-out); }
.perk.is-on p { opacity: 1; transform: none; transition-delay: .35s; }
.js .perks .perk[data-reveal] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-io) var(--d, 0s), flex-grow .9s var(--ease-io); }
.js .perks .perk[data-reveal].is-in { clip-path: inset(0 0 0 0); }
@media (max-width: 900px) {
  .perks { flex-direction: column; height: auto; gap: 12px; }
  .perk, .perk:hover, .perk.is-on { flex: none; min-height: 360px; }
  .perk__img { filter: brightness(.75); transform: none; }
  .perk p { opacity: 1; transform: none; width: auto; }
  .perk::before { transform: scaleX(1); }
}
html[lang="ar"] .perk h3 { letter-spacing: 0; line-height: 1.35; }
.perk__body { display: grid; grid-template-rows: auto 0fr; transition: grid-template-rows .8s var(--ease-io); }
.perk.is-on .perk__body { grid-template-rows: auto 1fr; }
.perk p { min-height: 0; overflow: hidden; margin-top: 0; padding-top: 14px; }
@media (max-width: 900px) { .perk__body, .perk.is-on .perk__body { grid-template-rows: auto 1fr; } }
.perk__body { grid-template-columns: minmax(0, 1fr); } .perk p { max-width: none; }
.svc__media--bp::before { content: ""; position: absolute; inset: 14px; z-index: 1; border: 1px solid rgba(236,234,228,.16); pointer-events: none; }

/* ---- v4: website mail states ---- */
.hp { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.is-busy { position: relative; pointer-events: none; color: transparent !important; }
.is-busy > * { opacity: 0; }
.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid currentColor; border-color: rgba(128,128,128,.35); border-top-color: var(--copper); border-radius: 50%; animation: jsSpin .8s linear infinite; }
@keyframes jsSpin { to { transform: rotate(360deg); } }
.form__ok.is-bad { color: #E5484D; border-color: rgba(229,72,77,.4); }

/* =====================================================================
   v4: Smart menu, redesigned (light brush, display nav, page previews)
   ===================================================================== */
.smenu { --ox: calc(100% - 60px); --oy: 44px; }
.smenu__panel { background: #0C0D0F; clip-path: circle(0 at var(--ox) var(--oy)); transition: clip-path .95s var(--ease-io); }
.smenu.is-open .smenu__panel { clip-path: circle(150vmax at var(--ox) var(--oy)); }
.smenu__light { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.smenu__panel::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(120% 80% at 50% 120%, rgba(196,154,108,.07), transparent 60%), radial-gradient(60% 50% at 100% 0%, rgba(196,154,108,.06), transparent 70%); }
.smenu__in { position: relative; z-index: 1; }
.smenu__top { opacity: 0; transform: translateY(-10px); transition: opacity .6s .35s, transform .8s .35s var(--ease-out); }
.smenu.is-open .smenu__top { opacity: 1; transform: none; }
.smenu__search { background: rgba(255,255,255,.03); border-color: rgba(236,234,228,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.smenu__close { background: rgba(255,255,255,.03); border-color: rgba(236,234,228,.12); transition: background .3s, border-color .3s, transform .6s var(--ease-out); }
.smenu__close:hover { background: var(--light); color: var(--char); border-color: var(--light); transform: rotate(90deg); }

.smenu__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "nav act" "nav sec"; grid-template-rows: auto 1fr; column-gap: clamp(36px, 7vw, 130px); row-gap: 0; align-items: start; }
.smenu__nav { grid-area: nav; counter-reset: none; }
.smenu__col:nth-of-type(1) { grid-area: sec; } .smenu__col:nth-of-type(2) { grid-area: act; }
.smenu__col h6:nth-of-type(2), .smenu__feat { display: none !important; }
.smenu__col:nth-of-type(1) { margin-top: 34px; }

/* display navigation */
.smenu__nav a { position: relative; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: clamp(8px, 1.4vh, 16px) 0; border-bottom: 1px solid rgba(236,234,228,.08); overflow: hidden; opacity: 1; transform: none; transition: none; }
.smenu__nav a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-io); }
[dir="rtl"] .smenu__nav a::before { transform-origin: right; }
.smenu__nav a:hover::before, .smenu__nav a:focus-visible::before { transform: scaleX(1); }
.smenu__nav small { align-self: center; font-size: 11px; letter-spacing: .12em; color: var(--grey); transition: color .4s; }
.smenu__nav span { font-size: clamp(2.3rem, 5.2vw, 5rem); font-weight: 300; line-height: 1.08; letter-spacing: -.045em; color: var(--light); transform: translateY(110%); transition: transform 1s var(--ease-out), color .45s, opacity .45s; transition-delay: calc(.28s + var(--i, 0) * .06s), 0s, 0s; }
.smenu.is-open .smenu__nav span { transform: none; }
.smenu__nav em { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; text-align: end; max-width: 22ch; opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .6s var(--ease-out); }
[dir="rtl"] .smenu__nav em { transform: translateX(12px); }
.smenu__nav a:hover em, .smenu__nav a:focus-visible em { opacity: 1; transform: none; }
.smenu__nav a:hover small, .smenu__nav a.is-active small { color: var(--copper-2); }
.smenu__nav:hover a:not(:hover) span { opacity: .28; }
.smenu__nav a:hover span, .smenu__nav a.is-active span { transform: none; color: var(--light); }
.smenu__nav a.is-active span { background: linear-gradient(90deg, var(--copper-2), #F1D7B4); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .smenu__nav a:hover span, [dir="rtl"] .smenu__nav a.is-active span { transform: none; }
.smenu__nav a.is-active::after { content: ""; position: absolute; inset-inline-start: 26px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--copper); transform: rotate(45deg); }
.smenu__nav a.is-active small { opacity: 0; }

/* floating page preview */
.smenu__peek { position: fixed; left: 0; top: 0; z-index: 3; width: clamp(200px, 17vw, 270px); aspect-ratio: 3 / 4; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-999px, 0, 0); transition: opacity .35s; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7); }
.smenu__peek.is-on { opacity: 1; }
.smenu__peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .5s, transform 1.1s var(--ease-out); }
.smenu__peek img.is-on { opacity: 1; transform: scale(1); }
.smenu__peek::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(236,234,228,.18); }

/* aside: actions as clean rows */
.smenu__col { transition-delay: .45s; }
.smenu__col + .smenu__col { transition-delay: .55s; }
.smenu__actions { grid-template-columns: 1fr 1fr; gap: 0 22px; }
.smenu__actions > * { gap: 12px; padding: 15px 0; border: 0; border-bottom: 1px solid rgba(236,234,228,.08); background: none; font-size: .95rem; color: var(--grey-2); transform: none !important; }
.smenu__actions > *:hover { background: none; border-color: var(--copper); color: var(--light); }
.smenu__actions > *::after { content: "↗"; margin-inline-start: auto; font-size: .9rem; color: var(--grey); transition: color .3s, transform .4s var(--ease-out); }
.smenu__actions > *:hover::after { color: var(--copper-2); transform: translate(2px, -2px); }
[dir="rtl"] .smenu__actions > *::after { content: "↖"; }
.smenu__actions > *:first-child { grid-column: 1 / -1; justify-content: space-between; margin-bottom: 8px; padding: 20px 22px; border: 0; background: linear-gradient(110deg, var(--copper) 0%, #D9B587 100%); color: var(--ink); font-size: 1.02rem; font-weight: 600; }
.smenu__actions > *:first-child svg { color: var(--ink); }
.smenu__actions > *:first-child::after { content: "→"; color: var(--ink); font-size: 1.1rem; }
[dir="rtl"] .smenu__actions > *:first-child::after { content: "←"; }
.smenu__actions > *:first-child:hover { background: linear-gradient(110deg, #D9B587 0%, var(--copper) 100%); color: var(--ink); }
.smenu__actions > *:first-child:hover::after { color: var(--ink); transform: translateX(4px); }
.smenu__sectors a { background: rgba(255,255,255,.02); border-color: rgba(236,234,228,.1); }
.smenu__pdf { border-color: rgba(236,234,228,.1); }
.smenu h6::after { background: rgba(236,234,228,.08); }
.smenu__foot { position: relative; z-index: 1; border-top-color: rgba(236,234,228,.08); opacity: 0; transition: opacity .6s .6s; }
.smenu.is-open .smenu__foot { opacity: 1; }

@media (max-width: 1100px) {
  .smenu__grid { grid-template-columns: 1fr; grid-template-areas: "nav" "act" "sec"; }
  .smenu__nav em { display: none; }
  .smenu__col:nth-of-type(1) { margin-top: 30px; }
  .smenu__peek { display: none; }
}
@media (max-width: 700px) {
  .smenu__nav a { grid-template-columns: 40px 1fr; }
  .smenu__nav span { font-size: clamp(2.1rem, 11vw, 3rem); }
  .smenu__nav a.is-active::after { inset-inline-start: 14px; }
  .smenu__actions { grid-template-columns: 1fr; }
  .smenu__grid { padding-block: 26px 30px; }
  .smenu__foot { flex-direction: column; align-items: flex-start; }
}
html[lang="ar"] .smenu__nav span { letter-spacing: 0; line-height: 1.3; font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .smenu__panel { transition: none; } .smenu__nav span { transform: none; transition: none; } }
@media (max-width: 1100px) { .smenu__col:nth-of-type(2) { margin-top: 38px; } }
html[lang="ar"] .smenu__nav span { font-size: clamp(2rem, 4.1vw, 3.9rem); }
.smenu__search { min-width: 0; } .smenu__search input { width: 100%; } @media (max-width: 380px) { .smenu__search svg { margin-inline: 14px 8px; } .smenu__top { gap: 8px; } }
.smenu__grid > *, .smenu__nav a > * { min-width: 0; } @media (max-width: 400px) { .smenu__nav span { font-size: clamp(1.75rem, 10vw, 2.4rem); } .smenu__nav a { grid-template-columns: 34px minmax(0, 1fr); } }

/* =====================================================================
   v4: Arabic (RTL) typography scale + mirror fixes
   Arabic is never letter-spaced or uppercased, and needs more size than
   the Latin mono captions it replaces to read at the same weight.
   ===================================================================== */
/* Tier A: labels, eyebrows, chips, meta rows */
html[lang="ar"] :is(.eyebrow, .sec-head__index, .crumbs, .crumbs a, .crumbs span, .bx__k, .bx__s, .bx__legend span, .bx__n sup, .bx__cur b, .bx__cur span, .card__cat, .card__specs div, .chips label,
  .compare__label, .compare-tabs .chip, .compare__meta span, .compare__meta strong, .pm__loc, .cred span, .ctile__k, .dl small, .flow__step li, .hero__cap p:not(.hero__cap-t), .hq__drop small, .hq__title,
  .intro2__sig span:not(.sig), .intro__sig span:not(.sig), .jfilter__chips .chip, .filters .chip, .chip, .job__facts span, .job__foot span, .job__dept, .job__new, .lg span, .lg figcaption span, .map__legend span, .map__panel i,
  .map__panel-head p, .map__zoom button, .mbtn__label, .meter span, .meter b, .partners small, .pmeta span, .pp-stats small, .ribbon__row--small span, .sc__chips small, .sc__cat, .sc__loc, .sector__meta span, .sector__meta,
  .sector__top span, .sheet__head span, .stat__l, .step__no, .svc__tag, .tl__head span, .tl__list i, .tri__status span, .wa__tip, .wa__tip small, .contact-card small, .chero__stats span, .field label,
  .profile__card-in dt, .utopia, .coord span, .xh__hint, .xh__pic small, .smenu__nav em, .smenu__nav small, .smenu__sectors a sup, .smenu__pdf small, .plang small, .smenu__foot, .jd__note, .job__meta span,
  .cine__eyebrow, .cine__meta dt, .cine__th em, .svc-detail__no, .svc-detail .deliv li span, .perk__no, .xh__no, .ft__qr small, .smenu__search kbd, .register th, .r-cat, .sheet dd small, .pm__bar .eyebrow, .share__foot, .qr__meta) {
  font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 500;
}
/* decorative micro text stays small but readable */
html[lang="ar"] :is(.xh__rail, .xh__scroll, .xh__coord b, .hero__coords, .xh__scale) { font-size: 12px !important; letter-spacing: 0 !important; }
/* Tier B: supporting text */
html[lang="ar"] :is(.sheet dt, .sheet dd small, .pm__scope li, .card__specs b, .tl__list small, .svc-nav span, .job__summary, .step p, .flow__step p, .deliv li small) { font-size: 14.5px !important; letter-spacing: 0 !important; text-transform: none !important; }
html[lang="ar"] .pm__scope li { padding: 8px 12px; line-height: 1.5; }
/* Tier C: section sub-titles */
html[lang="ar"] :is(.pm__block h4, .deliv h5, .ft__grid h5, .smenu h6, .jd h4, .jd h5, .prop h6, .share h6) { font-size: 16px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--copper-2); }
html[lang="ar"] .section--light :is(.deliv h5) { color: #8B6B47; }
html[lang="ar"] .pm__block h4 { margin-bottom: 16px; }
html[lang="ar"] .pm__block p { font-size: 1.06rem; line-height: 1.95; }
html[lang="ar"] .sheet dd { font-size: 1rem; line-height: 1.6; }
html[lang="ar"] .sheet dd.big { font-size: 1.6rem; }
html[lang="ar"] .sheet dl { grid-template-columns: 132px 1fr; }

/* mirror fixes: spacing written for left-to-right only */
[dir="rtl"] .sheet dt { padding-right: 20px; padding-left: 0; }
[dir="rtl"] .value { padding: 40px 0 40px 32px; }
[dir="rtl"] .value + .value { padding-right: 32px; }
[dir="rtl"] .stat { padding: 36px 0 8px 28px; }
[dir="rtl"] .stat + .stat { padding-right: 28px; }
[dir="rtl"] .svc-nav a { padding: 20px 0 20px 16px; }
[dir="rtl"] .svc-nav a + a { padding-right: 20px; }
[dir="rtl"] .coord { padding: 26px 0 26px 20px; }
[dir="rtl"] .dl { padding: 14px 14px 14px 18px; }
[dir="rtl"] .ft__qr { padding: 10px 10px 10px 18px; }
[dir="rtl"] .share__act { padding: 12px 18px 12px 12px; }
@media (max-width: 560px) { [dir="rtl"] .share__act { padding: 8px 14px 8px 8px; } [dir="rtl"] .ft__qr { padding: 8px 8px 8px 10px; } }
[dir="rtl"] .mbtn { padding: 0 12px 0 14px; }
[dir="rtl"] .split-line { padding: .04em 0 .2em .14em; }
[dir="rtl"] .meter b { text-align: left; }
[dir="rtl"] .bx__cur div::before { transform-origin: right; }
[dir="rtl"] .bx__cur span { white-space: normal; }
@media (max-width: 1024px) { [dir="rtl"] .hero__caption { text-align: right; } }
html[lang="ar"] :is(.jd__step, .wiz__steps li, .jd__facts span, .jd__foot-role span, .smenu__pdf-btns a, .seg button) { font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; }
html[lang="ar"] .pf__label { font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; }
/* direction-aware base spacing (mirrors automatically in Arabic) */
.pp-stats div { padding: 20px 0 4px; padding-inline-end: 20px; }
.wx__meta div { padding: 14px 0 0; padding-inline-end: 14px; }
html[lang="ar"] .tri__svg text.t-sub { font-size: 12.5px; letter-spacing: 0; }
[dir="rtl"] .value + .value { padding-left: 32px; }
[dir="rtl"] .stat + .stat { padding-left: 28px; }
.job--big { padding-top: calc(clamp(26px, 3vw, 40px) + 48px); }
.svc__ico--img { width: 72px; height: 90px; padding: 0; overflow: hidden; border-color: rgba(236,234,228,.16); box-shadow: 0 18px 30px -12px rgba(0,0,0,.6); }
.svc__ico--img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--ease-out); }
.svc:hover .svc__ico--img img { transform: scale(1.12); }
/* menu light: soft steady glow under the cursor (never accumulates) */
.smenu__panel::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(360px circle at var(--lx, 60%) var(--ly, 45%), rgba(214,170,120,.07), rgba(214,170,120,.025) 45%, transparent 70%); }

/* ---- v4: home hero on phones, calm and legible ---- */
@media (max-width: 700px) {
  .hero { height: auto; min-height: 100svh; }
  .hero__content { height: auto; min-height: 100svh; justify-content: flex-end; padding-top: calc(var(--header-h) + 48px); padding-bottom: 118px; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero__lead { margin-top: 18px; font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; margin-top: 26px; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding-inline: 14px; min-height: 50px; font-size: 12px; white-space: nowrap; }
  .hero__actions .btn svg { display: none; }
  .hero__caption { display: none !important; }
  .xh-home .xh__ov { display: none; }
  .hero__ctrls { display: none; }
  .hero__bar-in { min-height: 72px; padding-inline: var(--gutter) calc(var(--gutter) + 70px); }
  [dir="rtl"] .hero__bar-in { padding-inline: var(--gutter) calc(var(--gutter) + 70px); }
  .hero__count b { font-size: 28px; }
}
html[lang="ar"] .hero__actions .btn { font-size: 14px; }
@media (max-width: 700px) { html[lang="ar"] .hero__title { font-size: clamp(2.1rem, 9.6vw, 2.7rem); line-height: 1.3; } html[lang="ar"] .hero__lead { line-height: 1.85; } }
@media (max-width: 700px) { .hero__actions .btn { white-space: normal; text-align: center; line-height: 1.25; letter-spacing: .04em; padding-block: 10px; } }

/* ribbon loop maths is direction-agnostic only in LTR: lay the track out LTR, keep each phrase RTL */
[dir="rtl"] .ribbon__row, [dir="rtl"] .ribbon__track { direction: ltr; }
[dir="rtl"] .ribbon__track > * { direction: rtl; unicode-bidi: isolate; }

/* =====================================================================
   v4: About page, redesigned sections
   ===================================================================== */
/* credentials: three certificate cards */
.creds-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border: 0; }
.cred { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0; min-height: 380px; padding: 30px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, rgba(196,154,108,.1), transparent 55%), repeating-linear-gradient(135deg, rgba(236,234,228,.018) 0 1px, transparent 1px 9px), var(--char-2);
  border: 1px solid var(--line-d2); transition: border-color .5s; }
.cred + .cred { border-inline-start: 1px solid var(--line-d2); }
.cred:hover { border-color: rgba(196,154,108,.55); }
.cred::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(214,170,120,.09) 50%, transparent 65%); transform: translateX(-100%); transition: transform 1.2s var(--ease-out); }
.cred:hover::after { transform: translateX(100%); }
.cred__no { position: absolute; top: 30px; inset-inline-start: 30px; font: 500 11px/1 var(--f-mono); letter-spacing: .2em; color: var(--copper-2); }
.cred__mono { position: absolute; z-index: -1; inset-inline-end: -.06em; bottom: -.18em; font: 200 clamp(6rem, 11vw, 10rem)/1 var(--f-sans); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(236,234,228,.1); direction: ltr; transition: -webkit-text-stroke-color .6s; }
html[lang="ar"] .cred__mono { font-family: "Manrope", sans-serif; }
.cred:hover .cred__mono { -webkit-text-stroke-color: rgba(214,170,120,.3); }
.cred__seal.cred__badge { position: absolute; top: 20px; inset-inline-end: 20px; width: 104px; height: 104px; border: 0; color: var(--copper-2); }
.cred__seal.cred__badge::after { display: none; }
.cred__seal svg.icon { width: 30px; height: 30px; position: relative; z-index: 1; }
.seal { position: absolute; inset: 0; width: 100%; height: 100%; animation: sealSpin 36s linear infinite; }
.seal circle { fill: none; stroke: rgba(196,154,108,.5); stroke-width: .8; }
.seal circle + circle { stroke-dasharray: 2 3; }
.seal text { font-family: "JetBrains Mono", monospace; font-size: 7.4px; font-weight: 600; letter-spacing: 1.6px; fill: rgba(214,170,120,.85); }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.cred > div { position: relative; }
.cred b { font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); letter-spacing: -.02em; line-height: 1.1; }
.cred > div > span { margin-top: 12px; max-width: 28ch; }
@media (max-width: 900px) { .creds-strip { grid-template-columns: 1fr; } .cred { min-height: 280px; } }

/* quality policy: signed statement over the Murcia corten wall */
.policy { overflow: hidden; isolation: isolate; border-color: rgba(196,154,108,.3); padding-bottom: clamp(120px, 12vw, 160px);
  background: linear-gradient(160deg, rgba(20,21,24,.92) 20%, rgba(20,21,24,.74) 60%, rgba(40,28,18,.82)), url("../img/hero/h6-murcia-wall-m.webp") center / cover; }
.policy blockquote { position: relative; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.18; text-wrap: pretty; }
.policy blockquote::before { color: var(--copper-2); }
.policy cite { position: relative; }
.policy__sig { position: absolute; inset-inline-start: clamp(32px, 5vw, 72px); bottom: clamp(30px, 3.6vw, 48px); font: 400 clamp(2.4rem, 3.6vw, 3.4rem)/1 "Mrs Saint Delafield", cursive; color: var(--copper-2); transform: rotate(-4deg); transform-origin: left bottom; }

.policy__seal { position: absolute; inset-inline-end: clamp(24px, 3vw, 40px); bottom: clamp(20px, 3vw, 34px); width: 112px; height: 112px; display: grid; place-items: center; }
.policy__seal b { position: relative; font: 600 20px/1 "Manrope", sans-serif; color: var(--copper-2); letter-spacing: -.02em; }
.policy__seal .seal circle { stroke: rgba(214,170,120,.6); }
@media (max-width: 560px) { .policy__seal { width: 86px; height: 86px; } }

/* timeline: equal-height project rows */
.tl__list ul { align-items: stretch; }
.tl__list li { display: flex; }
.tl__list li a { flex: 1; align-items: center; min-height: 88px; }

/* principles: image-led cards */
.values { gap: clamp(14px, 1.6vw, 22px); border-top: 0; }
.value, .value + .value, [dir="rtl"] .value, [dir="rtl"] .value + .value { position: relative; padding: 0 0 34px; border: 0; background: #fff; box-shadow: 0 30px 60px -40px rgba(23,24,27,.35); overflow: hidden; transition: transform .7s var(--ease-out), box-shadow .7s; }
.value:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(23,24,27,.45); }
.value__img { position: relative; margin: 0 0 30px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--char); }
.value__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.value:hover .value__img img { transform: scale(1.1); }
.value__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
[dir="rtl"] .value__img::after { transform-origin: right; }
.value:hover .value__img::after { transform: scaleX(1); }
.value__no { position: absolute; top: 18px; inset-inline-start: 22px; font: 200 clamp(3rem, 5vw, 4.4rem)/1 "Manrope", sans-serif; letter-spacing: -.05em; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.45); direction: ltr; }
.value h4, .value p { padding-inline: clamp(22px, 2.4vw, 32px); }
.value h4 { font: 400 clamp(1.7rem, 2.3vw, 2.2rem)/1.1 var(--f-serif); letter-spacing: -.01em; color: var(--char); }
html[lang="ar"] .value h4 { font-family: var(--f-sans); font-weight: 600; font-size: 1.5rem; }
.value p { margin-top: 14px; line-height: 1.7; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* partner wall: two living logo rows */
.pw { position: relative; margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 12px; direction: ltr; isolation: isolate;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pw__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(196,154,108,.1), transparent 70%); }
.pw__row { overflow: hidden; }
.pw__track { display: flex; gap: 12px; width: max-content; animation: pwMove 60s linear infinite; }
.pw__row--rev .pw__track { animation-direction: reverse; animation-duration: 70s; }
[dir="rtl"] .pw__track { animation-direction: reverse; }
[dir="rtl"] .pw__row--rev .pw__track { animation-direction: normal; }
.pw:hover .pw__track { animation-play-state: paused; }
@keyframes pwMove { to { transform: translateX(-50%); } }
.pw__tile { position: relative; flex: none; width: clamp(220px, 21vw, 290px); height: 168px; display: grid; grid-template-rows: 1fr auto; padding: 26px 24px 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line-d2); transition: border-color .5s, background .5s; }
.pw__tile > img { align-self: center; justify-self: start; max-width: 78%; max-height: 58px; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; transition: opacity .5s, transform .7s var(--ease-out); }
.pw__tile--word > b { align-self: center; font: 300 1.8rem/1 "Manrope", sans-serif; letter-spacing: -.02em; color: rgba(236,234,228,.6); transition: color .5s; }
.pw__tile span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-width: 0; padding-top: 12px; border-top: 1px solid var(--line-d); }
[dir="rtl"] .pw__tile span { direction: rtl; }
.pw__tile span b { font-size: .86rem; font-weight: 500; color: var(--grey-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw__tile span small { font: 500 10px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); text-align: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw__tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--copper); transform: scaleX(0); transition: transform .6s var(--ease-out); }
.pw__tile:hover { border-color: rgba(196,154,108,.5); background: rgba(196,154,108,.06); }
.pw__tile:hover::before { transform: scaleX(1); }
.pw__tile:hover > img { opacity: 1; transform: scale(1.04); }
.pw__tile--word:hover > b { color: var(--light); }
html[lang="ar"] .pw__tile span small { font-family: var(--f-sans); letter-spacing: 0; text-transform: none; font-size: 12px; }
@media (max-width: 700px) { .pw__tile { width: 200px; height: 140px; padding: 20px 18px 14px; } .pw__tile > img { max-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .pw__track { animation: none; flex-wrap: wrap; width: auto; } .seal { animation: none; } }
.cred span.cred__mono { display: block; margin: 0; font: 200 clamp(6rem, 11vw, 10rem)/1 "Manrope", sans-serif; letter-spacing: -.05em; text-transform: none; color: transparent; -webkit-text-stroke: 1px rgba(236,234,228,.1); }
.cred span.cred__no { margin: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .2em; color: var(--copper-2); }
.cred .cred__badge svg.seal { position: absolute; inset: 0; width: 100%; height: 100%; }
.pw__tile > img[src*="plan-libre"], .pw__tile > img[src*="ad-architecture"], .pw__tile > img[src*="bws"] { max-height: 78px; }
.pw__tile span { flex-direction: column; align-items: flex-start; gap: 5px; }
.pw__tile span small { text-align: start; }
.pw__tile { height: 184px; }
.section--paper .lead { color: #55575D; }
.cred span.cred__seal { display: grid; place-items: center; margin: 0; }
/* perks reveal: clip the photo, never the panel (fully clipped elements never trigger the reveal) */
.js .perks .perk[data-reveal] { clip-path: none; opacity: 1; transform: none; }
.js .perks .perk[data-reveal] .perk__img { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-io) var(--d, 0s), filter .9s, transform 1.6s var(--ease-out); }
.js .perks .perk[data-reveal].is-in .perk__img { clip-path: inset(0 0 0 0); }

/* ---- Arabic: one typeface (Cairo) for every element; the giant footer name matches EN/FR exactly ---- */
html[lang="ar"] body, html[lang="ar"] body *:not(.ft__mega):not(.ft__mega *), html[lang="ar"] input, html[lang="ar"] textarea, html[lang="ar"] select, html[lang="ar"] button { font-family: "Cairo", sans-serif !important; }
html[lang="ar"] .policy__sig { font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.2rem); transform: none; }

/* ---- v4: styled dropdown (enhances native select) ---- */
.csel { position: relative; width: 100%; }
.csel__native { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.csel__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 0 14px; border: 0; border-bottom: 1px solid var(--line-l2); background: transparent; color: var(--char); font-size: 1.05rem; text-align: start; cursor: pointer; transition: border-color .3s; }
.csel__btn:hover, .csel__btn:focus-visible, .csel.is-open .csel__btn { outline: none; border-bottom-color: var(--char); }
.csel.is-placeholder .csel__val { color: #8A8C91; }
.csel__chev { width: 18px; height: 18px; flex: none; color: #6A6C72; transition: transform .45s var(--ease-out), color .3s; }
.csel.is-open .csel__chev { transform: rotate(180deg); color: var(--copper); }
.csel__list { position: absolute; z-index: 40; top: calc(100% + 8px); inset-inline: 0; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none;
  background: #FBFAF7; border: 1px solid var(--line-l2); box-shadow: 0 30px 60px -20px rgba(23,24,27,.35); opacity: 0; visibility: hidden; transform: translateY(-8px); transform-origin: top; transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .35s; }
.csel.is-up .csel__list { top: auto; bottom: calc(100% + 8px); transform: translateY(8px); transform-origin: bottom; }
.csel.is-open .csel__list { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease-out); }
.csel__list li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: .98rem; color: var(--char); cursor: pointer; transition: background .2s, color .2s; }
.csel__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 10px; bottom: 10px; width: 2px; background: var(--copper); transform: scaleY(0); transition: transform .3s var(--ease-out); }
.csel__list li.is-hl { background: rgba(28,29,32,.05); }
.csel__list li.is-hl::before { transform: scaleY(1); }
.csel__list li.is-ph { color: #8A8C91; font-size: .9rem; }
.csel__list li svg { width: 16px; height: 16px; color: var(--copper); opacity: 0; flex: none; }
.csel__list li[aria-selected="true"] { font-weight: 600; }
.csel__list li[aria-selected="true"] svg { opacity: 1; }
.csel__list::-webkit-scrollbar { width: 6px; } .csel__list::-webkit-scrollbar-thumb { background: var(--line-l2); }

/* dark variant: careers location filter */
.jfilter__loc .csel { width: auto; min-width: 190px; }
.jfilter__loc::after { display: none; }
.csel--dark .csel__btn { height: 42px; padding: 0; padding-inline: 10px 14px; border: 0; color: var(--light); font-size: .92rem; }
.csel--dark .csel__chev { color: var(--grey); }
.csel--dark .csel__list { inset-inline: -40px 0; min-width: 240px; background: var(--char-2); border-color: var(--line-d2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.csel--dark .csel__list li { color: var(--grey-2); }
.csel--dark .csel__list li.is-hl { background: rgba(236,234,228,.06); color: var(--light); }
.csel--dark .csel__list li[aria-selected="true"] { color: var(--light); }

/* ---- v4: calm footer on phones ---- */
@media (max-width: 700px) {
  .ft__net { display: none !important; }
  .ft__grid { grid-template-columns: 1fr 1fr; gap: 34px 18px; padding-block: 40px 30px; }
  .ft__grid > :nth-child(3) { display: none; } /* sectors: already in the menu */
  .ft__grid > :last-child { grid-column: 1 / -1; }
  .ft__grid > :nth-child(2) { grid-column: 1 / -1; }
  .ft__grid > :nth-child(2) ul { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
  .ft__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .ft__contact li:nth-child(3) { grid-column: 1 / -1; order: 5; }
  .ft__contact span { word-break: normal; overflow-wrap: normal; white-space: nowrap; }
  .ft__contact li:nth-child(3) span { font-size: .95rem; }
  .ft__mega { font-size: 16.5vw; margin-top: 4px; }
  .ft__bar { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 22px calc(22px + 76px); text-align: start; }
  [dir="rtl"] .ft__bar { align-items: flex-start; }
  .ft__about p { font-size: .95rem; }
}
@media (max-width: 700px) {
  .ft__grid li, .ft__grid li + li { margin: 0; }
  .ft__grid > :nth-child(2) li a, .ft__contact li > * { display: flex; align-items: center; min-height: 44px; }
  .ft__mega { font-size: 13.2vw; direction: ltr; overflow: hidden; }
}
.ft__mega { direction: ltr; }
html[lang="ar"] .ft__mega { font-family: "Manrope", sans-serif; font-weight: 200; letter-spacing: -.06em; } html[lang="ar"] .ft__mega em { font-family: "Instrument Serif", serif; font-weight: 400; font-style: italic; }
.perk h3 { overflow-wrap: anywhere; hyphens: auto; }
.perk:not(.is-on) h3 { font-size: clamp(1.1rem, 1.5vw, 1.45rem); }

/* ---- v4: phones, hero copy anchored at the top so the photograph owns the lower half ---- */
@media (max-width: 700px) {
  .hero__content { justify-content: flex-start; padding-top: calc(var(--header-h) + 34px); padding-bottom: 96px; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,11,13,.9) 0%, rgba(10,11,13,.72) 34%, rgba(10,11,13,.18) 62%, rgba(10,11,13,0) 74%, rgba(10,11,13,.75) 100%) !important; }
  [dir="rtl"] .hero__shade { background: linear-gradient(180deg, rgba(10,11,13,.9) 0%, rgba(10,11,13,.72) 34%, rgba(10,11,13,.18) 62%, rgba(10,11,13,0) 74%, rgba(10,11,13,.75) 100%) !important; }
}

/* ---- map tooltip always on top; flips below pins near the top edge ---- */
.map__tip { z-index: 30; box-shadow: 0 14px 30px -10px rgba(0,0,0,.55); }
.map__zoom { z-index: 20; }
.map__tip.is-below { transform: translate(-50%, 16px); }
/* phones: hero copy vertically centred between the header and the slide counter */
@media (max-width: 700px) {
  .hero__content { justify-content: center; padding-top: calc(var(--header-h) + 16px); padding-bottom: 90px; }
  .hero__shade, [dir="rtl"] .hero__shade { background: linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.72) 30%, rgba(10,11,13,.72) 70%, rgba(10,11,13,.85) 100%) !important; }
}
/* phones: hero copy as one composed block anchored above the slide counter */
@media (max-width: 700px) {
  .hero__content { justify-content: flex-end; padding-top: calc(var(--header-h) + 24px); padding-bottom: 104px; }
  .hero__shade, [dir="rtl"] .hero__shade { background: linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.1) 22%, rgba(10,11,13,.35) 42%, rgba(10,11,13,.88) 68%, rgba(10,11,13,.95) 100%) !important; }
  .hero__eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: .12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.1rem); line-height: 1.02; }
  .hero__lead { margin-top: 16px; font-size: 15.5px; line-height: 1.6; display: block; -webkit-line-clamp: unset; overflow: visible; }
  .hero__actions { flex-direction: column; flex-wrap: nowrap; gap: 10px; margin-top: 24px; }
  .hero__actions .btn { flex: none; width: 100%; min-height: 52px; justify-content: space-between; padding-inline: 20px; white-space: nowrap; font-size: 13px; letter-spacing: .06em; }
  .hero__actions .btn svg { display: block; }
}
@media (max-width: 700px) and (max-height: 740px) {
  .hero__lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__actions .btn { min-height: 46px; }
}
html[lang="ar"] .hero__eyebrow { font-size: 13px; letter-spacing: 0; }
@media (max-width: 700px) { html[lang="ar"] .hero__title { font-size: clamp(2.2rem, 10vw, 2.8rem); line-height: 1.3; } html[lang="ar"] .hero__actions .btn { font-size: 15px; letter-spacing: 0; } }
@media (max-width: 700px) { .hero__eyebrow { white-space: normal; overflow: visible; line-height: 1.7; } }

/* ---- phones: language switcher at the top of the smart menu ---- */
.smenu__langbar { display: none; }
@media (max-width: 700px) {
  .smenu__langbar { display: flex; align-items: center; gap: 12px; margin-top: 14px; opacity: 0; transform: translateY(-8px); transition: opacity .6s .4s, transform .8s .4s var(--ease-out); }
  .smenu.is-open .smenu__langbar { opacity: 1; transform: none; }
  .smenu__langbar > .icon { width: 18px; height: 18px; color: var(--copper-2); flex: none; }
  .smenu__langseg { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; gap: 4px; border: 1px solid rgba(236,234,228,.14); background: rgba(255,255,255,.03); }
  .smenu__langseg a { display: grid; place-items: center; min-height: 40px; padding: 0 6px; font: 500 14px/1 "Manrope", sans-serif; color: var(--grey-2); transition: background .3s, color .3s; }
  .smenu__langseg a[lang="ar"] { font-family: "Cairo", sans-serif; font-size: 15px; }
  .smenu__langseg a[aria-current] { background: var(--light); color: var(--char); font-weight: 600; }
  .smenu__langseg a:not([aria-current]):active { background: rgba(236,234,228,.08); }
  .smenu__foot .smenu__lang { display: none; }
}

/* ---- smart menu on phones & tablets: smooth circular reveal (transform instead of clip-path) ---- */
.smenu__bloom { display: none; }
@media (hover: none), (max-width: 900px) {
  .smenu__bloom { display: block; position: absolute; left: var(--ox); top: var(--oy); width: 300vmax; height: 300vmax; margin: -150vmax 0 0 -150vmax; border-radius: 50%; background: #0C0D0F; transform: scale(0); will-change: transform; backface-visibility: hidden; transition: transform .75s cubic-bezier(.7, 0, .2, 1) .08s; }
  .smenu.is-open .smenu__bloom { transform: scale(1); transition-delay: 0s; }
  .smenu__panel, .smenu.is-open .smenu__panel { clip-path: none; background: transparent; }
  .smenu__panel { opacity: 0; transform: translate3d(0, 10px, 0); will-change: opacity, transform; transition: opacity .22s, transform .3s; }
  .smenu.is-open .smenu__panel { opacity: 1; transform: none; transition: opacity .45s .32s, transform .6s .32s cubic-bezier(.16, 1, .3, 1); }
  .smenu__search, .smenu__close { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .smenu__light { display: none; }
}
