/* 00-shared.css */
/* Wnees B2B — Stage A shared tokens (review prototype only, not production).
   Fonts: licensed 29LT Azer is NOT copied into this folder. It is referenced from the
   official brand folder on the same OneDrive ("New Branding/Shared New Branding/Font/TTF").
   If that folder is not synced on the viewing machine, the page falls back to system fonts. */
@font-face{font-family:"29LT Azer";src:url("/assets/fonts/29LTAzer-ExtraLight.woff2") format("woff2");font-weight:200;font-display:swap}
@font-face{font-family:"29LT Azer";src:url("/assets/fonts/29LTAzer-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"29LT Azer";src:url("/assets/fonts/29LTAzer-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
:root{
  --white:#FFFFFF;
  --orange:#F05B41;        /* secondary brand / CTA background (large bold white text only) */
  --orange-dark:#E24733;   /* hover / pressed */
  --orange-text:#C2361F;   /* orange used AS TEXT on white: 5.47:1 (AA). Derived shade for accessibility, flagged for brand sign-off */
  --teal:#73C6AF;          /* accent, never as text on white */
  --teal-ink:#1F6E5A;      /* teal-family text on white: 6.11:1. Derived, flagged */
  --teal-tint:#E8F5F1;
  --orange-tint:#FDEEEA;
  --blue:#4B54A3; --purple:#B8489A; --pink:#E36084; --yellow:#FFB703;
  --ink:#1A1A1F;           /* body text 17.3:1 on white */
  --ink-2:#4A4A55;         /* secondary text 8.7:1 */
  --line:#E6E3DF;
  --paper:#FAF8F5;         /* light neutral surface */
  --font:"29LT Azer",system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
}


/* 10-style.css */
/* =====================================================================
   Wnees B2B homepage, Direction C "Encore" (Stage A review prototype)
   White stage, ink type, real event photography in rounded apertures.
   Orange = action + one key word per headline. Teal = backstage / structure.
   Animated properties: transform, opacity, clip-path, filter (+ flex-grow for the
   service panels, stroke-dashoffset for the process path, both required by the brief).
   Hidden-until-animated states only exist under html.anim (set by an inline script),
   so with JS off, or with reduced motion (html.rm), every element shows final.
   ===================================================================== */

/* Same 29LT Azer faces as shared.css (same relative URL), redeclared with font-display:block so text never swaps late. */
@font-face{font-family:"29LT Azer";src:url("/assets/fonts/29LTAzer-ExtraLight.woff2") format("woff2");font-weight:200;font-display:block}
@font-face{font-family:"29LT Azer";src:url("/assets/fonts/29LTAzer-Regular.woff2") format("woff2");font-weight:400;font-display:block}
@font-face{font-family:"29LT Azer";src:url("/assets/fonts/29LTAzer-Bold.woff2") format("woff2");font-weight:700;font-display:block}
/* hold hero, nav and ribbon invisible (not display:none) until fonts are ready (max 300ms, set in script.js) */
html.fonts-wait .hero-stage,html.fonts-wait .nav{visibility:hidden}

:root{
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-io:cubic-bezier(.65,0,.35,1);
  --t-micro:180ms; --t-ui:420ms; --t-reveal:800ms;
  --gut:clamp(20px,4vw,56px);
  --max:1360px;
  --r-ap:32px;
  --tint-back:#EAF6F2;
  --dirn:1;
  --wipe-in:inset(0 100% 0 0);   /* hidden state a photo enters from */
  --wipe-out:inset(0 0 0 100%);  /* hidden state a photo exits to */
  --glass:rgba(255,255,255,.94);
}
[dir="rtl"]{--dirn:-1;--wipe-in:inset(0 0 0 100%);--wipe-out:inset(0 100% 0 0)}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:112px;overflow-x:clip}
html.rm{scroll-behavior:auto}
body{margin:0;font-family:var(--font);font-size:17px;line-height:1.55;color:var(--ink);background:#fff;overflow-x:clip;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{display:block;max-width:100%}
figure{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,h4,p{margin:0}
a{color:inherit}
button{font:inherit;color:inherit}
em{font-style:normal;color:var(--orange)}
main:focus{outline:none}
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:fixed;inset-block-start:8px;inset-inline-start:8px;z-index:10000;background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;font-weight:700;transform:translateY(-200%)}
.skip:focus{transform:none}

/* Focus ring: white halo inside, ink ring outside. Visible on white, orange and photos. */
:focus-visible{outline:3px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 2px #fff}
.btn:focus-visible,.round:focus-visible,.nav-menu:focus-visible,.tbtn:focus-visible,.thumb:focus-visible{border-radius:999px}
.thumb:focus-visible{border-radius:22px}

.wrap{width:100%;max-width:calc(var(--max) + 2*var(--gut));margin-inline:auto;padding-inline:var(--gut)}

/* ------------------------------------------------------------ type */
.h1{font-size:clamp(2.7rem,8.4vw,8rem);line-height:.92;letter-spacing:-.035em;font-weight:700}
.h2{font-size:clamp(2.35rem,5.4vw,5.2rem);line-height:.98;letter-spacing:-.032em;font-weight:700;text-wrap:balance}
.h2--xl{font-size:clamp(3rem,10vw,9.5rem);line-height:.9}
[lang="ar"] .h1{font-size:clamp(2.3rem,7.1vw,6.8rem);line-height:1.18;letter-spacing:0}
[lang="ar"] .h2{font-size:clamp(2rem,4.6vw,4.4rem);line-height:1.22;letter-spacing:0}
[lang="ar"] .h2--xl{font-size:clamp(2.6rem,8.5vw,8rem);line-height:1.12}
.eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;font-size:14px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2);margin-bottom:20px}
[lang="ar"] .eyebrow{letter-spacing:0;text-transform:none;font-size:16px}
.eyebrow .dot{width:10px;height:10px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 5px rgba(115,198,175,.28)}
.lede{font-size:clamp(1.0625rem,1.5vw,1.3125rem);line-height:1.6;color:var(--ink-2);max-width:34em;text-wrap:pretty}
.hint{font-size:15px;color:var(--ink-2)}
[lang="ar"] body,[lang="ar"] .lede{line-height:1.8}
[lang="ar"] .lede{line-height:1.9}

/* masked words (section headings): the mask only clips while animating */
.w{display:inline-block;overflow:hidden;vertical-align:top;padding-block:.14em;margin-block:-.14em}
.wi{display:inline-block;will-change:transform}
[lang="ar"] .w{padding-block:.3em;margin-block:-.3em}
.w:has(.wi){padding-inline:.04em;margin-inline:-.04em}

/* ------------------------------------------------------------ buttons + links */
.btn{--n:0;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:0 30px;border:2px solid var(--orange);border-radius:999px;background:var(--orange);color:#fff;font-weight:700;font-size:18.67px;line-height:1.1;text-decoration:none;cursor:pointer;white-space:nowrap;transition:background-color var(--t-micro) ease,border-color var(--t-micro) ease,color var(--t-micro) ease}
.btn:hover{background:var(--orange-dark);border-color:var(--orange-dark)}
.btn--sm{min-height:46px;padding:0 22px}
.btn--lg{min-height:60px;padding:0 32px;font-size:20px}
.btn--xl{min-height:84px;padding:0 54px;font-size:clamp(1.4rem,2.2vw,1.9rem);gap:18px}
.btn--ghost{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn--ghost:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.arr{flex:none;transform:translateX(calc(var(--n) * 3px * var(--dirn)) ) scaleX(var(--dirn));transition:transform var(--t-micro) var(--ease-out)}
a:hover,button:hover,a:focus-visible,button:focus-visible{--n:1}
.more,.link-u{display:inline-flex;align-items:center;gap:10px;font-weight:700;text-decoration:none;position:relative;padding-block:10px;min-height:44px}
.more>span:first-child,.link-u>span:first-child{position:relative}
.more>span:first-child::after,.link-u>span:first-child::after{content:"";position:absolute;inset-inline:0;bottom:-5px;height:2px;background:currentColor;transform:scaleX(0);transform-origin:left center;transition:transform var(--t-ui) var(--ease-out)}
[dir="rtl"] .more>span:first-child::after,[dir="rtl"] .link-u>span:first-child::after{transform-origin:right center}
.more:hover>span:first-child::after,.link-u:hover>span:first-child::after,.more:focus-visible>span:first-child::after,.link-u:focus-visible>span:first-child::after{transform:scaleX(1)}
.link-u{font-size:20px;min-height:44px}

/* ------------------------------------------------------------ glass pill navigation */
.nav{view-transition-name:site-nav;position:fixed;inset-block-start:calc(14px + env(safe-area-inset-top,0px));inset-inline:0;margin-inline:auto;width:fit-content;max-width:calc(100% - 2*var(--gut) + 16px);z-index:60;display:flex;flex-direction:column;align-items:stretch;gap:8px;transition:transform var(--t-ui) var(--ease-out)}
.nav-pill{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:66px;padding:9px 10px 9px 28px;padding-inline:28px 10px;background:var(--glass);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);border:1px solid rgba(26,26,31,.09);border-radius:999px;box-shadow:0 10px 36px rgba(26,26,31,.09),0 1px 0 rgba(255,255,255,.8) inset;transition:gap var(--t-ui) var(--ease-out)}
.nav-brand{display:flex;align-items:center;min-height:44px;flex:none;line-height:0}
.nav-brand img{height:34px;width:auto}
.nav-links{overflow:hidden;max-width:620px;transition:max-width var(--t-ui) var(--ease-out),opacity var(--t-ui) var(--ease-out)}
.nav-links ul{display:flex;gap:6px}
.nav-links a{position:relative;display:block;padding:10px 14px;font-weight:700;font-size:17px;text-decoration:none;white-space:nowrap;border-radius:999px;transition:background-color var(--t-micro) ease}
.nav-links a:hover{background:rgba(26,26,31,.06)}
.nav-links a[aria-current="true"]{background:var(--teal-tint);box-shadow:inset 0 0 0 1px rgba(31,110,90,.25)}
.nav-end{display:flex;align-items:center;gap:8px;flex:none}
.nav-lang{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;font-weight:700;font-size:17px;text-decoration:none;border-radius:999px;transition:background-color var(--t-micro) ease}
.nav-lang:hover{background:rgba(26,26,31,.06)}
.nav-menu{display:none;align-items:center;gap:10px;min-height:46px;padding:0 20px;border:2px solid var(--ink);border-radius:999px;background:#fff;font-weight:700;font-size:17px;cursor:pointer}
.burger{display:grid;gap:5px}
.burger i{display:block;width:20px;height:2.5px;border-radius:2px;background:currentColor}
/* compact on scroll down, expands on scroll up */
.nav:not(:has(:focus-visible)).is-compact .nav-links{max-width:0;opacity:0;pointer-events:none;visibility:hidden;transition:max-width var(--t-ui) var(--ease-out),opacity 200ms ease,visibility 0s var(--t-ui)}
.nav:not(:has(:focus-visible)).is-compact .nav-pill{gap:10px}
/* CR-01: section progress ribbon removed */

/* mobile bottom sheet */
.sheet{position:fixed;inset:0;z-index:100}
.sheet[hidden]{display:none}
.sheet-scrim{position:absolute;inset:0;background:rgba(26,26,31,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.sheet-panel{position:absolute;inset-inline:0;bottom:0;max-height:94svh;overflow:auto;background:#fff;border-radius:30px 30px 0 0;padding:0 var(--gut) calc(24px + env(safe-area-inset-bottom,0px));box-shadow:0 -20px 60px rgba(26,26,31,.25);overscroll-behavior:contain;touch-action:pan-y}
.sheet-top{position:sticky;top:0;z-index:2;display:flex;justify-content:flex-end;align-items:center;min-height:68px;padding-top:12px;background:#fff;touch-action:none;cursor:grab}
.sheet-grab{position:absolute;inset-block-start:10px;inset-inline:0;margin-inline:auto;width:48px;height:5px;border-radius:5px;background:var(--line)}
.sheet-close{min-height:46px;padding:0 22px;border:2px solid var(--ink);border-radius:999px;background:#fff;font-weight:700;font-size:17px;cursor:pointer}
.sheet-links a{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding-block:6px;border-bottom:1px solid var(--line);font-size:clamp(2rem,9vw,2.8rem);font-weight:700;letter-spacing:-.025em;line-height:1.05;text-decoration:none}
[lang="ar"] .sheet-links a{letter-spacing:0;line-height:1.3}
.sheet-links a:hover,.sheet-links a:focus-visible{color:var(--orange-text)}
.sheet-foot{display:grid;gap:14px;margin-top:22px}
.sheet-foot .nav-lang{justify-content:center;border:2px solid var(--line)}
.sheet-foot .btn{width:100%}
html.sheet-open{overflow:hidden}

/* ------------------------------------------------------------ 2. opening: the aperture */
.hero-scene{--stage-h:clamp(700px,100svh,980px);--runway:600px;position:relative;height:calc(var(--stage-h) + var(--runway))}
.hero-stage{position:sticky;top:0;height:var(--stage-h);display:grid;grid-template-rows:auto minmax(0,1fr);padding:142px max(var(--gut),calc((100vw - var(--max))/2)) 26px;overflow:clip;isolation:isolate}
.hero-top{position:relative;z-index:2}
.hero-eyebrow{margin-bottom:18px}
.hero-top .h1{max-width:100%;display:flex;flex-direction:column}
.line{display:block;overflow:hidden;padding-block:.12em .16em;margin-block:-.12em -.16em}
[lang="ar"] .line{padding-block:.26em .3em;margin-block:-.26em -.3em}
.line-in{display:block;will-change:transform}
.spark{display:inline-block;width:.42em;height:.42em;margin-inline-start:.14em;vertical-align:.3em;overflow:visible}
.spark-star{fill:var(--teal);stroke:var(--teal);stroke-width:1.2;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}
.spark-dot{fill:var(--yellow)}
.hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-top:30px}
.hero-sub{max-width:31em;font-size:clamp(1.0625rem,1.45vw,1.3rem);line-height:1.5;color:var(--ink-2);text-wrap:pretty}
[lang="ar"] .hero-sub{line-height:1.8}
.hero-cta{display:flex;gap:12px;flex:none}
.hero-aps{position:relative;z-index:1;display:grid;grid-template-columns:.78fr 1fr 1.9fr 1fr .78fr;gap:14px;align-items:end;height:100%;min-height:0;margin-top:24px}
.ap{position:relative;overflow:hidden;background:var(--paper);height:100%}
.ap img{width:100%;height:100%;object-fit:cover}
.ap--o{height:62%}
.ap--i{height:80%}
.ap--c{border-radius:36px}
.ap--i{border-radius:var(--r-ap)}
.ap--arch{border-radius:999px 999px var(--r-ap) var(--r-ap)}
/* cinematic frame: a full-stage layer clipped to the centre aperture's rectangle (JS drives the clip + image transform with scroll) */
.core{position:absolute;inset:0;z-index:5;display:none;overflow:hidden;background:var(--ink);will-change:clip-path}
.core img{width:100%;height:100%;object-fit:cover;object-position:42% 30%;transform-origin:50% 50%;will-change:transform}
.core .core-rm{display:none}
.core-cap{position:absolute;inset-inline:0;bottom:0;padding:clamp(28px,5vw,72px) clamp(24px,5vw,72px) clamp(24px,4vw,56px);background:linear-gradient(to top,rgba(14,14,20,.72),rgba(14,14,20,0));color:#fff;font-size:clamp(1.9rem,5.2vw,4.6rem);line-height:1.02;font-weight:700;letter-spacing:-.03em;opacity:0;text-shadow:0 2px 24px rgba(0,0,0,.25)}
[lang="ar"] .core-cap{letter-spacing:0;line-height:1.25}
.core-cap span{display:block;max-width:12em}
/* animated mode only: the layer exists, the slot is invisible (kept for layout + screen readers) */
html.anim .core{display:block}
html.anim .ap--c{opacity:0}
/* intro start states (JS animates them in; if JS fails, html.anim is removed after 3.5s) */
html.anim .line-in{transform:translateY(112%)}
html.anim [data-intro]{opacity:0}
html.anim .hero-aps .ap:not(.ap--c){opacity:0}
html.anim .spark-star{stroke-dashoffset:1;fill-opacity:0}
html.anim .spark-dot{opacity:0}

/* static / reduced motion / no-JS: composed final state, cinematic frame shown as a normal wide image */
html:not(.anim) .hero-scene{height:auto}
html:not(.anim) .hero-stage{position:relative;height:auto;grid-template-rows:auto auto auto;padding-bottom:40px}
html:not(.anim) .hero-aps{height:clamp(300px,44vh,420px)}
html:not(.anim) .core{display:block;position:relative;inset:auto;margin-top:20px;aspect-ratio:16/7;border-radius:36px}
html:not(.anim) .core .core-live{display:none}
html:not(.anim) .core .core-rm{display:block;object-position:50% 60%}
html:not(.anim) .core-cap{opacity:1}

/* ------------------------------------------------------------ shared section scaffolding */
.sec{position:relative;padding-block:clamp(72px,8vw,124px)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:clamp(24px,5vw,80px);margin-bottom:clamp(36px,5vw,72px)}
.sec-head .lede,.sec-head .hint{flex:0 1 31em;padding-bottom:.6em}

/* reveal start states */
html.anim [data-reveal="words"] .wi{transform:translateY(115%)}
html.anim [data-reveal="up"]{opacity:0;transform:translateY(28px)}
html.anim [data-reveal="stagger"]>*{opacity:0;transform:translateY(44px)}
html.anim [data-reveal="img"]{clip-path:inset(100% 0 0 0)}
html.anim [data-reveal="img"] img{transform:scale(1.06)}

/* ------------------------------------------------------------ 3. front / back of house */
.house{background:#fff;isolation:isolate}
.house-tint{position:absolute;inset:0;z-index:-2;background:var(--tint-back);opacity:0;transition:opacity 700ms var(--ease-io)}
.house-grid{position:absolute;inset:0;z-index:-1;opacity:0;transition:opacity 900ms var(--ease-io);background-image:linear-gradient(rgba(31,110,90,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(31,110,90,.09) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent)}
.house[data-state="back"] .house-tint,.house[data-state="back"] .house-grid{opacity:1}
.house-head .h2{max-width:11em}
.toggle-row{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.toggle{position:relative;display:inline-grid;grid-template-columns:1fr 1fr;padding:6px;background:#fff;border:2px solid var(--ink);border-radius:999px;box-shadow:0 14px 40px rgba(26,26,31,.08)}
.toggle-thumb{position:absolute;inset-block:6px;inset-inline-start:6px;width:calc(50% - 6px);border-radius:999px;background:var(--orange);transition:transform 520ms var(--ease-out),background-color 420ms ease}
.house[data-state="back"] .toggle-thumb{transform:translateX(calc(100% * var(--dirn)));background:var(--teal)}
.tbtn{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:68px;padding:0 clamp(22px,3.4vw,48px);border:0;border-radius:999px;background:none;font-size:clamp(1.2rem,2vw,1.7rem);font-weight:700;letter-spacing:-.01em;color:var(--ink);cursor:pointer;white-space:nowrap;transition:color 300ms ease}
[lang="ar"] .tbtn{letter-spacing:0}
.tbtn[aria-pressed="true"]{color:#fff}
.house[data-state="back"] .tbtn[aria-pressed="true"]{color:var(--ink)}
.tbtn-ico{width:12px;height:12px;border-radius:50%;background:currentColor;opacity:.9}
.tbtn[data-house="back"] .tbtn-ico{border-radius:3px}
.toggle-hint{display:inline-flex;align-items:center;gap:10px;font-size:15px;color:var(--ink-2)}
.house-stage{display:grid;margin-top:clamp(36px,5vw,64px)}
.pane{grid-area:1/1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(24px,4vw,64px);align-items:center;min-width:0}
.collage{grid-column:1/8;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));gap:14px;aspect-ratio:7/5.2}
.pane-body{grid-column:8/13}
.ph{position:relative;overflow:hidden;background:var(--paper);min-height:0}
.ph img{width:100%;height:100%;object-fit:cover}
.collage--front .ph--f1{grid-area:1/1/7/4;border-radius:999px 999px var(--r-ap) var(--r-ap)}
.collage--front .ph--f2{grid-area:1/4/4/7;border-radius:var(--r-ap)}
.collage--front .ph--f3{grid-area:4/4/7/7;border-radius:var(--r-ap) var(--r-ap) 999px var(--r-ap)}
.collage--back .ph{border-radius:14px;box-shadow:0 0 0 2px rgba(31,110,90,.55)}
.collage--back .ph--b1{grid-area:1/1/5/4}
.collage--back .ph--b2{grid-area:1/4/4/7}
.collage--back .ph--b3{grid-area:5/1/7/4}
.collage--back .ph--b4{grid-area:4/4/7/7}
.ph-cap{position:absolute;inset-block-end:10px;inset-inline-start:10px;padding:5px 10px;border-radius:6px;background:rgba(255,255,255,.92);color:var(--teal-ink);font-size:13px;font-weight:700;letter-spacing:.03em}
.pane-title{font-size:15px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2);margin-bottom:22px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 0}
[lang="ar"] .pane-title{letter-spacing:0;text-transform:none;font-size:17px}
.plist li{display:flex;gap:18px;align-items:baseline;padding-block:15px;border-top:1px solid rgba(26,26,31,.12)}
.plist li:last-child{border-bottom:1px solid rgba(26,26,31,.12)}
.plist .n{flex:none;width:34px;font-size:14px;font-weight:700;color:var(--orange-text);letter-spacing:.06em}
.plist--back .n{display:grid;place-items:center;align-self:flex-start;margin-top:4px;width:30px;height:30px;border-radius:50%;background:var(--teal);color:var(--ink)}
.plist h4{font-size:clamp(1.5rem,2.5vw,2.3rem);line-height:1.05;font-weight:700;letter-spacing:-.025em}
[lang="ar"] .plist h4{letter-spacing:0;line-height:1.3}
.plist--back h4{font-size:clamp(1.25rem,1.9vw,1.65rem);letter-spacing:-.015em}
.plist p{font-size:16px;color:var(--ink-2);margin-top:4px;line-height:1.45}
.plist--front p{font-size:16.5px}
.statement{margin-top:clamp(56px,7vw,100px);max-width:19em;font-size:clamp(1.9rem,4vw,3.6rem);line-height:1.05;letter-spacing:-.03em;font-weight:700;text-wrap:balance}
[lang="ar"] .statement{letter-spacing:0;line-height:1.35}
/* state switching (JS only; without JS both panes stack and stay readable) */
html.js .pane{transition:visibility 0s}
html.js .house[data-state="front"] .pane--back,html.js .house[data-state="back"] .pane--front{visibility:hidden;pointer-events:none;transition:visibility 0s 900ms}
html.js .pane .ph{transition:clip-path 800ms var(--ease-io) calc(var(--i) * 70ms + 80ms)}
html.js .house[data-state="front"] .pane--back .ph{clip-path:var(--wipe-in)}
html.js .house[data-state="back"] .pane--front .ph{clip-path:var(--wipe-out)}
html.js .pane .ph img{transition:transform 1000ms var(--ease-out) calc(var(--i) * 70ms + 80ms)}
html.js .house[data-state="front"] .pane--back .ph img,html.js .house[data-state="back"] .pane--front .ph img{transform:scale(1.12)}
html.js .pane .plist li,html.js .pane .pane-title{transition:opacity 500ms ease calc(var(--i,0) * 60ms + 280ms),transform 700ms var(--ease-out) calc(var(--i,0) * 60ms + 280ms)}
html.js .house[data-state="front"] .pane--back .plist li,html.js .house[data-state="back"] .pane--front .plist li,
html.js .house[data-state="front"] .pane--back .pane-title,html.js .house[data-state="back"] .pane--front .pane-title{opacity:0;transform:translateY(20px);transition-delay:0s}
html:not(.js) .house-stage{gap:72px}
html:not(.js) .pane{grid-area:auto}
html:not(.js) .toggle-row{display:none}

/* ------------------------------------------------------------ 4. services: expanding photo panels */
.panels{display:flex;gap:12px;height:clamp(520px,74vh,680px)}
.panel{position:relative;flex:1 1 0;min-width:0;border-radius:var(--r-ap);overflow:hidden;background:var(--ink);color:#fff;transition:flex-grow 760ms var(--ease-out)}
.panel.is-open{flex-grow:3.7}
.panel-bg{position:absolute;inset:0}
.panel-bg img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05) brightness(.82);transform:scale(1.12);transition:filter 600ms var(--ease-out),transform 900ms var(--ease-out)}
.panel.is-open .panel-bg img{filter:none;transform:scale(1)}
.panel::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(14,14,20,.78),rgba(14,14,20,.04) 60%),linear-gradient(rgba(31,110,90,.16),rgba(31,110,90,.16));mix-blend-mode:normal;transition:opacity 500ms ease}
.panel.is-open::after{background:linear-gradient(to top,rgba(14,14,20,.84),rgba(14,14,20,0) 60%)}
.panel-h{position:absolute;inset:0;z-index:3}
.panel-btn{position:absolute;inset:0;width:100%;display:block;padding:0;border:0;background:none;color:#fff;text-align:start;cursor:pointer;border-radius:inherit}
.panel-btn:focus-visible{outline:none;box-shadow:none}
.panel:has(.panel-btn:focus-visible){outline:3px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 5px #fff}
.pn-num{position:absolute;inset-block-start:22px;inset-inline-start:24px;font-size:15px;font-weight:700;letter-spacing:.1em;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.vlabel{position:absolute;bottom:26px;left:50%;writing-mode:vertical-rl;transform:translateX(-50%) rotate(180deg);font-size:clamp(1.05rem,1.45vw,1.35rem);font-weight:700;white-space:nowrap;max-height:calc(100% - 96px);transition:opacity 300ms ease}
.panel.is-open .vlabel{opacity:0}
.panel-body{position:absolute;inset-inline:0;bottom:0;z-index:4;padding:clamp(24px,2.6vw,40px);display:grid;gap:14px;justify-items:start;pointer-events:none}
.panel-body .more{pointer-events:auto;color:#fff}
.ptitle{font-size:clamp(1.9rem,3vw,2.9rem);line-height:1;font-weight:700;letter-spacing:-.03em;max-width:9em}
[lang="ar"] .ptitle{letter-spacing:0;line-height:1.25}
.pdesc{font-size:clamp(1.0625rem,1.35vw,1.2rem);line-height:1.45;max-width:22em;color:rgba(255,255,255,.94)}
.panel:not(.is-open) .panel-body{opacity:0;visibility:hidden;transform:translateY(16px);transition:opacity 200ms ease,transform 200ms ease,visibility 0s 200ms}
.panel.is-open .panel-body{opacity:1;visibility:visible;transform:none;transition:opacity 500ms ease 260ms,transform 700ms var(--ease-out) 260ms}
html:not(.js) .panels{flex-wrap:wrap;height:auto}
html:not(.js) .panel{flex:1 1 320px;min-height:420px}
html:not(.js) .panel .panel-body{opacity:1;visibility:visible;transform:none}
html:not(.js) .vlabel{display:none}

/* ------------------------------------------------------------ 5. teams: three doors */
.teams{background:var(--paper)}
.doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
.door{display:flex;flex-direction:column;background:#fff;border-radius:36px;padding:14px 14px 30px;box-shadow:0 1px 0 rgba(26,26,31,.04),0 24px 60px -30px rgba(26,26,31,.28);border:1px solid var(--line)}
.door-ph{position:relative;aspect-ratio:4/4.6;overflow:hidden;background:var(--paper);clip-path:inset(0 12% 0 12% round 220px 220px 28px 28px);transition:clip-path 800ms var(--ease-out)}
.door-ph img{width:100%;height:100%;object-fit:cover;transform:scale(1.06);transition:transform 1000ms var(--ease-out)}
.door:hover .door-ph,.door:focus-within .door-ph,html.rm .door-ph{clip-path:inset(0 0 0 0 round 220px 220px 28px 28px)}
.door:hover .door-ph img,.door:focus-within .door-ph img,html.rm .door-ph img{transform:scale(1)}
.door-body{padding:26px 14px 0;display:flex;flex-direction:column;gap:18px;flex:1}
.door h3{font-size:clamp(1.7rem,2.5vw,2.4rem);line-height:1.02;font-weight:700;letter-spacing:-.03em;text-wrap:balance}
[lang="ar"] .door h3{letter-spacing:0;line-height:1.3}
.door-list{display:grid;gap:12px}
.door-list li{display:flex;gap:12px;align-items:flex-start;font-size:17px;line-height:1.4;transition:transform 600ms var(--ease-out) calc(var(--i) * 60ms),color 300ms ease}
.tick{flex:none;display:grid;place-items:center;width:26px;height:26px;margin-top:1px;border-radius:50%;background:var(--teal);color:var(--ink)}
.tick svg{width:15px;height:15px}
.door:hover .door-list li,.door:focus-within .door-list li{transform:translateX(calc(8px * var(--dirn)))}
.door .more{margin-top:auto;padding-top:10px;color:var(--orange-text)}

/* ------------------------------------------------------------ 6. process: scroll-drawn path */
.process{overflow:clip}
.path-wrap{position:relative;margin-top:8px}
.path-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:0;pointer-events:none}
.path-track,.path-draw{fill:none;stroke-linecap:round;stroke-width:6}
.path-track{stroke:var(--teal-tint)}
.path-draw{stroke:var(--teal)}
.path-tip{fill:var(--orange);stroke:#fff;stroke-width:3;opacity:0;transition:opacity 300ms ease}
.path-wrap.is-live .path-tip{opacity:1}
.miles{position:relative;z-index:1;display:grid;gap:clamp(40px,6vw,88px);padding-block:20px}
.mile{display:grid;grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr);align-items:center}
.node{grid-area:1/2;justify-self:center;display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:#fff;border:5px solid var(--teal);font-size:22px;font-weight:700;transition:background-color 400ms ease,transform 500ms var(--ease-out),box-shadow 500ms ease}
.mile.is-on .node{background:var(--teal);box-shadow:0 0 0 10px rgba(115,198,175,.25)}
.mile-card{grid-row:1;display:flex;align-items:center;gap:26px;max-width:540px;min-width:0}
.mile:nth-child(odd) .mile-card{grid-column:1;justify-self:end;flex-direction:row-reverse;text-align:end}
.mile:nth-child(even) .mile-card{grid-column:3;justify-self:start}
.mile-ph{flex:none;width:clamp(104px,10vw,148px);aspect-ratio:1;border-radius:50%;overflow:hidden;box-shadow:0 0 0 6px #fff,0 0 0 8px var(--teal-tint)}
.mile-ph img{width:100%;height:100%;object-fit:cover}
.mile-step{font-size:14px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--teal-ink);margin-bottom:6px}
[lang="ar"] .mile-step{letter-spacing:0;text-transform:none;font-size:16px}
.mile h3{font-size:clamp(1.55rem,2.6vw,2.4rem);line-height:1.02;letter-spacing:-.03em;font-weight:700;margin-bottom:8px}
[lang="ar"] .mile h3{letter-spacing:0;line-height:1.3}
.mile p:last-child{color:var(--ink-2);font-size:17px;line-height:1.5}
html.anim .mile .mile-card{opacity:0;transition:opacity 700ms ease,transform 900ms var(--ease-out)}
html.anim .mile:nth-child(odd) .mile-card{transform:translateX(calc(-44px * var(--dirn)))}
html.anim .mile:nth-child(even) .mile-card{transform:translateX(calc(44px * var(--dirn)))}
html.anim .mile.is-on .mile-card{opacity:1;transform:none}
html.anim .mile .node{transform:scale(.6)}
html.anim .mile.is-on .node{transform:scale(1)}
html:not(.js) .miles::before{content:"";position:absolute;inset-block:0;inset-inline-start:50%;width:6px;margin-inline-start:-3px;background:var(--teal);border-radius:6px;z-index:-1}

/* ------------------------------------------------------------ 7. selected work: Encore gallery */
.work{padding-bottom:clamp(88px,10vw,150px)}
.gal{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(18px,2vw,28px)}
.stage-fig{grid-column:1/9;position:relative;aspect-ratio:16/10.4;border-radius:36px;overflow:hidden;background:var(--ink);touch-action:pan-y}
.stage-img{position:absolute;inset:0;display:block}
.stage-img img{width:100%;height:100%;object-fit:cover}
.stage-count{position:absolute;inset-block-start:20px;inset-inline-end:20px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.9);font-size:15px;font-weight:700;letter-spacing:.04em;color:var(--ink-2)}
.stage-count b{color:var(--ink)}
.stage-info{grid-column:9/13;display:flex;flex-direction:column;gap:14px;padding:clamp(6px,1vw,14px) 0 0}
.stage-kicker{font-size:14px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--teal-ink)}
[lang="ar"] .stage-kicker{letter-spacing:0;text-transform:none;font-size:16px}
.stage-label{font-size:clamp(1.8rem,3vw,2.9rem);line-height:1;letter-spacing:-.03em;font-weight:700;text-wrap:balance}
[lang="ar"] .stage-label{letter-spacing:0;line-height:1.3}
.stage-svc-h{margin-top:10px;font-size:14px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2)}
[lang="ar"] .stage-svc-h{letter-spacing:0;text-transform:none;font-size:16px}
.stage-svc{font-size:18px;line-height:1.5}
.stage-ctrl{display:flex;gap:12px;margin-top:auto;padding-top:18px}
.round{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;border:2px solid var(--ink);background:#fff;cursor:pointer;transition:background-color var(--t-micro) ease,color var(--t-micro) ease}
.round:hover{background:var(--ink);color:#fff}
.round .flip{display:grid;transform:scaleX(-1)}
.round .flip .arr{transform:translateX(calc(var(--n) * -3px * var(--dirn))) scaleX(var(--dirn))}
[dir="rtl"] .round .flip{transform:scaleX(-1)}
.thumbs{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(10px,1.4vw,20px);margin-top:6px}
.thumb{position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;text-align:start}
.thumb-img{display:block;aspect-ratio:4/3;border-radius:22px;overflow:hidden;background:var(--paper);box-shadow:0 0 0 0 var(--orange);transition:box-shadow var(--t-ui) var(--ease-out),opacity var(--t-ui) ease,transform var(--t-ui) var(--ease-out)}
.thumb-img img{width:100%;height:100%;object-fit:cover;filter:saturate(.7) brightness(.92);transition:filter var(--t-ui) ease}
.thumb:hover .thumb-img img,.thumb[aria-pressed="true"] .thumb-img img{filter:none}
.thumb[aria-pressed="true"] .thumb-img{box-shadow:0 0 0 4px #fff,0 0 0 7px var(--orange)}
.thumb:not([aria-pressed="true"]):hover .thumb-img{transform:translateY(-4px)}
.thumb-n{position:absolute;inset-block-end:10px;inset-inline-start:12px;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.92);font-size:13px;font-weight:700;letter-spacing:.06em}
/* View Transitions: the chosen thumbnail morphs into the featured frame */
::view-transition-group(case-photo){animation-duration:720ms;animation-timing-function:var(--ease-out);border-radius:30px;overflow:clip}
::view-transition-old(case-photo),::view-transition-new(case-photo){height:100%;width:100%;object-fit:cover;animation-duration:720ms;animation-timing-function:var(--ease-out)}
::view-transition-group(root){animation-duration:360ms}
html.rm::view-transition-group(*),html.rm::view-transition-old(*),html.rm::view-transition-new(*){animation:none!important}

/* ------------------------------------------------------------ 8. closing CTA */
.cta{display:grid;justify-items:center;align-content:center;gap:clamp(48px,6vw,88px);padding-block:clamp(110px,12vw,170px) clamp(90px,9vw,140px);text-align:center;overflow:clip;background:#fff}
.cta-in{position:relative;z-index:2;display:grid;justify-items:center;gap:28px;padding-inline:var(--gut)}
.cta-line{font-size:clamp(1.15rem,1.7vw,1.5rem);color:var(--ink-2);max-width:26em;text-wrap:balance}
.cta-actions{display:flex;flex-wrap:wrap;gap:12px 36px;align-items:center;justify-content:center;margin-top:12px}
.magnet{position:relative;display:inline-block}
.magnet .btn{will-change:transform;box-shadow:0 20px 50px -18px rgba(240,91,65,.7)}
.burst{position:absolute;inset-inline-start:50%;inset-block-start:50%;width:0;height:0;pointer-events:none;z-index:3}
.burst i{position:absolute;inset-inline-start:-7px;inset-block-start:-7px;width:14px;height:14px;opacity:0;will-change:transform,opacity}
.cta-aps{display:flex;justify-content:center;align-items:flex-end;gap:14px;width:min(1000px,100%);padding-inline:var(--gut);margin-inline:auto;pointer-events:none}
.cap{position:relative;overflow:hidden;background:var(--paper);flex:1 1 0}
.cap img{width:100%;height:100%;object-fit:cover}
.cap--1,.cap--5{aspect-ratio:3/4.4;border-radius:999px 999px 28px 28px;flex-grow:.8}
.cap--2,.cap--4{aspect-ratio:3/4;border-radius:28px;flex-grow:1}
.cap--3{aspect-ratio:3/4.6;border-radius:30px;flex-grow:1.25}
.cap--2{margin-block-end:0}
@supports (animation-timeline:view()){
  html.anim .cta .cap{animation:cap-in linear both;animation-timeline:view();animation-range:entry 5% entry 95%}
  @keyframes cap-in{from{transform:translateY(90px) scale(.86);opacity:0}to{transform:none;opacity:1}}
}

/* ------------------------------------------------------------ footer */
.foot{border-top:1px solid var(--line);background:#fff;padding-block:48px 56px}
.foot-in{display:grid;grid-template-columns:auto 1fr auto;gap:20px 40px;align-items:center}
.foot-brand{display:inline-flex;align-items:center;min-height:44px;line-height:0}
.foot-brand img{height:40px;width:auto}
.foot-links{display:flex;flex-wrap:wrap;gap:4px 8px}
.foot-links a{display:inline-block;padding:10px 14px;font-weight:700;text-decoration:none;border-radius:999px}
.foot-links a:hover{background:rgba(26,26,31,.06)}
.foot-copy{grid-column:1/3;font-weight:700}
.foot-legal{grid-column:1/-1;font-size:15px;color:var(--ink-2)}
.foot-in .nav-lang{border:2px solid var(--line)}

/* ------------------------------------------------------------ responsive */
@media (max-width:1180px){
  .nav-links a{padding:10px 10px;font-size:16px}
  .nav-pill{gap:16px}
  .collage{grid-column:1/-1}
  .pane-body{grid-column:1/-1}
  .hero-cta .btn{padding-inline:24px}
}
@media (max-width:1059px){
  .nav-links,.nav-end .nav-lang,.nav-end .nav-cta{display:none}
  .nav{width:calc(100% - 2*var(--gut) + 8px);max-width:560px}
  .nav-pill{padding-inline:20px 8px}
  .nav-menu{display:inline-flex}
  .nav-brand img{height:30px}
  .nav-pill{min-height:58px}
  .hero-row{flex-direction:column;align-items:flex-start;gap:20px}
  .sec-head{flex-direction:column;align-items:flex-start}
  .sec-head .lede,.sec-head .hint{flex:none;padding-bottom:0}
  .doors{grid-template-columns:1fr;max-width:620px;margin-inline:auto}
  .door-ph{aspect-ratio:4/3.1}
  .gal{display:block}
  .stage-fig{aspect-ratio:4/3.3}
  .stage-info{padding:22px 4px 0}
  .stage-ctrl{padding-top:8px;margin-top:4px}
  .thumbs{display:flex;overflow-x:auto;gap:12px;margin-top:22px;padding:6px 6px 14px;margin-inline:-6px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .thumbs li{flex:0 0 142px;scroll-snap-align:start}
  .foot-in{grid-template-columns:1fr auto}
  .foot-links{grid-column:1/-1;grid-row:2}
  .foot-copy{grid-column:1/-1}
}
@media (max-width:899px){
  /* services become a vertical accordion */
  .panels{flex-direction:column;height:auto;gap:10px}
  .panel{flex:0 0 76px;height:auto;min-height:76px;transition:min-height 700ms var(--ease-out)}
  .panels{--open-h:380px}
  .panel.is-open{flex:0 0 auto;min-height:var(--open-h)}
  .vlabel{writing-mode:horizontal-tb;transform:none;bottom:auto;left:auto;top:50%;inset-inline-start:84px;translate:0 -50%;max-height:none;white-space:normal;max-width:calc(100% - 110px);font-size:1.2rem;line-height:1.15}
  .pn-num{inset-block-start:50%;translate:0 -50%;inset-inline-start:18px}
  .panel.is-open .pn-num{inset-block-start:22px;translate:none}
  .ptitle{max-width:none}
}
@media (max-width:700px){
  body{font-size:16px}
  .hero-scene{--stage-h:clamp(690px,100svh,900px);--runway:420px}
  .hero-stage{padding:128px 20px 18px;grid-template-rows:auto minmax(0,1fr)}
  .hero-eyebrow{font-size:12.5px;margin-bottom:14px}
  .h1{font-size:clamp(2.5rem,12.2vw,3.4rem)}
  [lang="ar"] .h1{font-size:clamp(2.1rem,10.4vw,2.9rem)}
  .hero-row{margin-top:18px;gap:16px}
  .hero-sub{font-size:16px}
  .hero-cta{width:100%;flex-direction:column;gap:10px}
  .hero-cta .btn{width:100%;min-height:56px}
  .hero-aps{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr) 84px;gap:10px;margin-top:20px}
  .hero-aps .ap{height:100%}
  .hero-aps .ap--c{grid-column:1/-1;grid-row:1}
  .hero-aps .ap--o,.hero-aps .ap--i{grid-row:2;border-radius:22px}
  .hero-aps .ap--arch{border-radius:999px 999px 22px 22px}
  .core-cap{font-size:clamp(1.7rem,8vw,2.4rem);padding:28px 20px 26px}
  html:not(.anim) .hero-aps{height:auto;aspect-ratio:auto;grid-template-rows:200px 84px}
  html:not(.anim) .core{aspect-ratio:4/4.4}
  .h2{font-size:clamp(2.3rem,11vw,3.2rem)}
  [lang="ar"] .h2{font-size:clamp(2rem,9vw,2.7rem)}
  .h2--xl{font-size:clamp(3.2rem,16vw,4.4rem)}
  [lang="ar"] .h2--xl{font-size:clamp(3rem,14vw,4rem)}
  .sec{padding-block:72px}
  .sec-head{margin-bottom:32px}
  /* about */
  .toggle{display:grid;width:100%}
  .tbtn{min-height:62px;padding:0 12px;font-size:1.2rem;gap:8px}
  .toggle-hint{display:none}
  .house-stage{margin-top:32px}
  .collage{aspect-ratio:1/1.05;gap:10px}
  .pane{gap:28px}
  .plist h4{font-size:1.55rem}
  .plist--back h4{font-size:1.25rem}
  .statement{font-size:clamp(1.75rem,8vw,2.4rem)}
  /* services */
  .panels{--open-h:400px}
  /* process */
  .mile{grid-template-columns:48px minmax(0,1fr);column-gap:18px;align-items:start}
  .node{grid-area:1/1;width:48px;height:48px;font-size:19px;border-width:4px;justify-self:start}
  .mile .mile-card,.mile:nth-child(odd) .mile-card,.mile:nth-child(even) .mile-card{grid-column:2;justify-self:stretch;flex-direction:column;align-items:flex-start;text-align:start;gap:14px;max-width:none}
  .mile-ph{width:96px}
  html.anim .mile:nth-child(odd) .mile-card,html.anim .mile:nth-child(even) .mile-card{transform:translateX(calc(28px * var(--dirn)))}
  html.anim .mile.is-on .mile-card{transform:none}
  /* cta */
  .cta{padding-block:96px 110px;align-content:center}
  .cta-aps{gap:8px;padding-inline:20px}
  .cap--1,.cap--5{border-radius:999px 999px 16px 16px}
  .cap--2,.cap--4{border-radius:16px}
  .cap--3{border-radius:18px}
  .cta{padding-block:84px 96px}
  .btn--xl{min-height:68px;padding:0 34px;font-size:1.3rem}
  .cta-actions{flex-direction:column;gap:6px}
}
@media (min-width:701px) and (max-width:1059px){
  .hero-stage{padding-top:112px}
  .hero-aps{grid-template-columns:.7fr 1fr 1.8fr 1fr .7fr}
}
@media (min-width:1060px) and (max-height:820px){
  .hero-stage{padding-top:118px}
}


/* reduced motion: the head script also adds html.rm, this keeps the CSS honest if the script is blocked */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:0s!important;transition-delay:0s!important;animation:none!important}
}
html.rm *,html.rm *::before,html.rm *::after{transition-duration:0s!important;transition-delay:0s!important;animation:none!important}

@media (hover:none){.door-ph{clip-path:inset(0 0 0 0 round 220px 220px 28px 28px)}.door-ph img{transform:none}}
@media (max-width:700px){
  .foot-in{grid-template-columns:1fr;gap:18px}
  .foot-links{grid-row:auto;margin-inline:-14px}
  .foot-copy,.foot-legal{grid-column:auto}
  .foot-in .nav-lang{justify-self:start}
  .miles{padding-inline-start:6px}
}

[dir="rtl"] .toggle-hint .arr{transform:scaleX(-1)}
/* stronger scrims so panel text over bright photos stays >=4.5:1 */
.panel::after{background:linear-gradient(to top,rgba(14,14,20,.9),rgba(14,14,20,.35) 55%,rgba(14,14,20,.12)),linear-gradient(rgba(31,110,90,.14),rgba(31,110,90,.14))}
.panel.is-open::after{background:linear-gradient(to top,rgba(14,14,20,.92),rgba(14,14,20,.7) 38%,rgba(14,14,20,0) 70%)}
.vlabel,.ptitle,.pdesc{text-shadow:0 1px 14px rgba(0,0,0,.55)}
@media (max-width:899px){
  .panel::after{background:linear-gradient(rgba(14,14,20,.62),rgba(14,14,20,.62))}
  .panel.is-open::after{background:linear-gradient(to top,rgba(14,14,20,.94),rgba(14,14,20,.78) 45%,rgba(14,14,20,.25) 80%,rgba(14,14,20,.5))}
}

/* 20-refine.css */
/* Encore refinement layer: only new components and the authorised changes. All values reuse Encore tokens
   (shared.css :root + style.css :root). See ../../DESIGN.md. */
:root{--mute:#6E6E78;--focus:var(--ink);--ctrl-glass:rgba(255,255,255,.9)}
::selection{background:var(--orange-tint);color:var(--ink)}
html{caret-color:var(--orange)}

/* ------------------------------------------------------------ CR-02 hero: featured stack + controls */
.core-live{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}
.core .core-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform-origin:50% 50%}
.core .core-frame.is-on{opacity:1}
html.is-dealing .core{background:var(--paper)}
.hero-stage{touch-action:pan-y}
.flyer{position:fixed;z-index:55;pointer-events:none;will-change:clip-path}
.flyer img{transform-origin:50% 50%;will-change:transform}

.hero-ctrl{position:absolute;z-index:8;inset-inline:0;margin-inline:auto;width:max-content;max-width:calc(100% - 2*var(--gut));inset-block-end:44px;display:flex;align-items:center;gap:2px;padding:5px;background:var(--ctrl-glass);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);border:1px solid rgba(26,26,31,.1);border-radius:999px;box-shadow:0 12px 38px rgba(26,26,31,.16),0 1px 0 rgba(255,255,255,.85) inset;transition:transform 700ms var(--ease-out),opacity 300ms ease}
html.anim .hero-ctrl{animation:ctrl-in 700ms var(--ease-out) 900ms both}
@keyframes ctrl-in{from{opacity:0;scale:.9}to{opacity:1;scale:1}}
.hero-ctrl.is-up{transform:translateY(calc(-1 * (var(--stage-h) - 40px - 56px - 118px)))}
.hc-btn,.hc-play{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink);cursor:pointer;transition:background-color var(--t-micro) ease}
.hc-btn:hover{background:rgba(26,26,31,.07)}
[dir="rtl"] .hc-btn svg{transform:scaleX(-1)}
.hc-play{position:relative;background:var(--ink);color:#fff;margin-inline-end:4px}
.hc-ring{position:absolute;inset:-2px;width:48px;height:48px;transform:rotate(-90deg)}
.hc-ring circle{fill:none;stroke-width:3}
.hc-ring-bg{stroke:rgba(255,255,255,.18)}
.hc-ring-fg{stroke:var(--orange);stroke-dasharray:1;stroke-dashoffset:1;stroke-linecap:round}
.hc-ring-fg.run{animation:hc-ring 5.5s linear forwards}
@keyframes hc-ring{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.hc-pp{width:12px;height:14px;border-inline:4px solid currentColor}
.hc-play.is-paused .hc-pp{border:0;width:0;height:0;border-block:7px solid transparent;border-inline-start:12px solid currentColor;margin-inline-start:3px}
[dir="rtl"] .hc-play.is-paused .hc-pp{transform:scaleX(-1)}
.hc-dots{display:flex;align-items:center}
.hc-dot{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;cursor:pointer}
.hc-dot i{display:block;width:8px;height:8px;border-radius:8px;background:rgba(26,26,31,.28);transition:width 500ms var(--ease-out),background-color 300ms ease}
.hc-dot:hover i{background:rgba(26,26,31,.55)}
.hc-dot.is-on i{width:26px;background:var(--orange)}
.hc-count{padding-inline:10px 14px;font-size:14px;font-weight:700;letter-spacing:.04em;color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap}
.hc-count b{color:var(--ink)}
.hc-thumbs{display:flex;gap:6px;padding-inline:4px;max-width:min(560px,calc(100vw - 2*var(--gut) - 170px));overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}
.hc-thumbs::-webkit-scrollbar{display:none}
.hc-thumbs.is-overflow{-webkit-mask-image:linear-gradient(to right,transparent,#000 14px,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(to right,transparent,#000 14px,#000 calc(100% - 22px),transparent)}
.hc-thumb{flex:none;width:44px;height:44px;padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--paper);cursor:pointer;scroll-snap-align:center;opacity:.62;transition:opacity 300ms ease,transform 400ms var(--ease-out),box-shadow 300ms ease}
.hc-thumb img{width:100%;height:100%;object-fit:cover}
.hc-thumb:hover{opacity:1;transform:translateY(-2px)}
.hc-thumb.is-on{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--orange)}
.hc-thumb:focus-visible{border-radius:12px}

/* H3: apertures are buttons */
.ap-btn{position:absolute;inset:0;z-index:2;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer}
.ap-btn:focus-visible{outline:3px solid var(--ink);outline-offset:-6px;box-shadow:inset 0 0 0 8px #fff}
html[data-wn-hero="h3"] .hero-aps .ap:not(.ap--c){transition:transform 500ms var(--ease-out),box-shadow 500ms ease}
html[data-wn-hero="h3"] .hero-aps .ap:not(.ap--c):has(.ap-btn:hover),html[data-wn-hero="h3"] .hero-aps .ap:not(.ap--c):has(.ap-btn:focus-visible){transform:translateY(-8px);box-shadow:0 22px 40px -22px rgba(26,26,31,.6)}
html[data-wn-hero="h3"] .ap-btn[aria-current]{cursor:default}

/* H2: vertical index rail */
.hero-rail{position:absolute;z-index:8;inset-inline-end:max(calc(var(--gut) - 6px),calc((100vw - var(--max))/2 - 6px));top:50%;translate:0 -50%;display:grid;gap:0;padding:8px 4px;background:var(--ctrl-glass);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);border:1px solid rgba(26,26,31,.1);border-radius:999px;box-shadow:0 12px 38px rgba(26,26,31,.16)}
html.anim .hero-rail{animation:ctrl-in 700ms var(--ease-out) 900ms both}
.hr-track{position:absolute;inset-block:22px;inset-inline-start:8px;width:3px;border-radius:3px;background:rgba(26,26,31,.12);overflow:hidden}
.hr-fill{position:absolute;inset:0;background:var(--orange);transform:scaleY(0);transform-origin:50% 0}
.hr-n{position:relative;width:52px;height:44px;padding:0 0 0 10px;border:0;background:none;font:inherit;font-size:14px;font-weight:700;letter-spacing:.04em;color:var(--ink-2);cursor:pointer;font-variant-numeric:tabular-nums;transition:color 300ms ease}
[dir="rtl"] .hr-n{padding:0 10px 0 0}
.hr-n.is-on{color:var(--orange-text)}
.hr-n.is-on::after{content:"";position:absolute;inset-inline-start:5px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 3px #fff}
.hr-n:focus-visible{border-radius:12px;outline-offset:-2px}

/* reduced motion / static: controls sit in flow under the composed hero */
html:not(.anim) .hero-ctrl{position:relative;inset:auto;justify-self:center;margin-top:16px;transform:none}
html:not(.anim) .hero-stage{grid-template-rows:auto auto auto auto}

@media (max-width:700px){
  .hero-ctrl{inset-inline:0;margin-inline:auto;width:max-content;max-width:calc(100% - 32px);inset-block-end:calc(18px + 84px + 14px)}
  .hero-ctrl.is-up{transform:translateY(calc(-1 * (var(--stage-h) - 116px - 56px - 104px)))}
  .hc-count{display:none}
  .hc-dot{width:44px}
  .hero-ctrl--h1 .hc-btn,.hero-ctrl--h3 .hc-btn{display:none}
  .hc-thumbs{max-width:calc(100vw - 64px)}
  .hero-rail{top:auto;bottom:calc(18px + 84px + 14px);translate:none;padding:4px 6px;grid-auto-flow:column;inset-inline-end:16px}
  .hr-track{display:none}
  .hr-n{width:44px;height:44px;padding:0;font-size:13px}
  .hr-n.is-on::after{inset-inline-start:50%;top:auto;bottom:2px;margin-inline-start:-3px;width:6px;height:6px}
}

/* ------------------------------------------------------------ CR-04 Trusted by (Iris rhythm, Encore material) */
.trusted{padding-block:clamp(48px,6vw,92px) clamp(56px,7vw,104px);background:#fff}
.trusted-head{display:flex;align-items:center;gap:18px;margin-bottom:clamp(22px,3vw,34px)}
.trusted-label{margin:0;font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2);white-space:nowrap}
[lang="ar"] .trusted-label{letter-spacing:0;text-transform:none;font-size:17px}
.trusted-rule{flex:1;height:1px;background:var(--line)}
.trusted-count{font-size:14px;font-weight:700;color:var(--teal-ink);white-space:nowrap}
[lang="ar"] .trusted-count{font-size:16px}
.medals[hidden]{display:none}
.medals{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:14px}
.medal{position:relative;display:grid;place-items:center;height:96px;padding:0 18px;border-radius:999px;background:#fff;border:1px solid var(--line);box-shadow:0 1px 0 rgba(26,26,31,.03),0 14px 30px -26px rgba(26,26,31,.35);transition:transform 500ms var(--ease-out),box-shadow 500ms ease,border-color 300ms ease}
.medal::before{content:"";position:absolute;inset:5px;border-radius:inherit;border:1.5px dashed rgba(26,26,31,.08);pointer-events:none}
.medal img{width:var(--lw,70%);height:auto;max-height:62px;object-fit:contain}
.trusted-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;margin-top:22px}
.tchip{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;border:2px solid var(--ink);border-radius:999px;background:#fff;font-weight:700;font-size:15px;cursor:pointer;transition:background-color var(--t-micro) ease,color var(--t-micro) ease}
.tchip:hover{background:var(--ink);color:#fff}
.tchip[hidden]{display:none}
.tchip-ico{width:10px;height:12px;border-inline:3.5px solid currentColor}
.tchip[aria-pressed="true"] .tchip-ico{width:0;height:0;border:0;border-block:6px solid transparent;border-inline-start:10px solid currentColor}
[dir="rtl"] .tchip[aria-pressed="true"] .tchip-ico{transform:scaleX(-1)}
@media (max-width:700px){
  .medals{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .medal{height:76px;padding:0 16px}
  .medal img{max-height:46px}
}

/* ------------------------------------------------------------ CR-07 contact block */
.ask{background:#fff;overflow:clip;padding-block:clamp(80px,9vw,140px)}

/* ------------------------------------------------------------ CR-03 Iris quote dialog adapted to Encore */
.qd{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#fff;color:var(--ink);overflow:auto;overscroll-behavior:contain}
.qd:not([open]){display:none}
.qd::backdrop{background:rgba(26,26,31,.55)}
html.qd-open{overflow:hidden}
.qd-in{max-width:calc(var(--max) + 2*var(--gut));margin-inline:auto;padding:0 var(--gut) 56px;min-height:100%}
.qd-bar{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:84px;padding-block:14px;background:#fff}
.qd-bar img{height:32px;width:auto}
.qd-close{display:grid;place-items:center;width:56px;height:56px;padding:0;border:2px solid var(--ink);border-radius:50%;background:#fff;cursor:pointer;transition:background-color var(--t-micro) ease,color var(--t-micro) ease}
.qd-close:hover{background:var(--ink);color:#fff}
.qd-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:clamp(24px,6vw,100px);padding-top:clamp(8px,3vh,32px);align-items:start}
.qd-h{margin-bottom:18px}
.qd-note{margin-top:28px;padding:14px 18px;border-inline-start:5px solid var(--yellow);background:var(--paper);font-weight:700;border-radius:4px 12px 12px 4px}
.qd-aside{margin-top:20px}
.qd-aside a{font-weight:700;color:var(--orange-text);text-underline-offset:4px}
.qd .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:28px}
.qd .field--wide{grid-column:1/-1}
.qd .field label{display:flex;gap:.6em;align-items:baseline;font-weight:700;margin-bottom:6px}
.qd .field label i{font-style:normal;font-weight:400;color:var(--mute);font-size:.88rem}
.qd .field input,.qd .field select,.qd .field textarea{width:100%;min-height:54px;padding:.7em 1em;border:2px solid var(--mute);border-radius:12px;background:#fff;font:inherit;font-size:1.05rem;color:var(--ink)}
.qd .field textarea{resize:vertical;min-height:120px}
.qd .field input:focus,.qd .field select:focus,.qd .field textarea:focus{outline:3px solid var(--focus);outline-offset:2px;border-color:var(--ink)}
.qd .field.has-err input,.qd .field.has-err select,.qd .field.has-err textarea{border-color:var(--orange-text);box-shadow:inset 0 0 0 1px var(--orange-text)}
.field-err[hidden]{display:none}
.field-err{margin-top:6px;color:var(--orange-text);font-weight:700;font-size:.95rem;display:flex;gap:.45em}
.field-err::before{content:"!";display:inline-grid;place-items:center;flex:none;width:1.3em;height:1.3em;border-radius:50%;background:var(--orange-text);color:#fff;font-size:.85em;line-height:1}
.qd-summary{border:2px solid var(--orange-text);border-radius:12px;padding:12px 16px;font-weight:700;margin-bottom:20px;background:var(--orange-tint)}
.qd-sent{padding:clamp(24px,4vw,48px);border:2px solid var(--ink);border-radius:24px}
.qd-sent:focus{outline:3px solid var(--focus);outline-offset:4px}
.qd-ring{position:relative;width:72px;height:72px;margin-bottom:20px;border-radius:50%;border:3px solid var(--orange)}
.qd-ring::after{content:"";position:absolute;inset:14px;border-radius:50%;background:var(--teal)}
.qd-sent h3{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.1}
.qd-sent-t{font-size:1.25rem;margin-top:12px;line-height:1.5}
.qd-sent-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
@media (max-width:1100px){.qd-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.qd .fields{grid-template-columns:minmax(0,1fr)}.qd-close{width:48px;height:48px}.qd-bar{min-height:72px}}

/* reduced motion: refinement layer obeys the same contract as Encore */
html.rm .hero-ctrl,html.rm .hero-rail{animation:none}


/* 30-refine-v3.css */
/* =====================================================================================
   Encore refinement v3 (Product feedback F01-F14). Encore tokens only.
   Composed sections fill one viewport: nav clearance lives inside each section,
   snap offset is 0 (SPEC Revision 1). Process is the exempt scroll narrative.
   ===================================================================================== */
:root{--nav-clear:92px;--sec-pad-b:28px}
@media (max-width:1059px){:root{--nav-clear:84px;--sec-pad-b:22px}}

/* F04: section settling is done by refine.js (direction-aware). CSS scroll-snap is deliberately not used:
   in Chromium, proximity snapping pulled slow discrete wheel notches back to the section top (scroll trap; see QA_REPORT). */
html{scroll-padding-top:0}

/* F10: composed full-viewport scenes */
.sec.trusted,.sec.house,.sec.services,.sec.teams,.sec.work,.sec.cta,.sec.ask{min-height:100svh;padding-top:calc(var(--nav-clear) + 10px);padding-bottom:var(--sec-pad-b);display:flex;flex-direction:column;justify-content:center}
.sec.process{padding-top:calc(var(--nav-clear) + 10px)}
.sec>.wrap{width:100%}
.sec-head{margin-bottom:clamp(16px,3svh,44px)}
.h2{font-size:clamp(2rem,min(4.4vw,6.2svh),4.5rem)}
[lang="ar"] .h2{font-size:clamp(1.85rem,min(3.9vw,5.6svh),4rem)}
.h2 .hl{display:block}
.lede{font-size:clamp(1rem,min(1.35vw,2.2svh),1.25rem)}

/* hero copy is longer in v3 */
.h1{font-size:clamp(2.3rem,min(6.2vw,9.6svh),6.4rem)}
[lang="ar"] .h1{font-size:clamp(2.05rem,min(5.4vw,8.6svh),5.6rem)}
.hero-eyebrow{letter-spacing:.06em}
[lang="ar"] .hero-eyebrow{letter-spacing:0}

/* About */
.house .toggle-row{gap:18px}
.house .tbtn{min-height:clamp(48px,6.4svh,60px);font-size:clamp(1.05rem,min(1.6vw,2.5svh),1.4rem)}
.house .lede{font-size:clamp(.98rem,min(1.2vw,2svh),1.15rem)}
.house .house-stage{margin-top:clamp(14px,2.6svh,32px)}
.house .collage{aspect-ratio:auto;height:min(40svh,450px)}
.collage--front .ph--f1{grid-area:1/1/7/3;border-radius:999px 999px var(--r-ap) var(--r-ap)}
.collage--front .ph--f2{grid-area:1/3/4/7;border-radius:var(--r-ap)}
.collage--front .ph--f3{grid-area:4/3/7/5;border-radius:var(--r-ap)}
.collage--front .ph--f4{grid-area:4/5/7/7;border-radius:var(--r-ap) var(--r-ap) 999px var(--r-ap)}
.house .plist li{padding-block:clamp(6px,1.1svh,12px)}
.house .pane-title{margin-bottom:clamp(6px,1.2svh,14px)}
.house .plist h4{font-size:clamp(1.12rem,min(1.8vw,2.9svh),1.75rem)}
.house .plist--back h4{font-size:clamp(1.02rem,min(1.45vw,2.4svh),1.4rem)}
.house .plist p{font-size:14.5px;margin-top:1px;line-height:1.4}
@media (min-width:1060px){.house .plist--back{display:grid;grid-template-columns:1fr 1fr;column-gap:26px}.house .plist--back li:nth-last-child(2){border-bottom:1px solid rgba(26,26,31,.12)}}
.house .pane-title{margin-bottom:10px}
.house .statement{margin-top:clamp(12px,2.2svh,30px);font-size:clamp(1.2rem,min(2.1vw,3.3svh),2.1rem);max-width:30em}

/* About composition: heading at start; lede + toggle stacked at end (saves a full row) */
@media (min-width:701px){
  .house .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);column-gap:clamp(24px,5vw,80px);align-items:end}
  .house .house-head{display:contents}
  .house .house-head>div{grid-column:1;grid-row:1/3;align-self:end}
  .house .house-head .lede{grid-column:2;grid-row:1;max-width:30em;padding-bottom:0;margin-bottom:clamp(10px,1.8svh,20px)}
  .house .toggle-row{grid-column:2;grid-row:2;justify-self:start}
  .house .house-stage,.house .statement,.house [data-house-live]{grid-column:1/-1}
  .house .house-stage{margin-top:clamp(16px,3svh,40px)}
}
@media (min-width:701px) and (max-width:1059px){
  .sec-head{flex-direction:row;align-items:flex-end}
  .sec-head .lede,.sec-head .hint{flex:0 1 26em;padding-bottom:.4em}
  .house .wrap{grid-template-columns:minmax(0,1fr)}
  .house .house-head>div,.house .house-head .lede,.house .toggle-row{grid-column:1;grid-row:auto}
}

/* Services */
.services .panels{height:min(58svh,620px)}

/* Teams */
.teams .door{padding:12px 12px 20px;border-radius:30px}
.teams .door-ph{aspect-ratio:auto;height:clamp(140px,26svh,290px)}
.teams .door-body{padding:18px 10px 0;gap:12px}
.teams .door h3{font-size:clamp(1.35rem,min(2vw,3.2svh),2rem)}
.teams .door-list{gap:8px}
.teams .door-list li{font-size:15.5px;line-height:1.45}
.teams .door-list b{font-weight:700}

/* Selected Work */
.work .stage-fig{aspect-ratio:auto;height:min(38svh,500px)}
.work .thumb-img{aspect-ratio:16/9}
.work .thumbs{margin-top:clamp(8px,1.4svh,16px)}
.work .thumb-img{border-radius:18px}
.work .stage-info{gap:10px}
.work{padding-bottom:var(--sec-pad-b)}

/* F11: closing photography, one symmetric graduated row */
.cta{gap:clamp(22px,4svh,64px)}
.cta .h2--xl{font-size:clamp(2.6rem,min(7.6vw,11svh),7.6rem)}
[lang="ar"] .cta .h2--xl{font-size:clamp(2.4rem,min(6.6vw,10svh),6.6rem)}
.cta-aps{display:flex;align-items:flex-end;justify-content:center;gap:clamp(6px,1vw,14px);width:min(1240px,100%);pointer-events:auto;margin-inline:auto}
.cta-aps .cap{flex:var(--g,1) 1 0;aspect-ratio:3/4.3;border-radius:22px;margin:0}
.cta-aps .cap:nth-child(1),.cta-aps .cap:nth-child(9){--g:.66;border-radius:999px 999px 18px 18px}
.cta-aps .cap:nth-child(2),.cta-aps .cap:nth-child(8){--g:.76}
.cta-aps .cap:nth-child(3),.cta-aps .cap:nth-child(7){--g:.88}
.cta-aps .cap:nth-child(4),.cta-aps .cap:nth-child(6){--g:1}
.cta-aps .cap:nth-child(5){--g:1.18;border-radius:28px}
.cta-aps:focus-visible{outline:3px solid var(--ink);outline-offset:4px;border-radius:18px}

/* F05/F07 Trusted by */
.medals--featured{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.medals--featured .medal{height:clamp(78px,12svh,118px)}
.medals--featured .medal img{max-height:min(66px,8svh)}
.trusted-more{margin-top:clamp(18px,3svh,30px)}
.trusted-more-h{font-size:14px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2);margin-bottom:12px}
[lang="ar"] .trusted-more-h{letter-spacing:0;text-transform:none;font-size:16px}
.medals--rest{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.medals--rest .medal{height:80px}
.medals--rest .medal img{max-height:50px}
.trusted[data-variant="t2"] .t1-only{display:none}
.trusted .trusted-foot{justify-content:center;margin-top:clamp(16px,2.6svh,28px)}
.trusted-more[hidden]{display:none}

/* F12 contact block: three treatments; F14 socials */
.ask{background:#fff}
.ask-v[hidden]{display:none}
.ask[data-contact="c1"] .ask-v:not(.ask-v--c1),.ask[data-contact="c2"] .ask-v:not(.ask-v--c2),.ask[data-contact="c3"] .ask-v:not(.ask-v--c3){display:none}
.ask-h{font-size:clamp(2.6rem,min(6.2vw,9.5svh),6.2rem);line-height:.98}
[lang="ar"] .ask-h{line-height:1.2}
.ask-sub{font-size:clamp(1.05rem,min(1.5vw,2.4svh),1.4rem);line-height:1.6;color:var(--ink-2);max-width:26em}
.ct{position:relative;color:var(--ink);text-decoration:none;-webkit-tap-highlight-color:transparent}
.ct-k{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2)}
[lang="ar"] .ct-k{letter-spacing:0;text-transform:none;font-size:15px}
.ct-v{font-weight:700;unicode-bidi:isolate;overflow-wrap:anywhere}
.ct-ico{display:grid;place-items:center;color:var(--ink)}
.ct-go{display:grid;place-items:center}
.ct:focus-visible{outline:3px solid var(--ink);outline-offset:4px;border-radius:14px}
.socials{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.soc{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--ink);border:1.5px solid var(--line);background:#fff;transition:background-color var(--t-micro) ease,color var(--t-micro) ease,border-color var(--t-micro) ease,transform 400ms var(--ease-out)}
.soc:hover{background:var(--ink);border-color:var(--ink);color:#fff;transform:translateY(-2px)}
.soc:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.socials--round .soc{width:48px;height:48px}

/* C1 Ledger */
.ask-v--c1{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,6vw,110px);align-items:end}
.c1-intro{display:grid;gap:clamp(14px,2.4svh,24px);align-content:end}
.c1-intro .socials{margin-top:clamp(6px,1.4svh,18px)}
.c1-ledger{display:grid;border-bottom:1px solid var(--line)}
.ct--row{display:grid;grid-template-columns:52px minmax(0,1fr) 44px;grid-template-areas:"ico k go" "ico v go";column-gap:clamp(14px,2vw,26px);row-gap:4px;align-items:center;padding-block:clamp(16px,3.2svh,34px);border-top:1px solid var(--line);transition:padding 500ms var(--ease-out)}
.ct--row .ct-ico{grid-area:ico;width:52px;height:52px;border-radius:999px 999px 14px 14px;box-shadow:inset 0 0 0 2px var(--orange)}
.ct--row.ct--phone .ct-ico{box-shadow:inset 0 0 0 2px var(--teal)}
.ct--row.ct--addr .ct-ico{box-shadow:inset 0 0 0 2px var(--yellow)}
.ct--row .ct-k{grid-area:k}
.ct--row .ct-v{grid-area:v;font-size:clamp(1.3rem,min(2.5vw,4svh),2.4rem);line-height:1.2;letter-spacing:-.015em;background:linear-gradient(var(--orange),var(--orange)) no-repeat 0 100%/0 2px;transition:background-size 500ms var(--ease-out);justify-self:start;padding-bottom:4px}
[dir="rtl"] .ct--row .ct-v{background-position:100% 100%;letter-spacing:0}
.ct--row.ct--addr .ct-v{font-size:clamp(1.05rem,min(1.6vw,2.6svh),1.5rem)}
.ct--row .ct-go{grid-area:go;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--ink);transition:background-color var(--t-micro) ease,color var(--t-micro) ease}
.ct--row .ct-go .arr{transform:scaleX(var(--dirn)) rotate(calc(-45deg * var(--dirn)))}
@media (hover:hover){.ct--row:hover{padding-inline-start:10px}.ct--row:hover .ct-v{background-size:100% 2px}.ct--row:hover .ct-go{background:var(--ink);color:#fff}}
.ct--row:focus-visible .ct-v{background-size:100% 2px}

/* C2 Aperture split */
.ask-v--c2{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(28px,5vw,96px);align-items:center}
.c2-ph{position:relative;height:min(64svh,640px);border-radius:999px 999px 36px 36px;overflow:hidden;background:var(--paper);margin:0}
.c2-ph img{width:100%;height:100%;object-fit:cover;object-position:55% 45%}
.c2-chip{position:absolute;inset-block-end:18px;inset-inline:18px;padding:12px 18px;border-radius:999px;background:var(--glass);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);font-weight:700;font-size:clamp(.95rem,1.2vw,1.1rem);text-align:center;color:var(--ink)}
.c2-body{display:grid;gap:clamp(16px,3svh,34px)}
.c2-links{display:grid;gap:clamp(10px,2svh,22px)}
.ct--big{display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-areas:"ico k" "ico v";column-gap:18px;align-items:center}
.ct--big .ct-ico{grid-area:ico;width:56px;height:56px;border-radius:18px;background:var(--orange-tint);color:var(--orange-text);transition:transform 500ms var(--ease-out),background-color 300ms ease}
.ct--big.ct--phone .ct-ico{background:var(--teal-tint);color:var(--teal-ink)}
.ct--big.ct--addr .ct-ico{background:#FFF4D6;color:#7a5600}
.ct--big .ct-k{grid-area:k}
.ct--big .ct-v{grid-area:v;font-size:clamp(1.3rem,min(2.6vw,4.2svh),2.5rem);line-height:1.15}
.ct--big.ct--addr .ct-v{font-size:clamp(1.05rem,min(1.6vw,2.6svh),1.45rem);line-height:1.5}
.ct--big .ct-go{display:none}
@media (hover:hover){.ct--big:hover .ct-ico{transform:rotate(calc(-8deg * var(--dirn))) scale(1.06)}.ct--big:hover .ct-v{color:var(--orange-text)}}

/* C3 Statement */
.ask-v--c3{position:relative;display:grid;justify-items:center;text-align:center;gap:clamp(12px,2.2svh,26px);padding-block:clamp(10px,3svh,40px);isolation:isolate}
.c3-ring{position:absolute;z-index:-1;top:0;left:50%;width:min(720px,86vw);height:100%;translate:-50% 0;border:1.5px dashed rgba(26,26,31,.12);border-radius:999px 999px 48px 48px}
.ask-v--c3 .spark{width:44px;height:44px;margin:0}
.c3-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:980px}
.ct--pill .ct-k{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ct--pill .ct-ico,.ct--pill .ct-go{display:none}
.ct--pill{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:10px 22px;border:2px solid var(--ink);border-radius:999px;font-size:clamp(1rem,1.4vw,1.15rem);transition:background-color var(--t-micro) ease,color var(--t-micro) ease}
.ct--pill:hover{background:var(--ink);color:#fff}
.c3-links .ct--mail{flex-basis:100%;justify-content:center;border:0;padding:0 0 8px;min-height:0;font-size:clamp(2rem,min(6vw,9svh),5.6rem);letter-spacing:-.03em;background:linear-gradient(var(--orange),var(--orange)) no-repeat 50% 100%/38% 4px;transition:background-size 600ms var(--ease-out)}
.c3-links .ct--mail:hover{background-color:transparent;color:var(--ink);background-size:100% 4px}

/* footer socials */
.foot .socials--foot{grid-column:1/-1}

/* reviewer overlay: composed-section frames (hub "Viewport alignment") */
html.show-frames .sec,html.show-frames .hero-scene{outline:2px dashed rgba(240,91,65,.7);outline-offset:-2px}
html.show-frames .sec::before{content:attr(id);position:absolute;z-index:40;inset-block-start:calc(var(--nav-clear) - 26px);inset-inline-start:10px;padding:3px 7px;border-radius:4px;background:#FFB703;color:#000;font:700 11px/1.2 system-ui,sans-serif}

@media (max-width:1059px){
  .ask-v--c1,.ask-v--c2{grid-template-columns:minmax(0,1fr)}
  .c2-ph{height:min(30svh,320px);border-radius:999px 999px 28px 28px}
  .teams .doors{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
}
@media (max-width:700px){
  .medals--featured{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .medals--featured .medal{height:clamp(56px,8.4svh,76px)}
  .medals--featured .medal img{max-height:40px}
  .teams .doors{display:grid;grid-auto-flow:column;grid-auto-columns:86%;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:6px;margin-inline:calc(-1 * var(--gut));padding-inline:var(--gut);scrollbar-width:none}
  .teams .doors::-webkit-scrollbar{display:none}
  .teams .door{scroll-snap-align:center}
  .teams .door-ph{height:22svh}
  .work .stage-fig{height:34svh}
  .services .panels{height:auto}
  .cta-aps{justify-content:flex-start;overflow-x:auto;scroll-snap-type:x proximity;padding-inline:20px;scrollbar-width:none}
  .cta-aps::-webkit-scrollbar{display:none}
  .cta-aps .cap{flex:0 0 calc(var(--g,1) * 104px);scroll-snap-align:center}
  .ct--row{grid-template-columns:44px minmax(0,1fr) 40px}
  .ct--row .ct-ico{width:44px;height:44px}
  .ct--row .ct-go{width:40px;height:40px}
  .c1-ledger .ct--row{padding-block:14px}
}

/* ---- fit pass 2: tablet keeps About side-by-side; short desktop; phones ---- */
@media (min-width:760px) and (max-width:1180px){
  .house .collage{grid-column:1/8;height:min(36svh,440px)}
  .house .pane-body{grid-column:8/13}
  .house .plist--back{display:block}
}
.cta-aps{width:min(1240px,100%,165svh)}
@media (min-width:1060px) and (max-height:760px){
  .sec-head{margin-bottom:clamp(10px,2svh,20px)}
  .teams .door-ph{height:clamp(110px,19svh,200px)}
  .teams .door-body{padding-top:10px;gap:8px}
  .teams .door-list li{font-size:14.5px;line-height:1.38}
  .work .thumb-img{aspect-ratio:21/9}
  .work .stage-fig{height:36svh}
  .house .collage{height:36svh}
  .house .plist h4{font-size:clamp(1rem,2.6svh,1.3rem)}
  .house .plist p{font-size:13.5px}
  .cta{gap:clamp(14px,3svh,40px)}
}
@media (max-width:700px){
  .sec-head{margin-bottom:clamp(14px,2.4svh,22px)}
  .h2{font-size:clamp(1.95rem,8.6vw,2.6rem)}
  [lang="ar"] .h2{font-size:clamp(1.75rem,7.8vw,2.3rem)}
  .sec-head .lede{font-size:15.5px;line-height:1.55}
  .panels{--open-h:min(300px,38svh)}
  .panel{flex-basis:54px;min-height:54px}
  .panels{gap:6px}
  .teams .door-ph{height:17svh}
  .teams .door-body{padding-top:12px;gap:8px}
  .teams .door-list li{font-size:14.5px}
  .work .stage-fig{height:28svh;border-radius:26px}
  .work .stage-info{padding-top:12px}
  .work .thumbs{margin-top:10px;padding-bottom:8px}
  .work .thumbs li{flex-basis:104px}
  .work .thumb-img{aspect-ratio:16/9;border-radius:12px}
  .house .collage{height:30svh;aspect-ratio:auto}
  .house .house-stage{margin-top:18px}
  .house .pane{gap:16px}
  .house .plist h4{font-size:1.2rem}
  .house .plist--back h4{font-size:1.1rem}
  .house .statement{font-size:clamp(1.3rem,6vw,1.7rem)}
  .socials{gap:6px}
  .c1-intro{gap:12px}
}
@media (min-width:1060px) and (max-height:760px){
  :root{--nav-clear:80px;--sec-pad-b:14px}
  .cta-aps{width:min(1240px,100%,140svh)}
  .cta .h2--xl{font-size:clamp(2.4rem,9svh,5rem)}
  .teams .door-ph{height:16svh}
  .work .stage-info{gap:6px;padding-block:0}
  .work .stage-info h3{font-size:clamp(1.3rem,4svh,1.9rem)}
  .house .plist li{padding-block:4px}
  .house .plist p{margin-top:0}
}
@media (min-width:1060px) and (max-height:760px){[lang="ar"] .h2{font-size:clamp(1.7rem,5.2svh,3rem)}.house .statement{margin-top:8px}}
@media (min-width:701px) and (max-width:1059px){.work .stage-fig{height:min(34svh,460px)}}
@media (max-width:700px){
  .panels{--open-h:min(280px,33svh)}
  .panel{flex-basis:50px;min-height:50px}
  .work .stage-fig{height:24svh}
  .work .thumbs li{flex-basis:92px}
  .work .stage-info{gap:8px}
  .teams .door-ph{height:15svh}
}
@media (max-width:700px){
  .sec .h2 .hl{display:inline}
  .work .stage-info h3{font-size:1.45rem}
}
@media (max-width:700px) and (max-height:800px){
  :root{--sec-pad-b:8px}
  .teams .door-ph{height:13svh}
  .panels{--open-h:min(260px,31svh)}
  .work .stage-fig{height:22svh}
}
/* Ask heading must win over the generic .h2 sizes */
.ask .ask-h{font-size:clamp(2.6rem,min(6vw,9svh),6rem);line-height:1}
[lang="ar"] .ask .ask-h{font-size:clamp(2.4rem,min(5.4vw,8.4svh),5.4rem);line-height:1.2}
.ask-v--c1{align-items:center}
@media (min-width:1060px){.medals--featured .medal{height:clamp(84px,13svh,136px)}.medals--featured .medal img{max-height:min(74px,8.6svh)}}
@media (max-width:700px){.ask .ask-h{font-size:clamp(2.3rem,11vw,3.2rem)}[lang="ar"] .ask .ask-h{font-size:clamp(2.1rem,10vw,2.9rem)}}


/* ===================== impeccable polish pass (critique 2026-11-26) ===================== */
/* P1-1: arrows. --n was only defined on .btn, so .link-u/.round/.ct arrows lost their RTL mirror at rest and flipped on hover */
:root{--n:0}
.ct--row .ct-go .arr{transform:scaleX(var(--dirn)) rotate(-45deg)}
[dir] .toggle-hint .arr{transform:scaleX(calc(-1 * var(--dirn)))}   /* points toward the toggle in both directions */

/* P1-2: phone hero controls fit 358px; pause/play never shrinks (WCAG 2.2.2 control) */
@media (max-width:700px){
  .hc-play,.hc-btn{flex:none}
  .hc-dot{width:30px;height:44px;flex:none}
  .hc-dot.is-on i{width:20px}
}
/* P1-3: H2 rail moves to the stage foot as a horizontal rail (same place as the H1 pill), clear of the hero CTAs */
@media (min-width:701px){
  .hero-rail{top:auto;translate:none;inset-block-end:44px;inset-inline:0;margin-inline:auto;width:max-content;grid-auto-flow:column;padding:4px 8px}
  .hero-rail .hr-n{width:46px;padding:0}
  .hero-rail .hr-n.is-on::after{inset-inline-start:50%;top:auto;bottom:4px;margin:0 0 0 -4.5px;width:9px;height:9px}
  [dir="rtl"] .hero-rail .hr-n{padding:0}
  .hero-rail .hr-track{inset-block:auto 2px;inset-inline:18px;width:auto;height:3px}
}
.hr-fill{transform:scaleY(var(--p,0))}
@media (min-width:701px){.hr-fill{transform:scaleX(var(--p,0));transform-origin:0 50%}[dir="rtl"] .hr-fill{transform-origin:100% 50%}}

/* P1-4: C2 values sit beside their labels (grid start follows RTL) */
.ct--big .ct-v{justify-self:start}

/* P2-5: Trusted and Ask C1 earn the viewport through scale, not empty space */
.trusted .trusted-label{font-size:clamp(1.7rem,min(3.4vw,5.4svh),3.1rem);letter-spacing:-.02em;text-transform:none;color:var(--ink);font-weight:700;line-height:1.1}
[lang="ar"] .trusted .trusted-label{font-size:clamp(1.6rem,min(3.1vw,5svh),2.8rem);letter-spacing:0;line-height:1.3}
.trusted .trusted-count{font-size:15px;font-weight:700;color:var(--orange-text)}
@media (min-width:1060px){
  .medals--featured{gap:16px}
  .medals--featured .medal{height:clamp(96px,15.5svh,156px)}
  .medals--featured .medal img{max-height:min(84px,9.6svh)}
  .ct--row{padding-block:clamp(20px,4.4svh,44px)}
  .ct--row .ct-v{font-size:clamp(1.4rem,min(2.7vw,4.4svh),2.7rem)}
}
@media (min-width:1060px) and (max-height:760px){.medals--featured .medal{height:13svh}.ct--row{padding-block:clamp(12px,2.6svh,24px)}}

/* detector (B): About toggle label is white on orange: keep it in the large-text band (>=18.67px bold) at every width */
.house .tbtn{font-size:max(1.17rem,min(1.6vw,2.5svh))}
@media (max-width:700px){.house .tbtn{font-size:1.17rem;padding:0 8px;gap:6px}}
/* primary buttons get headroom above the 18.67px bold threshold */
.btn{font-size:19px}

/* minor: C3 arch outline reads on typical laptop screens; phone C2 socials stay on one row */
.c3-ring{border-color:rgba(26,26,31,.2)}
@media (max-width:420px){.socials{gap:4px}}
@media (max-width:420px){.socials--round .soc{width:44px;height:44px}}
/* design-review FINDING-001: review ribbon hide control gets a 44px hit area without changing the ribbon height */


/* ===================== /qa fix pass (2026-11-26) ===================== */
/* ISSUE-002 (F10): tablet stacks the panels (Encore); the V3 fixed height must not apply, open panel sized to fit */
@media (min-width:701px) and (max-width:1059px){.services .panels{height:auto;--open-h:min(380px,32svh)}}
/* A11Y-02: phone H2 rail shares the width (9 buttons, each >=24px), never wider than the screen; H1 dots tighten below 360px */
@media (max-width:700px){
  .hero-rail{inset-inline:16px;margin-inline:auto;width:auto;max-width:calc(100vw - 32px);grid-auto-columns:minmax(0,1fr)}
  .hero-rail .hr-n{width:auto;min-width:24px}
}
@media (max-width:359px){.hc-dot{width:24px}.hc-dot.is-on i{width:16px}}
/* A11Y-14: rail numbers sit on an opaque backing so the active orange number keeps 4.5:1 over bright photos */
.hero-rail{background:rgba(255,255,255,.95)}
/* A11Y-06: Services number chips: white numerals on an ink chip (>=7:1) */
.pn-num{background:rgba(26,26,31,.74);color:#fff}
/* A11Y-07: at very short heights (400% zoom, landscape phones) the nav scrolls away instead of covering a third of the screen */
@media (max-height:500px){.nav{position:absolute}}
/* ISSUE-003: inside the review hub the hub already states the review status; the page shows the website only */

/* F14 (Goldfish R2): the footer repeats the channels as a compact, quieter icon row (the contact block carries the full-size group) */
.socials--foot{gap:2px}
.socials--foot .soc{width:36px;height:36px;color:var(--ink-2)}
.socials--foot .soc svg{width:16px;height:16px}

/* 40-refine-v4.css */
/* Encore refinement V4 layer (review prototype only). Loads after refine-v3.css.
   F16 nav · F17 H1 compact controller · F18 Our Work + viewer · F19 W2 · F20 closing · F23 M2. Encore tokens only. */

/* ===================== F16 floating nav: compact below the top; hover/focus shows the links (V5 F25: centred symmetric morph) ===================== */
@media (min-width:1060px){
  /* V5 F25: the V4 end-edge margin model was removed; Encore's native centring applies (refine-v5.css) */
  /* hover-expanded (fine pointer) shows the links again while staying "compact" for state purposes */
  .nav.is-compact.is-hover .nav-links{max-width:620px;opacity:1;pointer-events:auto;visibility:visible;transition:max-width var(--t-ui) var(--ease-out),opacity var(--t-ui) var(--ease-out),visibility 0s}
  .nav.is-compact.is-hover .nav-pill{gap:26px}
}
/* coarse pointers (touch laptops, tablets in landscape) get the existing Menu button whenever the pill is compact */
@media (min-width:1060px) and (hover:none),(min-width:1060px) and (pointer:coarse){
  .nav.is-compact .nav-menu{display:inline-flex}
}

/* ===================== F17 H1: small ink disc on the photo's top inline-end corner, opens into the controller ===================== */
.hero-ctrl--h1{inset:auto;inset-block-start:120px;inset-inline-end:24px;margin:0;width:auto;max-width:calc(100% - 24px);padding:0;gap:0;
  background:none;box-shadow:none;border:0;-webkit-backdrop-filter:none;backdrop-filter:none;flex-direction:row-reverse;align-items:center;transform:none;z-index:9}
html.anim .hero-ctrl--h1{animation:ctrl-in 600ms var(--ease-out) 1100ms both}
.hc-disc{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.hc-disc::before{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--ink);box-shadow:0 6px 18px rgba(26,26,31,.28);transition:transform 300ms var(--ease-out)}
.hc-disc:hover::before{transform:scale(1.06)}
.hc-disc .hc-ring{inset:2px;width:40px;height:40px}
.hc-disc .hc-pp,.hc-disc .hc-ico-photos{position:relative;z-index:1}
.hc-disc .hc-pp{width:10px;height:12px;border-inline-width:3.5px}
.hero-ctrl--h1.is-paused .hc-disc .hc-pp{border:0;width:0;height:0;border-block:6px solid transparent;border-inline-start:10px solid currentColor;margin-inline-start:3px}
[dir="rtl"] .hero-ctrl--h1.is-paused .hc-disc .hc-pp{transform:scaleX(-1)}
.hc-disc:focus-visible{outline:3px solid #fff;outline-offset:1px;box-shadow:0 0 0 6px var(--ink)}
.hero-ctrl--h1 .hc-panel{display:flex;align-items:center;gap:2px;margin-inline-end:6px;padding:4px;border-radius:999px;background:var(--ctrl-glass);
  -webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);border:1px solid rgba(26,26,31,.1);box-shadow:0 12px 38px rgba(26,26,31,.18);
  max-width:calc(100vw - 96px);overflow:hidden;transform-origin:100% 50%;transition:opacity 240ms ease,transform 420ms var(--ease-out),visibility 0s}
[dir="rtl"] .hero-ctrl--h1 .hc-panel{transform-origin:0 50%}
.hero-ctrl--h1.hc-compact .hc-panel{opacity:0;transform:scaleX(.2);visibility:hidden;pointer-events:none;transition:opacity 180ms ease,transform 320ms var(--ease-out),visibility 0s 320ms}
.hero-ctrl--h1 .hc-play{margin-inline-end:2px;width:40px;height:40px}
.hero-ctrl--h1 .hc-play.is-paused .hc-pp{border:0;width:0;height:0;border-block:7px solid transparent;border-inline-start:12px solid currentColor;margin-inline-start:3px}
html:not(.anim) .hero-ctrl--h1{position:absolute;margin:0;justify-self:auto}
@media (max-width:700px){
  .hero-ctrl--h1 .hc-btn{display:none}
  .hero-ctrl--h1 .hc-panel{max-width:calc(100vw - 72px)}
}

/* ===================== F18 Our Work: bigger stage, 1–2 line headline, zoomable photo, no counters ===================== */
@media (min-width:701px){
  .work .h2 .hl{display:inline}
  .work .h2{font-size:clamp(2rem,min(3.6vw,6svh),3.75rem)}
  [lang="ar"] .work .h2{font-size:clamp(1.85rem,min(3.2vw,5.4svh),3.3rem)}
  .work .sec-head{align-items:end}
}
@media (min-width:1060px){
  .work .stage-fig{grid-column:1/9;height:clamp(300px,50svh,600px)}
  .work .thumb-img{aspect-ratio:2.2/1}
  .work .stage-info{justify-content:center}
  .work .stage-info h3{font-size:clamp(1.6rem,min(2.4vw,4.6svh),2.5rem);line-height:1.2}
}
@media (min-width:1060px) and (max-height:760px){.work .stage-fig{height:44svh}.work .thumb-img{aspect-ratio:2.6/1}}
@media (min-width:701px) and (max-width:1059px){.work .stage-fig{height:min(40svh,500px)}}
@media (max-width:700px){.work .stage-fig{height:28svh}}
@media (max-width:700px) and (max-height:800px){.work .stage-fig{height:25svh}}
.stage-zoom{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in;border-radius:inherit;color:inherit}
.stage-zoom:focus-visible{outline:3px solid var(--ink);outline-offset:-6px;box-shadow:inset 0 0 0 9px #fff}
.zoom-hint{position:absolute;inset-block-end:16px;inset-inline-end:16px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--ctrl-glass);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:var(--ink);box-shadow:0 8px 22px rgba(26,26,31,.2);transition:transform 300ms var(--ease-out),opacity 200ms ease}
.stage-zoom:hover .zoom-hint,.stage-zoom:focus-visible .zoom-hint{transform:scale(1.08)}
/* W2 slideshow control + progress (only in W2) */
.w-play,.w-prog{display:none}
html.w2:not(.rm) .w-play{position:absolute;z-index:2;inset-block-start:16px;inset-inline-end:16px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;
  background:var(--ink);color:#fff;cursor:pointer;box-shadow:0 6px 18px rgba(26,26,31,.28)}
.w-play .hc-pp{width:10px;height:12px;border-inline:3.5px solid currentColor}
.w-play[aria-pressed="true"] .hc-pp{border:0;width:0;height:0;border-block:6px solid transparent;border-inline-start:10px solid currentColor;margin-inline-start:3px}
[dir="rtl"] .w-play[aria-pressed="true"] .hc-pp{transform:scaleX(-1)}
.w-play:focus-visible{outline:3px solid #fff;outline-offset:1px;box-shadow:0 0 0 6px var(--ink)}
html.w2:not(.rm) .w-prog{position:absolute;z-index:2;inset-inline:18px;inset-block-end:8px;display:block;height:3px;border-radius:3px;background:rgba(255,255,255,.35);overflow:hidden;pointer-events:none}
.w-prog i{display:block;height:100%;width:100%;background:#fff;transform:scaleX(0);transform-origin:0 50%}
[dir="rtl"] .w-prog i{transform-origin:100% 50%}
.w-prog i.run{animation:w-prog var(--wdur,6s) linear forwards}
.w-prog i.held{animation-play-state:paused}
@keyframes w-prog{to{transform:scaleX(1)}}

/* ===================== F18 full-view viewer ===================== */
html.v-open{overflow:hidden}
.viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(26,26,31,.94);color:#fff;overflow:hidden}
.viewer::backdrop{background:rgba(26,26,31,.6)}
.viewer:not([open]){display:none}
.v-stage{position:absolute;inset:0 0 84px;display:grid;place-items:center;overflow:hidden;touch-action:none;cursor:zoom-in}
.viewer.is-zoomed .v-stage{cursor:grab}
.viewer.is-panning .v-stage{cursor:grabbing}
.v-img{max-width:calc(100% - 48px);max-height:calc(100% - 48px);width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none;transform-origin:50% 50%;will-change:transform;border-radius:18px}
.v-bar{position:absolute;inset-inline:0;inset-block-end:18px;margin-inline:auto;width:max-content;max-width:calc(100% - 24px);display:flex;align-items:center;gap:4px;padding:5px;border-radius:999px;
  background:rgba(255,255,255,.94);color:var(--ink);box-shadow:0 12px 38px rgba(0,0,0,.35)}
.v-bar button{display:grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.v-bar button:hover{background:rgba(26,26,31,.08)}
.v-bar button:disabled{color:rgba(26,26,31,.32);background:rgba(26,26,31,.05);cursor:not-allowed}
.v-bar button:focus-visible{outline:3px solid var(--ink);outline-offset:-3px}
.v-bar .v-close{background:var(--ink);color:#fff}
.v-bar .v-close:hover{background:#000}
.v-title{position:absolute;inset-block-start:18px;inset-inline-start:24px;margin:0;font-weight:700;font-size:17px;color:#fff;max-width:calc(100% - 48px)}

/* ===================== F20 closing: reduced motion keeps the static button (no burst) ===================== */

/* V5: the V4 F23 "Stage light" rules were removed (F27 new M2: refine-v5.css) */
.door-ph,.c2-ph{position:relative}

/* look-and-fix round 1: opened disc becomes a collapse "x" so Pause appears once (in the panel) */
.hc-disc::after{content:"";position:absolute;z-index:1;width:14px;height:14px;opacity:0;transition:opacity 200ms ease;
  background:linear-gradient(45deg,transparent 44%,currentColor 44%,currentColor 56%,transparent 56%),linear-gradient(-45deg,transparent 44%,currentColor 44%,currentColor 56%,transparent 56%)}
.hero-ctrl--h1.hc-open .hc-disc::after{opacity:1}
.hero-ctrl--h1 .hc-disc .hc-ring,.hero-ctrl--h1 .hc-disc .hc-pp,.hero-ctrl--h1 .hc-disc .hc-ico-photos{transition:opacity 200ms ease}
.hero-ctrl--h1.hc-open .hc-disc .hc-ring,.hero-ctrl--h1.hc-open .hc-disc .hc-pp,.hero-ctrl--h1.hc-open .hc-disc .hc-ico-photos{opacity:0}
.viewer{background:rgba(26,26,31,.97)}

/* impeccable polish: the W2 progress line stops before the zoom hint (bottom inline-end) instead of running under it */
html.w2:not(.rm) .w-prog{inset-inline:18px 72px;inset-block-end:12px}

/* QA fix: "fit" must fit. Percentage max-height does not resolve inside the grid stage, so bound the photo by the viewport */
.v-img{max-width:calc(100vw - 48px);max-height:calc(100dvh - 84px - 48px)}

/* ===================== V4 /qa accessibility fixes (A11Y_REPORT_V4) ===================== */
.v-bar .v-close:focus-visible{outline:3px solid var(--ink);outline-offset:2px}                 /* V4-02: outside the ink fill, on the white bar */
.v-stage{inset:60px 0 84px}                                                                     /* V4-11: title band above the photo */
.v-img{max-height:calc(100dvh - 144px - 48px)}
.v-title{z-index:2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:24px}
.v-stage:focus-visible{outline:3px solid #fff;outline-offset:-8px;border-radius:22px}          /* V4-03 */
.hero-ctrl--h1 .hc-dot i{background:rgba(26,26,31,.62)}                                        /* V4-06: >= 3:1 on the glass */
.hero-ctrl--h1 .hc-dot:hover i{background:rgba(26,26,31,.82)}
.hero-ctrl--h1 .hc-dot.is-on i{background:var(--orange)}
@media (max-width:700px){                                                                       /* V4-04: all 9 dots fit (25 px targets) */
  .hero-ctrl--h1 .hc-dot{width:25px}
  .hero-ctrl--h1 .hc-dot.is-on i{width:17px}
}
@media (max-width:359px){                                                                       /* V4-04: below 360 px, Previous/Next replace the dots */
  .hero-ctrl--h1 .hc-dots{display:none}
  .hero-ctrl--h1 .hc-btn{display:grid}
}

/* 50-refine-v5.css */
/* Encore refinement V5 layer (review prototype only). F25 centred nav morph · F27 new M2 (white-first).
   Encore tokens only: --ease-out cubic-bezier(.16,1,.3,1), --t-ui 420ms, ink #1A1A1F, orange #F05B41, teal #73C6AF, white. */

/* ===================== F25 nav: Encore's native centring (fit-content + auto margins) is restored; the V4 end-edge model is gone.
   The pill opens (is-hover) and closes symmetrically about its centre at every frame. ===================== */
@media (min-width:1060px){
  .nav{margin-inline:auto}
  /* critique P2: the links open to their measured width (refine-v5.js), so the whole 420 ms morph is visible */
  .nav .nav-links,.nav.is-compact.is-hover .nav-links{max-width:var(--nav-links-w,620px)}
  /* Assessment B: keyboard focus rings on the links are no longer clipped by the width animation */
  .nav .nav-links{overflow:clip;overflow-clip-margin:6px}
}
/* F25-2: the hover-open pill reproduces the top composition exactly, including Encore's narrower gap below 1181 px */
@media (min-width:1060px) and (max-width:1180px){.nav.is-compact.is-hover .nav-pill{gap:16px}}

/* ===================== F27 M2 (fine pointer + html.m2 + motion allowed; otherwise identical to M1) =====================
   Targets: Work photo frame, Work thumbnails, closing apertures, Ask C2 photo (Teams doors excluded, critique P1). Nothing tracks the cursor;
   each frame reacts to the pointer entering it, from the edge it entered (data-m2-in = t|r|b|l). Frames and click targets never move. */
html.m2:not(.rm) .m2f{--m2-o:50% 50%}
html.m2:not(.rm) .m2f[data-m2-in="t"]{--m2-o:50% 0%}
html.m2:not(.rm) .m2f[data-m2-in="b"]{--m2-o:50% 100%}
html.m2:not(.rm) .m2f[data-m2-in="l"]{--m2-o:0% 50%}
html.m2:not(.rm) .m2f[data-m2-in="r"]{--m2-o:100% 50%}

/* ---- A · Passe-partout (provisional M2). Independent critique + impeccable Assessment A refinements:
   the mat is an overlay ring ABOVE the photo (inset white + a 1 px bevel line at its inner edge, like a cut matboard), following each
   frame's own radius (arches included). The frame's ink ground is untouched (no blanching during W2 crossfades); the photo leans in
   1.012 under the ring; a hairline sized to the case title draws in 700 ms. Fully reversible transitions. ---- */
.m2-mat{position:absolute;inset:0;z-index:1;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 0 0 0 #fff,inset 0 0 0 0 rgba(26,26,31,0);transition:box-shadow 520ms cubic-bezier(.16,1,.3,1)}
html:not(.m2s-a) .m2-mat,html.rm .m2-mat{display:none}
html.m2.m2s-a:not(.rm) .m2f.m2-on > .m2-mat,html.m2.m2s-a:not(.rm) .m2f.m2-on .thumb-img > .m2-mat{
  box-shadow:inset 0 0 0 var(--m2-mat,12px) #fff,inset 0 0 0 calc(var(--m2-mat,12px) + 1px) rgba(26,26,31,.18)}
html.m2.m2s-a:not(.rm) .m2f img{transition:transform 620ms cubic-bezier(.16,1,.3,1);transform-origin:50% 50%}
html.m2.m2s-a:not(.rm) .m2f.m2-on img{transform:scale(1.012)}
html.m2.m2s-a:not(.rm) .work .thumb{--m2-mat:5px}
html.m2.m2s-a:not(.rm) .work .thumb[aria-pressed="true"].m2-on .m2-mat{box-shadow:inset 0 0 0 0 #fff,inset 0 0 0 0 rgba(26,26,31,0)}   /* the orange ring is the selected thumb's mat */
html.m2.m2s-a:not(.rm) .cta-aps .cap.m2f{--m2-mat:4px}
html.m2.m2s-a:not(.rm) .c2-ph.m2f{--m2-mat:12px}
.work .stage-fig .zoom-hint,.work .stage-fig .w-play,.work .stage-fig .w-prog,.work .stage-fig .stage-zoom::after{z-index:2}
.work .stage-fig .m2-mat{border-radius:36px}
html.m2.m2s-a:not(.rm) .work .stage-label{position:relative;width:fit-content}
html.m2.m2s-a:not(.rm) .work .stage-label::after{content:"";position:absolute;inset-inline:0;inset-block-end:-7px;height:1px;background:currentColor;opacity:.55;transform:scaleX(0);transform-origin:0 50%;transition:transform 700ms cubic-bezier(.4,0,.2,1);pointer-events:none}
html.m2.m2s-a:not(.rm)[dir="rtl"] .work .stage-label::after{transform-origin:100% 50%}
html.m2.m2s-a:not(.rm) .work .gal.m2-stage-on .stage-label::after{transform:scaleX(1)}

/* ---- B · Aperture: Encore's arch is the gesture. The hovered photo's top corners rise into the aperture curve; the photo eases in
   1.04 inside the fixed frame. Booking arrows (glyph only) step 4px forward; labels and boxes never move. ---- */
html.m2.m2s-b:not(.rm) .m2f{transition:background-color 420ms cubic-bezier(.16,1,.3,1)}
html.m2.m2s-b:not(.rm) .m2f.m2-on{background-color:#fff}   /* round 2: the clipped corners show white, never the ink ground */
html.m2.m2s-b:not(.rm) .m2f img{transition:clip-path 560ms cubic-bezier(.16,1,.3,1),transform 640ms cubic-bezier(.16,1,.3,1);clip-path:inset(0 round 0 0 0 0);transform-origin:var(--m2-o)}
html.m2.m2s-b:not(.rm) .m2f.m2-on img{clip-path:inset(0 round 50% 50% 0 0 / 46% 46% 0 0);transform:scale(1.04)}
html.m2.m2s-b:not(.rm) .work .thumb.m2-on .thumb-img img{clip-path:inset(0 round 50% 50% 0 0 / 42% 42% 0 0)}
html.m2.m2s-b:not(.rm) .cta-aps .cap.m2f.m2-on img,html.m2.m2s-b:not(.rm) .c2-ph.m2f.m2-on img{clip-path:inset(0 round 0);transform:scale(1.06)}
html.m2.m2s-b:not(.rm) .btn .arr{transition:transform 280ms cubic-bezier(.16,1,.3,1)}
html.m2.m2s-b:not(.rm) .btn:hover .arr{transform:translateX(4px)}
html.m2.m2s-b:not(.rm)[dir="rtl"] .btn:hover .arr{transform:scaleX(-1) translateX(4px)}

/* ---- C · Registration: stage registration marks (orange corner ticks) draw in from the entry side and a teal hairline frames the
   photo at a 6px offset; the photo itself never moves. ---- */
html.m2.m2s-c:not(.rm) .m2f{outline:1px solid rgba(115,198,175,0);outline-offset:6px;transition:outline-color 360ms ease}
html.m2.m2s-c:not(.rm) .m2f.m2-on{outline-color:rgba(115,198,175,.95)}
.m2-reg{position:absolute;inset:14px;z-index:2;pointer-events:none;opacity:0;transform:scale(.94);transform-origin:var(--m2-o,50% 50%);
  transition:opacity 260ms ease,transform 460ms cubic-bezier(.16,1,.3,1);
  --t:#F05B41;background:
    linear-gradient(var(--t),var(--t)) 0 0/22px 2px no-repeat,linear-gradient(var(--t),var(--t)) 0 0/2px 22px no-repeat,
    linear-gradient(var(--t),var(--t)) 100% 0/22px 2px no-repeat,linear-gradient(var(--t),var(--t)) 100% 0/2px 22px no-repeat,
    linear-gradient(var(--t),var(--t)) 0 100%/22px 2px no-repeat,linear-gradient(var(--t),var(--t)) 0 100%/2px 22px no-repeat,
    linear-gradient(var(--t),var(--t)) 100% 100%/22px 2px no-repeat,linear-gradient(var(--t),var(--t)) 100% 100%/2px 22px no-repeat}
html.m2.m2s-c:not(.rm) .m2f.m2-on > .m2-reg,html.m2.m2s-c:not(.rm) .m2f.m2-on .thumb-img > .m2-reg{opacity:1;transform:none}
html:not(.m2s-c) .m2-reg,html.rm .m2-reg{display:none}
.work .thumb-img{position:relative}

/* every M2 rule is inert without the gate; reduced motion and coarse pointers never get .m2-on (JS) */
@media (prefers-reduced-motion:reduce){html.m2 .m2f img{animation:none!important;transition:none!important}}

/* V5 /qa a11y: V5-01 no link hover highlight until the pointer moves after the morph; V5-03 Escape-dismissed keyboard expansion */
.nav.nav-hold .nav-links a:hover{background:transparent}
.nav.is-compact.nav-dismissed .nav-links{max-width:0;opacity:0;pointer-events:none;visibility:hidden}
.nav.is-compact.nav-dismissed .nav-pill{gap:10px}

/* ===================== D2 · N2 centred-logo navigation (desktop >= 1060 px; phones keep the existing menu) =====================
   The official English logo sits at the exact centre and never moves; two balanced sides (1fr | logo | 1fr, equal by grid sizing)
   carry language + first links (start) and remaining links + Book Your Event (end). Expansion and collapse are symmetric about
   the logo because the grid keeps both sides as wide as the wider one at every frame. */
@media (min-width:1060px){
  html.n2 .nav-pill{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:var(--n2-gap,22px);padding-inline:12px}
  html.n2 .n2-side{display:flex;align-items:center;gap:6px;min-width:0}
  html.n2 .n2-start{justify-content:flex-end}
  html.n2 .n2-end{justify-content:flex-start}
  html.n2 .nav-brand{grid-column:2;justify-self:center}
  html.n2 .nav-pill{transition:column-gap var(--t-ui) var(--ease-out)}
  html.n2 .nav.is-compact:not(.is-hover):not(:has(:focus-visible)) .nav-pill{column-gap:12px}
  html.n2 .n2-end .nav-end{gap:8px}
  html.n2 .nav.is-compact.is-hover .nav-pill{gap:0 var(--n2-gap,22px)}   /* the V4 flex gap rule must not widen the N2 grid */
}
@media (min-width:1060px) and (max-width:1180px){html.n2 .nav-pill{--n2-gap:14px}}
@media (max-width:1059px){html.n2 .n2-side{display:contents}html.n2 .n2-start .nav-lang{display:none}}

/* D2 critique fixes: N2 mirrored outer slots, coarse-pointer Menu slot, N1 language hover hold, pill-shaped logo focus ring */
@media (min-width:1060px){
  html.n2 .n2-start > .nav-lang,html.n2 .n2-start > .nav-menu{margin-inline-end:auto}
  html.n2 .n2-end > .nav-end{margin-inline-start:auto}
}
@media (min-width:1060px) and (hover:none),(min-width:1060px) and (pointer:coarse){
  html.n2 .nav.is-compact .n2-start > .nav-lang{display:none}
}
.nav.nav-hold .nav-lang:hover{background:transparent}
.nav-brand:focus-visible{border-radius:999px}

/* QA-001: reduced motion keeps a visibility-only delay on the compact collapse so Tab between nav items never drops focus to <body> */
html.rm .nav:not(:has(:focus-visible)).is-compact .nav-links{transition:visibility 0s 120ms!important}
@media (prefers-reduced-motion:reduce){.nav:not(:has(:focus-visible)).is-compact .nav-links{transition:visibility 0s 120ms!important}}

/* 60-refine-v6.css */
/* Encore V6 layer: final configuration (F29-F37). Tokens from DESIGN.md only; no new colours, fonts or radii.
   Loaded after refine-v5.css. Source: tools/v6_layers/refine-v6.css (copied by tools/build_v6.py). */


/* ---------------------------------------------------------------- F31: AR only, last front frame turned 180 deg (photo pixels untouched) */
[dir="rtl"] .collage--front .ph--f4{border-radius:999px var(--r-ap) var(--r-ap) var(--r-ap)}
[dir="rtl"] .collage--front .ph--f4 img{transform:none}

/* ---------------------------------------------------------------- F32: three service panels with sub-item lists */
.services .svc-lede{margin-top:clamp(10px,1.6svh,18px);max-width:34em}
.services .panel-body{gap:clamp(10px,1.6svh,16px)}
.services .pitems{display:grid;gap:clamp(8px,1.3svh,14px);margin:0;padding:0;list-style:none;max-width:36em}
.services .pitems li{font-size:clamp(1rem,min(1.12vw,2.1svh),1.125rem);line-height:1.5;color:rgba(255,255,255,.95);text-shadow:0 1px 14px rgba(0,0,0,.55)}
.services .pitems b{display:block;font-weight:700;color:#fff}
.services .panel.is-open{flex-grow:2.6}
.services .ptitle{max-width:14em;font-size:clamp(1.6rem,min(2.4vw,4.6svh),2.6rem)}   /* UI-05: never outranks the section H2 */
.services .panel.is-open::after{background:linear-gradient(to top,rgba(14,14,20,.92),rgba(14,14,20,.74) 50%,rgba(14,14,20,.3) 78%,rgba(14,14,20,0))}   /* UI-03: the V6 lists lift the title; keep it on the scrim */
@media (min-width:1060px){.services .sec-head .hint{flex:none;margin-inline-start:auto}}   /* UI-04: pin the hint to the inline-end edge */
@media (min-width:1060px){.services .panels{height:min(54svh,600px)}}   /* the V6 lede adds a line: keep the scene inside one viewport */
@media (max-width:899px){.services .panel.is-open::after{background:linear-gradient(to top,rgba(14,14,20,.94),rgba(14,14,20,.78) 50%,rgba(14,14,20,.3) 80%,rgba(14,14,20,.5))}}   /* DR-004: the V5 <=899 tier keeps a .5 top band behind the panel number; UI-03 above had only restored it at <=700 */
@media (max-width:1059px){
  .services .panel.is-open{min-height:0}
  .services .panel.is-open .panel-body{position:relative;padding-top:clamp(72px,10svh,96px)}
}

/* ---------------------------------------------------------------- F35: clients marquee (compact bar, not a 100svh scene) */
.clients{position:relative;background:#fff;padding-top:calc(var(--nav-clear) + 10px);padding-bottom:0}   /* UI-01: the closing scene's own top padding gives the matching gap */   /* same nav clearance as the scenes: the bar's top is a settle stop */
.clients-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:clamp(14px,2.6svh,26px)}
.clients-h{margin:0;font-size:clamp(1.6rem,min(2.8vw,4.6svh),2.6rem);font-weight:700;line-height:1.15;letter-spacing:-.02em;color:var(--ink)}
[lang="ar"] .clients-h{letter-spacing:0;line-height:1.35}
.mq-pp{flex:none;position:relative;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--ink);color:#fff;cursor:pointer;transition:background-color .2s ease}
.mq-pp::before{content:"";position:absolute;inset:-4px;border-radius:50%}   /* UI-07: 44 px hit area around the 36 px H1-disc grammar */
.mq-pp svg{width:16px;height:16px}
@media (min-width:1060px){.clients-head{justify-content:flex-start;gap:20px}}
.mq-pp:hover{background:#000}
.mq-pp:focus-visible{outline:3px solid var(--orange-text);outline-offset:3px}
.mq-pp[hidden]{display:none}   /* FE-11: [hidden] must win over display:grid */
.clients-h:focus{outline:none}
.clients-h:focus-visible{outline:3px solid var(--orange-text);outline-offset:4px}
.mq-pp .i-play{display:none}
.mq-pp[aria-pressed="true"] .i-play{display:block}
.mq-pp[aria-pressed="true"] .i-pause{display:none}
.mq{--mq-h:56px;--mq-gap:96px;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.mq-track{display:flex;width:max-content;animation:mq-ltr var(--mq-dur,60s) linear infinite;will-change:transform}
[dir="rtl"] .mq-track{animation-name:mq-rtl}
.mq-group{display:flex;align-items:center;flex:none;gap:var(--mq-gap);margin:0;padding:6px 0;padding-inline-end:var(--mq-gap);list-style:none}
.mq-group li{flex:none;display:flex;align-items:center;justify-content:center;height:calc(var(--mq-h) * 1.25)}
.mq-group img{display:block;height:calc(var(--mq-h) * var(--s,1));width:calc(var(--mq-h) * var(--s,1) * var(--a,2));max-width:none;object-fit:contain}
.mq.is-paused .mq-track{animation-play-state:paused}
@keyframes mq-ltr{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes mq-rtl{from{transform:translateX(0)}to{transform:translateX(50%)}}
@media (min-width:701px) and (max-width:1059px){.mq{--mq-h:48px;--mq-gap:72px}}
@media (max-width:700px){.mq{--mq-h:44px;--mq-gap:56px}}
/* reduced motion: one static, wrapped row set; no clone, no control */
.mq.mq--static,html.rm .mq{-webkit-mask-image:none;mask-image:none}
.mq.mq--static .mq-track,html.rm .mq-track{animation:none;width:auto}
.mq.mq--static .mq-group[aria-hidden="true"],html.rm .mq-group[aria-hidden="true"]{display:none}
.mq.mq--static .mq-group,html.rm .mq-group{flex:1;flex-wrap:wrap;justify-content:center;gap:clamp(14px,2svh,24px) clamp(32px,4vw,64px);padding-inline:0}
html.rm .mq-pp{display:none}
/* UI-13 declined: a 3-column grid clips the widest lockups at 390 (evidence/build-v6/fit_probe_UI13_RED.txt); the centred wrap stays */
@media (prefers-reduced-motion:reduce){
  .mq{-webkit-mask-image:none;mask-image:none}
  .mq-track{animation:none;width:auto}
  .mq-group[aria-hidden="true"]{display:none}
  .mq-group{flex:1;flex-wrap:wrap;justify-content:center;gap:clamp(14px,2svh,24px) clamp(32px,4vw,64px);padding-inline:0}
  .mq-pp{display:none}
}

/* ---------------------------------------------------------------- F36: graduated row of 7 (tallest at the centre) */
.cta-aps[data-n="7"]{width:min(960px,100%,128svh)}
.cta-aps[data-n="7"] .cap:nth-child(1),.cta-aps[data-n="7"] .cap:nth-child(7){--g:.66;border-radius:50% 50% 18px 18px / 35% 35% 18px 18px}   /* UI-08: 999px tops forced the 18px feet to ~0.6px */
.cta-aps[data-n="7"] .cap:nth-child(2),.cta-aps[data-n="7"] .cap:nth-child(6){--g:.8;border-radius:22px}
.cta-aps[data-n="7"] .cap:nth-child(3),.cta-aps[data-n="7"] .cap:nth-child(5){--g:.96;border-radius:22px}
.cta-aps[data-n="7"] .cap:nth-child(4){--g:1.18;border-radius:28px}
@media (max-height:760px) and (min-width:1060px){.cta-aps[data-n="7"]{width:min(960px,100%,108svh)}}

/* UI-01b (DESIGN.md V6 F10 amendment): below 1060 px the closing scene follows the logo bar top-aligned, not centred in a tall viewport */
@media (max-width:1059px){#clients + .cta{min-height:0;align-content:start;justify-content:flex-start;padding-top:calc(var(--nav-clear) + clamp(16px,3svh,32px));padding-bottom:clamp(64px,9svh,96px)}   /* room for the CTA shadow under overflow:clip */}

/* ---------------------------------------------------------------- F37: C2 photo without caption chip */
.ask .c2-ph img{object-position:50% 52%}
@media (min-width:701px) and (max-width:1059px){.ask .c2-ph{height:auto;aspect-ratio:12/5}.ask .c2-ph img{object-position:50% 38%}}   /* UI-11 */
@media (max-width:700px){.ask .c2-ph{height:auto;aspect-ratio:1/1;max-height:46svh}.ask .c2-ph img{object-position:50% 58%}}   /* UI-10: the message reads at 360 */

/* ---------------------------------------------------------------- phase 9 design-review fixes */
/* DR-001: footer social links keep the 36px visual circle; an invisible ::before gives each a 44px hit area.
   An 8px gap means neighbouring hit areas meet but never overlap. Below 360px: 4px gap, 40px hit area. */
.socials--foot{gap:8px}
.socials--foot .soc{position:relative}
.socials--foot .soc::before{content:"";position:absolute;inset:-5px;border-radius:50%}   /* the 1px border sits outside the padding box: 34 + 2×5 = 44px */
@media (max-width:359px){.socials--foot{gap:4px}.socials--foot .soc::before{inset:-3px}}
/* DR-002: a pressed state on every button and icon control. No transition: it shows on press and clears on release. */
.btn:active,.round:active,.mq-pp:active,.w-play:active,.hc-disc:active,.hc-play:active,.sheet-close:active,.qd-close:active,.nav-menu:active,.tbtn:active,.panel-btn:active,.stage-zoom:active,.thumb:active,.soc:active{filter:brightness(.88)}
.soc:active{transform:translateY(0)}   /* undoes the 2px hover lift: the link drops back as it is pressed */

/* ---------------------------------------------------------------- phase 11 /qa accessibility fixes */
/* A11Y H-1 (2.4.7): the selected Work thumbnail's pressed ring (4px white + 3px orange) was painted over its focus outline, so the
   focused selected thumbnail looked unfocused. Keyboard focus now adds an ink band outside the pressed ring. */
.thumb[aria-pressed="true"]:focus-visible{outline-color:transparent}
.thumb[aria-pressed="true"]:focus-visible .thumb-img{box-shadow:0 0 0 4px #fff,0 0 0 7px var(--orange),0 0 0 10px var(--ink)}
/* on phones the thumb row is a scroll container that clips outside ~6px, so the indicator also sits inside the photo, above it */
.work .thumb-img{position:relative}
.thumb[aria-pressed="true"]:focus-visible .thumb-img::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;box-shadow:inset 0 0 0 3px var(--ink),inset 0 0 0 5px #fff;pointer-events:none}
/* A11Y M-1 (2.4.11): the fixed nav pill covered controls that the browser scrolled to the top edge on Shift+Tab.
   Focus scrolling keeps focusable controls clear of the pill; anchor landings target sections, which are not matched. */
main :is(a[href],button,input,select,textarea,summary,[tabindex]:not([tabindex="-1"])),footer :is(a[href],button){scroll-margin-top:96px}
@media (max-width:700px){main :is(a[href],button,input,select,textarea,summary,[tabindex]:not([tabindex="-1"])),footer :is(a[href],button){scroll-margin-top:84px}}
/* EC-02 (AG-3 no clipping): at 320 px "What Wnees sees" was ~1px wider than its half of the About selector and touched the pill's
   border. The size cannot drop (white on #F05B41 must stay >= 18.66px bold), so below 360px the labels may wrap to two lines;
   the 62px control height already holds two lines. */
@media (max-width:359px){.house .tbtn{white-space:normal;line-height:1.1;text-align:start;gap:6px}}

/* 70-v7.css */
/* Encore V7 layer: final corrections F38–F47 (SPEC.md §3, docs/V7_PLAN_AMENDMENTS.md AM-08..AM-13) and the production form states.
   Loaded last; every rule names its requirement. Colours, type, radii and motion are the approved tokens only. */

/* F38-3 / AM-13: the dot travels with the first word; separators never start a line (NBSP before each "|" in the markup). */
/* F38-3 / AM-13: the hero eyebrow flows as ONE text run (block, not flex), so it wraps like a sentence: the dot and the first word stay
   together (nowrap wrapper), and &nbsp; before each | keeps a bar from starting a line. The dot keeps its V6 size, shadow and 10px gap. */
.hero-eyebrow{display:block}
.hero-eyebrow .eb-first{white-space:nowrap}
.hero-eyebrow .dot{display:inline-block;vertical-align:middle;position:relative;top:-.08em;margin-inline-end:10px}

/* F39-2 / AM-08, AM-08a: AR only. The last frame of the front composition is re-oriented from its V6 state (it ends as the mirror of EN):
   V6 = large curve top-left (999px r r r). Owner direction 2026-12-03: large curve bottom-left (r r r 999px), the mirror of EN
   (bottom-right). Only the frame's corner radii change;
   the photograph keeps transform:none (upright). EN is unchanged. */
[dir="rtl"] .collage--front .ph--f4{border-radius:var(--r-ap) var(--r-ap) var(--r-ap) 999px}   /* owner 2026-12-03: large curve bottom-left, the mirror of EN (bottom-right) */
[dir="rtl"] .collage--front .ph--f4 img{transform:none}

/* F40-1 / AM-10: the conjunction "و" in ink, "ونيس واحد" stays orange (em). */
.services #svc-h .conj{color:var(--ink)}

/* F40-2 / AM-11: the lede now sits beside the headline (flex sibling in .sec-head), on the opposite inline side, aligned to the
   headline block's end. Below 1060px it stacks under the headline (existing .sec-head column rules). */
@media (min-width:1060px){
  .services .sec-head{align-items:flex-end;gap:clamp(24px,4vw,64px)}
  .services .sec-head>div{flex:0 1 60%}
  .services .sec-head>.svc-lede{flex:0 1 36ch;max-width:36ch;margin-top:0;padding-bottom:.5em}
}
/* F40-4 / AM-11: the space the hint used goes to the cards (V6: min(54svh,600px) desktop; min(380px,32svh) tablet). */
/* Desktop: the section is exactly one viewport tall and the cards take whatever the head leaves (AR's two-line head included),
   capped at 700px, so the scene always fits (fit probe F40-4) and the cards are as large as the viewport allows. */
@media (min-width:1060px){.sec.services{height:100svh}.sec.services>.wrap{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:center}.services .panels{flex:1 1 0;min-height:0;height:auto;max-height:700px}}
@media (min-width:701px) and (max-width:1059px){.services .panels{--open-h:min(420px,36svh)}}
/* F40-2 below 1060px (frontend review FE-01): the V3 tablet rule makes every .sec-head a row; Services stacks its lede under the
   headline instead, with the V6 lede spacing. */
@media (min-width:701px) and (max-width:1059px){.services .sec-head{flex-direction:column;align-items:flex-start}.services .sec-head>.svc-lede{flex:none;max-width:34em;padding-bottom:0;margin-top:clamp(10px,1.6svh,18px)}}

/* V7 (V6 deferred A11Y L-3, WCAG 2.4.7/2.4.11): an element still mid-reveal is shown at once when it contains keyboard focus.
   !important outranks the running reveal animation in the cascade. */
html.anim [data-reveal]:focus-within,html.anim [data-reveal="stagger"]>*:focus-within{opacity:1!important;transform:none!important;clip-path:none!important}

/* F41 / AM-09, AM-11: Work caption hierarchy = logo, client (bold), event (bold, smaller), type. */
.work .stage-id{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.work .stage-logo{display:block;height:40px;width:auto;max-width:min(240px,70%);object-fit:contain;object-position:left center}
[dir="rtl"] .work .stage-logo{object-position:right center}
.work .stage-label{display:flex;flex-direction:column;gap:.18em}
.work .stage-client{font-weight:700}
.work .stage-event{font-weight:700;font-size:.85em;color:var(--ink)}
.work .stage-svc{font-weight:400}
@media (max-width:700px){.work .stage-logo{height:32px}.work .stage-id{gap:6px}}
/* W2 "Work fits one viewport" (V6 F18-1) on short phones: the four-part F41 caption is ~6px taller than V6's, so its gaps tighten there.
   The 32px logo (AM-09) is unchanged. */
@media (max-width:700px) and (max-height:820px){.work .stage-id{gap:4px}.work .stage-label{gap:.06em}}

/* F43 / F44: legal statement, then the copyright line at the very bottom. */
.foot .foot-legal{grid-column:1/-1}
.foot .foot-copy{grid-column:1/-1;font-weight:400;font-size:15px;color:var(--ink-2)}

/* A11Y F-05: when the dialog is taller than the viewport, Chromium makes it a focusable scroller; draw its focus ring inside */
dialog.qd:focus-visible{outline:3px solid var(--ink);outline-offset:-6px}
/* Design review DR-V7-01: the banner is scrolled into view below the dialog's sticky 76px bar, so its message is never hidden under it.
   DR-V7-02: the reference (WN-YYMMDD-XXXXXX) never breaks at its hyphens. */
.qd-status{scroll-margin-top:92px}
[data-qd-ref]{white-space:nowrap}

/* F45 / API §6: production form states. */
.qd-form .hp{position:absolute;inset-inline-start:-10000px;width:1px;height:1px;overflow:hidden}
.qd-status{margin:0 0 14px;padding:12px 16px;border-radius:14px;border:2px solid currentColor;font-size:15.5px;line-height:1.5}
.qd-status[data-kind="error"]{color:var(--orange-text,#C2361F);background:#fff}
.qd-status[data-kind="wait"]{color:var(--ink-2)}
.qd-status .qd-retry{margin-top:10px}
.qd-form [type="submit"][aria-disabled="true"]{opacity:.7;cursor:progress}
.qd-form .qd-spin{display:none;width:18px;height:18px;border-radius:50%;border:2px solid currentColor;border-inline-end-color:transparent}
.qd-form[aria-busy="true"] .qd-spin{display:inline-block;animation:qd-spin .8s linear infinite}
@keyframes qd-spin{to{transform:rotate(1turn)}}
@media (prefers-reduced-motion:reduce){.qd-form[aria-busy="true"] .qd-spin{animation:none}}
.qd-privacy{margin-top:12px;font-size:14px;color:var(--ink-2)}
.qd-sent [data-qd-ref]{font-weight:700;direction:ltr;unicode-bidi:isolate}

/* R-10 (V6 L-6, V7 A11Y F-07): white text over photos keeps >= 3:1 against the lightest 5% of the photo behind it, measured
   without its text-shadow (tools/v7_r10_contrast_probe.js). Only the existing gradients behind the text get denser; colours,
   type, layout and images are unchanged. Hero caption: same dark ramp, held higher behind the second and third lines. */
.core-cap{background:linear-gradient(to top,rgba(14,14,20,.8),rgba(14,14,20,.58) 55%,rgba(14,14,20,0))}
/* Services on phones (<= 899 px): the open panel's scrim keeps its shape; the band behind the lifted title is darker */
@media (max-width:899px){.services .panel.is-open::after{background:linear-gradient(to top,rgba(14,14,20,.94),rgba(14,14,20,.8) 50%,rgba(14,14,20,.62) 80%,rgba(14,14,20,.62))}}
