/* experience.css */
/* A single viewport: introduction and work are two animated states. */
html,html:has(dialog[open]),body{width:100%;height:100%;height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}
:root{--header:80px}
.site-header{position:relative;height:var(--header)}
.screen-track,body[data-view=work] .screen-track{position:relative;inset:auto;width:100%;height:calc(100dvh - var(--header));display:block;transform:none;overflow:hidden}
.screen{position:absolute;inset:0;width:100%;height:100%;min-height:0;overflow:hidden;margin:0}
body[data-view=intro] #work,body[data-view=work] #intro{visibility:hidden;pointer-events:none}
body[data-transition] #intro,body[data-transition] #work{visibility:visible}
body:not([data-transition]) .screen[aria-hidden=true] *{visibility:hidden!important}
.composition-area{min-width:0;min-height:0;display:flex;align-items:center;justify-content:flex-end;height:100%;container-type:size}
.intro-layout{height:100%;min-height:0;padding:20px 4.3vw 28px;grid-template-columns:minmax(0,.88fr) minmax(0,1.45fr);gap:4vw;align-items:center}
.hero-copy,html[lang=ar] .hero-copy{padding:0;align-self:center;min-height:0;max-height:100%;width:100%}
.hero-copy>.eyebrow{font-size:11px;margin-bottom:clamp(12px,2.2dvh,22px)}
.hero-copy h1{font-size:clamp(44px,min(5.7vw,10dvh),102px);margin-bottom:clamp(14px,2.3dvh,25px);line-height:.99}
.hero-copy .role{font-size:clamp(13px,1.35vw,20px);line-height:1.4;margin-bottom:clamp(12px,2.5dvh,26px);gap:4px 8px}
.hero-copy .hero-line{font-size:clamp(18px,1.8vw,27px);line-height:1.32;margin-bottom:clamp(12px,2dvh,22px)}
.hero-copy .hero-caption{font-size:clamp(13px,1.1vw,16px);line-height:1.7;max-width:43ch}
.hero-links{margin-top:clamp(12px,2dvh,20px)}
.enter-work{margin:clamp(18px,3.5dvh,36px) 0 clamp(15px,2.5dvh,24px);padding:0}
.circle-arrow{width:clamp(48px,6.5dvh,72px);height:clamp(48px,6.5dvh,72px);font-size:34px}
.hero-directions,html[lang=ar] .hero-directions{margin:0;flex-wrap:nowrap;gap:5px}
.hero-directions button{min-height:38px;font-size:12px;padding:0 10px}
.hero-directions button span{font-size:12px}.hero-foot{display:none}
.visual-composition{width:min(100%,calc((100dvh - var(--header) - 54px)/1.1));height:auto;min-height:0;max-height:100%;aspect-ratio:1/1.1;margin:0;align-self:center;justify-self:end;overflow:visible}
.work{display:grid;grid-template-columns:minmax(190px,.34fr) minmax(0,1fr);gap:4vw;padding:34px 4.3vw 28px;min-height:0;border:0;max-width:none}
.discipline-nav{min-height:0;padding:0;align-self:center}
.discipline-nav nav{gap:clamp(8px,1.6dvh,18px)}
.nav-primary{font-size:clamp(17px,1.6vw,24px);line-height:1.3}
.back-intro{padding-bottom:clamp(20px,4dvh,38px)}
.sidebar-foot{padding-top:25px}
.work-content,html[dir=rtl] .work-content{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-height:0;padding:0}
.work-heading{padding:0 0 20px;align-items:end}
.work-heading h2{font-size:clamp(28px,3vw,48px);line-height:1.05}
.work-heading .eyebrow{margin:0 0 8px}
.gallery{height:100%;min-height:0;gap:12px;grid-template-columns:7% minmax(0,1fr) 7%}
.project-meta{padding:18px calc(7% + 12px) 0;gap:18px}
.project-meta h3{font-size:clamp(22px,2.2vw,34px);margin:0 0 8px}
.project-description{font-size:14px;line-height:1.55;max-width:65ch}
.project-kicker{font-size:10px;margin:0 0 8px}
.gallery-bottom{padding:16px calc(7% + 12px) 0;flex-wrap:nowrap}
.gallery-dots{flex-wrap:nowrap}.swipe-hint{display:none}
.collage .scene-surface,.collage .scene-character{background:#fff;border-radius:0}
.collage .scene-hint{background:#f7f4ef;color:#766f65}
.collage .interface-dashboard.light-map{background:#f3f1ed;padding:0;--glow:#e77a60}
.collage .metric-surface:not(.metric-flow){background:#e77a60;color:#fff;--glow:#fff1e9}
.collage .metric-surface:not(.metric-flow) .metric-label{color:#fff4ec}
.collage .metric-surface:not(.metric-flow) .mini-bars i{background:#fff2e8}
.collage .case-daakesh.case-phone{background:radial-gradient(ellipse at 50% 40%,#faf8f4,#e9e5de)}
.collage .case-daakesh.case-phone .case-device{box-shadow:0 12px 18px #30251b25}
.creative-portrait img{object-position:50% 43%}
.mobile-page-scroll{display:block;width:100%;animation:mobile-page-scroll 10s cubic-bezier(.45,0,.3,1) infinite paused}
.collage .mobile-page-scroll img{height:auto;width:100%;min-height:100%;object-fit:contain}
.collage .motion-surface[data-motion-active=true] .mobile-page-scroll{animation-play-state:running}
@keyframes mobile-page-scroll{0%,12%{transform:translateY(0)}46%,58%{transform:translateY(var(--scroll-distance,0px))}92%,100%{transform:translateY(0)}}
html[lang=ar] .hero-copy h1{font-size:clamp(40px,min(5.1vw,8.8dvh),84px);line-height:1.25}
html[lang=ar] .hero-copy .role{font-size:clamp(12px,1.2vw,18px);line-height:1.6}
html[lang=ar] .hero-copy .hero-line{font-size:clamp(17px,1.65vw,24px);line-height:1.7}
html[lang=ar] .hero-copy .hero-caption{font-size:clamp(12px,1.05vw,15px);line-height:1.85}
html[lang=ar] .work-heading h2{font-size:clamp(26px,2.8vw,44px)}
@media(max-width:800px){
 :root{--header:62px}
 .site-header{padding-inline:5vw}.wordmark{width:85px}
 .intro-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:14px;padding:10px 6vw 16px}
 .hero-copy,html[lang=ar] .hero-copy{display:flex;padding:0;max-height:none}
 .hero-copy>.eyebrow{font-size:9px;margin-bottom:10px}
 .hero-copy h1{font-size:clamp(30px,8.3vw,46px);line-height:1.04;margin:0 0 9px}
 .hero-copy h1 br{display:none}
 .hero-copy h1{display:flex;gap:.2em}
 .hero-copy .role{font-size:12px;line-height:1.4;margin:0 0 10px;gap:3px 6px}
 .hero-copy .hero-line{font-size:16px;line-height:1.3;margin-bottom:8px;max-width:100%}
 .hero-copy .hero-caption{font-size:12px;line-height:1.5;max-width:100%}
 .hero-links{margin-top:7px;gap:18px}.profile-link{font-size:11px;min-height:26px}
 .enter-work{position:absolute;inset:auto 0 0 auto;margin:0;gap:7px;align-self:auto}
 .enter-work>span:last-child{display:none}.circle-arrow{width:36px;height:36px;font-size:23px}
 .hero-directions,html[lang=ar] .hero-directions{margin-top:8px;gap:3px;padding-inline-end:42px}
 .hero-directions button{font-size:10px;min-height:32px;min-width:28px;padding:0 6px}
 .hero-directions button span{font-size:10px}.hero-directions .replay-motion{font-size:20px;min-width:24px}
 .composition-area{justify-content:center}
 .visual-composition{width:min(100cqw,calc(100cqh / 1.1));height:auto;min-height:0;max-width:100%;max-height:100%;aspect-ratio:1/1.1;margin:0}
 .collage{width:61%}.portrait-cutout{width:36.5%}
 .work{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:15px;padding:12px 5vw 20px}
 .discipline-nav{align-self:start;min-height:0}.back-intro{font-size:12px;padding-bottom:12px}
 .discipline-nav nav,html[lang=ar] .discipline-nav nav{display:flex;flex-wrap:wrap;gap:5px;min-height:0;padding:0;margin:0;overflow:visible;justify-content:flex-start}
 .discipline-nav nav button,html[lang=ar] .discipline-nav nav button{font-size:10px;line-height:1.2;padding:7px 8px;min-height:30px}
 .work-heading{padding-bottom:12px}.work-heading h2,html[lang=ar] .work-heading h2{font-size:25px;line-height:1.2}
 .work-heading .eyebrow{font-size:9px;margin-bottom:5px}
 .gallery{grid-template-columns:4% minmax(0,1fr) 4%;gap:6px;height:100%}
 .project-meta{padding:12px 0 0;gap:10px}
 .project-meta h3{font-size:22px;margin-bottom:5px}.project-description{font-size:12px;line-height:1.5}
 .project-kicker{font-size:9px;margin-bottom:5px}.project-link{width:32px;height:32px;margin-top:15px}
 .gallery-bottom{padding:10px 0 0;gap:8px}#gallery-dots{gap:1px;flex-wrap:nowrap;flex:1;overflow:hidden}.gallery-dots button{width:19px;flex:none;padding-inline:4px}.gallery-dots button:after{width:11px}.gallery-arrows{margin-inline-start:auto}
 html[lang=ar] .hero-copy h1{font-size:30px;line-height:1.3;margin-bottom:6px}
 html[lang=ar] .hero-copy .role{font-size:11px;line-height:1.6;margin-bottom:8px}
 html[lang=ar] .hero-copy .hero-line{font-size:15px;line-height:1.6}
 html[lang=ar] .hero-copy .hero-caption{font-size:11px;line-height:1.8}
 html[lang=ar] .hero-copy .enter-work{left:0;right:auto}
}
@media(max-height:730px) and (min-width:801px){
 :root{--header:62px}.intro-layout{padding-block:12px}
 .hero-copy h1{font-size:clamp(42px,8.4dvh,62px);margin-bottom:12px}
 .hero-copy>.eyebrow{margin-bottom:12px}.hero-copy .role{margin-bottom:12px}
 .hero-copy .hero-line{font-size:19px;margin-bottom:12px}.hero-copy .hero-caption{font-size:12px;line-height:1.6}
 .hero-links{margin-top:10px}.enter-work{margin:15px 0}.circle-arrow{width:44px;height:44px;font-size:28px}
 .hero-directions button{min-height:32px;font-size:11px}
 .work{padding-block:20px}.discipline-nav nav{gap:6px}.back-intro{padding-bottom:20px}.project-description{font-size:12px}
}
@media(max-height:700px) and (max-width:800px){
 :root{--header:52px}.intro-layout{gap:8px;padding-top:3px;padding-bottom:10px}
 .hero-copy>.eyebrow{margin-bottom:5px;font-size:8px}.hero-copy h1{font-size:28px;margin-bottom:5px}
 .hero-copy .role{font-size:10px;margin-bottom:5px}.hero-copy .hero-line{font-size:14px;margin-bottom:5px}
 .hero-copy .hero-caption{font-size:10px;line-height:1.35}.hero-links{margin-top:4px}
 .hero-directions,html[lang=ar] .hero-directions{margin-top:4px}
 html[lang=ar] .hero-copy h1{font-size:26px}html[lang=ar] .hero-copy .hero-line{font-size:13px}
 html[lang=ar] .hero-copy .hero-caption{font-size:10px;line-height:1.6}
 .work{gap:10px;padding-top:5px}.back-intro{padding-bottom:7px}.work-heading h2{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.mobile-page-scroll{animation:none!important}}

/* Reference-led details; varied restrained surfaces without green cards. */
.location-study svg{width:100%;height:100%;display:block}
.collage .lab-motion{background:#35302e;color:#fff4ed}
.lab-motion .motion-track{border-color:#ffffff30}
.lab-motion .motion-track i{background:#ef7659}
[data-motion-study="1"] .motion-track i{background:#e9be81}
[data-motion-study="2"] .motion-track i{background:#f5ede5}
.collage .lab-manifesto{background:#e77a60;color:#fff}
.collage .lab-process{background:#f1efeb;padding:8%}
.collage .case-rawaf{background:#e8e8e7}
.collage .case-daakesh.case-phone{background:#f5e4db}
.collage .case-tour{background:#fff;border:1px solid #ece9e3}
.reference-studio{overflow:visible}
.collage .location-study{background:#f5e5dc}body.motion-paused .motion-trace{animation:none!important;stroke-dashoffset:0}
/* product-navigation.css */
/* A quiet work index, with the project itself as the focal point. */
[hidden]{display:none!important}
.discipline-nav{align-self:start;padding-top:3px}
.discipline-nav nav{display:flex;flex-direction:column;gap:26px}
.practice-group{min-width:0}
.discipline-nav .nav-primary{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;font-size:clamp(18px,1.55vw,24px);color:#292929;padding:0;text-align:start}
.menu-chevron{display:none}
.nav-primary[aria-expanded=true] .menu-chevron{transform:rotate(180deg);color:var(--red)}
.discipline-nav .subnav{display:flex;flex-direction:column;gap:17px;margin:21px 0 0;padding:0 0 0 17px;border-left:1px solid #e5e2de}
.discipline-nav .subnav button{font-size:15px;line-height:1.5;padding:1px 0;text-align:start;color:#74716e;position:relative}
.discipline-nav .subnav button.active{color:#cc2d25}
.discipline-nav .subnav button.active:before{display:none}
.discipline-nav .subnav button.active:after{content:'';position:absolute;width:3px;inset:0 auto 0 -19px;background:#df3c30}
.gallery{grid-template-columns:minmax(0,1fr);gap:0;background:transparent;overflow:visible}
.active-project{height:100%;width:100%;min-width:0;min-height:0;display:block;padding:0;border:0;background:transparent;text-align:inherit;cursor:pointer;overflow:visible;border-radius:0}
.active-project:disabled{cursor:default}.active-project:focus-visible{outline:2px solid #d63d32;outline-offset:7px}
.project-stage,.slide-art{background:transparent!important;box-shadow:none;border-radius:0}
.project-stage .stage-caption{display:none}
.project-cover-image{object-fit:contain!important}
.project-meta,.gallery-bottom{padding-inline:0}
.gallery-bottom{justify-content:space-between}
.gallery-arrows{gap:12px;margin-inline-start:auto}
.gallery-arrows button{width:44px;height:44px;border:1px solid #e9e5e0;border-radius:50%}
.gallery-arrows button:disabled{opacity:.3;cursor:default}
/* a category with a single project has no pager: the row keeps its space, so every category keeps the same frame */
.gallery[data-single=true]~.gallery-bottom,.gallery[data-single=true]~.gallery-bottom .gallery-arrows{visibility:hidden}
.device-stage{height:100%;width:100%;display:flex;justify-content:center;align-items:center;perspective:1200px;padding:10px 0 16px;animation:phone-enter .9s cubic-bezier(.2,.8,.2,1) both}
.portfolio-phone{position:relative;height:100%;max-height:570px;max-width:85%;aspect-ratio:402/866;padding:7px;border-radius:clamp(22px,3.2dvh,38px);background:#282829;border:1px solid #727277;box-shadow:inset 0 0 0 2px #b3b3b4,0 2px 3px #0002,12px 20px 27px -20px #0007;transform:rotate(-3deg);animation:phone-breathe 7s ease-in-out 1s infinite}
.phone-display{height:100%;width:100%;overflow:hidden;border-radius:clamp(17px,2.7dvh,30px);background:#fff}
.phone-display img{display:block;width:100%;height:auto;min-height:100%;object-fit:cover;object-position:top}
.phone-island{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:26%;height:2.4%;border-radius:20px;background:#1a1a1c}
.empty-project{max-width:430px;margin:auto;text-align:center;color:#777;font-size:16px;line-height:1.6}.empty-project>span{font-size:48px;color:var(--red)}.empty-project h3{color:#292929;font-weight:500;font-size:30px;letter-spacing:-.04em}
@keyframes phone-enter{from{opacity:0;transform:translateY(30px) rotateY(-9deg)}to{opacity:1;transform:none}}
@keyframes phone-breathe{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(-1deg)}}
.motion-paused .device-stage,.motion-paused .portfolio-phone{animation:none}
html[dir=rtl] .discipline-nav .subnav{border-left:0;border-right:1px solid #e5e2de;padding:0 17px 0 0}
html[dir=rtl] .discipline-nav .subnav button.active:after{left:auto;right:-19px}
@media(max-width:800px){
 .hero-copy .enter-work{position:static;margin:9px 0 0;transform:none;align-self:flex-start;gap:9px}
 .hero-copy .enter-work>span:last-child{display:block}.enter-work strong{font-size:13px}.enter-work small{display:none}
 .discipline-nav nav,html[lang=ar] .discipline-nav nav{display:grid;grid-template-columns:1.1fr 1.1fr .8fr;gap:0 8px;align-items:start}
 .practice-group{display:contents}
 .discipline-nav .nav-primary,html[lang=ar] .discipline-nav .nav-primary{grid-row:1;font-size:12px;font-weight:500;line-height:1.3;white-space:normal;padding:8px 0;border:0;background:none;color:#3c3937;min-height:43px;gap:4px;border-radius:0;letter-spacing:0}
 .discipline-nav .nav-primary[aria-expanded=true]{color:#cb342b}.menu-chevron{font-size:14px}
 .discipline-nav nav .subnav,html[lang=ar] .discipline-nav nav .subnav{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;flex-wrap:wrap;gap:0 15px;border:0;border-top:1px solid #eee9e5;padding:6px 0 0;margin:0}
 .discipline-nav .subnav button,html[lang=ar] .discipline-nav .subnav button{font-size:12px;line-height:1.35;min-height:32px;padding:5px 0;border:0;border-radius:0;background:none;color:#76716d;white-space:normal}
 .discipline-nav .subnav button.active,html[lang=ar] .discipline-nav .subnav button.active{color:#cc2d25;background:none}.discipline-nav .subnav button.active:after{display:none}
 .work{gap:16px}.work-heading{padding-bottom:7px}.work-heading .eyebrow{display:none}
 .device-stage{padding:9px 0 12px}.portfolio-phone{padding:5px;border-radius:24px}.phone-display{border-radius:19px}.phone-island{top:9px}
 .project-kicker{font-size:10px}.project-description{font-size:13px}.gallery-arrows button{width:38px;height:38px}.gallery-bottom{padding-top:7px}.project-meta{padding-top:9px}
}
@media(prefers-reduced-motion:reduce){.device-stage,.portfolio-phone{animation:none}}

.discipline-nav>.back-intro{display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:0;margin:0 0 18px;font-size:14px;color:#737373}
.discipline-nav>.back-intro:hover{color:#cc2d25}
.discipline-nav>.back-intro:focus-visible{outline:2px solid #cc2d25;outline-offset:4px}
html[dir=rtl] .back-intro>span:first-child{transform:rotate(180deg)}
@media(max-width:800px){.discipline-nav>.back-intro{margin-bottom:4px;min-height:32px}}

.hero-copy .identity-roles{display:block;white-space:nowrap;font-size:clamp(14px,1.1vw,17px);font-weight:500;line-height:1.5;letter-spacing:-.005em;color:#454545}
.identity-roles>span{white-space:nowrap;display:inline;font-size:inherit;font-weight:inherit;color:inherit}
.identity-roles>.role-product:after,.identity-roles>.role-prompt:after{content:'|';margin:0 .7em;color:#d8d4cf;font-weight:300}
@media(max-width:800px){.hero-copy .identity-roles,html[lang=ar] .hero-copy .identity-roles{font-size:13px}}
/* Keep the requested headings on one line at every supported width. */
.hero-copy{container-type:inline-size}
.hero-copy h1#intro-title{display:block;white-space:nowrap;font-size:clamp(28px,13.5cqw,88px);line-height:1.12;letter-spacing:-.055em;margin-bottom:clamp(3px,.8dvh,9px)}
.hero-copy .hero-line,html[lang=ar] .hero-copy .hero-line{white-space:nowrap;max-width:none;width:100%;font-size:clamp(13px,5.15cqw,25px);line-height:1.5}
.hero-copy .identity-roles,html[lang=ar] .hero-copy .identity-roles{font-size:clamp(9px,3.5cqw,17px);line-height:1.5}
html[lang=ar] .hero-copy h1#intro-title{font-size:clamp(30px,15cqw,88px);line-height:1.35;letter-spacing:0}

/* UX Research — project covers */
.research-cover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:4% 9%}
.research-cover img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;
  border-radius:clamp(10px,1.4vw,18px);box-shadow:0 22px 48px -20px #2c211b6b,0 2px 6px -2px #2c211b30}
.research-cover .layers-cover-title{position:absolute;left:17%;top:15%;color:#fff;display:flex;flex-direction:column;align-items:flex-start;text-align:left;pointer-events:none;text-shadow:0 2px 12px #0d1c2d99}
.layers-cover-title small{font-size:clamp(9px,.8vw,13px);letter-spacing:.17em;font-style:normal}.layers-cover-title strong{font-size:clamp(40px,6vw,100px);line-height:.9;letter-spacing:-.07em;margin-top:8%;font-weight:700}.layers-cover-title strong span{color:#f7a876}.layers-cover-title em{font-size:clamp(9px,.8vw,14px);letter-spacing:.12em;font-style:normal;margin-top:11%}
@media(max-width:800px){.research-cover .layers-cover-title{left:14%;top:14%}.layers-cover-title strong{font-size:clamp(35px,10vw,68px)}}

/* no panel behind the work — the device itself carries the shadow */
.project-stage,.slide-art{box-shadow:none;background:transparent!important;
  overflow:hidden;border-radius:clamp(10px,1.4vw,18px)}
/* frames, phones and film need to breathe past the edge of the stage */
.research-cover,.device-stage,.slide-covers,
.project-stage.visual-browser,.project-stage.visual-phones{overflow:visible;border-radius:0}
.project-stage.visual-browser,.project-stage.visual-phones,.project-stage.visual-cover{padding:0}

/* web & enterprise work sits on a tablet: one even black bezel, a hairline aluminium rim,
   a soft contact shadow and a gentle three-quarter turn — no stand, no browser chrome */
.visual-browser{align-items:center;justify-content:center;padding:0!important;perspective:2200px}
.visual-browser .browser-window{display:block;box-sizing:border-box;position:relative;
  width:auto;max-width:90%;height:86%;--bez:clamp(9px,1.25vw,17px);
  padding:var(--bez);border-radius:calc(var(--bez) + clamp(10px,1.1vw,16px));overflow:visible;
  background:#0c0c0e;
  box-shadow:
    inset 0 0 0 1px #2a2a2f,
    0 0 0 1px #8d8d93,
    0 0 0 2px #1a1a1d,
    0 1px 0 2px #b9b9bf40,
    0 44px 70px -34px #0b0d1299,
    0 22px 30px -22px #0b0d1266;
  transform:rotateY(-11deg) rotateX(5deg) rotateZ(.6deg);transform-origin:50% 55%;
  animation:tablet-in 1s cubic-bezier(.2,.8,.2,1) both}
@keyframes tablet-in{from{opacity:0;transform:translateY(22px) rotateY(-18deg) rotateX(8deg)}
  to{opacity:1;transform:rotateY(-11deg) rotateX(5deg) rotateZ(.6deg)}}
/* the front camera, centred on the long top edge */
.visual-browser .browser-bar{position:absolute;top:calc(var(--bez) / 2 - 2.5px);left:50%;
  width:5px;height:5px;margin-left:-2.5px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,#3b4253,#111318 60%);box-shadow:0 0 0 1px #1b1b1f;display:block}
.visual-browser .browser-bar:before{content:none}
.visual-browser .project-cover-image{display:block;width:auto!important;height:100%!important;max-width:100%;
  object-fit:contain!important;filter:none;background:#fff;border-radius:clamp(5px,.55vw,9px)}
/* a faint sweep of glass across the screen */
.visual-browser .browser-window:after{content:'';position:absolute;inset:var(--bez);border-radius:clamp(5px,.55vw,9px);
  pointer-events:none;background:linear-gradient(118deg,#ffffff1f 0%,#ffffff08 26%,#ffffff00 42%)}
.visual-browser .browser-window:before{content:none}
html[dir=rtl] .visual-browser .browser-window{transform:rotateY(11deg) rotateX(5deg) rotateZ(-.6deg);animation-name:tablet-in-rtl}
@keyframes tablet-in-rtl{from{opacity:0;transform:translateY(22px) rotateY(18deg) rotateX(8deg)}
  to{opacity:1;transform:rotateY(11deg) rotateX(5deg) rotateZ(-.6deg)}}
@media(max-width:800px){
 .visual-browser .browser-window{max-width:94%;height:auto;max-height:86%;--bez:7px;
   transform:rotateY(-6deg) rotateX(3deg);animation:none}
 .visual-browser .project-cover-image{width:100%!important;height:auto!important}
 html[dir=rtl] .visual-browser .browser-window{transform:rotateY(6deg) rotateX(3deg)}
}
@media(prefers-reduced-motion:reduce){.visual-browser .browser-window{animation:none}}
.motion-paused .visual-browser .browser-window{animation:none}

/* pager: one centred instrument — arrow, count, progress, count, arrow */
.gallery-bottom{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.6vw,20px)}
.gallery-bottom .swipe-hint{display:none}
.gallery-arrows{display:contents}
#prev-project{order:1}
.pager-count.is-now{order:2}
#gallery-dots{order:3;margin:0}
.pager-count.is-total{order:4}
#next-project{order:5}

.gallery-bottom .gallery-arrows button{position:relative;flex:none;width:46px;height:46px;padding:0;font-size:0;line-height:0;
  border:1px solid #e3dfda;border-radius:50%;background:#fff;color:#2c2926;cursor:pointer;
  box-shadow:0 1px 2px #1c16100a,0 6px 14px -10px #1c16102e;
  transition:border-color .25s,background .25s,color .25s,transform .25s,box-shadow .25s}
/* absolutely placed so the hidden text node can never push the arrow off centre */
.gallery-bottom .gallery-arrows button:before{content:'';position:absolute;inset:0;margin:auto;width:16px;height:10px;
  background:currentColor;-webkit-mask:var(--arrow) center/16px 10px no-repeat;mask:var(--arrow) center/16px 10px no-repeat}
#prev-project{--arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cpath d='M31 10H2M10 2 2 10l8 8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#next-project{--arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cpath d='M1 10h29M22 2l8 8-8 8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[dir=rtl] #prev-project{--arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cpath d='M1 10h29M22 2l8 8-8 8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[dir=rtl] #next-project{--arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cpath d='M31 10H2M10 2 2 10l8 8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[dir=rtl] .gallery-bottom .gallery-arrows button{transform:none}
.gallery-bottom .gallery-arrows button:hover{background:#1f1d1b;border-color:#1f1d1b;color:#fff;box-shadow:0 10px 20px -12px #1c16107a}
#prev-project:hover:before{animation:nudge-back .45s ease}
#next-project:hover:before{animation:nudge-on .45s ease}
@keyframes nudge-on{40%{transform:translateX(3px)}}
@keyframes nudge-back{40%{transform:translateX(-3px)}}
html[dir=rtl] #prev-project:hover:before{animation-name:nudge-on}
html[dir=rtl] #next-project:hover:before{animation-name:nudge-back}
.gallery-bottom .gallery-arrows button:active{transform:scale(.95)}
.gallery-bottom .gallery-arrows button:disabled{opacity:.35;background:#fff;border-color:#e3dfda;color:#2c2926;box-shadow:none;cursor:default}
.gallery-bottom .gallery-arrows button:focus-visible{outline:2px solid #ca2d25;outline-offset:3px}

/* the count either side of the progress */
.pager-count{font-size:12px;letter-spacing:.08em;font-variant-numeric:tabular-nums;color:#a19b95;min-width:2ch;text-align:center;user-select:none}
.pager-count.is-now{color:#2c2926;font-weight:500}

/* progress: evenly spaced segments that never touch; the current one stretches out in red */
.gallery-bottom #gallery-dots{display:flex;align-items:center;gap:6px;flex:none;overflow:visible;flex-wrap:nowrap}
.gallery-bottom #gallery-dots button{display:block;flex:none;width:18px;height:28px;padding:0;position:relative;cursor:pointer;
  transition:width .45s cubic-bezier(.2,.8,.2,1)}
.gallery-bottom .gallery-dots button:after{content:'';position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;width:auto;
  border-radius:2px;background:#dcd6cf;transition:background .3s}
.gallery-bottom .gallery-dots button:hover:after{background:#b9b1a9}
.gallery-bottom #gallery-dots button[aria-current=true]{width:40px}
.gallery-bottom .gallery-dots button[aria-current=true]:after{background:#ca2d25}
@media(prefers-reduced-motion:reduce){.gallery-bottom .gallery-dots button{transition:none}
 #prev-project:hover:before,#next-project:hover:before{animation:none}}
@media(max-width:800px){
 .gallery-bottom{gap:12px;justify-content:center}
 .gallery-bottom .gallery-arrows button{margin:0}
 .pager-count{display:none}
 .gallery-bottom .gallery-arrows button{width:40px;height:40px}
 .gallery-bottom #gallery-dots{gap:5px}
 .gallery-bottom #gallery-dots button{width:14px}
 .gallery-bottom #gallery-dots button[aria-current=true]{width:30px}
}

/* the project's call to action: a labelled button in the site red */
.project-meta{display:block}
.project-link{display:inline-flex;align-items:center;gap:10px;width:auto;height:auto;min-height:0;
  border:0;border-radius:40px;background:#ca2d25;color:#fff;font-size:15px;font-weight:500;
  letter-spacing:.01em;padding:13px 23px;margin-top:24px;transition:background .25s,transform .25s}
.project-link:hover{background:#a3231d;transform:translateY(-1px)}
.project-link i{font-style:normal;font-size:17px;line-height:1}
html[dir=rtl] .project-link i{transform:scaleX(-1)}
/* the CTA carries words now, so it must never be mirrored — only its arrow flips */
html[dir=rtl] .project-link.project-link.project-link{transform:none}
html[dir=rtl] .project-link.project-link.project-link:hover{transform:translateY(-1px)}
@media(max-width:800px){.project-link{font-size:14px;padding:11px 19px;margin-top:18px}}

/* pager sits directly under the artwork, above the project text */
.work-content>.work-heading{order:1}
.work-content>.gallery{order:2}
.work-content>.gallery-bottom{order:3;padding-top:14px}
.work-content>.project-meta{order:4;padding-top:16px}

/* the discipline name is the headline; the small duplicate above it goes */
#selection-label{display:none}
.work-heading h2{letter-spacing:-.012em;font-weight:500}
/* Both covers stay opaque while sliding past each other. */
.gallery.is-changing{position:relative;overflow:hidden}
.gallery .slide-outgoing{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}

/* Two phones, two screens, facing each other — keeps the original enter + breathe motion */
.device-stage.duo{gap:clamp(12px,3.4%,40px)}
.device-stage.duo .portfolio-phone{max-width:44%;max-height:100%}
.device-stage.duo .phone-0{transform:rotate(3deg);animation:phone-breathe-left 7s ease-in-out 1.2s infinite}
.device-stage.duo .phone-1{transform:rotate(-3deg);animation:phone-breathe 7s ease-in-out .3s infinite}
@keyframes phone-breathe-left{0%,100%{transform:translateY(0) rotate(3deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@media(max-width:800px){.device-stage.duo{gap:8px}.device-stage.duo .portfolio-phone{max-width:46%;padding:4px;border-radius:19px}.device-stage.duo .phone-display{border-radius:15px}.device-stage.duo .phone-island{top:7px}}
@media(prefers-reduced-motion:reduce){.device-stage.duo .phone-0,.device-stage.duo .phone-1{animation:none}}
.motion-paused .device-stage.duo .phone-0,.motion-paused .device-stage.duo .phone-1{animation:none}

/* ShieldKey web workspace concept — collage tile */
.shield-web-tile{background:#1b141a;display:grid;place-items:center}
.shield-web-tile .case-scene{padding:6% 5%}
.tile-browser{display:block;width:100%;border-radius:3px;overflow:hidden;background:#fff;box-shadow:0 6px 18px #0000004d}
.tile-bar{display:block;height:9%;min-height:5px;background:#2a2227}
.tile-browser img{display:block;width:100%;height:auto}

/* ShieldKey web workspace concept — gallery slide */
.slide-shield .shield-web{position:absolute;inset:0}
.slide-shield .shield-browser{position:absolute;left:3%;top:50%;transform:translateY(-50%) rotate(-1.6deg);width:67%;
  border-radius:6px;overflow:hidden;background:#fff;box-shadow:0 22px 34px #49322c33}
.slide-shield .shield-bar{display:block;height:15px;background:#262126;position:relative}
.slide-shield .shield-bar:before{content:'';position:absolute;left:8px;top:50%;transform:translateY(-50%);width:5px;height:5px;
  border-radius:50%;background:#6d626a;box-shadow:9px 0 0 #6d626a,18px 0 0 #6d626a}
.slide-shield .shield-web img{position:static;width:100%;height:auto;max-width:none;object-fit:contain;
  transform:none;filter:none;display:block}
.slide-shield .shield-web img.shield-phone{position:absolute;left:auto;top:auto;right:5%;bottom:6%;width:15.5%;height:auto;
  transform:rotate(3.5deg);filter:drop-shadow(5px 12px 15px #49322c47)}
@media(max-width:800px){
 .slide-shield .shield-browser{width:82%;left:2%}
 .slide-shield .shield-web img.shield-phone{width:25%;right:4%}
 .slide-shield .shield-bar{height:11px}
}

.collage{pointer-events:none}
.collage .scene-hint,.collage .film-play,.collage .case-action{display:none}
.collage [class]{cursor:default}


/* The menu changes only on selection, with no hover movement or underline. */
.discipline-nav .nav-primary,.discipline-nav .subnav button{position:relative;transition:none}
.discipline-nav .nav-primary:hover{color:#292929;transform:none}
.discipline-nav .subnav button:hover{color:#74716e;transform:none}
.discipline-nav .subnav button.active,.discipline-nav .subnav button.active:hover{color:#cc2d25;transform:none}
.discipline-nav .nav-primary.active:hover{color:#cc2d25}
.discipline-nav .subnav button:before{display:none}
@media(max-width:800px){
 .discipline-nav .nav-primary:hover{color:#3c3937}
 .discipline-nav .nav-primary[aria-expanded=true]:hover{color:#cb342b}
 .discipline-nav .nav-primary.active:hover{color:#cc2d25}
 .discipline-nav .subnav button:hover{color:#76716d}
 .discipline-nav .subnav button.active:hover{color:#cc2d25}
}

/* multimedia: motion pieces play at their own size, covers sit together as a sheet */
.slide-film{display:grid;place-items:center;padding:0;box-sizing:border-box;overflow:hidden}
.slide-film video{display:block;width:100%;height:100%;object-fit:contain;background:transparent}
.slide-covers{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;box-sizing:border-box;
  gap:clamp(6px,1.1%,14px);padding:1% 2%;height:100%}
.slide-covers img{display:block;width:calc(33.333% - 10px);height:auto;border-radius:6px;
  box-shadow:0 12px 24px -14px #2c211b7a,0 0 0 1px #00000008}
@media(max-width:800px){.slide-covers img{width:calc(50% - 8px)}}

/* the menu starts lower, well clear of the back link */
.discipline-nav>.back-intro{margin-bottom:52px}
.discipline-nav nav{padding-top:4px}
.practice-group[data-practice="multimedia"] .nav-primary.active{color:#cc2d25}
@media(max-width:800px){
 .discipline-nav>.back-intro{margin-bottom:10px}
 .discipline-nav nav,html[lang=ar] .discipline-nav nav{padding-top:0;grid-template-columns:repeat(4,1fr);gap:0 6px}
 .discipline-nav .nav-primary,html[lang=ar] .discipline-nav .nav-primary{font-size:11px}
}

/* pointer: a ring that trails the cursor with a red centre */
.cursor-ring,.cursor-dot{position:fixed;left:0;top:0;z-index:999;pointer-events:none;border-radius:50%;
  will-change:transform;mix-blend-mode:normal}
.cursor-ring{width:30px;height:30px;border:1px solid #6f6a661f;
  transition:width .22s,height .22s,border-color .22s,background .22s}
.cursor-dot{width:4px;height:4px;background:#cc2d25cc}
body.cursor-live .cursor-ring.is-active{width:44px;height:44px;border-color:#6f6a6636;background:#6f6a6608}
body:not(.cursor-live) .cursor-ring,body:not(.cursor-live) .cursor-dot{opacity:0}
@media(pointer:coarse),(prefers-reduced-motion:reduce){.cursor-ring,.cursor-dot{display:none}}

/* three-up and varied phone arrangements, so no two projects sit the same */
.device-stage.trio .portfolio-phone{max-width:31%}
.device-stage[data-arrange="1"] .phone-0{transform:rotate(-6deg) translateY(14px)}
.device-stage[data-arrange="1"] .phone-1{transform:rotate(4deg) translateY(-12px)}
.device-stage[data-arrange="2"] .phone-0{transform:rotate(5deg) translateY(-14px)}
.device-stage[data-arrange="2"] .phone-1{transform:rotate(-5deg) translateY(12px)}
.device-stage[data-arrange="3"]{gap:clamp(6px,1.6%,18px)}
.device-stage[data-arrange="3"] .phone-0{transform:rotate(-8deg) translateY(20px) scale(.92)}
.device-stage[data-arrange="3"] .phone-1{transform:rotate(0deg) translateY(-6px);z-index:2}
.device-stage[data-arrange="3"] .phone-2{transform:rotate(8deg) translateY(20px) scale(.92)}
@media(max-width:800px){
 .device-stage.trio{gap:6px}
 .device-stage.trio .portfolio-phone{height:auto;width:30%;max-width:30%;max-height:100%;padding:3px;border-radius:15px}
 .device-stage.trio .phone-display{border-radius:12px}
 .device-stage.trio .phone-island{top:5px}
 .device-stage[data-arrange="3"] .phone-0{transform:rotate(-6deg) translateY(10px) scale(.94)}
 .device-stage[data-arrange="3"] .phone-2{transform:rotate(6deg) translateY(10px) scale(.94)}
}
.device-stage[data-arrange="4"]{gap:clamp(4px,1%,14px)}
.device-stage[data-arrange="4"] .phone-0{transform:rotate(-3deg) translateY(-20px) scale(1.03);z-index:2}
.device-stage[data-arrange="4"] .phone-1{transform:rotate(7deg) translateY(24px) scale(.9)}
.device-stage[data-arrange="4"] .portfolio-phone{animation:none}
.device-stage[data-arrange="1"] .phone-0,.device-stage[data-arrange="1"] .phone-1,
.device-stage[data-arrange="2"] .phone-0,.device-stage[data-arrange="2"] .phone-1,
.device-stage[data-arrange="3"] .portfolio-phone{animation:none}

/* ───────── UX Research, refined: one left axis, a peek of the next study,
   the pager centred under the cover, and the case facts beside the action ───────── */
.work-content[data-category="research"]{--peek:96px}
.work-count{font-size:13px;color:#a19b95;letter-spacing:.04em;white-space:nowrap}
.project-methods{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0 0}
.project-methods b{font-weight:600;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:#a19b95;margin-inline-end:4px}
.project-methods span{font-size:12.5px;line-height:1.3;color:#5e5853;border:1px solid #e3dfda;border-radius:40px;padding:6px 12px}
html[lang=ar] .project-methods b{letter-spacing:0}
.research-peek{display:none}
@media(min-width:801px){
 .work-content[data-category="research"]{container-type:inline-size;grid-template-rows:auto auto auto auto;align-content:start}
 .work-content[data-category="research"] .work-heading>div{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex:1;width:100%;
   max-width:var(--cover-w,calc(100% - var(--peek)))}
 .work-content[data-category="research"] .work-count{padding-bottom:8px}
 .work-content[data-category="research"] .gallery{height:min(calc((100cqw - var(--peek)) * .5625),62vh)}
 .work-content[data-category="research"] .research-cover{justify-content:flex-start;align-items:center;padding:0}
 .work-content[data-category="research"] .research-cover>img{max-width:calc(100% - var(--peek))}
 /* the next study, just visible at the edge */
 .research-peek{display:block;position:absolute;top:9%;bottom:9%;right:0;width:72px;overflow:hidden;cursor:pointer;
   border-radius:12px 0 0 12px;opacity:.9;transition:opacity .3s,transform .35s cubic-bezier(.2,.8,.2,1);
   -webkit-mask:linear-gradient(90deg,#000 45%,#0000);mask:linear-gradient(90deg,#000 45%,#0000)}
 .research-peek:hover{opacity:1;transform:translateX(-4px)}
 .research-peek img{position:absolute;left:0;top:0;height:100%;width:auto;max-width:none;display:block;border-radius:12px}
 html[dir=rtl] .research-peek{right:auto;left:0;border-radius:0 12px 12px 0;
   -webkit-mask:linear-gradient(270deg,#000 45%,#0000);mask:linear-gradient(270deg,#000 45%,#0000)}
 html[dir=rtl] .research-peek:hover{transform:translateX(4px)}
 html[dir=rtl] .research-peek img{left:auto;right:0}
 /* pager centred under the cover */
 .work-content[data-category="research"]>.gallery-bottom{max-width:var(--cover-w,calc(100% - var(--peek)));padding-top:18px}
 /* case facts on the left, the action on the right edge of the cover */
 .work-content[data-category="research"]>.project-meta{padding-top:22px}
 .work-content[data-category="research"] #project-meta>div{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:56px;align-items:end;
   border-top:1px solid #e7e3de;padding-top:24px;max-width:var(--cover-w,calc(100% - var(--peek)))}
 .work-content[data-category="research"] #project-meta>div>*{grid-column:1}
 .work-content[data-category="research"] #project-meta .project-link{grid-column:2;grid-row:1 / span 4;align-self:end;margin:0}
 .work-content[data-category="research"] .project-meta h3{margin-bottom:10px}
 .work-content[data-category="research"] .project-description{max-width:560px}
}
@media(max-width:800px){.work-count{display:none}
 .work-content[data-category="research"] .research-cover{padding:2% 0}}
@media(prefers-reduced-motion:reduce){.research-peek{transition:none}}

/* UX Research & Strategy: the layered change between studies */
.study-sheet{position:absolute;z-index:2;border-radius:18px;pointer-events:none;box-shadow:0 22px 48px -20px rgb(44 33 27 / .42)}
#gallery-dots[style*="--study-accent"] button[aria-current=true]:after{background:var(--study-accent);transition:background-color .5s ease}
/* portfolio-mobile.css */
/* Mobile: the portrait and evolving collage lead, followed by the name and biography. */
@media(max-width:800px){
 :root{--header:60px}
 .intro-layout{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:18px;padding:12px 6vw 20px;height:100%;min-height:0}
 .composition-area{order:-1;flex:1 1 0;min-height:160px;width:100%;height:auto;justify-content:center;align-items:center;container-type:size}
 .visual-composition{width:min(100cqw,calc(100cqh / 1.1));max-width:100%;max-height:100%;height:auto;aspect-ratio:1/1.1;margin:0}
 .hero-copy,html[lang=ar] .hero-copy{flex:0 0 auto;align-self:stretch;display:flex;padding:0;max-height:none;width:100%;position:static}
 .hero-copy>.eyebrow{font-size:10px;line-height:1.4;margin-bottom:8px}
 .hero-copy h1,html[lang=ar] .hero-copy h1{font-size:clamp(34px,10.6vw,72px);line-height:1.03;margin-bottom:12px;white-space:nowrap;letter-spacing:-.055em}
 html[lang=ar] .hero-copy h1{letter-spacing:0;line-height:1.2;font-size:clamp(34px,10vw,60px)}
 .hero-copy .identity-roles,html[lang=ar] .hero-copy .identity-roles{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:8px;width:100%;font-size:clamp(10.5px,3.05vw,16px);line-height:1.5;margin-bottom:12px;letter-spacing:-.025em}
 .identity-roles>span{font-size:inherit!important;flex:0 1 auto!important;white-space:nowrap!important;margin:0!important;padding:0!important}
 .identity-roles>span::before,.identity-roles>span::after{display:none!important}
 .hero-copy .hero-line,html[lang=ar] .hero-copy .hero-line{font-size:clamp(16px,4.55vw,24px);line-height:1.3;margin-bottom:10px;white-space:nowrap;max-width:none;letter-spacing:-.045em}
 html[lang=ar] .hero-copy .hero-line{letter-spacing:0}
 .hero-copy .hero-caption,html[lang=ar] .hero-copy .hero-caption{font-size:13px;line-height:1.5;max-width:68ch;margin:0}
 .hero-links{margin-top:10px;gap:14px}.profile-link{font-size:12px;min-height:28px}.profile-link svg{width:16px;height:16px}
 .hero-copy .enter-work,html[lang=ar] .hero-copy .enter-work{position:static;inset:auto;align-self:flex-start;margin:12px 0 0;gap:12px;display:flex;flex-direction:row;padding:0}
 .enter-work .circle-arrow{width:38px;height:38px;font-size:26px}.enter-work strong{font-size:14px}.enter-work small{display:none}
}
@media(max-width:800px) and (min-height:900px){.intro-layout{padding-block:18px 28px;gap:24px}.hero-copy .hero-caption,html[lang=ar] .hero-copy .hero-caption{font-size:15px;line-height:1.65}.hero-copy h1{margin-bottom:16px}.hero-links{margin-top:14px}.hero-copy .enter-work{margin-top:18px}}
@media(max-width:800px) and (max-height:700px){.intro-layout{gap:12px;padding-block:6px 12px}.composition-area{min-height:115px}.hero-copy .hero-caption,html[lang=ar] .hero-copy .hero-caption{font-size:12px;line-height:1.4}.hero-copy h1{font-size:clamp(32px,10.5vw,50px);margin-bottom:8px}.hero-copy .hero-line{margin-bottom:8px}.hero-copy .identity-roles{margin-bottom:8px}.hero-copy .enter-work{margin-top:8px}.hero-links{margin-top:6px}}
@media(max-width:800px) and (max-height:590px){#intro{overflow-y:auto}.intro-layout{min-height:580px;height:auto}.composition-area{flex:none;height:180px}}
