@import url("/arabic-type.css");
/* One navigation identity across the immersive home and reading pages. */
.page-header{padding:22px 28px;gap:20px;align-items:center}
.page-header .brand .full-lockup{width:140px;height:auto}
.page-header .header-actions{margin-inline-start:auto;gap:12px}
.page-header .contact-link{min-height:46px;padding:0 22px;border:0;border-radius:999px;background:#0e0e0e;color:#fff;font-size:13px;white-space:nowrap;text-decoration:none}
.dark .page-header .contact-link{background:#f1f3f8;color:#0e0e0e}
.page-header .site-menu summary{box-sizing:border-box;min-width:112px;min-height:46px;padding:0 18px;gap:24px;justify-content:space-between;border:1px solid #15161726;border-radius:999px;background:#f1f3f8;color:#0e0e0e;font-size:13px}
.native-nav-glyph{position:relative;width:19px;height:18px;transform:none!important}
.native-nav-glyph:before,.native-nav-glyph:after{content:'';position:absolute;left:0;top:5px;width:19px;height:1.5px;background:currentColor;transition:transform .2s}
.native-nav-glyph:after{top:11px}
.site-menu[open] .native-nav-glyph:before{transform:translateY(3px) rotate(45deg)}
.site-menu[open] .native-nav-glyph:after{transform:translateY(-3px) rotate(-45deg)}
#site-menu,.site-menu nav{width:min(590px,calc(100vw - 56px));max-height:calc(100svh - 108px);padding:26px 36px;overflow:auto;background:#f1f3f8;color:#0e0e0e;border:0;box-shadow:0 18px 60px #0002;border-radius:0}
.site-menu nav{top:60px;right:0;left:auto}
/* Keep the native disclosure visible through its closing transition. */
@media(prefers-reduced-motion:no-preference){
 @supports selector(details::details-content){
  .site-menu::details-content{transition:content-visibility 200ms allow-discrete}
  .site-menu nav{clip-path:inset(0 0 100%);transition:clip-path 200ms cubic-bezier(.22,1,.36,1)}
  .site-menu[open] nav{clip-path:inset(0);transition-duration:320ms}
  @starting-style{.site-menu[open] nav{clip-path:inset(0 0 100%)}}
 }
 @supports not selector(details::details-content){
  .site-menu[open] nav{animation:menu-drop-in 320ms cubic-bezier(.22,1,.36,1)}
  @keyframes menu-drop-in{from{clip-path:inset(0 0 100%)}to{clip-path:inset(0)}}
 }
}
[dir=rtl] .site-menu nav{right:auto;left:0}
#site-menu>a,.site-menu nav>.menu-link{display:flex;align-items:center;justify-content:flex-start;gap:16px;min-height:52px;padding:9px 0;margin:0;border-bottom:1px solid #171b1c24;font-size:clamp(25px,2vw,32px);font-weight:400;line-height:1.18;letter-spacing:-.025em;text-decoration:none}
#site-menu>a small,.site-menu nav>.menu-link small{width:22px;flex:0 0 22px;font-size:10px;letter-spacing:.08em;color:#66706d}
.site-menu nav>.menu-link[aria-current=page]:after{content:'';display:inline-block;width:1em;height:1em;background:currentColor;-webkit-mask:var(--yms-arrow-mask) center/contain no-repeat;mask:var(--yms-arrow-mask) center/contain no-repeat;margin-inline-start:auto;font-size:26px}
.menu-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;margin:0 0 16px;color:#66706d}
#site-menu .menu-language,.site-menu nav .menu-language{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding-top:12px;border-top:1px solid #171b1c24;font-size:12px}
#site-menu .menu-language>a,.site-menu nav .menu-language>a{display:flex;align-items:center;gap:14px;min-height:44px;padding:6px 12px;font-size:17px;border:1px solid #171b1c30;border-radius:999px;text-decoration:none;letter-spacing:0}
.service-index{gap:24px;padding-bottom:60px}
.service-index .text-link{align-items:flex-start;min-height:100px;padding:22px 0;font-size:clamp(20px,1.65vw,26px);line-height:1.35;letter-spacing:-.02em}
@media(max-width:760px){
 .page-header{padding:18px 19px;gap:10px}.page-header .brand .full-lockup{width:112px}.page-header .header-actions{gap:8px}.page-header .contact-link{padding:0 13px;min-height:44px;font-size:11px}.page-header .site-menu summary{min-width:88px;min-height:44px;padding:0 13px;gap:12px;font-size:12px}
 #site-menu,.site-menu nav{width:calc(100vw - 38px);max-height:calc(100svh - 104px);padding:20px}.site-menu nav{top:57px}
 #site-menu>a,.site-menu nav>.menu-link{font-size:24px;min-height:48px;gap:12px;padding:8px 0}
 .service-index{grid-template-columns:1fr 1fr;gap:16px 24px}.service-index .text-link{font-size:20px;min-height:90px;padding:18px 0}
}
@media(max-width:350px){.page-header .brand .full-lockup{width:90px}.page-header{padding-inline:14px}.page-header .contact-link{padding-inline:10px;font-size:10px}.page-header .site-menu summary{min-width:78px;padding-inline:10px}.service-index{grid-template-columns:1fr}.service-index .text-link{min-height:64px}}
@media(prefers-reduced-motion:reduce){.native-nav-glyph:before,.native-nav-glyph:after{transition:none}}

/* Keep the label level; only the two-line glyph changes shape. */
.site-menu[open] summary .native-menu-label{transform:none}
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{font-family:"YMS Arabic", "Segoe UI", Arial, sans-serif;letter-spacing:0}
@media(max-width:760px){.service-index{grid-template-columns:1fr}.service-index .text-link{min-height:64px;font-size:22px;padding:17px 0}}

/* Distinct tap targets for adjacent editorial actions. */
.editorial>div>.text-link{margin-inline-end:24px}
@media(max-width:650px){.editorial>div>.text-link{display:table;margin-inline-end:0;margin-top:18px;max-width:100%}}

/* Arabic reading rhythm: native Arabic glyphs, no Latin tracking. */
html[lang=ar] body{font-family:"YMS Arabic", "Segoe UI", Arial, sans-serif;font-size:18px;line-height:1.8;letter-spacing:0}
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3{font-family:"YMS Arabic", "Segoe UI", Arial, sans-serif;line-height:1.35;letter-spacing:0}
html[lang=ar] p,html[lang=ar] li{line-height:1.8}
html[lang=ar] .eyebrow,html[lang=ar] .menu-label{letter-spacing:0}
html[lang=ar] .site-menu nav>.menu-link{font-size:clamp(30px,3vw,46px);line-height:1.4}
@media(max-width:760px){html[lang=ar] body{font-size:17px}html[lang=ar] .site-menu nav>.menu-link{font-size:29px}}

html[lang=ar] p,html[lang=ar] li,html[lang=ar] label{letter-spacing:0}
html[lang=ar] .project-summary,html[lang=ar] .deliverables li,html[lang=ar] .service-scope p{font-size:18px}
html[lang=ar] .text-link,html[lang=ar] .service-scope .text-link{font-size:17px;line-height:1.7}
html[lang=ar] label,html[lang=ar] .enquiry-note,html[lang=ar] .eyebrow{font-size:15px;line-height:1.7}
@media(max-width:760px){html[lang=ar] .project-summary,html[lang=ar] .deliverables li,html[lang=ar] .service-scope p{font-size:17px}}

html[lang=ar] .restored-footer .sf-group a,html[lang=ar] .restored-footer .sf-identity p,html[lang=ar] .restored-footer .sf-conversation p{font-size:17px;line-height:1.8;letter-spacing:0}
html[lang=ar] .restored-footer .sf-large{letter-spacing:0;line-height:1.4}
html[lang=ar] .restored-footer .sf-baseline p,html[lang=ar] .restored-footer .sf-baseline a{font-size:14px}

html[lang=ar] .page-header .contact-link{font-size:14px;letter-spacing:0}

.site-menu nav>.menu-link[aria-current=page]:dir(rtl):after{transform:scaleX(-1)}

/* Project CTA: readable, level arrow with a deliberate gap, not a tiny superscript. */
.header-project-cta,.page-header .contact-link{display:inline-flex;align-items:center;justify-content:center;gap:12px}
.header-project-cta .yms-icon,.page-header .contact-link .yms-icon{width:18px;height:18px;flex:0 0 18px;vertical-align:0}
.header-project-cta .yms-icon svg,.page-header .contact-link .yms-icon svg{width:100%;height:100%;stroke-width:1.8;transform:none;transition:transform .18s ease}
@media(hover:hover){.header-project-cta:hover .yms-icon svg,.page-header .contact-link:hover .yms-icon svg{transform:translateX(2px)}}
.header-project-cta:focus-visible .yms-icon svg{transform:translateX(2px)}
@media(prefers-reduced-motion:reduce){.header-project-cta .yms-icon svg,.page-header .contact-link .yms-icon svg{transition:none}}

/* Let the longer Arabic project invitation wrap without clipping or shrinking. */
html[lang=ar] #site-menu>a:is([href="/ar/start/"],[href="/ar/start"]){white-space:normal;line-height:1.4;min-height:57px;height:auto;flex:0 0 auto;letter-spacing:0}

/* Keep all three Arabic home-header targets inside narrow phone viewports. */
@media(max-width:380px){
 html[lang=ar] body>header{inset-inline:12px;gap:7px}
 html[lang=ar] body>header .identity{flex:0 0 76px}
 html[lang=ar] body>header .identity img.full-lockup{width:76px}
 html[lang=ar] body>header .header-project-cta{flex:1 1 auto;min-width:0;min-height:44px;padding:6px 9px;font-size:11px;line-height:1.35;white-space:normal;gap:6px;text-align:center}
 html[lang=ar] body>header #menu-toggle{flex:0 0 68px;min-width:68px;min-height:44px;padding-inline:10px;gap:8px;margin:0}
}

/* Arabic menu hierarchy: destinations first, one invitation, then utilities. */
html[lang=ar] #site-menu,html[lang=ar] .site-menu nav{padding:24px 28px}
html[lang=ar] #site-menu>.menu-label,html[lang=ar] .site-menu nav>.menu-label{margin:0 0 14px;font-size:12px;line-height:1.6;color:#656e78}
html[lang=ar] #site-menu>a,html[lang=ar] .site-menu nav>.menu-link{font-size:29px;line-height:1.4;letter-spacing:0;white-space:normal;min-height:54px;flex:0 0 auto;padding:6px 0;gap:18px}
html[lang=ar] #site-menu>a small,html[lang=ar] .site-menu nav>.menu-link small{align-self:center;color:#77818b;font-size:10px}
html[lang=ar] #site-menu>a:is([href="/ar/start/"],[href="/ar/start"]),html[lang=ar] .site-menu nav>.menu-link:is([href="/ar/start/"],[href="/ar/start"]){margin-top:20px;padding:12px 18px;min-height:50px;border:1px solid #17202a;border-radius:999px;justify-content:center;font-size:18px;font-weight:500;line-height:1.5;color:#f1f3f8;background:#11161c;text-align:center}
html[lang=ar] #site-menu>a:is([href="/ar/start/"],[href="/ar/start"]) small,html[lang=ar] .site-menu nav>.menu-link:is([href="/ar/start/"],[href="/ar/start"]) small{display:none}
html[lang=ar] #site-menu .menu-language,html[lang=ar] .site-menu nav .menu-language{margin-top:20px;padding-top:14px;font-size:13px}
html[lang=ar] #site-menu .nav-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px;padding-top:14px}
html[lang=ar] #site-menu .nav-tools button{min-width:0;min-height:44px;padding:8px 6px;font-size:12px;line-height:1.6;white-space:normal}
@media(max-width:700px){
 html[lang=ar] body>header{inset-inline:12px;gap:7px}
 html[lang=ar] body>header .header-project-cta{flex:1 1 auto;min-width:0;min-height:44px;padding:6px 9px;font-size:11px;line-height:1.5;white-space:normal;gap:6px;text-align:center}
 html[lang=ar] body>header #menu-toggle{flex:0 0 90px;min-width:90px;min-height:46px;padding-inline:10px;gap:8px;margin:0}
 html[lang=ar] #site-menu,html[lang=ar] .site-menu nav{padding:20px;width:calc(100vw - 24px);max-height:calc(100svh - 96px)}
 html[lang=ar] #site-menu>a,html[lang=ar] .site-menu nav>.menu-link{font-size:24px;min-height:48px;padding:6px 0;gap:16px}
 html[lang=ar] #site-menu .nav-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[lang=ar] #site-menu .nav-tools button:last-child{grid-column:1 / -1}
}

/* Reading-page headers own the viewport width, not the immersive inset layout. */
html[lang=ar] body>header.page-header{inset-inline:0;width:auto;max-width:100%}

/* Anchor the Arabic panel to its left-side trigger, within the header's safe edges. */
html[lang=ar] #site-menu{left:0;right:auto}
@media(max-width:700px){html[lang=ar] #site-menu{width:100%;max-width:none}}

/* Give Contact its own action and leave a single divider above language. */
html[lang=en] :is(#site-menu,.site-menu nav)>a:is([href="/start/"],[href="/start"]){
 display:inline-flex;width:fit-content;min-height:44px;margin:18px 0 0;
 padding:10px 20px;border:0;border-radius:999px;background:#151719;color:#fff;
 font-size:16px;line-height:1.3;letter-spacing:0;
}
html[lang=en] :is(#site-menu,.site-menu nav)>a:is([href="/start/"],[href="/start"]) small{display:none}
:is(#site-menu,.site-menu nav)>a:has(+ a:is([href$="/start/"],[href$="/start"])){border-bottom:0}

/* Match the home trigger's expanding ink fill on the native disclosure. */
.page-header .site-menu summary{
 position:relative;isolation:isolate;overflow:hidden;transition:color .22s ease;
}
.page-header .site-menu summary::before{
 content:'';position:absolute;z-index:-1;inset-inline-start:16px;top:50%;
 width:8px;height:8px;border-radius:50%;background:#11161c;
 transform:translateY(-50%) scale(0);transition:transform .38s cubic-bezier(.22,1,.36,1);
}
.page-header .site-menu[open] summary,.page-header .site-menu summary:focus-visible{color:#fff}
.page-header .site-menu[open] summary::before,.page-header .site-menu summary:focus-visible::before{transform:translateY(-50%) scale(38)}
.page-header .site-menu summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(hover:hover) and (pointer:fine){
 .page-header .site-menu summary:hover{color:#fff}
 .page-header .site-menu summary:hover::before{transform:translateY(-50%) scale(38)}
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
 .page-header .site-menu summary:hover .native-menu-label{animation:menu-label-arrive .32s cubic-bezier(.22,1,.36,1)}
 @keyframes menu-label-arrive{0%{opacity:1;translate:0}40%{opacity:0;translate:-6px}41%{opacity:0;translate:8px}100%{opacity:1;translate:0}}
}
@media(prefers-reduced-motion:reduce){.page-header .site-menu summary,.page-header .site-menu summary::before{transition:none}}

.page-header{position:sticky;top:0;z-index:30;background:var(--paper);transition:translate .2s ease}
.page-header[data-scroll-hidden]:not(:focus-within):not(:has(.site-menu[open])){translate:0 -102%}
body[data-chapter="contact"] header[data-scroll-up]>.header-project-cta{display:inline-flex}
@media(prefers-reduced-motion:reduce){.page-header{transition:none}}
@media(max-width:500px){
 .page-header{flex-wrap:nowrap;gap:6px;padding-inline:12px}
 .page-header .brand .full-lockup{width:clamp(68px,20vw,96px)}
 .page-header .header-actions{gap:6px;min-width:0}
 .page-header .site-menu summary{min-width:72px;gap:8px;padding-inline:10px}
 .page-header .site-menu nav{width:calc(100vw - 24px);max-height:calc(100svh - 88px)}
 html[lang=ar] .page-header .contact-link{white-space:normal;line-height:1.4;text-align:center}
}

/* Lead with one thought, then let the explanation sit at reading scale. */
.studio-statement:has(.statement-lead){padding-block:clamp(56px,7vw,100px)}
html[lang=ar] .studio-statement .statement-lead{
 max-inline-size:20ch;margin:24px 0 14px;font-size:clamp(32px,3.4vw,54px);
 font-weight:500;line-height:1.35;text-wrap:balance
}
html[lang=ar] .studio-statement .statement-support{
 max-inline-size:43ch;margin:0;color:#c9cdd1;font-size:clamp(18px,1.45vw,23px);line-height:1.7
}
html body section.section-pad>.eyebrow:first-child{
 font-size:clamp(16px,1.35vw,21px);line-height:1.45;
}
html body :is(.principle-list,.process-list).section-pad>.eyebrow:first-child{
 font-size:clamp(22px,2vw,32px);line-height:1.45;font-weight:500;letter-spacing:0;
}
